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