]> git.lyx.org Git - lyx.git/blob - lib/examples/thesis/thesis.lyx
898652dd384a31a6be4da23b62d0ece146f028ad
[lyx.git] / lib / examples / 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{%
11  \renewcommand{\ref}[1]{\mbox{\autoref{#1}}}
12 }
13 \def\refnamechanges{%
14  \renewcommand*{\equationautorefname}[1]{}%
15  \renewcommand{\sectionautorefname}{sec.\negthinspace}%
16  \renewcommand{\subsectionautorefname}{sec.\negthinspace}%
17  \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}%
18  \renewcommand{\figureautorefname}{Fig.\negthinspace}%
19  \renewcommand{\tableautorefname}{Tab.\negthinspace}%
20 }
21 \@ifpackageloaded{babel}{\addto\extrasenglish{\refnamechanges}}{\refnamechanges}
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 % makes caption labels bold
40 % for more info about these settings, see
41 % http://mirrors.ctan.org/macros/latex/contrib/koma-script/doc/scrguien.pdf
42 \setkomafont{captionlabel}{\bfseries}
43 \setcapindent{1em}
44
45 % enables calculations
46 \usepackage{calc}
47
48 % fancy page header/footer settings
49 % for more information see section 9 of
50 % ftp://www.ctan.org/pub/tex-archive/macros/latex2e/contrib/fancyhdr/fancyhdr.pdf
51 \renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}
52 \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
53
54 % increases the bottom float placement fraction
55 \renewcommand{\bottomfraction}{0.5}
56
57 % avoids that floats are placed above its sections
58 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
59 \end_preamble
60 \options intoc,bibliography=totoc,index=totoc,BCOR10mm,captions=tableheading,titlepage,fleqn
61 \use_default_options true
62 \begin_modules
63 customHeadersFooters
64 \end_modules
65 \maintain_unincluded_children false
66 \language english
67 \language_package default
68 \inputencoding auto
69 \fontencoding global
70 \font_roman lmodern
71 \font_sans lmss
72 \font_typewriter lmtt
73 \font_default_family default
74 \use_non_tex_fonts false
75 \font_sc false
76 \font_osf false
77 \font_sf_scale 100
78 \font_tt_scale 100
79
80 \graphics default
81 \default_output_format default
82 \output_sync 0
83 \bibtex_command default
84 \index_command default
85 \float_placement h
86 \paperfontsize 12
87 \spacing single
88 \use_hyperref true
89 \pdf_bookmarks true
90 \pdf_bookmarksnumbered true
91 \pdf_bookmarksopen true
92 \pdf_bookmarksopenlevel 1
93 \pdf_breaklinks false
94 \pdf_pdfborder true
95 \pdf_colorlinks false
96 \pdf_backref false
97 \pdf_pdfusetitle true
98 \pdf_quoted_options "pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
99 \papersize a4paper
100 \use_geometry false
101 \use_amsmath 2
102 \use_esint 1
103 \use_mhchem 1
104 \use_mathdots 1
105 \cite_engine basic
106 \use_bibtopic false
107 \use_indices false
108 \paperorientation portrait
109 \suppress_date true
110 \use_refstyle 0
111 \branch chapter-1
112 \selected 1
113 \filename_suffix 0
114 \color #ffaa00
115 \end_branch
116 \branch chapter-2
117 \selected 1
118 \filename_suffix 0
119 \color #55aaff
120 \end_branch
121 \branch Summary
122 \selected 1
123 \filename_suffix 0
124 \color #7f7f7f
125 \end_branch
126 \branch Acknowledgments
127 \selected 1
128 \filename_suffix 0
129 \color #ffff00
130 \end_branch
131 \branch Appendix
132 \selected 1
133 \filename_suffix 0
134 \color #faf0e6
135 \end_branch
136 \index Index
137 \shortcut idx
138 \color #008000
139 \end_index
140 \secnumdepth 3
141 \tocdepth 2
142 \paragraph_separation skip
143 \defskip medskip
144 \quotes_language english
145 \papercolumns 1
146 \papersides 2
147 \paperpagestyle fancy
148 \tracking_changes false
149 \output_changes false
150 \html_math_output 0
151 \html_css_as_file 0
152 \html_be_strict false
153 \end_header
154
155 \begin_body
156
157 \begin_layout Standard
158 \begin_inset Note Note
159 status open
160
161 \begin_layout Plain Layout
162
163 \series bold
164 Notes:
165 \end_layout
166
167 \begin_layout Itemize
168 When renaming this file, you must also rename it in all its subdocuments
169  in the document settings in the menu 
170 \family sans
171 Document\SpecialChar \menuseparator
172 Settings\SpecialChar \menuseparator
173 Document
174 \begin_inset space ~
175 \end_inset
176
177 Class\SpecialChar \menuseparator
178 Select
179 \begin_inset space ~
180 \end_inset
181
182 default
183 \begin_inset space ~
184 \end_inset
185
186 master
187 \begin_inset space ~
188 \end_inset
189
190 document
191 \end_layout
192
193 \begin_layout Itemize
194 For special settings like the header/footer lines or the font of captions,
195  see also the document preamble (menu 
196 \family sans
197 Document\SpecialChar \menuseparator
198 Settings\SpecialChar \menuseparator
199 LaTeX Preamble
200 \family default
201 ).
202 \end_layout
203
204 \begin_layout Itemize
205 If you change the document language you also need to check the document
206  preamble and replace there the English-specific setting.
207 \end_layout
208
209 \begin_layout Itemize
210 This file is not designed to change the document class.
211  You can use it nevertheless as starting point if you have to use a special
212  docment class provided by your university, but no support can be granted
213  for this transition.
214 \end_layout
215
216 \end_inset
217
218
219 \end_layout
220
221 \begin_layout Subject
222 Thesis to get the degree of a doctor of philosophy
223 \begin_inset Note Note
224 status open
225
226 \begin_layout Plain Layout
227 Use the official terms and title page layout of your university instead
228  of this one!
229 \end_layout
230
231 \end_inset
232
233
234 \end_layout
235
236 \begin_layout Title
237 Title of the thesis
238 \end_layout
239
240 \begin_layout Subtitle
241 Subtitle (if you have one)
242 \end_layout
243
244 \begin_layout Author
245 Your name
246 \end_layout
247
248 \begin_layout Date
249 Date (optional)
250 \end_layout
251
252 \begin_layout Publishers
253 \begin_inset Box Boxed
254 position "t"
255 hor_pos "c"
256 has_inner_box 1
257 inner_pos "t"
258 use_parbox 0
259 use_makebox 0
260 width "40col%"
261 special "none"
262 height "1in"
263 height_special "totalheight"
264 status open
265
266 \begin_layout Plain Layout
267 Replace this box e.
268 \begin_inset space \thinspace{}
269 \end_inset
270
271 g.
272 \begin_inset space ~
273 \end_inset
274
275 by the coat of arms of the university.
276 \end_layout
277
278 \end_inset
279
280
281 \begin_inset ERT
282 status collapsed
283
284 \begin_layout Plain Layout
285
286
287 \backslash
288 vspace{
289 \backslash
290 baselineskip}
291 \end_layout
292
293 \end_inset
294
295
296 \begin_inset Newline newline
297 \end_inset
298
299 Bla bla University Testburg
300 \begin_inset Newline newline
301 \end_inset
302
303 Faculty for leading edge science
304 \begin_inset Newline newline
305 \end_inset
306
307 Institute for 
308 \noun on
309 Nobel
310 \noun default
311  price winning research
312 \begin_inset VSpace -3cm
313 \end_inset
314
315
316 \end_layout
317
318 \begin_layout Lowertitleback
319
320 \series bold
321 Dean
322 \series default
323
324 \begin_inset VSpace smallskip
325 \end_inset
326
327
328 \begin_inset Newline newline
329 \end_inset
330
331 Prof.
332  Dr.
333  xxx yyy
334 \begin_inset VSpace bigskip
335 \end_inset
336
337
338 \begin_inset Newline newline
339 \end_inset
340
341
342 \series bold
343 Referees
344 \series default
345
346 \begin_inset VSpace smallskip
347 \end_inset
348
349
350 \begin_inset Newline newline
351 \end_inset
352
353 Prof.
354  Dr.
355  aaa bbb
356 \begin_inset VSpace smallskip
357 \end_inset
358
359
360 \begin_inset Newline newline
361 \end_inset
362
363 Prof.
364  Dr.
365  xxx yyy
366 \begin_inset VSpace bigskip
367 \end_inset
368
369
370 \begin_inset Newline newline
371 \end_inset
372
373
374 \series bold
375 Date of the graduation (optional)
376 \series default
377
378 \begin_inset VSpace smallskip
379 \end_inset
380
381
382 \begin_inset Newline newline
383 \end_inset
384
385 xx.yy.zzzz
386 \end_layout
387
388 \begin_layout Dedication
389 Dedication, cite from a famous person, or whatever you like (optional)
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 Left Header
400 \begin_inset ERT
401 status collapsed
402
403 \begin_layout Plain Layout
404
405
406 \backslash
407 rightmark
408 \end_layout
409
410 \end_inset
411
412
413 \begin_inset Note Note
414 status collapsed
415
416 \begin_layout Plain Layout
417 Defines the header line.
418  If your university does not have special rules what must be in the header/foote
419 r, leave the settings as they are.
420 \end_layout
421
422 \begin_layout Plain Layout
423 Quick explanation:
424 \end_layout
425
426 \begin_layout Itemize
427 Stuff inside the 
428 \family sans
429 opt
430 \family default
431  inset appears on even pages, stuff outside the 
432 \family sans
433 opt
434 \family default
435  inset appears on uneven pages.
436 \end_layout
437
438 \begin_layout Itemize
439
440 \series bold
441
442 \backslash
443 rightmark
444 \series default
445  is stuff that usualy appears on the right side.
446  This is normally the title of the current chapter or section.
447 \end_layout
448
449 \begin_layout Itemize
450
451 \series bold
452
453 \backslash
454 leftmark
455 \series default
456  is the opposite of 
457 \series bold
458
459 \backslash
460 rightmark
461 \series default
462 .
463 \end_layout
464
465 \begin_layout Itemize
466
467 \series bold
468
469 \backslash
470 thepage
471 \series default
472  prints the current page number, 
473 \series bold
474
475 \backslash
476 thechapter
477 \series default
478  the current chapter number, 
479 \series bold
480
481 \backslash
482 thesection
483 \series default
484  the current...
485 \end_layout
486
487 \begin_layout Itemize
488 Further adjustments can be made in the LaTeX preamble of thios document
489  in the menu Document\SpecialChar \menuseparator
490 Settings.
491  For a brief description how the header/footer lines can be modified, see
492  the manual of the LaTeX package 
493 \series bold
494 fancyhdr
495 \series default
496
497 \begin_inset Flex URL
498 status collapsed
499
500 \begin_layout Plain Layout
501
502 ftp://www.ctan.org/pub/tex-archive/macros/latex2e/contrib/fancyhdr/fancyhdr.pdf
503 \end_layout
504
505 \end_inset
506
507
508 \end_layout
509
510 \end_inset
511
512
513 \end_layout
514
515 \begin_layout Right Header
516 \begin_inset Argument
517 status open
518
519 \begin_layout Plain Layout
520 \begin_inset ERT
521 status collapsed
522
523 \begin_layout Plain Layout
524
525
526 \backslash
527 leftmark
528 \end_layout
529
530 \end_inset
531
532
533 \end_layout
534
535 \end_inset
536
537
538 \end_layout
539
540 \begin_layout Left Footer
541 \begin_inset Argument
542 status open
543
544 \begin_layout Plain Layout
545 \begin_inset ERT
546 status collapsed
547
548 \begin_layout Plain Layout
549
550
551 \backslash
552 thepage
553 \end_layout
554
555 \end_inset
556
557
558 \end_layout
559
560 \end_inset
561
562
563 \end_layout
564
565 \begin_layout Center Footer
566
567 \end_layout
568
569 \begin_layout Right Footer
570 \begin_inset Argument
571 status open
572
573 \begin_layout Plain Layout
574
575 \end_layout
576
577 \end_inset
578
579
580 \begin_inset ERT
581 status collapsed
582
583 \begin_layout Plain Layout
584
585
586 \backslash
587 thepage
588 \end_layout
589
590 \end_inset
591
592
593 \end_layout
594
595 \begin_layout Standard
596 \begin_inset CommandInset toc
597 LatexCommand tableofcontents
598
599 \end_inset
600
601
602 \end_layout
603
604 \begin_layout Standard
605 \begin_inset Newpage cleardoublepage
606 \end_inset
607
608
609 \end_layout
610
611 \begin_layout Standard
612 \begin_inset ERT
613 status collapsed
614
615 \begin_layout Plain Layout
616
617
618 \backslash
619 pagestyle{plain}
620 \end_layout
621
622 \end_inset
623
624
625 \begin_inset Note Note
626 status collapsed
627
628 \begin_layout Plain Layout
629 Usually the summary should not have page headers.
630  If it should, remove this TeX code.
631 \end_layout
632
633 \end_inset
634
635
636 \end_layout
637
638 \begin_layout Standard
639 \begin_inset Branch Summary
640 status open
641
642 \begin_layout Standard
643 \begin_inset CommandInset include
644 LatexCommand include
645 filename "Summary.lyx"
646
647 \end_inset
648
649
650 \end_layout
651
652 \end_inset
653
654
655 \end_layout
656
657 \begin_layout Standard
658 \begin_inset Newpage cleardoublepage
659 \end_inset
660
661
662 \end_layout
663
664 \begin_layout Standard
665 \begin_inset ERT
666 status collapsed
667
668 \begin_layout Plain Layout
669
670
671 \backslash
672 pagestyle{fancy}
673 \end_layout
674
675 \end_inset
676
677
678 \begin_inset Note Note
679 status collapsed
680
681 \begin_layout Plain Layout
682 Reset page style to get page headers again.
683 \end_layout
684
685 \end_inset
686
687
688 \end_layout
689
690 \begin_layout Left Header
691 \begin_inset Argument
692 status open
693
694 \begin_layout Plain Layout
695 \begin_inset ERT
696 status collapsed
697
698 \begin_layout Plain Layout
699
700
701 \backslash
702 chaptername
703 \end_layout
704
705 \end_inset
706
707
708 \begin_inset space ~
709 \end_inset
710
711
712 \begin_inset ERT
713 status collapsed
714
715 \begin_layout Plain Layout
716
717
718 \backslash
719 thechapter
720 \end_layout
721
722 \end_inset
723
724
725 \end_layout
726
727 \end_inset
728
729
730 \begin_inset ERT
731 status collapsed
732
733 \begin_layout Plain Layout
734
735
736 \backslash
737 rightmark
738 \end_layout
739
740 \end_inset
741
742
743 \begin_inset Note Note
744 status collapsed
745
746 \begin_layout Plain Layout
747 Enable page headers and add the chapter to the header line.
748 \end_layout
749
750 \end_inset
751
752
753 \end_layout
754
755 \begin_layout Standard
756 \begin_inset Branch chapter-1
757 status open
758
759 \begin_layout Standard
760 \begin_inset CommandInset include
761 LatexCommand include
762 filename "chapter-1.lyx"
763
764 \end_inset
765
766
767 \end_layout
768
769 \end_inset
770
771
772 \end_layout
773
774 \begin_layout Standard
775 \begin_inset Branch chapter-2
776 status open
777
778 \begin_layout Standard
779 \begin_inset CommandInset include
780 LatexCommand include
781 filename "chapter-2.lyx"
782
783 \end_inset
784
785
786 \end_layout
787
788 \end_inset
789
790
791 \end_layout
792
793 \begin_layout Standard
794 \begin_inset Newpage cleardoublepage
795 \end_inset
796
797
798 \end_layout
799
800 \begin_layout Left Header
801 \begin_inset Argument
802 status open
803
804 \begin_layout Plain Layout
805
806 \end_layout
807
808 \end_inset
809
810 Acknowledgments
811 \begin_inset Note Note
812 status collapsed
813
814 \begin_layout Plain Layout
815 print 
816 \begin_inset Quotes eld
817 \end_inset
818
819 Acknowledgments
820 \begin_inset Quotes erd
821 \end_inset
822
823  in the left header line
824 \end_layout
825
826 \end_inset
827
828
829 \end_layout
830
831 \begin_layout Right Header
832 \begin_inset Argument
833 status open
834
835 \begin_layout Plain Layout
836 Acknowledgments
837 \end_layout
838
839 \end_inset
840
841
842 \begin_inset Note Note
843 status collapsed
844
845 \begin_layout Plain Layout
846 print 
847 \begin_inset Quotes eld
848 \end_inset
849
850 Acknowledgments
851 \begin_inset Quotes erd
852 \end_inset
853
854  in the right header line
855 \end_layout
856
857 \end_inset
858
859
860 \end_layout
861
862 \begin_layout Standard
863 \begin_inset Branch Acknowledgments
864 status open
865
866 \begin_layout Standard
867 \begin_inset CommandInset include
868 LatexCommand include
869 filename "Acknowledgments.lyx"
870
871 \end_inset
872
873
874 \end_layout
875
876 \end_inset
877
878
879 \end_layout
880
881 \begin_layout Standard
882 \begin_inset Branch Appendix
883 status open
884
885 \begin_layout Standard
886 \start_of_appendix
887 \begin_inset CommandInset include
888 LatexCommand include
889 filename "Appendix.lyx"
890
891 \end_inset
892
893
894 \end_layout
895
896 \end_inset
897
898
899 \begin_inset Note Note
900 status open
901
902 \begin_layout Plain Layout
903 Appendix is of course optional
904 \end_layout
905
906 \end_inset
907
908
909 \end_layout
910
911 \begin_layout Standard
912 \begin_inset Newpage cleardoublepage
913 \end_inset
914
915
916 \end_layout
917
918 \begin_layout Left Header
919 \begin_inset Argument
920 status open
921
922 \begin_layout Plain Layout
923
924 \end_layout
925
926 \end_inset
927
928
929 \begin_inset ERT
930 status collapsed
931
932 \begin_layout Plain Layout
933
934
935 \backslash
936 rightmark
937 \end_layout
938
939 \end_inset
940
941
942 \begin_inset Note Note
943 status collapsed
944
945 \begin_layout Plain Layout
946 remove the chapter from the header line
947 \end_layout
948
949 \end_inset
950
951
952 \end_layout
953
954 \begin_layout Right Header
955 \begin_inset Argument
956 status open
957
958 \begin_layout Plain Layout
959 \begin_inset ERT
960 status collapsed
961
962 \begin_layout Plain Layout
963
964
965 \backslash
966 leftmark
967 \end_layout
968
969 \end_inset
970
971
972 \end_layout
973
974 \end_inset
975
976
977 \begin_inset Note Note
978 status collapsed
979
980 \begin_layout Plain Layout
981 restore the right header line
982 \end_layout
983
984 \end_inset
985
986
987 \end_layout
988
989 \begin_layout Standard
990 \begin_inset CommandInset bibtex
991 LatexCommand bibtex
992 bibfiles "thesisExample"
993 options "alpha"
994
995 \end_inset
996
997
998 \end_layout
999
1000 \begin_layout Standard
1001 \begin_inset Newpage cleardoublepage
1002 \end_inset
1003
1004
1005 \end_layout
1006
1007 \begin_layout Left Header
1008 \begin_inset Argument
1009 status open
1010
1011 \begin_layout Plain Layout
1012
1013 \end_layout
1014
1015 \end_inset
1016
1017 Nomenclature
1018 \begin_inset Note Note
1019 status collapsed
1020
1021 \begin_layout Plain Layout
1022 print 
1023 \begin_inset Quotes eld
1024 \end_inset
1025
1026 Nomenclature
1027 \begin_inset Quotes erd
1028 \end_inset
1029
1030  in the header line
1031 \end_layout
1032
1033 \end_inset
1034
1035
1036 \end_layout
1037
1038 \begin_layout Right Header
1039 \begin_inset Argument
1040 status open
1041
1042 \begin_layout Plain Layout
1043 Nomenclature
1044 \end_layout
1045
1046 \end_inset
1047
1048
1049 \end_layout
1050
1051 \begin_layout Standard
1052 \begin_inset CommandInset nomencl_print
1053 LatexCommand printnomenclature
1054 set_width "custom"
1055 width "2.5cm"
1056
1057 \end_inset
1058
1059
1060 \begin_inset Note Note
1061 status open
1062
1063 \begin_layout Plain Layout
1064 The width of the nomenclature entries can be changed by clicking on the
1065  nomenclature inset.
1066 \end_layout
1067
1068 \end_inset
1069
1070
1071 \end_layout
1072
1073 \end_body
1074 \end_document