]> git.lyx.org Git - lyx.git/blob - lib/templates/thesis/thesis.lyx
LyX definitly needs a thesis template.
[lyx.git] / lib / templates / thesis / thesis.lyx
1 #LyX 1.6.6svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 345
3 \begin_document
4 \begin_header
5 \textclass scrbook
6 \begin_preamble
7 % print no date
8 \date{}
9
10 % increase link area for cross-references and autoname them
11 \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
12 \newlength{\abc}
13 \settowidth{\abc}{\space}
14 \addto\extrasenglish{
15  \renewcommand{\equationautorefname}{\hspace{-\abc}}
16  \renewcommand{\sectionautorefname}{sec.\negthinspace}
17  \renewcommand{\subsectionautorefname}{sec.\negthinspace}
18  \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}
19  \renewcommand{\figureautorefname}{Fig.\negthinspace}
20  \renewcommand{\tableautorefname}{Tab.\negthinspace}
21 }
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 % make caption labels bold
40 \setkomafont{captionlabel}{\bfseries}
41 \setcapindent{1em}
42
43 % enable calculations
44 \usepackage{calc}
45
46 % fancy page header/footer settings
47 \renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}
48 \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
49 %\lhead[\fancyplain{}{}]{\fancyplain{}{\rightmark}}
50 \rhead[\fancyplain{}{\leftmark}]{\fancyplain{}{}}
51 \lfoot[\thepage]{}
52 \rfoot[]{\thepage}
53 \cfoot{}
54
55 % increase the bottom float placement fraction
56 \renewcommand{\bottomfraction}{0.5}
57
58 % avoid that floats are placed above its sections
59 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
60
61 % widen the space for the nomenclature entry labels
62 \renewcommand{\nomlabelwidth}{2.5cm}
63 \end_preamble
64 \options intoc,bibtotoc,idxtotoc,BCOR10mm,titlepage,tablecaptionabove,fleqn
65 \use_default_options true
66 \language english
67 \inputencoding auto
68 \font_roman lmodern
69 \font_sans lmss
70 \font_typewriter lmtt
71 \font_default_family default
72 \font_sc false
73 \font_osf false
74 \font_sf_scale 100
75 \font_tt_scale 100
76
77 \graphics default
78 \float_placement h
79 \paperfontsize 12
80 \spacing single
81 \use_hyperref true
82 \pdf_bookmarks true
83 \pdf_bookmarksnumbered true
84 \pdf_bookmarksopen true
85 \pdf_bookmarksopenlevel 1
86 \pdf_breaklinks false
87 \pdf_pdfborder true
88 \pdf_colorlinks false
89 \pdf_backref false
90 \pdf_pdfusetitle true
91 \pdf_quoted_options "pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
92 \papersize a4paper
93 \use_geometry false
94 \use_amsmath 2
95 \use_esint 1
96 \cite_engine basic
97 \use_bibtopic false
98 \paperorientation portrait
99 \branch chapter-1
100 \selected 1
101 \color #ffaa00
102 \end_branch
103 \branch chapter-2
104 \selected 1
105 \color #55aaff
106 \end_branch
107 \branch Summary
108 \selected 1
109 \color #7f7f7f
110 \end_branch
111 \branch Acknowledgments
112 \selected 1
113 \color #ffff00
114 \end_branch
115 \secnumdepth 3
116 \tocdepth 2
117 \paragraph_separation skip
118 \defskip medskip
119 \quotes_language english
120 \papercolumns 1
121 \papersides 2
122 \paperpagestyle fancy
123 \tracking_changes false
124 \output_changes false
125 \author "" 
126 \author "" 
127 \end_header
128
129 \begin_body
130
131 \begin_layout Subject
132 Thesis to get the degree of a doctor of philosophy
133 \begin_inset Note Note
134 status open
135
136 \begin_layout Plain Layout
137 Use the official terms and title page layout instead of this one!
138 \end_layout
139
140 \end_inset
141
142
143 \end_layout
144
145 \begin_layout Title
146 Title of the thesis
147 \end_layout
148
149 \begin_layout Author
150 Your name
151 \end_layout
152
153 \begin_layout Date
154 Date
155 \end_layout
156
157 \begin_layout Publishers
158 \begin_inset Box Boxed
159 position "t"
160 hor_pos "c"
161 has_inner_box 1
162 inner_pos "t"
163 use_parbox 0
164 width "40col%"
165 special "none"
166 height "1in"
167 height_special "totalheight"
168 status open
169
170 \begin_layout Plain Layout
171 Replace this box e.
172 \begin_inset space \thinspace{}
173 \end_inset
174
175 g.
176 \begin_inset space ~
177 \end_inset
178
179 by the coat of arms of the university.
180 \end_layout
181
182 \end_inset
183
184
185 \begin_inset ERT
186 status collapsed
187
188 \begin_layout Plain Layout
189
190
191 \backslash
192 vspace{
193 \backslash
194 baselineskip}
195 \end_layout
196
197 \end_inset
198
199
200 \begin_inset Newline newline
201 \end_inset
202
203 Bla bla University Testburg
204 \begin_inset Newline newline
205 \end_inset
206
207 Faculty for leading edge science
208 \begin_inset Newline newline
209 \end_inset
210
211 Institute for nobel price winning research
212 \begin_inset VSpace -3cm
213 \end_inset
214
215
216 \end_layout
217
218 \begin_layout Lowertitleback
219
220 \series bold
221 Dean
222 \series default
223
224 \begin_inset VSpace smallskip
225 \end_inset
226
227
228 \begin_inset Newline newline
229 \end_inset
230
231 Prof.
232  Dr.
233  xxx yyy
234 \begin_inset VSpace bigskip
235 \end_inset
236
237
238 \begin_inset Newline newline
239 \end_inset
240
241
242 \series bold
243 Referees
244 \series default
245
246 \begin_inset VSpace smallskip
247 \end_inset
248
249
250 \begin_inset Newline newline
251 \end_inset
252
253 Prof.
254  Dr.
255  aaa bbb
256 \begin_inset VSpace smallskip
257 \end_inset
258
259
260 \begin_inset Newline newline
261 \end_inset
262
263 Prof.
264  Dr.
265  xxx yyy
266 \begin_inset VSpace bigskip
267 \end_inset
268
269
270 \begin_inset Newline newline
271 \end_inset
272
273
274 \series bold
275 Date of the graduation (optional)
276 \series default
277
278 \begin_inset VSpace smallskip
279 \end_inset
280
281
282 \begin_inset Newline newline
283 \end_inset
284
285 xx.yy.zzzz
286 \end_layout
287
288 \begin_layout Dedication
289 Dedication, cite from a famous person, or whatever you like (optional)
290 \end_layout
291
292 \begin_layout Standard
293 \begin_inset Newpage cleardoublepage
294 \end_inset
295
296
297 \end_layout
298
299 \begin_layout Standard
300 \begin_inset ERT
301 status collapsed
302
303 \begin_layout Plain Layout
304
305
306 \backslash
307 lhead[
308 \backslash
309 fancyplain{}{}]{
310 \backslash
311 fancyplain{}{
312 \backslash
313 rightmark}}
314 \end_layout
315
316 \end_inset
317
318
319 \begin_inset Note Note
320 status collapsed
321
322 \begin_layout Plain Layout
323 define a header line
324 \end_layout
325
326 \end_inset
327
328
329 \end_layout
330
331 \begin_layout Standard
332 \begin_inset CommandInset toc
333 LatexCommand tableofcontents
334
335 \end_inset
336
337
338 \end_layout
339
340 \begin_layout Standard
341 \begin_inset Newpage cleardoublepage
342 \end_inset
343
344
345 \end_layout
346
347 \begin_layout Standard
348 \begin_inset ERT
349 status collapsed
350
351 \begin_layout Plain Layout
352
353
354 \backslash
355 pagestyle{plain}
356 \end_layout
357
358 \end_inset
359
360
361 \begin_inset Note Note
362 status collapsed
363
364 \begin_layout Plain Layout
365 The summary should not have page headers.
366 \end_layout
367
368 \end_inset
369
370
371 \end_layout
372
373 \begin_layout Standard
374 \begin_inset Branch Summary
375 status open
376
377 \begin_layout Standard
378 \begin_inset CommandInset include
379 LatexCommand include
380 filename "Summary.lyx"
381
382 \end_inset
383
384
385 \end_layout
386
387 \end_inset
388
389
390 \end_layout
391
392 \begin_layout Standard
393 \begin_inset Newpage cleardoublepage
394 \end_inset
395
396
397 \end_layout
398
399 \begin_layout Standard
400 \begin_inset ERT
401 status collapsed
402
403 \begin_layout Plain Layout
404
405
406 \backslash
407 pagestyle{fancy}
408 \end_layout
409
410 \end_inset
411
412
413 \begin_inset ERT
414 status collapsed
415
416 \begin_layout Plain Layout
417
418
419 \backslash
420 lhead[
421 \backslash
422 fancyplain{}{
423 \backslash
424 chaptername
425 \backslash
426 ;
427 \backslash
428 thechapter}]{
429 \backslash
430 fancyplain{}{
431 \backslash
432 rightmark}}
433 \end_layout
434
435 \end_inset
436
437
438 \begin_inset Note Note
439 status collapsed
440
441 \begin_layout Plain Layout
442 Enable page headers and add the chapter to the header line.
443 \end_layout
444
445 \end_inset
446
447
448 \end_layout
449
450 \begin_layout Standard
451 \begin_inset Branch chapter-1
452 status open
453
454 \begin_layout Standard
455 \begin_inset CommandInset include
456 LatexCommand include
457 filename "chapter-1.lyx"
458
459 \end_inset
460
461
462 \end_layout
463
464 \end_inset
465
466
467 \end_layout
468
469 \begin_layout Standard
470 \begin_inset Branch chapter-2
471 status open
472
473 \begin_layout Standard
474 \begin_inset CommandInset include
475 LatexCommand include
476 filename "chapter-2.lyx"
477
478 \end_inset
479
480
481 \end_layout
482
483 \end_inset
484
485
486 \end_layout
487
488 \begin_layout Standard
489 \begin_inset Newpage cleardoublepage
490 \end_inset
491
492
493 \end_layout
494
495 \begin_layout Standard
496 \begin_inset ERT
497 status collapsed
498
499 \begin_layout Plain Layout
500
501
502 \backslash
503 lhead[
504 \backslash
505 fancyplain{}{}]{
506 \backslash
507 fancyplain{}{Acknowledgments}}
508 \end_layout
509
510 \end_inset
511
512
513 \begin_inset Note Note
514 status collapsed
515
516 \begin_layout Plain Layout
517 print 
518 \begin_inset Quotes eld
519 \end_inset
520
521 Acknowledgments
522 \begin_inset Quotes erd
523 \end_inset
524
525  in the left header line
526 \end_layout
527
528 \end_inset
529
530
531 \end_layout
532
533 \begin_layout Standard
534 \begin_inset ERT
535 status collapsed
536
537 \begin_layout Plain Layout
538
539
540 \backslash
541 rhead[
542 \backslash
543 fancyplain{}{Acknowledgments}]{
544 \backslash
545 fancyplain{}{}}
546 \end_layout
547
548 \end_inset
549
550
551 \begin_inset Note Note
552 status collapsed
553
554 \begin_layout Plain Layout
555 print 
556 \begin_inset Quotes eld
557 \end_inset
558
559 Acknowledgments
560 \begin_inset Quotes erd
561 \end_inset
562
563  in the right header line
564 \end_layout
565
566 \end_inset
567
568
569 \end_layout
570
571 \begin_layout Standard
572 \begin_inset Branch Acknowledgments
573 status open
574
575 \begin_layout Standard
576 \begin_inset CommandInset include
577 LatexCommand include
578 filename "Acknowledgements.lyx"
579
580 \end_inset
581
582
583 \end_layout
584
585 \end_inset
586
587
588 \end_layout
589
590 \begin_layout Standard
591 \begin_inset Newpage cleardoublepage
592 \end_inset
593
594
595 \end_layout
596
597 \begin_layout Standard
598 \begin_inset ERT
599 status collapsed
600
601 \begin_layout Plain Layout
602
603
604 \backslash
605 lhead[
606 \backslash
607 fancyplain{}{}]{
608 \backslash
609 fancyplain{}{
610 \backslash
611 rightmark}}
612 \end_layout
613
614 \end_inset
615
616
617 \begin_inset Note Note
618 status collapsed
619
620 \begin_layout Plain Layout
621 remove the chapter from the header line
622 \end_layout
623
624 \end_inset
625
626
627 \end_layout
628
629 \begin_layout Standard
630 \begin_inset ERT
631 status collapsed
632
633 \begin_layout Plain Layout
634
635
636 \backslash
637 rhead[
638 \backslash
639 fancyplain{}{
640 \backslash
641 leftmark}]{
642 \backslash
643 fancyplain{}{}}
644 \end_layout
645
646 \end_inset
647
648
649 \begin_inset Note Note
650 status collapsed
651
652 \begin_layout Plain Layout
653 restore the right header line
654 \end_layout
655
656 \end_inset
657
658
659 \end_layout
660
661 \begin_layout Standard
662 \begin_inset CommandInset bibtex
663 LatexCommand bibtex
664 bibfiles "thesisExample"
665 options "alpha"
666
667 \end_inset
668
669
670 \end_layout
671
672 \begin_layout Standard
673 \begin_inset Newpage cleardoublepage
674 \end_inset
675
676
677 \end_layout
678
679 \begin_layout Standard
680 \begin_inset ERT
681 status collapsed
682
683 \begin_layout Plain Layout
684
685
686 \backslash
687 lhead[
688 \backslash
689 fancyplain{}{}]{
690 \backslash
691 fancyplain{}{Nomenclature}}
692 \end_layout
693
694 \begin_layout Plain Layout
695
696
697 \backslash
698 rhead[
699 \backslash
700 fancyplain{}{Nomenclature}]{
701 \backslash
702 fancyplain{}{}}
703 \end_layout
704
705 \end_inset
706
707
708 \begin_inset Note Note
709 status collapsed
710
711 \begin_layout Plain Layout
712 print 
713 \begin_inset Quotes eld
714 \end_inset
715
716 Nomenclature
717 \begin_inset Quotes erd
718 \end_inset
719
720  in the header line
721 \end_layout
722
723 \end_inset
724
725
726 \end_layout
727
728 \begin_layout Standard
729 \begin_inset CommandInset nomencl_print
730 LatexCommand printnomenclature
731
732 \end_inset
733
734
735 \end_layout
736
737 \end_body
738 \end_document