]> git.lyx.org Git - lyx.git/blob - lib/templates/thesis/chapter-1.lyx
- theorems-without-preamble.inc: new file to provide theorem environments without...
[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 \begin_modules
58 customHeadersFooters
59 \end_modules
60 \maintain_unincluded_children false
61 \language english
62 \language_package default
63 \inputencoding auto
64 \fontencoding global
65 \font_roman lmodern
66 \font_sans lmss
67 \font_typewriter lmtt
68 \font_default_family default
69 \use_non_tex_fonts false
70 \font_sc false
71 \font_osf false
72 \font_sf_scale 100
73 \font_tt_scale 100
74
75 \graphics default
76 \default_output_format default
77 \output_sync 0
78 \bibtex_command default
79 \index_command default
80 \float_placement h
81 \paperfontsize 12
82 \spacing single
83 \use_hyperref true
84 \pdf_title "Your title"
85 \pdf_author "Your name"
86 \pdf_bookmarks true
87 \pdf_bookmarksnumbered true
88 \pdf_bookmarksopen true
89 \pdf_bookmarksopenlevel 1
90 \pdf_breaklinks false
91 \pdf_pdfborder true
92 \pdf_colorlinks false
93 \pdf_backref false
94 \pdf_pdfusetitle false
95 \pdf_quoted_options "pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
96 \papersize a4paper
97 \use_geometry false
98 \use_amsmath 2
99 \use_esint 1
100 \use_mhchem 1
101 \use_mathdots 1
102 \cite_engine basic
103 \use_bibtopic false
104 \use_indices false
105 \paperorientation portrait
106 \suppress_date false
107 \use_refstyle 0
108 \branch NoChildDocument
109 \selected 0
110 \filename_suffix 0
111 \color #ff0000
112 \end_branch
113 \index Index
114 \shortcut idx
115 \color #008000
116 \end_index
117 \secnumdepth 3
118 \tocdepth 2
119 \paragraph_separation skip
120 \defskip medskip
121 \quotes_language english
122 \papercolumns 1
123 \papersides 2
124 \paperpagestyle fancy
125 \tracking_changes false
126 \output_changes false
127 \html_math_output 0
128 \html_css_as_file 0
129 \html_be_strict false
130 \end_header
131
132 \begin_body
133
134 \begin_layout Left Header
135 \begin_inset Argument
136 status open
137
138 \begin_layout Plain Layout
139 \begin_inset ERT
140 status collapsed
141
142 \begin_layout Plain Layout
143
144
145 \backslash
146 chaptername
147 \end_layout
148
149 \end_inset
150
151
152 \begin_inset space ~
153 \end_inset
154
155
156 \begin_inset ERT
157 status collapsed
158
159 \begin_layout Plain Layout
160
161
162 \backslash
163 thechapter
164 \end_layout
165
166 \end_inset
167
168
169 \end_layout
170
171 \end_inset
172
173
174 \begin_inset ERT
175 status collapsed
176
177 \begin_layout Plain Layout
178
179
180 \backslash
181 rightmark
182 \end_layout
183
184 \end_inset
185
186
187 \begin_inset Note Note
188 status collapsed
189
190 \begin_layout Plain Layout
191 Enable page headers and add the chapter to the header line.
192 \end_layout
193
194 \end_inset
195
196
197 \end_layout
198
199 \begin_layout Right Header
200 \begin_inset Argument
201 status open
202
203 \begin_layout Plain Layout
204 \begin_inset ERT
205 status collapsed
206
207 \begin_layout Plain Layout
208
209
210 \backslash
211 leftmark
212 \end_layout
213
214 \end_inset
215
216
217 \end_layout
218
219 \end_inset
220
221
222 \end_layout
223
224 \begin_layout Left Footer
225 \begin_inset Argument
226 status open
227
228 \begin_layout Plain Layout
229 \begin_inset ERT
230 status collapsed
231
232 \begin_layout Plain Layout
233
234
235 \backslash
236 thepage
237 \end_layout
238
239 \end_inset
240
241
242 \end_layout
243
244 \end_inset
245
246
247 \end_layout
248
249 \begin_layout Center Footer
250
251 \end_layout
252
253 \begin_layout Right Footer
254 \begin_inset ERT
255 status collapsed
256
257 \begin_layout Plain Layout
258
259
260 \backslash
261 thepage
262 \end_layout
263
264 \end_inset
265
266
267 \end_layout
268
269 \begin_layout Chapter
270 Title of first chapter
271 \end_layout
272
273 \begin_layout Section
274 Overview
275 \end_layout
276
277 \begin_layout Standard
278 bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
279  bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
280  bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
281  bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
282  bla bla bla bla DLC-coatings
283 \begin_inset CommandInset nomenclature
284 LatexCommand nomenclature
285 symbol "DLC"
286 description "diamond-like carbon"
287
288 \end_inset
289
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  see 
293 \begin_inset CommandInset citation
294 LatexCommand cite
295 key "Fowl1928"
296
297 \end_inset
298
299 .
300 \end_layout
301
302 \begin_layout Section
303 The next section
304 \end_layout
305
306 \begin_layout Standard
307 \begin_inset Branch NoChildDocument
308 status collapsed
309
310 \begin_layout Standard
311 \begin_inset CommandInset bibtex
312 LatexCommand bibtex
313 bibfiles "thesisExample"
314 options "alpha"
315
316 \end_inset
317
318
319 \end_layout
320
321 \begin_layout Standard
322 \begin_inset CommandInset nomencl_print
323 LatexCommand printnomenclature
324 set_width "custom"
325 width "2.5cm"
326
327 \end_inset
328
329
330 \end_layout
331
332 \end_inset
333
334
335 \end_layout
336
337 \end_body
338 \end_document