]> git.lyx.org Git - lyx.git/blob - lib/templates/thesis/thesis.lyx
example files, template files, layout files: port my latest changes to trunk
[lyx.git] / lib / templates / thesis / thesis.lyx
1 #LyX 2.0 created this file. For more info see http://www.lyx.org/
2 \lyxformat 413
3 \begin_document
4 \begin_header
5 \textclass scrbook
6 \begin_preamble
7 % increase link area for cross-references and autoname them
8 \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
9 \newlength{\abc}
10 \settowidth{\abc}{\space}
11 \AtBeginDocument{%
12 \addto\extrasenglish{
13  \renewcommand{\equationautorefname}{\hspace{-\abc}}
14  \renewcommand{\sectionautorefname}{sec.\negthinspace}
15  \renewcommand{\subsectionautorefname}{sec.\negthinspace}
16  \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}
17  \renewcommand{\figureautorefname}{Fig.\negthinspace}
18  \renewcommand{\tableautorefname}{Tab.\negthinspace}
19 }
20 }
21
22 % in case somebody want to have the label "equation"
23 %\renewcommand{\eqref}[1]{equation~(\negthinspace\autoref{#1})}
24
25 % that links to image floats jumps to the beginning
26 % of the float and not to its caption
27 \usepackage[figure]{hypcap}
28
29 % the pages of the TOC is numbered roman
30 % and a pdf-bookmark for the TOC is added
31 \let\myTOC\tableofcontents
32 \renewcommand\tableofcontents{%
33   \frontmatter
34   \pdfbookmark[1]{\contentsname}{}
35   \myTOC
36   \mainmatter }
37
38 % make caption labels bold
39 \setkomafont{captionlabel}{\bfseries}
40 \setcapindent{1em}
41
42 % enable calculations
43 \usepackage{calc}
44
45 % fancy page header/footer settings
46 \renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}
47 \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
48
49 % increase the bottom float placement fraction
50 \renewcommand{\bottomfraction}{0.5}
51
52 % avoid that floats are placed above its sections
53 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
54 \end_preamble
55 \options intoc,bibliography=totoc,index=totoc,BCOR10mm,captions=tableheading,titlepage,fleqn
56 \use_default_options true
57 \begin_modules
58 customHeadersFooters
59 \end_modules
60 \maintain_unincluded_children false
61 \language english
62 \language_package default
63 \inputencoding auto
64 \fontencoding global
65 \font_roman lmodern
66 \font_sans lmss
67 \font_typewriter lmtt
68 \font_default_family default
69 \use_non_tex_fonts false
70 \font_sc false
71 \font_osf false
72 \font_sf_scale 100
73 \font_tt_scale 100
74
75 \graphics default
76 \default_output_format default
77 \output_sync 0
78 \bibtex_command default
79 \index_command default
80 \float_placement h
81 \paperfontsize 12
82 \spacing single
83 \use_hyperref true
84 \pdf_bookmarks true
85 \pdf_bookmarksnumbered true
86 \pdf_bookmarksopen true
87 \pdf_bookmarksopenlevel 1
88 \pdf_breaklinks false
89 \pdf_pdfborder true
90 \pdf_colorlinks false
91 \pdf_backref false
92 \pdf_pdfusetitle true
93 \pdf_quoted_options "pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
94 \papersize a4paper
95 \use_geometry false
96 \use_amsmath 2
97 \use_esint 1
98 \use_mhchem 1
99 \use_mathdots 1
100 \cite_engine basic
101 \use_bibtopic false
102 \use_indices false
103 \paperorientation portrait
104 \suppress_date true
105 \use_refstyle 0
106 \branch chapter-1
107 \selected 1
108 \filename_suffix 0
109 \color #ffaa00
110 \end_branch
111 \branch chapter-2
112 \selected 1
113 \filename_suffix 0
114 \color #55aaff
115 \end_branch
116 \branch Summary
117 \selected 1
118 \filename_suffix 0
119 \color #7f7f7f
120 \end_branch
121 \branch Acknowledgments
122 \selected 1
123 \filename_suffix 0
124 \color #ffff00
125 \end_branch
126 \branch Appendix
127 \selected 1
128 \filename_suffix 0
129 \color #faf0e6
130 \end_branch
131 \index Index
132 \shortcut idx
133 \color #008000
134 \end_index
135 \secnumdepth 3
136 \tocdepth 2
137 \paragraph_separation skip
138 \defskip medskip
139 \quotes_language english
140 \papercolumns 1
141 \papersides 2
142 \paperpagestyle fancy
143 \tracking_changes false
144 \output_changes false
145 \html_math_output 0
146 \html_css_as_file 0
147 \html_be_strict false
148 \end_header
149
150 \begin_body
151
152 \begin_layout Subject
153 Thesis to get the degree of a doctor of philosophy
154 \begin_inset Note Note
155 status open
156
157 \begin_layout Plain Layout
158 Use the official terms and title page layout instead of this one!
159 \end_layout
160
161 \end_inset
162
163
164 \end_layout
165
166 \begin_layout Title
167 Title of the thesis
168 \end_layout
169
170 \begin_layout Subtitle
171 Subtitle (if you have one)
172 \end_layout
173
174 \begin_layout Author
175 Your name
176 \end_layout
177
178 \begin_layout Date
179 Date (optional)
180 \end_layout
181
182 \begin_layout Publishers
183 \begin_inset Box Boxed
184 position "t"
185 hor_pos "c"
186 has_inner_box 1
187 inner_pos "t"
188 use_parbox 0
189 use_makebox 0
190 width "40col%"
191 special "none"
192 height "1in"
193 height_special "totalheight"
194 status open
195
196 \begin_layout Plain Layout
197 Replace this box e.
198 \begin_inset space \thinspace{}
199 \end_inset
200
201 g.
202 \begin_inset space ~
203 \end_inset
204
205 by the coat of arms of the university.
206 \end_layout
207
208 \end_inset
209
210
211 \begin_inset ERT
212 status collapsed
213
214 \begin_layout Plain Layout
215
216
217 \backslash
218 vspace{
219 \backslash
220 baselineskip}
221 \end_layout
222
223 \end_inset
224
225
226 \begin_inset Newline newline
227 \end_inset
228
229 Bla bla University Testburg
230 \begin_inset Newline newline
231 \end_inset
232
233 Faculty for leading edge science
234 \begin_inset Newline newline
235 \end_inset
236
237 Institute for 
238 \noun on
239 Nobel
240 \noun default
241  price winning research
242 \begin_inset VSpace -3cm
243 \end_inset
244
245
246 \end_layout
247
248 \begin_layout Lowertitleback
249
250 \series bold
251 Dean
252 \series default
253
254 \begin_inset VSpace smallskip
255 \end_inset
256
257
258 \begin_inset Newline newline
259 \end_inset
260
261 Prof.
262  Dr.
263  xxx yyy
264 \begin_inset VSpace bigskip
265 \end_inset
266
267
268 \begin_inset Newline newline
269 \end_inset
270
271
272 \series bold
273 Referees
274 \series default
275
276 \begin_inset VSpace smallskip
277 \end_inset
278
279
280 \begin_inset Newline newline
281 \end_inset
282
283 Prof.
284  Dr.
285  aaa bbb
286 \begin_inset VSpace smallskip
287 \end_inset
288
289
290 \begin_inset Newline newline
291 \end_inset
292
293 Prof.
294  Dr.
295  xxx yyy
296 \begin_inset VSpace bigskip
297 \end_inset
298
299
300 \begin_inset Newline newline
301 \end_inset
302
303
304 \series bold
305 Date of the graduation (optional)
306 \series default
307
308 \begin_inset VSpace smallskip
309 \end_inset
310
311
312 \begin_inset Newline newline
313 \end_inset
314
315 xx.yy.zzzz
316 \end_layout
317
318 \begin_layout Dedication
319 Dedication, cite from a famous person, or whatever you like (optional)
320 \end_layout
321
322 \begin_layout Standard
323 \begin_inset Newpage cleardoublepage
324 \end_inset
325
326
327 \end_layout
328
329 \begin_layout Left Header
330 \begin_inset ERT
331 status collapsed
332
333 \begin_layout Plain Layout
334
335
336 \backslash
337 rightmark
338 \end_layout
339
340 \end_inset
341
342
343 \begin_inset Note Note
344 status collapsed
345
346 \begin_layout Plain Layout
347 defines the header line
348 \end_layout
349
350 \end_inset
351
352
353 \end_layout
354
355 \begin_layout Right Header
356 \begin_inset Argument
357 status open
358
359 \begin_layout Plain Layout
360 \begin_inset ERT
361 status collapsed
362
363 \begin_layout Plain Layout
364
365
366 \backslash
367 leftmark
368 \end_layout
369
370 \end_inset
371
372
373 \end_layout
374
375 \end_inset
376
377
378 \end_layout
379
380 \begin_layout Left Footer
381 \begin_inset Argument
382 status open
383
384 \begin_layout Plain Layout
385 \begin_inset ERT
386 status collapsed
387
388 \begin_layout Plain Layout
389
390
391 \backslash
392 thepage
393 \end_layout
394
395 \end_inset
396
397
398 \end_layout
399
400 \end_inset
401
402
403 \end_layout
404
405 \begin_layout Center Footer
406
407 \end_layout
408
409 \begin_layout Right Footer
410 \begin_inset ERT
411 status collapsed
412
413 \begin_layout Plain Layout
414
415
416 \backslash
417 thepage
418 \end_layout
419
420 \end_inset
421
422
423 \end_layout
424
425 \begin_layout Standard
426 \begin_inset CommandInset toc
427 LatexCommand tableofcontents
428
429 \end_inset
430
431
432 \end_layout
433
434 \begin_layout Standard
435 \begin_inset Newpage cleardoublepage
436 \end_inset
437
438
439 \end_layout
440
441 \begin_layout Standard
442 \begin_inset ERT
443 status collapsed
444
445 \begin_layout Plain Layout
446
447
448 \backslash
449 pagestyle{plain}
450 \end_layout
451
452 \end_inset
453
454
455 \begin_inset Note Note
456 status collapsed
457
458 \begin_layout Plain Layout
459 The summary should not have page headers.
460 \end_layout
461
462 \end_inset
463
464
465 \end_layout
466
467 \begin_layout Standard
468 \begin_inset Branch Summary
469 status open
470
471 \begin_layout Standard
472 \begin_inset CommandInset include
473 LatexCommand include
474 filename "Summary.lyx"
475
476 \end_inset
477
478
479 \end_layout
480
481 \end_inset
482
483
484 \end_layout
485
486 \begin_layout Standard
487 \begin_inset Newpage cleardoublepage
488 \end_inset
489
490
491 \end_layout
492
493 \begin_layout Standard
494 \begin_inset ERT
495 status collapsed
496
497 \begin_layout Plain Layout
498
499
500 \backslash
501 pagestyle{fancy}
502 \end_layout
503
504 \end_inset
505
506
507 \end_layout
508
509 \begin_layout Left Header
510 \begin_inset Argument
511 status open
512
513 \begin_layout Plain Layout
514 \begin_inset ERT
515 status collapsed
516
517 \begin_layout Plain Layout
518
519
520 \backslash
521 chaptername
522 \end_layout
523
524 \end_inset
525
526
527 \begin_inset space ~
528 \end_inset
529
530
531 \begin_inset ERT
532 status collapsed
533
534 \begin_layout Plain Layout
535
536
537 \backslash
538 thechapter
539 \end_layout
540
541 \end_inset
542
543
544 \end_layout
545
546 \end_inset
547
548
549 \begin_inset ERT
550 status collapsed
551
552 \begin_layout Plain Layout
553
554
555 \backslash
556 rightmark
557 \end_layout
558
559 \end_inset
560
561
562 \begin_inset Note Note
563 status collapsed
564
565 \begin_layout Plain Layout
566 Enable page headers and add the chapter to the header line.
567 \end_layout
568
569 \end_inset
570
571
572 \end_layout
573
574 \begin_layout Standard
575 \begin_inset Branch chapter-1
576 status open
577
578 \begin_layout Standard
579 \begin_inset CommandInset include
580 LatexCommand include
581 filename "chapter-1.lyx"
582
583 \end_inset
584
585
586 \end_layout
587
588 \end_inset
589
590
591 \end_layout
592
593 \begin_layout Standard
594 \begin_inset Branch chapter-2
595 status open
596
597 \begin_layout Standard
598 \begin_inset CommandInset include
599 LatexCommand include
600 filename "chapter-2.lyx"
601
602 \end_inset
603
604
605 \end_layout
606
607 \end_inset
608
609
610 \end_layout
611
612 \begin_layout Standard
613 \begin_inset Newpage cleardoublepage
614 \end_inset
615
616
617 \end_layout
618
619 \begin_layout Left Header
620 \begin_inset Argument
621 status open
622
623 \begin_layout Plain Layout
624
625 \end_layout
626
627 \end_inset
628
629 Acknowledgments
630 \begin_inset Note Note
631 status collapsed
632
633 \begin_layout Plain Layout
634 print 
635 \begin_inset Quotes eld
636 \end_inset
637
638 Acknowledgments
639 \begin_inset Quotes erd
640 \end_inset
641
642  in the left header line
643 \end_layout
644
645 \end_inset
646
647
648 \end_layout
649
650 \begin_layout Right Header
651 \begin_inset Argument
652 status open
653
654 \begin_layout Plain Layout
655 Acknowledgments
656 \end_layout
657
658 \end_inset
659
660
661 \begin_inset Note Note
662 status collapsed
663
664 \begin_layout Plain Layout
665 print 
666 \begin_inset Quotes eld
667 \end_inset
668
669 Acknowledgments
670 \begin_inset Quotes erd
671 \end_inset
672
673  in the right header line
674 \end_layout
675
676 \end_inset
677
678
679 \end_layout
680
681 \begin_layout Standard
682 \begin_inset Branch Acknowledgments
683 status open
684
685 \begin_layout Standard
686 \begin_inset CommandInset include
687 LatexCommand include
688 filename "Acknowledgments.lyx"
689
690 \end_inset
691
692
693 \end_layout
694
695 \end_inset
696
697
698 \end_layout
699
700 \begin_layout Standard
701 \begin_inset Branch Appendix
702 status open
703
704 \begin_layout Standard
705 \begin_inset CommandInset include
706 LatexCommand include
707 filename "Appendix.lyx"
708
709 \end_inset
710
711
712 \end_layout
713
714 \end_inset
715
716
717 \begin_inset Note Note
718 status open
719
720 \begin_layout Plain Layout
721 Appendix is of course optional
722 \end_layout
723
724 \end_inset
725
726
727 \end_layout
728
729 \begin_layout Standard
730 \begin_inset Newpage cleardoublepage
731 \end_inset
732
733
734 \end_layout
735
736 \begin_layout Left Header
737 \begin_inset Argument
738 status open
739
740 \begin_layout Plain Layout
741
742 \end_layout
743
744 \end_inset
745
746
747 \begin_inset ERT
748 status collapsed
749
750 \begin_layout Plain Layout
751
752
753 \backslash
754 rightmark
755 \end_layout
756
757 \end_inset
758
759
760 \begin_inset Note Note
761 status collapsed
762
763 \begin_layout Plain Layout
764 remove the chapter from the header line
765 \end_layout
766
767 \end_inset
768
769
770 \end_layout
771
772 \begin_layout Right Header
773 \begin_inset Argument
774 status open
775
776 \begin_layout Plain Layout
777 \begin_inset ERT
778 status collapsed
779
780 \begin_layout Plain Layout
781
782
783 \backslash
784 leftmark
785 \end_layout
786
787 \end_inset
788
789
790 \end_layout
791
792 \end_inset
793
794
795 \begin_inset Note Note
796 status collapsed
797
798 \begin_layout Plain Layout
799 restore the right header line
800 \end_layout
801
802 \end_inset
803
804
805 \end_layout
806
807 \begin_layout Standard
808 \begin_inset CommandInset bibtex
809 LatexCommand bibtex
810 bibfiles "thesisExample"
811 options "alpha"
812
813 \end_inset
814
815
816 \end_layout
817
818 \begin_layout Standard
819 \begin_inset Newpage cleardoublepage
820 \end_inset
821
822
823 \end_layout
824
825 \begin_layout Left Header
826 \begin_inset Argument
827 status open
828
829 \begin_layout Plain Layout
830
831 \end_layout
832
833 \end_inset
834
835 Nomenclature
836 \begin_inset Note Note
837 status collapsed
838
839 \begin_layout Plain Layout
840 print 
841 \begin_inset Quotes eld
842 \end_inset
843
844 Nomenclature
845 \begin_inset Quotes erd
846 \end_inset
847
848  in the header line
849 \end_layout
850
851 \end_inset
852
853
854 \end_layout
855
856 \begin_layout Right Header
857 \begin_inset Argument
858 status open
859
860 \begin_layout Plain Layout
861 Nomenclature
862 \end_layout
863
864 \end_inset
865
866
867 \end_layout
868
869 \begin_layout Standard
870 \begin_inset CommandInset nomencl_print
871 LatexCommand printnomenclature
872 set_width "custom"
873 width "2.5cm"
874
875 \end_inset
876
877
878 \begin_inset Note Note
879 status open
880
881 \begin_layout Plain Layout
882 The width of the nomenclature entries can be changed by clicking on the
883  nomenclature inset.
884 \end_layout
885
886 \end_inset
887
888
889 \end_layout
890
891 \end_body
892 \end_document