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