]> git.lyx.org Git - features.git/blob - lib/examples/thesis/chapter-1.lyx
Update docs to 2.3.0beta1 format
[features.git] / lib / examples / 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 % http://mirrors.ctan.org/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 0
112 \use_package esint 1
113 \use_package mathdots 1
114 \use_package mathtools 0
115 \use_package mhchem 1
116 \use_package stackrel 0
117 \use_package stmaryrd 0
118 \use_package undertilde 0
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 \branch NoChildDocument
129 \selected 0
130 \filename_suffix 0
131 \color #ff0000
132 \end_branch
133 \index Index
134 \shortcut idx
135 \color #008000
136 \end_index
137 \secnumdepth 3
138 \tocdepth 2
139 \paragraph_separation skip
140 \defskip medskip
141 \is_math_indent 1
142 \math_numbering_side default
143 \quotes_style english
144 \papercolumns 1
145 \papersides 2
146 \paperpagestyle fancy
147 \tracking_changes false
148 \output_changes false
149 \html_math_output 0
150 \html_css_as_file 0
151 \html_be_strict false
152 \use_minted 0
153 \end_header
154
155 \begin_body
156
157 \begin_layout Left Header
158 \begin_inset Argument 1
159 status open
160
161 \begin_layout Plain Layout
162 \begin_inset ERT
163 status collapsed
164
165 \begin_layout Plain Layout
166
167
168 \backslash
169 chaptername
170 \end_layout
171
172 \end_inset
173
174
175 \begin_inset space ~
176 \end_inset
177
178
179 \begin_inset ERT
180 status collapsed
181
182 \begin_layout Plain Layout
183
184
185 \backslash
186 thechapter
187 \end_layout
188
189 \end_inset
190
191
192 \end_layout
193
194 \end_inset
195
196
197 \begin_inset ERT
198 status collapsed
199
200 \begin_layout Plain Layout
201
202
203 \backslash
204 rightmark
205 \end_layout
206
207 \end_inset
208
209
210 \begin_inset Note Note
211 status collapsed
212
213 \begin_layout Plain Layout
214 Enable page headers and add the chapter to the header line.
215 \end_layout
216
217 \end_inset
218
219
220 \end_layout
221
222 \begin_layout Right Header
223 \begin_inset Argument 1
224 status open
225
226 \begin_layout Plain Layout
227 \begin_inset ERT
228 status collapsed
229
230 \begin_layout Plain Layout
231
232
233 \backslash
234 leftmark
235 \end_layout
236
237 \end_inset
238
239
240 \end_layout
241
242 \end_inset
243
244
245 \end_layout
246
247 \begin_layout Left Footer
248 \begin_inset Argument 1
249 status open
250
251 \begin_layout Plain Layout
252 \begin_inset ERT
253 status collapsed
254
255 \begin_layout Plain Layout
256
257
258 \backslash
259 thepage
260 \end_layout
261
262 \end_inset
263
264
265 \end_layout
266
267 \end_inset
268
269
270 \end_layout
271
272 \begin_layout Center Footer
273
274 \end_layout
275
276 \begin_layout Right Footer
277 \begin_inset Argument 1
278 status open
279
280 \begin_layout Plain Layout
281
282 \end_layout
283
284 \end_inset
285
286
287 \begin_inset ERT
288 status collapsed
289
290 \begin_layout Plain Layout
291
292
293 \backslash
294 thepage
295 \end_layout
296
297 \end_inset
298
299
300 \end_layout
301
302 \begin_layout Chapter
303 Title of first chapter
304 \end_layout
305
306 \begin_layout Section
307 Overview
308 \end_layout
309
310 \begin_layout Standard
311 bla bla bla bla bla bla bla bla bla bla bla, see 
312 \begin_inset CommandInset ref
313 LatexCommand ref
314 reference "sec:The-next-section"
315
316 \end_inset
317
318 .
319  Bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
320  bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
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 DLC-coatings
323 \begin_inset CommandInset nomenclature
324 LatexCommand nomenclature
325 symbol "DLC"
326 description "diamond-like carbon"
327 literal "false"
328
329 \end_inset
330
331  bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
332  bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla,
333  see 
334 \begin_inset CommandInset citation
335 LatexCommand cite
336 key "Fowl1928"
337 literal "true"
338
339 \end_inset
340
341 .
342  
343 \begin_inset CommandInset ref
344 LatexCommand eqref
345 reference "eq:Integral-sine"
346
347 \end_inset
348
349  is the definition of the integral sine function.
350 \begin_inset Formula 
351 \begin{equation}
352 \int\frac{\sin(x)}{x}\,\mathrm{d}x=\mathrm{Si}(x)\label{eq:Integral-sine}
353 \end{equation}
354
355 \end_inset
356
357
358 \end_layout
359
360 \begin_layout Section
361 The next section
362 \begin_inset CommandInset label
363 LatexCommand label
364 name "sec:The-next-section"
365
366 \end_inset
367
368
369 \end_layout
370
371 \begin_layout Standard
372 \begin_inset Branch NoChildDocument
373 inverted 0
374 status collapsed
375
376 \begin_layout Standard
377 \begin_inset CommandInset bibtex
378 LatexCommand bibtex
379 bibfiles "thesisExample"
380 options "alpha"
381
382 \end_inset
383
384
385 \end_layout
386
387 \begin_layout Standard
388 \begin_inset CommandInset nomencl_print
389 LatexCommand printnomenclature
390 set_width "custom"
391 width "2.5cm"
392
393 \end_inset
394
395
396 \end_layout
397
398 \end_inset
399
400
401 \end_layout
402
403 \end_body
404 \end_document