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