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