]> git.lyx.org Git - lyx.git/blobdiff - lib/templates/thesis/thesis.lyx
thesis template: port recent changes to master
[lyx.git] / lib / templates / thesis / thesis.lyx
index 4c010b14d330a3e4bac2df594f3651bc1942e628..7a5fb55bea626afc83d1dcd8781136f716686b7a 100644 (file)
@@ -1,26 +1,27 @@
-#LyX 2.0.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 410
+#LyX 2.0 created this file. For more info see http://www.lyx.org/
+\lyxformat 413
 \begin_document
 \begin_header
 \textclass scrbook
 \begin_preamble
-% increase link area for cross-references and autoname them
-\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
-\newlength{\abc}
-\settowidth{\abc}{\space}
+% increases link area for cross-references and autoname them
+% if you change the document language to e.g. French
+% you must change "extrasenglish" to "extrasfrench"
 \AtBeginDocument{%
-\addto\extrasenglish{
- \renewcommand{\equationautorefname}{\hspace{-\abc}}
+ \renewcommand{\ref}[1]{\mbox{\autoref{#1}}}
+}
+\def\refnamechanges{%
+ \renewcommand*{\equationautorefname}[1]{}
  \renewcommand{\sectionautorefname}{sec.\negthinspace}
  \renewcommand{\subsectionautorefname}{sec.\negthinspace}
  \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}
  \renewcommand{\figureautorefname}{Fig.\negthinspace}
  \renewcommand{\tableautorefname}{Tab.\negthinspace}
 }
-}
+\@ifpackageloaded{babel}{\addto\extrasenglish{\refnamechanges}}{\refnamechanges}
 
-% in case somebody want to have the label "equation"
-%\renewcommand{\eqref}[1]{equation~(\negthinspace\autoref{#1})}
+% in case somebody want to have the label "Equation"
+%\renewcommand{\eqref}[1]{Equation~(\negthinspace\autoref{#1})}
 
 % that links to image floats jumps to the beginning
 % of the float and not to its caption
   \myTOC
   \mainmatter }
 
-% make caption labels bold
+% makes caption labels bold
+% for more info about these settings, see
+% http://mirrors.ctan.org/macros/latex/contrib/koma-script/doc/scrguien.pdf
 \setkomafont{captionlabel}{\bfseries}
 \setcapindent{1em}
 
-% enable calculations
+% enables calculations
 \usepackage{calc}
 
 % fancy page header/footer settings
+% for more information see section 9 of
+% ftp://www.ctan.org/pub/tex-archive/macros/latex2e/contrib/fancyhdr/fancyhdr.pdf
 \renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}
 \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
 
-% increase the bottom float placement fraction
+% increases the bottom float placement fraction
 \renewcommand{\bottomfraction}{0.5}
 
-% avoid that floats are placed above its sections
+% avoids that floats are placed above its sections
 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
 \end_preamble
 \options intoc,bibliography=totoc,index=totoc,BCOR10mm,captions=tableheading,titlepage,fleqn
@@ -59,11 +64,12 @@ customHeadersFooters
 \end_modules
 \maintain_unincluded_children false
 \language english
+\language_package default
 \inputencoding auto
 \fontencoding global
-\font_roman default
-\font_sans default
-\font_typewriter default
+\font_roman lmodern
+\font_sans lmss
+\font_typewriter lmtt
 \font_default_family default
 \use_non_tex_fonts false
 \font_sc false
@@ -142,18 +148,84 @@ customHeadersFooters
 \tracking_changes false
 \output_changes false
 \html_math_output 0
+\html_css_as_file 0
 \html_be_strict false
 \end_header
 
 \begin_body
 
+\begin_layout Standard
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Notes:
+\end_layout
+
+\begin_layout Itemize
+When renaming this file, you must also rename it in all its subdocuments
+ in the document settings in the menu 
+\family sans
+Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Document
+\begin_inset space ~
+\end_inset
+
+Class\SpecialChar \menuseparator
+Select
+\begin_inset space ~
+\end_inset
+
+default
+\begin_inset space ~
+\end_inset
+
+master
+\begin_inset space ~
+\end_inset
+
+document
+\end_layout
+
+\begin_layout Itemize
+For special settings like the header/footer lines or the font of captions,
+ see also the document preamble (menu 
+\family sans
+Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+LaTeX Preamble
+\family default
+).
+\end_layout
+
+\begin_layout Itemize
+If you change the document language you also need to check the document
+ preamble and replace there the English-specific setting.
+\end_layout
+
+\begin_layout Itemize
+This file is not designed to change the document class.
+ You can use it nevertheless as starting point if you have to use a special
+ docment class provided by your university, but no support can be granted
+ for this transition.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
 \begin_layout Subject
 Thesis to get the degree of a doctor of philosophy
 \begin_inset Note Note
 status open
 
 \begin_layout Plain Layout
-Use the official terms and title page layout instead of this one!
+Use the official terms and title page layout of your university instead
+ of this one!
 \end_layout
 
 \end_inset
@@ -342,7 +414,97 @@ rightmark
 status collapsed
 
 \begin_layout Plain Layout
-defines the header line
+Defines the header line.
+ If your university does not have special rules what must be in the header/foote
+r, leave the settings as they are.
+\end_layout
+
+\begin_layout Plain Layout
+Quick explanation:
+\end_layout
+
+\begin_layout Itemize
+Stuff inside the 
+\family sans
+opt
+\family default
+ inset appears on even pages, stuff outside the 
+\family sans
+opt
+\family default
+ inset appears on uneven pages.
+\end_layout
+
+\begin_layout Itemize
+
+\series bold
+
+\backslash
+rightmark
+\series default
+ is stuff that usualy appears on the right side.
+ This is normally the title of the current chapter or section.
+\end_layout
+
+\begin_layout Itemize
+
+\series bold
+
+\backslash
+leftmark
+\series default
+ is the opposite of 
+\series bold
+
+\backslash
+rightmark
+\series default
+.
+\end_layout
+
+\begin_layout Itemize
+
+\series bold
+
+\backslash
+thepage
+\series default
+ prints the current page number, 
+\series bold
+
+\backslash
+thechapter
+\series default
+ the current chapter number, 
+\series bold
+
+\backslash
+thesection
+\series default
+ the current...
+\end_layout
+
+\begin_layout Itemize
+Further adjustments can be made in the LaTeX preamble of thios document
+ in the menu Document\SpecialChar \menuseparator
+Settings.
+ For a brief description how the header/footer lines can be modified, see
+ the manual of the LaTeX package 
+\series bold
+fancyhdr
+\series default
+: 
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Plain Layout
+
+ftp://www.ctan.org/pub/tex-archive/macros/latex2e/contrib/fancyhdr/fancyhdr.pdf
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -405,6 +567,16 @@ thepage
 \end_layout
 
 \begin_layout Right Footer
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+
+
 \begin_inset ERT
 status collapsed
 
@@ -454,7 +626,8 @@ pagestyle{plain}
 status collapsed
 
 \begin_layout Plain Layout
-The summary should not have page headers.
+Usually the summary should not have page headers.
+ If it should, remove this TeX code.
 \end_layout
 
 \end_inset
@@ -502,6 +675,16 @@ pagestyle{fancy}
 \end_inset
 
 
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+Reset page style to get page headers again.
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Left Header
@@ -700,6 +883,7 @@ filename "Acknowledgments.lyx"
 status open
 
 \begin_layout Standard
+\start_of_appendix
 \begin_inset CommandInset include
 LatexCommand include
 filename "Appendix.lyx"