]> git.lyx.org Git - lyx.git/blob - lib/templates/thesis/thesis.lyx
do \addto\extras \AtBeginDocument, which is after polyglossia, if this package is...
[lyx.git] / lib / templates / thesis / thesis.lyx
1 #LyX 2.0.0svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 410
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 "equation"
23 %\renewcommand{\eqref}[1]{equation~(\negthinspace\autoref{#1})}
24
25 % that links to image floats jumps to the beginning
26 % of the float and not to its caption
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 \inputencoding auto
63 \fontencoding global
64 \font_roman default
65 \font_sans default
66 \font_typewriter default
67 \font_default_family default
68 \use_non_tex_fonts false
69 \font_sc false
70 \font_osf false
71 \font_sf_scale 100
72 \font_tt_scale 100
73
74 \graphics default
75 \default_output_format default
76 \output_sync 0
77 \bibtex_command default
78 \index_command default
79 \float_placement h
80 \paperfontsize 12
81 \spacing single
82 \use_hyperref true
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 true
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 true
104 \use_refstyle 0
105 \branch chapter-1
106 \selected 1
107 \filename_suffix 0
108 \color #ffaa00
109 \end_branch
110 \branch chapter-2
111 \selected 1
112 \filename_suffix 0
113 \color #55aaff
114 \end_branch
115 \branch Summary
116 \selected 1
117 \filename_suffix 0
118 \color #7f7f7f
119 \end_branch
120 \branch Acknowledgments
121 \selected 1
122 \filename_suffix 0
123 \color #ffff00
124 \end_branch
125 \branch Appendix
126 \selected 1
127 \filename_suffix 0
128 \color #faf0e6
129 \end_branch
130 \index Index
131 \shortcut idx
132 \color #008000
133 \end_index
134 \secnumdepth 3
135 \tocdepth 2
136 \paragraph_separation skip
137 \defskip medskip
138 \quotes_language english
139 \papercolumns 1
140 \papersides 2
141 \paperpagestyle fancy
142 \tracking_changes false
143 \output_changes false
144 \html_math_output 0
145 \html_be_strict false
146 \end_header
147
148 \begin_body
149
150 \begin_layout Subject
151 Thesis to get the degree of a doctor of philosophy
152 \begin_inset Note Note
153 status open
154
155 \begin_layout Plain Layout
156 Use the official terms and title page layout instead of this one!
157 \end_layout
158
159 \end_inset
160
161
162 \end_layout
163
164 \begin_layout Title
165 Title of the thesis
166 \end_layout
167
168 \begin_layout Subtitle
169 Subtitle (if you have one)
170 \end_layout
171
172 \begin_layout Author
173 Your name
174 \end_layout
175
176 \begin_layout Date
177 Date (optional)
178 \end_layout
179
180 \begin_layout Publishers
181 \begin_inset Box Boxed
182 position "t"
183 hor_pos "c"
184 has_inner_box 1
185 inner_pos "t"
186 use_parbox 0
187 use_makebox 0
188 width "40col%"
189 special "none"
190 height "1in"
191 height_special "totalheight"
192 status open
193
194 \begin_layout Plain Layout
195 Replace this box e.
196 \begin_inset space \thinspace{}
197 \end_inset
198
199 g.
200 \begin_inset space ~
201 \end_inset
202
203 by the coat of arms of the university.
204 \end_layout
205
206 \end_inset
207
208
209 \begin_inset ERT
210 status collapsed
211
212 \begin_layout Plain Layout
213
214
215 \backslash
216 vspace{
217 \backslash
218 baselineskip}
219 \end_layout
220
221 \end_inset
222
223
224 \begin_inset Newline newline
225 \end_inset
226
227 Bla bla University Testburg
228 \begin_inset Newline newline
229 \end_inset
230
231 Faculty for leading edge science
232 \begin_inset Newline newline
233 \end_inset
234
235 Institute for 
236 \noun on
237 Nobel
238 \noun default
239  price winning research
240 \begin_inset VSpace -3cm
241 \end_inset
242
243
244 \end_layout
245
246 \begin_layout Lowertitleback
247
248 \series bold
249 Dean
250 \series default
251
252 \begin_inset VSpace smallskip
253 \end_inset
254
255
256 \begin_inset Newline newline
257 \end_inset
258
259 Prof.
260  Dr.
261  xxx yyy
262 \begin_inset VSpace bigskip
263 \end_inset
264
265
266 \begin_inset Newline newline
267 \end_inset
268
269
270 \series bold
271 Referees
272 \series default
273
274 \begin_inset VSpace smallskip
275 \end_inset
276
277
278 \begin_inset Newline newline
279 \end_inset
280
281 Prof.
282  Dr.
283  aaa bbb
284 \begin_inset VSpace smallskip
285 \end_inset
286
287
288 \begin_inset Newline newline
289 \end_inset
290
291 Prof.
292  Dr.
293  xxx yyy
294 \begin_inset VSpace bigskip
295 \end_inset
296
297
298 \begin_inset Newline newline
299 \end_inset
300
301
302 \series bold
303 Date of the graduation (optional)
304 \series default
305
306 \begin_inset VSpace smallskip
307 \end_inset
308
309
310 \begin_inset Newline newline
311 \end_inset
312
313 xx.yy.zzzz
314 \end_layout
315
316 \begin_layout Dedication
317 Dedication, cite from a famous person, or whatever you like (optional)
318 \end_layout
319
320 \begin_layout Standard
321 \begin_inset Newpage cleardoublepage
322 \end_inset
323
324
325 \end_layout
326
327 \begin_layout Left Header
328 \begin_inset ERT
329 status collapsed
330
331 \begin_layout Plain Layout
332
333
334 \backslash
335 rightmark
336 \end_layout
337
338 \end_inset
339
340
341 \begin_inset Note Note
342 status collapsed
343
344 \begin_layout Plain Layout
345 defines the header line
346 \end_layout
347
348 \end_inset
349
350
351 \end_layout
352
353 \begin_layout Right Header
354 \begin_inset Argument
355 status open
356
357 \begin_layout Plain Layout
358 \begin_inset ERT
359 status collapsed
360
361 \begin_layout Plain Layout
362
363
364 \backslash
365 leftmark
366 \end_layout
367
368 \end_inset
369
370
371 \end_layout
372
373 \end_inset
374
375
376 \end_layout
377
378 \begin_layout Left Footer
379 \begin_inset Argument
380 status open
381
382 \begin_layout Plain Layout
383 \begin_inset ERT
384 status collapsed
385
386 \begin_layout Plain Layout
387
388
389 \backslash
390 thepage
391 \end_layout
392
393 \end_inset
394
395
396 \end_layout
397
398 \end_inset
399
400
401 \end_layout
402
403 \begin_layout Center Footer
404
405 \end_layout
406
407 \begin_layout Right Footer
408 \begin_inset ERT
409 status collapsed
410
411 \begin_layout Plain Layout
412
413
414 \backslash
415 thepage
416 \end_layout
417
418 \end_inset
419
420
421 \end_layout
422
423 \begin_layout Standard
424 \begin_inset CommandInset toc
425 LatexCommand tableofcontents
426
427 \end_inset
428
429
430 \end_layout
431
432 \begin_layout Standard
433 \begin_inset Newpage cleardoublepage
434 \end_inset
435
436
437 \end_layout
438
439 \begin_layout Standard
440 \begin_inset ERT
441 status collapsed
442
443 \begin_layout Plain Layout
444
445
446 \backslash
447 pagestyle{plain}
448 \end_layout
449
450 \end_inset
451
452
453 \begin_inset Note Note
454 status collapsed
455
456 \begin_layout Plain Layout
457 The summary should not have page headers.
458 \end_layout
459
460 \end_inset
461
462
463 \end_layout
464
465 \begin_layout Standard
466 \begin_inset Branch Summary
467 status open
468
469 \begin_layout Standard
470 \begin_inset CommandInset include
471 LatexCommand include
472 filename "Summary.lyx"
473
474 \end_inset
475
476
477 \end_layout
478
479 \end_inset
480
481
482 \end_layout
483
484 \begin_layout Standard
485 \begin_inset Newpage cleardoublepage
486 \end_inset
487
488
489 \end_layout
490
491 \begin_layout Standard
492 \begin_inset ERT
493 status collapsed
494
495 \begin_layout Plain Layout
496
497
498 \backslash
499 pagestyle{fancy}
500 \end_layout
501
502 \end_inset
503
504
505 \end_layout
506
507 \begin_layout Left Header
508 \begin_inset Argument
509 status open
510
511 \begin_layout Plain Layout
512 \begin_inset ERT
513 status collapsed
514
515 \begin_layout Plain Layout
516
517
518 \backslash
519 chaptername
520 \end_layout
521
522 \end_inset
523
524
525 \begin_inset space ~
526 \end_inset
527
528
529 \begin_inset ERT
530 status collapsed
531
532 \begin_layout Plain Layout
533
534
535 \backslash
536 thechapter
537 \end_layout
538
539 \end_inset
540
541
542 \end_layout
543
544 \end_inset
545
546
547 \begin_inset ERT
548 status collapsed
549
550 \begin_layout Plain Layout
551
552
553 \backslash
554 rightmark
555 \end_layout
556
557 \end_inset
558
559
560 \begin_inset Note Note
561 status collapsed
562
563 \begin_layout Plain Layout
564 Enable page headers and add the chapter to the header line.
565 \end_layout
566
567 \end_inset
568
569
570 \end_layout
571
572 \begin_layout Standard
573 \begin_inset Branch chapter-1
574 status open
575
576 \begin_layout Standard
577 \begin_inset CommandInset include
578 LatexCommand include
579 filename "chapter-1.lyx"
580
581 \end_inset
582
583
584 \end_layout
585
586 \end_inset
587
588
589 \end_layout
590
591 \begin_layout Standard
592 \begin_inset Branch chapter-2
593 status open
594
595 \begin_layout Standard
596 \begin_inset CommandInset include
597 LatexCommand include
598 filename "chapter-2.lyx"
599
600 \end_inset
601
602
603 \end_layout
604
605 \end_inset
606
607
608 \end_layout
609
610 \begin_layout Standard
611 \begin_inset Newpage cleardoublepage
612 \end_inset
613
614
615 \end_layout
616
617 \begin_layout Left Header
618 \begin_inset Argument
619 status open
620
621 \begin_layout Plain Layout
622
623 \end_layout
624
625 \end_inset
626
627 Acknowledgments
628 \begin_inset Note Note
629 status collapsed
630
631 \begin_layout Plain Layout
632 print 
633 \begin_inset Quotes eld
634 \end_inset
635
636 Acknowledgments
637 \begin_inset Quotes erd
638 \end_inset
639
640  in the left header line
641 \end_layout
642
643 \end_inset
644
645
646 \end_layout
647
648 \begin_layout Right Header
649 \begin_inset Argument
650 status open
651
652 \begin_layout Plain Layout
653 Acknowledgments
654 \end_layout
655
656 \end_inset
657
658
659 \begin_inset Note Note
660 status collapsed
661
662 \begin_layout Plain Layout
663 print 
664 \begin_inset Quotes eld
665 \end_inset
666
667 Acknowledgments
668 \begin_inset Quotes erd
669 \end_inset
670
671  in the right header line
672 \end_layout
673
674 \end_inset
675
676
677 \end_layout
678
679 \begin_layout Standard
680 \begin_inset Branch Acknowledgments
681 status open
682
683 \begin_layout Standard
684 \begin_inset CommandInset include
685 LatexCommand include
686 filename "Acknowledgments.lyx"
687
688 \end_inset
689
690
691 \end_layout
692
693 \end_inset
694
695
696 \end_layout
697
698 \begin_layout Standard
699 \begin_inset Branch Appendix
700 status open
701
702 \begin_layout Standard
703 \begin_inset CommandInset include
704 LatexCommand include
705 filename "Appendix.lyx"
706
707 \end_inset
708
709
710 \end_layout
711
712 \end_inset
713
714
715 \begin_inset Note Note
716 status open
717
718 \begin_layout Plain Layout
719 Appendix is of course optional
720 \end_layout
721
722 \end_inset
723
724
725 \end_layout
726
727 \begin_layout Standard
728 \begin_inset Newpage cleardoublepage
729 \end_inset
730
731
732 \end_layout
733
734 \begin_layout Left Header
735 \begin_inset Argument
736 status open
737
738 \begin_layout Plain Layout
739
740 \end_layout
741
742 \end_inset
743
744
745 \begin_inset ERT
746 status collapsed
747
748 \begin_layout Plain Layout
749
750
751 \backslash
752 rightmark
753 \end_layout
754
755 \end_inset
756
757
758 \begin_inset Note Note
759 status collapsed
760
761 \begin_layout Plain Layout
762 remove the chapter from the header line
763 \end_layout
764
765 \end_inset
766
767
768 \end_layout
769
770 \begin_layout Right Header
771 \begin_inset Argument
772 status open
773
774 \begin_layout Plain Layout
775 \begin_inset ERT
776 status collapsed
777
778 \begin_layout Plain Layout
779
780
781 \backslash
782 leftmark
783 \end_layout
784
785 \end_inset
786
787
788 \end_layout
789
790 \end_inset
791
792
793 \begin_inset Note Note
794 status collapsed
795
796 \begin_layout Plain Layout
797 restore the right header line
798 \end_layout
799
800 \end_inset
801
802
803 \end_layout
804
805 \begin_layout Standard
806 \begin_inset CommandInset bibtex
807 LatexCommand bibtex
808 bibfiles "thesisExample"
809 options "alpha"
810
811 \end_inset
812
813
814 \end_layout
815
816 \begin_layout Standard
817 \begin_inset Newpage cleardoublepage
818 \end_inset
819
820
821 \end_layout
822
823 \begin_layout Left Header
824 \begin_inset Argument
825 status open
826
827 \begin_layout Plain Layout
828
829 \end_layout
830
831 \end_inset
832
833 Nomenclature
834 \begin_inset Note Note
835 status collapsed
836
837 \begin_layout Plain Layout
838 print 
839 \begin_inset Quotes eld
840 \end_inset
841
842 Nomenclature
843 \begin_inset Quotes erd
844 \end_inset
845
846  in the header line
847 \end_layout
848
849 \end_inset
850
851
852 \end_layout
853
854 \begin_layout Right Header
855 \begin_inset Argument
856 status open
857
858 \begin_layout Plain Layout
859 Nomenclature
860 \end_layout
861
862 \end_inset
863
864
865 \end_layout
866
867 \begin_layout Standard
868 \begin_inset CommandInset nomencl_print
869 LatexCommand printnomenclature
870 set_width "custom"
871 width "2.5cm"
872
873 \end_inset
874
875
876 \begin_inset Note Note
877 status open
878
879 \begin_layout Plain Layout
880 The width of the nomenclature entries can be changed by clicking on the
881  nomenclature inset.
882 \end_layout
883
884 \end_inset
885
886
887 \end_layout
888
889 \end_body
890 \end_document