]> git.lyx.org Git - lyx.git/blob - lib/examples/thesis/thesis.lyx
Fix bug #11127.
[lyx.git] / lib / examples / thesis / thesis.lyx
1 #LyX 2.3 created this file. For more info see http://www.lyx.org/
2 \lyxformat 544
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 % https://ctan.org/tex-archive/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 1
109 \use_package esint 1
110 \use_package mathdots 1
111 \use_package mathtools 1
112 \use_package mhchem 1
113 \use_package stackrel 1
114 \use_package stmaryrd 1
115 \use_package undertilde 1
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 \use_minted 0
126 \branch chapter-1
127 \selected 1
128 \filename_suffix 0
129 \color #ffaa00
130 \end_branch
131 \branch chapter-2
132 \selected 1
133 \filename_suffix 0
134 \color #55aaff
135 \end_branch
136 \branch Summary
137 \selected 1
138 \filename_suffix 0
139 \color #7f7f7f
140 \end_branch
141 \branch Acknowledgments
142 \selected 1
143 \filename_suffix 0
144 \color #ffff00
145 \end_branch
146 \branch Appendix
147 \selected 1
148 \filename_suffix 0
149 \color #faf0e6
150 \end_branch
151 \index Index
152 \shortcut idx
153 \color #008000
154 \end_index
155 \secnumdepth 3
156 \tocdepth 2
157 \paragraph_separation skip
158 \defskip medskip
159 \is_math_indent 1
160 \math_indentation default
161 \math_numbering_side default
162 \quotes_style english
163 \dynamic_quotes 0
164 \papercolumns 1
165 \papersides 2
166 \paperpagestyle fancy
167 \tracking_changes false
168 \output_changes false
169 \html_math_output 0
170 \html_css_as_file 0
171 \html_be_strict false
172 \end_header
173
174 \begin_body
175
176 \begin_layout Standard
177 \begin_inset Note Note
178 status open
179
180 \begin_layout Plain Layout
181
182 \series bold
183 Notes:
184 \end_layout
185
186 \begin_layout Itemize
187 When renaming this file, you must also rename it in all its subdocuments
188  in the document settings in the menu 
189 \family sans
190 Document\SpecialChar menuseparator
191 Settings\SpecialChar menuseparator
192 Document
193 \begin_inset space ~
194 \end_inset
195
196 Class\SpecialChar menuseparator
197 Select
198 \begin_inset space ~
199 \end_inset
200
201 default
202 \begin_inset space ~
203 \end_inset
204
205 master
206 \begin_inset space ~
207 \end_inset
208
209 document
210 \end_layout
211
212 \begin_layout Itemize
213 For special settings like the header/footer lines or the font of captions,
214  see also the document preamble (menu 
215 \family sans
216 Document\SpecialChar menuseparator
217 Settings\SpecialChar menuseparator
218 \SpecialChar LaTeX
219  Preamble
220 \family default
221 ).
222 \end_layout
223
224 \begin_layout Itemize
225 If you change the document language you also need to check the document
226  preamble and replace there the English-specific setting.
227 \end_layout
228
229 \begin_layout Itemize
230 This file is not designed to change the document class.
231  You can use it nevertheless as starting point if you have to use a special
232  docment class provided by your university, but no support can be granted
233  for this transition.
234 \end_layout
235
236 \end_inset
237
238
239 \end_layout
240
241 \begin_layout Subject
242 Thesis to get the degree of a doctor of philosophy
243 \begin_inset Note Note
244 status open
245
246 \begin_layout Plain Layout
247 Use the official terms and title page layout of your university instead
248  of this one!
249 \end_layout
250
251 \end_inset
252
253
254 \end_layout
255
256 \begin_layout Title
257 Title of the thesis
258 \end_layout
259
260 \begin_layout Subtitle
261 Subtitle (if you have one)
262 \end_layout
263
264 \begin_layout Author
265 Your name
266 \end_layout
267
268 \begin_layout Date
269 Date (optional)
270 \end_layout
271
272 \begin_layout Publishers
273 \begin_inset Box Boxed
274 position "t"
275 hor_pos "c"
276 has_inner_box 1
277 inner_pos "t"
278 use_parbox 0
279 use_makebox 0
280 width "40col%"
281 special "none"
282 height "1in"
283 height_special "totalheight"
284 thickness "0.4pt"
285 separation "3pt"
286 shadowsize "4pt"
287 framecolor "black"
288 backgroundcolor "none"
289 status open
290
291 \begin_layout Plain Layout
292 Replace this box e.
293 \begin_inset space \thinspace{}
294 \end_inset
295
296 g.
297 \begin_inset space ~
298 \end_inset
299
300 by the coat of arms of the university.
301 \end_layout
302
303 \end_inset
304
305
306 \begin_inset ERT
307 status collapsed
308
309 \begin_layout Plain Layout
310
311
312 \backslash
313 vspace{
314 \backslash
315 baselineskip}
316 \end_layout
317
318 \end_inset
319
320
321 \begin_inset Newline newline
322 \end_inset
323
324 Bla bla University Testburg
325 \begin_inset Newline newline
326 \end_inset
327
328 Faculty for leading edge science
329 \begin_inset Newline newline
330 \end_inset
331
332 Institute for 
333 \noun on
334 Nobel
335 \noun default
336  price winning research
337 \begin_inset VSpace -3cm
338 \end_inset
339
340
341 \end_layout
342
343 \begin_layout Lowertitleback
344
345 \series bold
346 Dean
347 \series default
348
349 \begin_inset VSpace smallskip
350 \end_inset
351
352
353 \begin_inset Newline newline
354 \end_inset
355
356 Prof.
357  Dr.
358  xxx yyy
359 \begin_inset VSpace bigskip
360 \end_inset
361
362
363 \begin_inset Newline newline
364 \end_inset
365
366
367 \series bold
368 Referees
369 \series default
370
371 \begin_inset VSpace smallskip
372 \end_inset
373
374
375 \begin_inset Newline newline
376 \end_inset
377
378 Prof.
379  Dr.
380  aaa bbb
381 \begin_inset VSpace smallskip
382 \end_inset
383
384
385 \begin_inset Newline newline
386 \end_inset
387
388 Prof.
389  Dr.
390  xxx yyy
391 \begin_inset VSpace bigskip
392 \end_inset
393
394
395 \begin_inset Newline newline
396 \end_inset
397
398
399 \series bold
400 Date of the graduation (optional)
401 \series default
402
403 \begin_inset VSpace smallskip
404 \end_inset
405
406
407 \begin_inset Newline newline
408 \end_inset
409
410 xx.yy.zzzz
411 \end_layout
412
413 \begin_layout Dedication
414 Dedication, cite from a famous person, or whatever you like (optional)
415 \end_layout
416
417 \begin_layout Standard
418 \begin_inset Newpage cleardoublepage
419 \end_inset
420
421
422 \end_layout
423
424 \begin_layout Left Header
425 \begin_inset ERT
426 status collapsed
427
428 \begin_layout Plain Layout
429
430
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 Defines the header line.
443  If your university does not have special rules what must be in the header/foote
444 r, leave the settings as they are.
445 \end_layout
446
447 \begin_layout Plain Layout
448 Quick explanation:
449 \end_layout
450
451 \begin_layout Itemize
452 Stuff inside the 
453 \family sans
454 opt
455 \family default
456  inset appears on even pages, stuff outside the 
457 \family sans
458 opt
459 \family default
460  inset appears on uneven pages.
461 \end_layout
462
463 \begin_layout Itemize
464
465 \series bold
466
467 \backslash
468 rightmark
469 \series default
470  is stuff that usualy appears on the right side.
471  This is normally the title of the current chapter or section.
472 \end_layout
473
474 \begin_layout Itemize
475
476 \series bold
477
478 \backslash
479 leftmark
480 \series default
481  is the opposite of 
482 \series bold
483
484 \backslash
485 rightmark
486 \series default
487 .
488 \end_layout
489
490 \begin_layout Itemize
491
492 \series bold
493
494 \backslash
495 thepage
496 \series default
497  prints the current page number, 
498 \series bold
499
500 \backslash
501 thechapter
502 \series default
503  the current chapter number, 
504 \series bold
505
506 \backslash
507 thesection
508 \series default
509  the current...
510 \end_layout
511
512 \begin_layout Itemize
513 Further adjustments can be made in the \SpecialChar LaTeX
514  preamble of thios document in the
515  menu Document\SpecialChar menuseparator
516 Settings.
517  For a brief description how the header/footer lines can be modified, see
518  the manual of the \SpecialChar LaTeX
519  package 
520 \series bold
521 fancyhdr
522 \series default
523
524 \begin_inset Flex URL
525 status collapsed
526
527 \begin_layout Plain Layout
528
529 http://www.ctan.org/tex-archive/macros/latex/contrib/fancyhdr/fancyhdr.pdf
530 \end_layout
531
532 \end_inset
533
534
535 \end_layout
536
537 \end_inset
538
539
540 \end_layout
541
542 \begin_layout Right Header
543 \begin_inset Argument 1
544 status open
545
546 \begin_layout Plain Layout
547 \begin_inset ERT
548 status collapsed
549
550 \begin_layout Plain Layout
551
552
553 \backslash
554 leftmark
555 \end_layout
556
557 \end_inset
558
559
560 \end_layout
561
562 \end_inset
563
564
565 \end_layout
566
567 \begin_layout Left Footer
568 \begin_inset Argument 1
569 status open
570
571 \begin_layout Plain Layout
572 \begin_inset ERT
573 status collapsed
574
575 \begin_layout Plain Layout
576
577
578 \backslash
579 thepage
580 \end_layout
581
582 \end_inset
583
584
585 \end_layout
586
587 \end_inset
588
589
590 \end_layout
591
592 \begin_layout Center Footer
593
594 \end_layout
595
596 \begin_layout Right Footer
597 \begin_inset Argument 1
598 status open
599
600 \begin_layout Plain Layout
601
602 \end_layout
603
604 \end_inset
605
606
607 \begin_inset ERT
608 status collapsed
609
610 \begin_layout Plain Layout
611
612
613 \backslash
614 thepage
615 \end_layout
616
617 \end_inset
618
619
620 \end_layout
621
622 \begin_layout Standard
623 \begin_inset CommandInset toc
624 LatexCommand tableofcontents
625
626 \end_inset
627
628
629 \end_layout
630
631 \begin_layout Standard
632 \begin_inset Newpage cleardoublepage
633 \end_inset
634
635
636 \end_layout
637
638 \begin_layout Standard
639 \begin_inset ERT
640 status collapsed
641
642 \begin_layout Plain Layout
643
644
645 \backslash
646 pagestyle{plain}
647 \end_layout
648
649 \end_inset
650
651
652 \begin_inset Note Note
653 status collapsed
654
655 \begin_layout Plain Layout
656 Usually the summary should not have page headers.
657  If it should, remove this \SpecialChar TeX
658  code.
659 \end_layout
660
661 \end_inset
662
663
664 \end_layout
665
666 \begin_layout Standard
667 \begin_inset Branch Summary
668 inverted 0
669 status open
670
671 \begin_layout Standard
672 \begin_inset CommandInset include
673 LatexCommand include
674 filename "Summary.lyx"
675
676 \end_inset
677
678
679 \end_layout
680
681 \end_inset
682
683
684 \end_layout
685
686 \begin_layout Standard
687 \begin_inset Newpage cleardoublepage
688 \end_inset
689
690
691 \end_layout
692
693 \begin_layout Standard
694 \begin_inset ERT
695 status collapsed
696
697 \begin_layout Plain Layout
698
699
700 \backslash
701 pagestyle{fancy}
702 \end_layout
703
704 \end_inset
705
706
707 \begin_inset Note Note
708 status collapsed
709
710 \begin_layout Plain Layout
711 Reset page style to get page headers again.
712 \end_layout
713
714 \end_inset
715
716
717 \end_layout
718
719 \begin_layout Left Header
720 \begin_inset Argument 1
721 status open
722
723 \begin_layout Plain Layout
724 \begin_inset ERT
725 status collapsed
726
727 \begin_layout Plain Layout
728
729
730 \backslash
731 chaptername
732 \end_layout
733
734 \end_inset
735
736
737 \begin_inset space ~
738 \end_inset
739
740
741 \begin_inset ERT
742 status collapsed
743
744 \begin_layout Plain Layout
745
746
747 \backslash
748 thechapter
749 \end_layout
750
751 \end_inset
752
753
754 \end_layout
755
756 \end_inset
757
758
759 \begin_inset ERT
760 status collapsed
761
762 \begin_layout Plain Layout
763
764
765 \backslash
766 rightmark
767 \end_layout
768
769 \end_inset
770
771
772 \begin_inset Note Note
773 status collapsed
774
775 \begin_layout Plain Layout
776 Enable page headers and add the chapter to the header line.
777 \end_layout
778
779 \end_inset
780
781
782 \end_layout
783
784 \begin_layout Standard
785 \begin_inset Branch chapter-1
786 inverted 0
787 status open
788
789 \begin_layout Standard
790 \begin_inset CommandInset include
791 LatexCommand include
792 filename "chapter-1.lyx"
793
794 \end_inset
795
796
797 \end_layout
798
799 \end_inset
800
801
802 \end_layout
803
804 \begin_layout Standard
805 \begin_inset Branch chapter-2
806 inverted 0
807 status open
808
809 \begin_layout Standard
810 \begin_inset CommandInset include
811 LatexCommand include
812 filename "chapter-2.lyx"
813
814 \end_inset
815
816
817 \end_layout
818
819 \end_inset
820
821
822 \end_layout
823
824 \begin_layout Standard
825 \begin_inset Newpage cleardoublepage
826 \end_inset
827
828
829 \end_layout
830
831 \begin_layout Left Header
832 \begin_inset Argument 1
833 status open
834
835 \begin_layout Plain Layout
836
837 \end_layout
838
839 \end_inset
840
841 Acknowledgments
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 left header line
855 \end_layout
856
857 \end_inset
858
859
860 \end_layout
861
862 \begin_layout Right Header
863 \begin_inset Argument 1
864 status open
865
866 \begin_layout Plain Layout
867 Acknowledgments
868 \end_layout
869
870 \end_inset
871
872
873 \begin_inset Note Note
874 status collapsed
875
876 \begin_layout Plain Layout
877 print 
878 \begin_inset Quotes eld
879 \end_inset
880
881 Acknowledgments
882 \begin_inset Quotes erd
883 \end_inset
884
885  in the right header line
886 \end_layout
887
888 \end_inset
889
890
891 \end_layout
892
893 \begin_layout Standard
894 \begin_inset Branch Acknowledgments
895 inverted 0
896 status open
897
898 \begin_layout Standard
899 \begin_inset CommandInset include
900 LatexCommand include
901 filename "Acknowledgments.lyx"
902
903 \end_inset
904
905
906 \end_layout
907
908 \end_inset
909
910
911 \end_layout
912
913 \begin_layout Standard
914 \begin_inset Branch Appendix
915 inverted 0
916 status open
917
918 \begin_layout Standard
919 \start_of_appendix
920 \begin_inset CommandInset include
921 LatexCommand include
922 filename "Appendix.lyx"
923
924 \end_inset
925
926
927 \end_layout
928
929 \end_inset
930
931
932 \begin_inset Note Note
933 status open
934
935 \begin_layout Plain Layout
936 Appendix is of course optional
937 \end_layout
938
939 \end_inset
940
941
942 \end_layout
943
944 \begin_layout Standard
945 \begin_inset Newpage cleardoublepage
946 \end_inset
947
948
949 \end_layout
950
951 \begin_layout Left Header
952 \begin_inset Argument 1
953 status open
954
955 \begin_layout Plain Layout
956
957 \end_layout
958
959 \end_inset
960
961
962 \begin_inset ERT
963 status collapsed
964
965 \begin_layout Plain Layout
966
967
968 \backslash
969 rightmark
970 \end_layout
971
972 \end_inset
973
974
975 \begin_inset Note Note
976 status collapsed
977
978 \begin_layout Plain Layout
979 remove the chapter from the header line
980 \end_layout
981
982 \end_inset
983
984
985 \end_layout
986
987 \begin_layout Right Header
988 \begin_inset Argument 1
989 status open
990
991 \begin_layout Plain Layout
992 \begin_inset ERT
993 status collapsed
994
995 \begin_layout Plain Layout
996
997
998 \backslash
999 leftmark
1000 \end_layout
1001
1002 \end_inset
1003
1004
1005 \end_layout
1006
1007 \end_inset
1008
1009
1010 \begin_inset Note Note
1011 status collapsed
1012
1013 \begin_layout Plain Layout
1014 restore the right header line
1015 \end_layout
1016
1017 \end_inset
1018
1019
1020 \end_layout
1021
1022 \begin_layout Standard
1023 \begin_inset CommandInset bibtex
1024 LatexCommand bibtex
1025 bibfiles "thesisExample"
1026 options "alpha"
1027
1028 \end_inset
1029
1030
1031 \end_layout
1032
1033 \begin_layout Standard
1034 \begin_inset Newpage cleardoublepage
1035 \end_inset
1036
1037
1038 \end_layout
1039
1040 \begin_layout Left Header
1041 \begin_inset Argument 1
1042 status open
1043
1044 \begin_layout Plain Layout
1045
1046 \end_layout
1047
1048 \end_inset
1049
1050 Nomenclature
1051 \begin_inset Note Note
1052 status collapsed
1053
1054 \begin_layout Plain Layout
1055 print 
1056 \begin_inset Quotes eld
1057 \end_inset
1058
1059 Nomenclature
1060 \begin_inset Quotes erd
1061 \end_inset
1062
1063  in the header line
1064 \end_layout
1065
1066 \end_inset
1067
1068
1069 \end_layout
1070
1071 \begin_layout Right Header
1072 \begin_inset Argument 1
1073 status open
1074
1075 \begin_layout Plain Layout
1076 Nomenclature
1077 \end_layout
1078
1079 \end_inset
1080
1081
1082 \end_layout
1083
1084 \begin_layout Standard
1085 \begin_inset CommandInset nomencl_print
1086 LatexCommand printnomenclature
1087 set_width "custom"
1088 width "2.5cm"
1089
1090 \end_inset
1091
1092
1093 \begin_inset Note Note
1094 status open
1095
1096 \begin_layout Plain Layout
1097 The width of the nomenclature entries can be changed by clicking on the
1098  nomenclature inset.
1099 \end_layout
1100
1101 \end_inset
1102
1103
1104 \end_layout
1105
1106 \end_body
1107 \end_document