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