]> git.lyx.org Git - lyx.git/blob - lib/examples/Theses/PhD_Thesis/Chapter_1.lyx
Reorganize templates and example folders
[lyx.git] / lib / examples / Theses / PhD_Thesis / Chapter_1.lyx
1 #LyX 2.3 created this file. For more info see http://www.lyx.org/
2 \lyxformat 544
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin /systemlyxdir/examples/thesis/
7 \textclass scrbook
8 \begin_preamble
9 % in case somebody want to have the label "Equation"
10 %\renewcommand{\eqref}[1]{Equation~(\negthinspace\autoref{#1})}
11
12 % that links to image floats jumps to the beginning
13 % of the float and not to its caption
14 \usepackage[figure]{hypcap}
15
16 % the pages of the TOC is numbered roman
17 % and a pdf-bookmark for the TOC is added
18 \let\myTOC\tableofcontents
19 \renewcommand\tableofcontents{%
20   \frontmatter
21   \pdfbookmark[1]{\contentsname}{}
22   \myTOC
23   \mainmatter }
24
25 % makes caption labels bold
26 % for more info about these settings, see
27 % https://ctan.org/tex-archive/macros/latex/contrib/koma-script/doc/scrguien.pdf
28 \setkomafont{captionlabel}{\bfseries}
29 \setcapindent{1em}
30
31 % enables calculations
32 \usepackage{calc}
33
34 % fancy page header/footer settings
35 % for more information see section 9 of
36 % ftp://www.ctan.org/pub/tex-archive/macros/latex2e/contrib/fancyhdr/fancyhdr.pdf
37 \renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}
38 \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
39
40 % increases the bottom float placement fraction
41 \renewcommand{\bottomfraction}{0.5}
42
43 % avoids that floats are placed above its sections
44 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
45
46 % increases link area for cross-references and autoname them
47 % if you change the document language to e.g. French
48 % you must change "extrasenglish" to "extrasfrench"
49 % if you uncomment the following lines, you cannot use the reference version Ref+Text in LyX
50 %\AtBeginDocument{%
51 % \renewcommand{\ref}[1]{\autoref{#1}}
52 %}
53 %\def\refnamechanges{%
54 % \renewcommand*{\equationautorefname}[1]{}
55 % \renewcommand{\sectionautorefname}{sec.\negthinspace}
56 % \renewcommand{\subsectionautorefname}{sec.\negthinspace}
57 % \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}
58 % \renewcommand{\figureautorefname}{Fig.\negthinspace}
59 % \renewcommand{\tableautorefname}{Tab.\negthinspace}
60 %}
61 %\@ifpackageloaded{babel}{\addto\extrasenglish{\refnamechanges}}{\refnamechanges}
62 \end_preamble
63 \options intoc,bibliography=totoc,index=totoc,BCOR10mm,captions=tableheading,titlepage
64 \use_default_options true
65 \master thesis.lyx
66 \begin_modules
67 customHeadersFooters
68 \end_modules
69 \maintain_unincluded_children false
70 \language english
71 \language_package default
72 \inputencoding auto
73 \fontencoding global
74 \font_roman "lmodern" "default"
75 \font_sans "lmss" "default"
76 \font_typewriter "lmtt" "default"
77 \font_math "auto" "auto"
78 \font_default_family default
79 \use_non_tex_fonts false
80 \font_sc false
81 \font_osf false
82 \font_sf_scale 100 100
83 \font_tt_scale 100 100
84 \use_microtype false
85 \use_dash_ligatures false
86 \graphics default
87 \default_output_format default
88 \output_sync 0
89 \bibtex_command bibtex
90 \index_command default
91 \float_placement h
92 \paperfontsize 12
93 \spacing single
94 \use_hyperref true
95 \pdf_title "Your title"
96 \pdf_author "Your name"
97 \pdf_bookmarks true
98 \pdf_bookmarksnumbered true
99 \pdf_bookmarksopen true
100 \pdf_bookmarksopenlevel 1
101 \pdf_breaklinks false
102 \pdf_pdfborder true
103 \pdf_colorlinks false
104 \pdf_backref false
105 \pdf_pdfusetitle false
106 \pdf_quoted_options "pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
107 \papersize a4paper
108 \use_geometry false
109 \use_package amsmath 2
110 \use_package amssymb 2
111 \use_package cancel 1
112 \use_package esint 1
113 \use_package mathdots 1
114 \use_package mathtools 1
115 \use_package mhchem 1
116 \use_package stackrel 1
117 \use_package stmaryrd 1
118 \use_package undertilde 1
119 \cite_engine basic
120 \cite_engine_type default
121 \biblio_style plain
122 \use_bibtopic false
123 \use_indices false
124 \paperorientation portrait
125 \suppress_date false
126 \justification true
127 \use_refstyle 0
128 \use_minted 0
129 \branch Standalone
130 \selected 1
131 \filename_suffix 0
132 \color #ff0000
133 \end_branch
134 \index Index
135 \shortcut idx
136 \color #008000
137 \end_index
138 \secnumdepth 3
139 \tocdepth 2
140 \paragraph_separation skip
141 \defskip medskip
142 \is_math_indent 1
143 \math_indentation default
144 \math_numbering_side default
145 \quotes_style english
146 \dynamic_quotes 0
147 \papercolumns 1
148 \papersides 2
149 \paperpagestyle fancy
150 \tracking_changes false
151 \output_changes false
152 \html_math_output 0
153 \html_css_as_file 0
154 \html_be_strict false
155 \end_header
156
157 \begin_body
158
159 \begin_layout Left Header
160 \begin_inset Argument 1
161 status open
162
163 \begin_layout Plain Layout
164 \begin_inset ERT
165 status collapsed
166
167 \begin_layout Plain Layout
168
169
170 \backslash
171 chaptername
172 \end_layout
173
174 \end_inset
175
176
177 \begin_inset space ~
178 \end_inset
179
180
181 \begin_inset ERT
182 status collapsed
183
184 \begin_layout Plain Layout
185
186
187 \backslash
188 thechapter
189 \end_layout
190
191 \end_inset
192
193
194 \end_layout
195
196 \end_inset
197
198
199 \begin_inset ERT
200 status collapsed
201
202 \begin_layout Plain Layout
203
204
205 \backslash
206 rightmark
207 \end_layout
208
209 \end_inset
210
211
212 \begin_inset Note Note
213 status collapsed
214
215 \begin_layout Plain Layout
216 Enable page headers and add the chapter to the header line.
217 \end_layout
218
219 \end_inset
220
221
222 \end_layout
223
224 \begin_layout Right Header
225 \begin_inset Argument 1
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 leftmark
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 Left Footer
250 \begin_inset Argument 1
251 status open
252
253 \begin_layout Plain Layout
254 \begin_inset ERT
255 status collapsed
256
257 \begin_layout Plain Layout
258
259
260 \backslash
261 thepage
262 \end_layout
263
264 \end_inset
265
266
267 \end_layout
268
269 \end_inset
270
271
272 \end_layout
273
274 \begin_layout Center Footer
275
276 \end_layout
277
278 \begin_layout Right Footer
279 \begin_inset Argument 1
280 status open
281
282 \begin_layout Plain Layout
283
284 \end_layout
285
286 \end_inset
287
288
289 \begin_inset ERT
290 status collapsed
291
292 \begin_layout Plain Layout
293
294
295 \backslash
296 thepage
297 \end_layout
298
299 \end_inset
300
301
302 \end_layout
303
304 \begin_layout Chapter
305 Title of first chapter
306 \end_layout
307
308 \begin_layout Section
309 Overview
310 \end_layout
311
312 \begin_layout Standard
313 bla bla bla bla bla bla bla bla bla bla bla, see 
314 \begin_inset CommandInset ref
315 LatexCommand ref
316 reference "sec:The-next-section"
317
318 \end_inset
319
320 .
321  Bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
322  bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
323  bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
324  bla bla bla bla bla bla bla bla bla bla bla DLC-coatings
325 \begin_inset CommandInset nomenclature
326 LatexCommand nomenclature
327 symbol "DLC"
328 description "diamond-like carbon"
329 literal "false"
330
331 \end_inset
332
333  bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
334  bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla,
335  see 
336 \begin_inset CommandInset citation
337 LatexCommand cite
338 key "Fowl1928"
339 literal "true"
340
341 \end_inset
342
343 .
344  
345 \begin_inset CommandInset ref
346 LatexCommand eqref
347 reference "eq:Integral-sine"
348
349 \end_inset
350
351  is the definition of the integral sine function.
352 \begin_inset Formula 
353 \begin{equation}
354 \int\frac{\sin(x)}{x}\,\mathrm{d}x=\mathrm{Si}(x)\label{eq:Integral-sine}
355 \end{equation}
356
357 \end_inset
358
359
360 \end_layout
361
362 \begin_layout Section
363 The next section
364 \begin_inset CommandInset label
365 LatexCommand label
366 name "sec:The-next-section"
367
368 \end_inset
369
370
371 \end_layout
372
373 \begin_layout Standard
374 \begin_inset Branch Standalone
375 inverted 0
376 status open
377
378 \begin_layout Standard
379 \begin_inset Note Note
380 status open
381
382 \begin_layout Plain Layout
383 The contents of this branch is only output if this chapter is processed
384  on its own, i.
385 \begin_inset space \thinspace{}
386 \end_inset
387
388 e., not from the master.
389  This allows you to have a bibliography and a nomenclature if you only want
390  to output this chapter.
391 \end_layout
392
393 \end_inset
394
395
396 \end_layout
397
398 \begin_layout Standard
399 \begin_inset CommandInset include
400 LatexCommand include
401 filename "Bibliography.lyx"
402
403 \end_inset
404
405
406 \end_layout
407
408 \end_inset
409
410
411 \end_layout
412
413 \end_body
414 \end_document