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