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