]> git.lyx.org Git - lyx.git/blob - lib/templates/thesis/thesis.lyx
thesis template: add check for babel (as discussed in bug #8423)
[lyx.git] / lib / templates / thesis / thesis.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 % if you change the document language to e.g. French
9 % you must change "extrasenglish" to "extrasfrench"
10 \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
11 \@ifundefined{extrasenglish}{\usepackage[english]{babel}}{}
12 \addto\extrasenglish{%
13  \renewcommand*{\equationautorefname}[1]{}
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 % in case somebody want to have the label "Equation"
22 %\renewcommand{\eqref}[1]{Equation~(\negthinspace\autoref{#1})}
23
24 % that links to image floats jumps to the beginning
25 % of the float and not to its caption
26 \usepackage[figure]{hypcap}
27
28 % the pages of the TOC is numbered roman
29 % and a pdf-bookmark for the TOC is added
30 \let\myTOC\tableofcontents
31 \renewcommand\tableofcontents{%
32   \frontmatter
33   \pdfbookmark[1]{\contentsname}{}
34   \myTOC
35   \mainmatter }
36
37 % makes caption labels bold
38 \setkomafont{captionlabel}{\bfseries}
39 \setcapindent{1em}
40
41 % enables calculations
42 \usepackage{calc}
43
44 % fancy page header/footer settings
45 \renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}
46 \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
47
48 % increases the bottom float placement fraction
49 \renewcommand{\bottomfraction}{0.5}
50
51 % avoids that floats are placed above its sections
52 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
53 \end_preamble
54 \options intoc,bibliography=totoc,index=totoc,BCOR10mm,captions=tableheading,titlepage,fleqn
55 \use_default_options true
56 \begin_modules
57 customHeadersFooters
58 \end_modules
59 \maintain_unincluded_children false
60 \language english
61 \language_package default
62 \inputencoding auto
63 \fontencoding global
64 \font_roman lmodern
65 \font_sans lmss
66 \font_typewriter lmtt
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_css_as_file 0
146 \html_be_strict false
147 \end_header
148
149 \begin_body
150
151 \begin_layout Standard
152 \begin_inset Note Note
153 status open
154
155 \begin_layout Plain Layout
156
157 \series bold
158 Note:
159 \series default
160  when renaming this file, you must also rename it in all its subdocuments
161  in the document settings under 
162 \family sans
163 Document
164 \begin_inset space ~
165 \end_inset
166
167 Class\SpecialChar \menuseparator
168 Select
169 \begin_inset space ~
170 \end_inset
171
172 default
173 \begin_inset space ~
174 \end_inset
175
176 master
177 \begin_inset space ~
178 \end_inset
179
180 document
181 \end_layout
182
183 \end_inset
184
185
186 \end_layout
187
188 \begin_layout Subject
189 Thesis to get the degree of a doctor of philosophy
190 \begin_inset Note Note
191 status open
192
193 \begin_layout Plain Layout
194 Use the official terms and title page layout of your university instead
195  of this one!
196 \end_layout
197
198 \end_inset
199
200
201 \end_layout
202
203 \begin_layout Title
204 Title of the thesis
205 \end_layout
206
207 \begin_layout Subtitle
208 Subtitle (if you have one)
209 \end_layout
210
211 \begin_layout Author
212 Your name
213 \end_layout
214
215 \begin_layout Date
216 Date (optional)
217 \end_layout
218
219 \begin_layout Publishers
220 \begin_inset Box Boxed
221 position "t"
222 hor_pos "c"
223 has_inner_box 1
224 inner_pos "t"
225 use_parbox 0
226 use_makebox 0
227 width "40col%"
228 special "none"
229 height "1in"
230 height_special "totalheight"
231 status open
232
233 \begin_layout Plain Layout
234 Replace this box e.
235 \begin_inset space \thinspace{}
236 \end_inset
237
238 g.
239 \begin_inset space ~
240 \end_inset
241
242 by the coat of arms of the university.
243 \end_layout
244
245 \end_inset
246
247
248 \begin_inset ERT
249 status collapsed
250
251 \begin_layout Plain Layout
252
253
254 \backslash
255 vspace{
256 \backslash
257 baselineskip}
258 \end_layout
259
260 \end_inset
261
262
263 \begin_inset Newline newline
264 \end_inset
265
266 Bla bla University Testburg
267 \begin_inset Newline newline
268 \end_inset
269
270 Faculty for leading edge science
271 \begin_inset Newline newline
272 \end_inset
273
274 Institute for 
275 \noun on
276 Nobel
277 \noun default
278  price winning research
279 \begin_inset VSpace -3cm
280 \end_inset
281
282
283 \end_layout
284
285 \begin_layout Lowertitleback
286
287 \series bold
288 Dean
289 \series default
290
291 \begin_inset VSpace smallskip
292 \end_inset
293
294
295 \begin_inset Newline newline
296 \end_inset
297
298 Prof.
299  Dr.
300  xxx yyy
301 \begin_inset VSpace bigskip
302 \end_inset
303
304
305 \begin_inset Newline newline
306 \end_inset
307
308
309 \series bold
310 Referees
311 \series default
312
313 \begin_inset VSpace smallskip
314 \end_inset
315
316
317 \begin_inset Newline newline
318 \end_inset
319
320 Prof.
321  Dr.
322  aaa bbb
323 \begin_inset VSpace smallskip
324 \end_inset
325
326
327 \begin_inset Newline newline
328 \end_inset
329
330 Prof.
331  Dr.
332  xxx yyy
333 \begin_inset VSpace bigskip
334 \end_inset
335
336
337 \begin_inset Newline newline
338 \end_inset
339
340
341 \series bold
342 Date of the graduation (optional)
343 \series default
344
345 \begin_inset VSpace smallskip
346 \end_inset
347
348
349 \begin_inset Newline newline
350 \end_inset
351
352 xx.yy.zzzz
353 \end_layout
354
355 \begin_layout Dedication
356 Dedication, cite from a famous person, or whatever you like (optional)
357 \end_layout
358
359 \begin_layout Standard
360 \begin_inset Newpage cleardoublepage
361 \end_inset
362
363
364 \end_layout
365
366 \begin_layout Left Header
367 \begin_inset ERT
368 status collapsed
369
370 \begin_layout Plain Layout
371
372
373 \backslash
374 rightmark
375 \end_layout
376
377 \end_inset
378
379
380 \begin_inset Note Note
381 status collapsed
382
383 \begin_layout Plain Layout
384 defines the header line
385 \end_layout
386
387 \end_inset
388
389
390 \end_layout
391
392 \begin_layout Right Header
393 \begin_inset Argument
394 status open
395
396 \begin_layout Plain Layout
397 \begin_inset ERT
398 status collapsed
399
400 \begin_layout Plain Layout
401
402
403 \backslash
404 leftmark
405 \end_layout
406
407 \end_inset
408
409
410 \end_layout
411
412 \end_inset
413
414
415 \end_layout
416
417 \begin_layout Left Footer
418 \begin_inset Argument
419 status open
420
421 \begin_layout Plain Layout
422 \begin_inset ERT
423 status collapsed
424
425 \begin_layout Plain Layout
426
427
428 \backslash
429 thepage
430 \end_layout
431
432 \end_inset
433
434
435 \end_layout
436
437 \end_inset
438
439
440 \end_layout
441
442 \begin_layout Center Footer
443
444 \end_layout
445
446 \begin_layout Right Footer
447 \begin_inset Argument
448 status open
449
450 \begin_layout Plain Layout
451
452 \end_layout
453
454 \end_inset
455
456
457 \begin_inset ERT
458 status collapsed
459
460 \begin_layout Plain Layout
461
462
463 \backslash
464 thepage
465 \end_layout
466
467 \end_inset
468
469
470 \end_layout
471
472 \begin_layout Standard
473 \begin_inset CommandInset toc
474 LatexCommand tableofcontents
475
476 \end_inset
477
478
479 \end_layout
480
481 \begin_layout Standard
482 \begin_inset Newpage cleardoublepage
483 \end_inset
484
485
486 \end_layout
487
488 \begin_layout Standard
489 \begin_inset ERT
490 status collapsed
491
492 \begin_layout Plain Layout
493
494
495 \backslash
496 pagestyle{plain}
497 \end_layout
498
499 \end_inset
500
501
502 \begin_inset Note Note
503 status collapsed
504
505 \begin_layout Plain Layout
506 The summary should not have page headers.
507 \end_layout
508
509 \end_inset
510
511
512 \end_layout
513
514 \begin_layout Standard
515 \begin_inset Branch Summary
516 status open
517
518 \begin_layout Standard
519 \begin_inset CommandInset include
520 LatexCommand include
521 filename "Summary.lyx"
522
523 \end_inset
524
525
526 \end_layout
527
528 \end_inset
529
530
531 \end_layout
532
533 \begin_layout Standard
534 \begin_inset Newpage cleardoublepage
535 \end_inset
536
537
538 \end_layout
539
540 \begin_layout Standard
541 \begin_inset ERT
542 status collapsed
543
544 \begin_layout Plain Layout
545
546
547 \backslash
548 pagestyle{fancy}
549 \end_layout
550
551 \end_inset
552
553
554 \end_layout
555
556 \begin_layout Left Header
557 \begin_inset Argument
558 status open
559
560 \begin_layout Plain Layout
561 \begin_inset ERT
562 status collapsed
563
564 \begin_layout Plain Layout
565
566
567 \backslash
568 chaptername
569 \end_layout
570
571 \end_inset
572
573
574 \begin_inset space ~
575 \end_inset
576
577
578 \begin_inset ERT
579 status collapsed
580
581 \begin_layout Plain Layout
582
583
584 \backslash
585 thechapter
586 \end_layout
587
588 \end_inset
589
590
591 \end_layout
592
593 \end_inset
594
595
596 \begin_inset ERT
597 status collapsed
598
599 \begin_layout Plain Layout
600
601
602 \backslash
603 rightmark
604 \end_layout
605
606 \end_inset
607
608
609 \begin_inset Note Note
610 status collapsed
611
612 \begin_layout Plain Layout
613 Enable page headers and add the chapter to the header line.
614 \end_layout
615
616 \end_inset
617
618
619 \end_layout
620
621 \begin_layout Standard
622 \begin_inset Branch chapter-1
623 status open
624
625 \begin_layout Standard
626 \begin_inset CommandInset include
627 LatexCommand include
628 filename "chapter-1.lyx"
629
630 \end_inset
631
632
633 \end_layout
634
635 \end_inset
636
637
638 \end_layout
639
640 \begin_layout Standard
641 \begin_inset Branch chapter-2
642 status open
643
644 \begin_layout Standard
645 \begin_inset CommandInset include
646 LatexCommand include
647 filename "chapter-2.lyx"
648
649 \end_inset
650
651
652 \end_layout
653
654 \end_inset
655
656
657 \end_layout
658
659 \begin_layout Standard
660 \begin_inset Newpage cleardoublepage
661 \end_inset
662
663
664 \end_layout
665
666 \begin_layout Left Header
667 \begin_inset Argument
668 status open
669
670 \begin_layout Plain Layout
671
672 \end_layout
673
674 \end_inset
675
676 Acknowledgments
677 \begin_inset Note Note
678 status collapsed
679
680 \begin_layout Plain Layout
681 print 
682 \begin_inset Quotes eld
683 \end_inset
684
685 Acknowledgments
686 \begin_inset Quotes erd
687 \end_inset
688
689  in the left header line
690 \end_layout
691
692 \end_inset
693
694
695 \end_layout
696
697 \begin_layout Right Header
698 \begin_inset Argument
699 status open
700
701 \begin_layout Plain Layout
702 Acknowledgments
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 Acknowledgments
717 \begin_inset Quotes erd
718 \end_inset
719
720  in the right header line
721 \end_layout
722
723 \end_inset
724
725
726 \end_layout
727
728 \begin_layout Standard
729 \begin_inset Branch Acknowledgments
730 status open
731
732 \begin_layout Standard
733 \begin_inset CommandInset include
734 LatexCommand include
735 filename "Acknowledgments.lyx"
736
737 \end_inset
738
739
740 \end_layout
741
742 \end_inset
743
744
745 \end_layout
746
747 \begin_layout Standard
748 \begin_inset Branch Appendix
749 status open
750
751 \begin_layout Standard
752 \start_of_appendix
753 \begin_inset CommandInset include
754 LatexCommand include
755 filename "Appendix.lyx"
756
757 \end_inset
758
759
760 \end_layout
761
762 \end_inset
763
764
765 \begin_inset Note Note
766 status open
767
768 \begin_layout Plain Layout
769 Appendix is of course optional
770 \end_layout
771
772 \end_inset
773
774
775 \end_layout
776
777 \begin_layout Standard
778 \begin_inset Newpage cleardoublepage
779 \end_inset
780
781
782 \end_layout
783
784 \begin_layout Left Header
785 \begin_inset Argument
786 status open
787
788 \begin_layout Plain Layout
789
790 \end_layout
791
792 \end_inset
793
794
795 \begin_inset ERT
796 status collapsed
797
798 \begin_layout Plain Layout
799
800
801 \backslash
802 rightmark
803 \end_layout
804
805 \end_inset
806
807
808 \begin_inset Note Note
809 status collapsed
810
811 \begin_layout Plain Layout
812 remove the chapter from the header line
813 \end_layout
814
815 \end_inset
816
817
818 \end_layout
819
820 \begin_layout Right Header
821 \begin_inset Argument
822 status open
823
824 \begin_layout Plain Layout
825 \begin_inset ERT
826 status collapsed
827
828 \begin_layout Plain Layout
829
830
831 \backslash
832 leftmark
833 \end_layout
834
835 \end_inset
836
837
838 \end_layout
839
840 \end_inset
841
842
843 \begin_inset Note Note
844 status collapsed
845
846 \begin_layout Plain Layout
847 restore the right header line
848 \end_layout
849
850 \end_inset
851
852
853 \end_layout
854
855 \begin_layout Standard
856 \begin_inset CommandInset bibtex
857 LatexCommand bibtex
858 bibfiles "thesisExample"
859 options "alpha"
860
861 \end_inset
862
863
864 \end_layout
865
866 \begin_layout Standard
867 \begin_inset Newpage cleardoublepage
868 \end_inset
869
870
871 \end_layout
872
873 \begin_layout Left Header
874 \begin_inset Argument
875 status open
876
877 \begin_layout Plain Layout
878
879 \end_layout
880
881 \end_inset
882
883 Nomenclature
884 \begin_inset Note Note
885 status collapsed
886
887 \begin_layout Plain Layout
888 print 
889 \begin_inset Quotes eld
890 \end_inset
891
892 Nomenclature
893 \begin_inset Quotes erd
894 \end_inset
895
896  in the header line
897 \end_layout
898
899 \end_inset
900
901
902 \end_layout
903
904 \begin_layout Right Header
905 \begin_inset Argument
906 status open
907
908 \begin_layout Plain Layout
909 Nomenclature
910 \end_layout
911
912 \end_inset
913
914
915 \end_layout
916
917 \begin_layout Standard
918 \begin_inset CommandInset nomencl_print
919 LatexCommand printnomenclature
920 set_width "custom"
921 width "2.5cm"
922
923 \end_inset
924
925
926 \begin_inset Note Note
927 status open
928
929 \begin_layout Plain Layout
930 The width of the nomenclature entries can be changed by clicking on the
931  nomenclature inset.
932 \end_layout
933
934 \end_inset
935
936
937 \end_layout
938
939 \end_body
940 \end_document