]> git.lyx.org Git - lyx.git/blob - lib/templates/thesis/chapter-1.lyx
LyX definitly needs a thesis template.
[lyx.git] / lib / templates / thesis / chapter-1.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 first 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 bla bla bla bla bla
128  bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
129  bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
130  bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
131  bla bla bla bla coatings
132 \begin_inset CommandInset nomenclature
133 LatexCommand nomenclature
134 symbol "coatings"
135 description "bla bla"
136
137 \end_inset
138
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 bla bla bla bla bla bla bla bla bla bla bla,
141  see 
142 \begin_inset CommandInset citation
143 LatexCommand cite
144 key "Fowl1928"
145
146 \end_inset
147
148 .
149 \end_layout
150
151 \begin_layout Section
152 The next section
153 \end_layout
154
155 \begin_layout Standard
156 \begin_inset Branch NoChildDocument
157 status open
158
159 \begin_layout Standard
160 \begin_inset CommandInset bibtex
161 LatexCommand bibtex
162 bibfiles "thesisExample"
163 options "alpha"
164
165 \end_inset
166
167
168 \end_layout
169
170 \begin_layout Standard
171 \begin_inset CommandInset nomencl_print
172 LatexCommand printnomenclature
173
174 \end_inset
175
176
177 \end_layout
178
179 \end_inset
180
181
182 \end_layout
183
184 \end_body
185 \end_document