]> git.lyx.org Git - lyx.git/blob - lib/templates/thesis/chapter-2.lyx
35e34598f43f4ce0c4bdeb01e0f28684636196b9
[lyx.git] / lib / templates / thesis / chapter-2.lyx
1 #LyX 2.0.0svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 401
3 \begin_document
4 \begin_header
5 \textclass scrbook
6 \begin_preamble
7 % increase link area for cross-references and autoname them
8 \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
9 \newlength{\abc}
10 \settowidth{\abc}{\space}
11 \addto\extrasenglish{
12  \renewcommand{\equationautorefname}{\hspace{-\abc}}
13  \renewcommand{\sectionautorefname}{sec.\negthinspace}
14  \renewcommand{\subsectionautorefname}{sec.\negthinspace}
15  \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}
16  \renewcommand{\figureautorefname}{Fig.\negthinspace}
17  \renewcommand{\tableautorefname}{Tab.\negthinspace}
18 }
19
20 % in case somebody want to have the label "Gleichung"
21 %\renewcommand{\eqref}[1]{Gleichung~(\negthinspace\autoref{#1})}
22
23 % put the link to figure floats to the beginning
24 % of the figure and not to its end
25 \usepackage[figure]{hypcap}
26
27 % the pages of the TOC is numbered roman
28 % and a pdf-bookmark for the TOC is added
29 \let\myTOC\tableofcontents
30 \renewcommand\tableofcontents{%
31   \frontmatter
32   \pdfbookmark[1]{\contentsname}{}
33   \myTOC
34   \mainmatter }
35
36 % make caption labels bold
37 \setkomafont{captionlabel}{\bfseries}
38 \setcapindent{1em}
39
40 % enable calculations
41 \usepackage{calc}
42
43 % fancy page header/footer settings
44 \renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}
45 \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
46
47 % increase the bottom float placement fraction
48 \renewcommand{\bottomfraction}{0.5}
49
50 % avoid that floats are placed above its sections
51 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
52 \end_preamble
53 \options intoc,bibliography=totoc,index=totoc,BCOR10mm,captions=tableheading,titlepage,fleqn
54 \use_default_options true
55 \begin_modules
56 customHeadersFooters
57 \end_modules
58 \maintain_unincluded_children false
59 \language english
60 \inputencoding auto
61 \fontencoding global
62 \font_roman lmodern
63 \font_sans lmss
64 \font_typewriter lmtt
65 \font_default_family default
66 \use_xetex false
67 \font_sc false
68 \font_osf false
69 \font_sf_scale 100
70 \font_tt_scale 100
71
72 \graphics default
73 \default_output_format default
74 \output_sync 0
75 \bibtex_command default
76 \index_command default
77 \float_placement h
78 \paperfontsize 12
79 \spacing single
80 \use_hyperref true
81 \pdf_title "Your title"
82 \pdf_author "Your name"
83 \pdf_bookmarks true
84 \pdf_bookmarksnumbered true
85 \pdf_bookmarksopen true
86 \pdf_bookmarksopenlevel 1
87 \pdf_breaklinks false
88 \pdf_pdfborder true
89 \pdf_colorlinks false
90 \pdf_backref false
91 \pdf_pdfusetitle false
92 \pdf_quoted_options "pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
93 \papersize a4paper
94 \use_geometry false
95 \use_amsmath 2
96 \use_esint 1
97 \use_mhchem 1
98 \use_mathdots 1
99 \cite_engine basic
100 \use_bibtopic false
101 \use_indices false
102 \paperorientation portrait
103 \suppress_date false
104 \branch NoChildDocument
105 \selected 0
106 \filename_suffix 0
107 \color #ff0000
108 \end_branch
109 \index Index
110 \shortcut idx
111 \color #008000
112 \end_index
113 \secnumdepth 3
114 \tocdepth 2
115 \paragraph_separation skip
116 \defskip medskip
117 \quotes_language english
118 \papercolumns 1
119 \papersides 2
120 \paperpagestyle fancy
121 \tracking_changes false
122 \output_changes false
123 \html_math_output 0
124 \html_be_strict false
125 \end_header
126
127 \begin_body
128
129 \begin_layout Left Header
130 \begin_inset Argument
131 status open
132
133 \begin_layout Plain Layout
134 \begin_inset ERT
135 status collapsed
136
137 \begin_layout Plain Layout
138
139
140 \backslash
141 chaptername
142 \end_layout
143
144 \end_inset
145
146
147 \begin_inset space ~
148 \end_inset
149
150
151 \begin_inset ERT
152 status collapsed
153
154 \begin_layout Plain Layout
155
156
157 \backslash
158 thechapter
159 \end_layout
160
161 \end_inset
162
163
164 \end_layout
165
166 \end_inset
167
168
169 \begin_inset ERT
170 status collapsed
171
172 \begin_layout Plain Layout
173
174
175 \backslash
176 rightmark
177 \end_layout
178
179 \end_inset
180
181
182 \begin_inset Note Note
183 status collapsed
184
185 \begin_layout Plain Layout
186 Enable page headers and add the chapter to the header line.
187 \end_layout
188
189 \end_inset
190
191
192 \end_layout
193
194 \begin_layout Right Header
195 \begin_inset Argument
196 status open
197
198 \begin_layout Plain Layout
199 \begin_inset ERT
200 status collapsed
201
202 \begin_layout Plain Layout
203
204
205 \backslash
206 leftmark
207 \end_layout
208
209 \end_inset
210
211
212 \end_layout
213
214 \end_inset
215
216
217 \end_layout
218
219 \begin_layout Left Footer
220 \begin_inset Argument
221 status open
222
223 \begin_layout Plain Layout
224 \begin_inset ERT
225 status collapsed
226
227 \begin_layout Plain Layout
228
229
230 \backslash
231 thepage
232 \end_layout
233
234 \end_inset
235
236
237 \end_layout
238
239 \end_inset
240
241
242 \end_layout
243
244 \begin_layout Center Footer
245
246 \end_layout
247
248 \begin_layout Right Footer
249 \begin_inset ERT
250 status collapsed
251
252 \begin_layout Plain Layout
253
254
255 \backslash
256 thepage
257 \end_layout
258
259 \end_inset
260
261
262 \end_layout
263
264 \begin_layout Chapter
265 Title of next chapter
266 \end_layout
267
268 \begin_layout Section
269 Overview
270 \end_layout
271
272 \begin_layout Standard
273 bla bla bla bla bla bla bla bla bla bla bla bla bla PPS
274 \begin_inset CommandInset nomenclature
275 LatexCommand nomenclature
276 symbol "PPS"
277 description "Polyphenylene sulfide"
278
279 \end_inset
280
281  bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
282  bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
283  bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
284  bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
285  bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
286  bla bla bla bla bla bla bla, see 
287 \begin_inset CommandInset citation
288 LatexCommand cite
289 key "Rich1921,Marq1963"
290
291 \end_inset
292
293 .
294 \end_layout
295
296 \begin_layout Section
297 The next section
298 \end_layout
299
300 \begin_layout Standard
301 \begin_inset Branch NoChildDocument
302 status open
303
304 \begin_layout Standard
305 \begin_inset CommandInset bibtex
306 LatexCommand bibtex
307 bibfiles "thesisExample"
308 options "alpha"
309
310 \end_inset
311
312
313 \end_layout
314
315 \begin_layout Standard
316 \begin_inset CommandInset nomencl_print
317 LatexCommand printnomenclature
318 set_width "custom"
319 width "2.5cm"
320
321 \end_inset
322
323
324 \end_layout
325
326 \end_inset
327
328
329 \end_layout
330
331 \end_body
332 \end_document