]> git.lyx.org Git - lyx.git/blob - lib/templates/thesis/chapter-2.lyx
LyX definitly needs a thesis template.
[lyx.git] / lib / templates / thesis / chapter-2.lyx
1 #LyX 1.6.6svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 345
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 \addto\extrasenglish{
12  \renewcommand{\equationautorefname}{\hspace{-\abc}}
13  \renewcommand{\sectionautorefname}{sec.\negthinspace}
14  \renewcommand{\subsectionautorefname}{sec.\negthinspace}
15  \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}
16  \renewcommand{\figureautorefname}{Fig.\negthinspace}
17  \renewcommand{\tableautorefname}{Tab.\negthinspace}
18 }
19
20 % in case somebody want to have the label "Gleichung"
21 %\renewcommand{\eqref}[1]{Gleichung~(\negthinspace\autoref{#1})}
22
23 % put the link to figure floats to the beginning
24 % of the figure and not to its end
25 \usepackage[figure]{hypcap}
26
27 % the pages of the TOC is numbered roman
28 % and a pdf-bookmark for the TOC is added
29 \let\myTOC\tableofcontents
30 \renewcommand\tableofcontents{%
31   \frontmatter
32   \pdfbookmark[1]{\contentsname}{}
33   \myTOC
34   \mainmatter }
35
36 % make caption labels bold
37 \setkomafont{captionlabel}{\bfseries}
38 \setcapindent{1em}
39
40 % enable calculations
41 \usepackage{calc}
42
43 % fancy page header/footer settings
44 \renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}
45 \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
46 \lhead[\fancyplain{}{\chaptername\;\thechapter}]{\fancyplain{}{\rightmark}}
47 \rhead[\fancyplain{}{\leftmark}]{\fancyplain{}{}}
48 \lfoot[\thepage]{}
49 \rfoot[]{\thepage}
50 \cfoot{}
51
52 % increase the bottom float placement fraction
53 \renewcommand{\bottomfraction}{0.5}
54
55 % avoid that floats are placed above its sections
56 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
57
58 % widen the space for the nomenclature entry labels 
59 \renewcommand{\nomlabelwidth}{2.5cm}
60 \end_preamble
61 \options intoc,bibtotoc,idxtotoc,BCOR10mm,titlepage,tablecaptionabove, fleqn
62 \use_default_options true
63 \language english
64 \inputencoding auto
65 \font_roman lmodern
66 \font_sans lmss
67 \font_typewriter lmtt
68 \font_default_family default
69 \font_sc false
70 \font_osf false
71 \font_sf_scale 100
72 \font_tt_scale 100
73
74 \graphics default
75 \float_placement h
76 \paperfontsize 12
77 \spacing single
78 \use_hyperref true
79 \pdf_title "Your title"
80 \pdf_author "Your name"
81 \pdf_bookmarks true
82 \pdf_bookmarksnumbered true
83 \pdf_bookmarksopen true
84 \pdf_bookmarksopenlevel 1
85 \pdf_breaklinks false
86 \pdf_pdfborder true
87 \pdf_colorlinks false
88 \pdf_backref false
89 \pdf_pdfusetitle false
90 \pdf_quoted_options "pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
91 \papersize a4paper
92 \use_geometry false
93 \use_amsmath 2
94 \use_esint 1
95 \cite_engine basic
96 \use_bibtopic false
97 \paperorientation portrait
98 \branch NoChildDocument
99 \selected 1
100 \color #ff0000
101 \end_branch
102 \secnumdepth 3
103 \tocdepth 2
104 \paragraph_separation skip
105 \defskip medskip
106 \quotes_language english
107 \papercolumns 1
108 \papersides 2
109 \paperpagestyle fancy
110 \tracking_changes false
111 \output_changes false
112 \author "" 
113 \author "" 
114 \end_header
115
116 \begin_body
117
118 \begin_layout Chapter
119 Title of next chapter
120 \end_layout
121
122 \begin_layout Section
123 Overview
124 \end_layout
125
126 \begin_layout Standard
127 bla bla bla bla bla bla bla bla bla bla bla bla bla polymer
128 \begin_inset CommandInset nomenclature
129 LatexCommand nomenclature
130 symbol "polymer"
131 description "stupid entry"
132
133 \end_inset
134
135  bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
136  bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
137  bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
138  bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
139  bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
140  bla bla bla bla bla bla bla, see 
141 \begin_inset CommandInset citation
142 LatexCommand cite
143 key "Rich1921,Marq1963"
144
145 \end_inset
146
147 .
148 \end_layout
149
150 \begin_layout Section
151 The next section
152 \end_layout
153
154 \begin_layout Standard
155 \begin_inset Branch NoChildDocument
156 status open
157
158 \begin_layout Standard
159 \begin_inset CommandInset bibtex
160 LatexCommand bibtex
161 bibfiles "thesisExample"
162 options "alpha"
163
164 \end_inset
165
166
167 \end_layout
168
169 \begin_layout Standard
170 \begin_inset CommandInset nomencl_print
171 LatexCommand printnomenclature
172
173 \end_inset
174
175
176 \end_layout
177
178 \end_inset
179
180
181 \end_layout
182
183 \end_body
184 \end_document