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