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