thesis files: port fixes from branch

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40737 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2012-02-12 14:58:44 +00:00
parent 877e68373b
commit 613feeae86
5 changed files with 83 additions and 70 deletions

View File

@ -4,30 +4,26 @@
\begin_header
\textclass scrbook
\begin_preamble
% Linkfläche für Querverweise vergrößern und automatisch benenne
% increases link area for cross-references and autoname them
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
\newlength{\abc}
\settowidth{\abc}{\space}
\AtBeginDocument{%
\addto\extrasngerman{
\renewcommand{\equationautorefname}{\hspace{-\abc}}
\renewcommand{\sectionautorefname}{Kap.\negthinspace}
\renewcommand{\subsectionautorefname}{Kap.\negthinspace}
\renewcommand{\subsubsectionautorefname}{Kap.\negthinspace}
\renewcommand{\figureautorefname}{Abb.\negthinspace}
\addto\extrasenglish{%
\renewcommand*{\equationautorefname}[1]{}
\renewcommand{\sectionautorefname}{sec.\negthinspace}
\renewcommand{\subsectionautorefname}{sec.\negthinspace}
\renewcommand{\subsubsectionautorefname}{sec.\negthinspace}
\renewcommand{\figureautorefname}{Fig.\negthinspace}
\renewcommand{\tableautorefname}{Tab.\negthinspace}
}
}
% für den Fall, dass jemand die Bezeichnung "Gleichung" haben will
%\renewcommand{\eqref}[1]{Gleichung~(\negthinspace\autoref{#1})}
% in case somebody want to have the label "Equation"
%\renewcommand{\eqref}[1]{Equation~(\negthinspace\autoref{#1})}
% Setzt den Link für Sprünge zu Gleitabbildungen
% auf den Anfang des Gelitobjekts und nicht aufs Ende
% that links to image floats jumps to the beginning
% of the float and not to its caption
\usepackage[figure]{hypcap}
% Die Seiten des Inhaltsverzeichnisses werden römisch numeriert,
% ein PDF-Lesezeichen für das Inhaltsverzeichnis wird hinzugefügt
% the pages of the TOC is numbered roman
% and a pdf-bookmark for the TOC is added
\let\myTOC\tableofcontents
\renewcommand\tableofcontents{%
\frontmatter
@ -35,22 +31,21 @@
\myTOC
\mainmatter }
% make caption labels bold
% makes caption labels bold
\setkomafont{captionlabel}{\bfseries}
\setcapindent{1em}
% enable calculations
% enables calculations
\usepackage{calc}
% fancy page header/footer settings
\renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
%Vergrößert den Teil der Seite, in dem Gleitobjekte
% unten angeordnet werden dürfen
% increases the bottom float placement fraction
\renewcommand{\bottomfraction}{0.5}
% Vermeidet, dass Gleitobjekte vor ihrem Abschnitt gedruckt werden
% 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

View File

@ -4,10 +4,10 @@
\begin_header
\textclass scrbook
\begin_preamble
% enable calculations
% enables calculations
\usepackage{calc}
% increase the bottom float placement fraction
% increases the bottom float placement fraction
\renewcommand{\bottomfraction}{0.5}
\end_preamble
\options intoc,bibliography=totoc,index=totoc,BCOR10mm,captions=tableheading,titlepage,fleqn

View File

@ -4,26 +4,22 @@
\begin_header
\textclass scrbook
\begin_preamble
% increase link area for cross-references and autoname them
% increases link area for cross-references and autoname them
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
\newlength{\abc}
\settowidth{\abc}{\space}
\AtBeginDocument{%
\addto\extrasenglish{
\renewcommand{\equationautorefname}{\hspace{-\abc}}
\addto\extrasenglish{%
\renewcommand*{\equationautorefname}[1]{}
\renewcommand{\sectionautorefname}{sec.\negthinspace}
\renewcommand{\subsectionautorefname}{sec.\negthinspace}
\renewcommand{\subsubsectionautorefname}{sec.\negthinspace}
\renewcommand{\figureautorefname}{Fig.\negthinspace}
\renewcommand{\tableautorefname}{Tab.\negthinspace}
}
}
% in case somebody want to have the label "Gleichung"
%\renewcommand{\eqref}[1]{Gleichung~(\negthinspace\autoref{#1})}
% in case somebody want to have the label "Equation"
%\renewcommand{\eqref}[1]{Equation~(\negthinspace\autoref{#1})}
% put the link to figure floats to the beginning
% of the figure and not to its end
% that links to image floats jumps to the beginning
% of the float and not to its caption
\usepackage[figure]{hypcap}
% the pages of the TOC is numbered roman
@ -35,21 +31,21 @@
\myTOC
\mainmatter }
% make caption labels bold
% makes caption labels bold
\setkomafont{captionlabel}{\bfseries}
\setcapindent{1em}
% enable calculations
% enables calculations
\usepackage{calc}
% fancy page header/footer settings
\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
@ -286,11 +282,18 @@ Overview
\end_layout
\begin_layout Standard
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla, see
\begin_inset CommandInset ref
LatexCommand ref
reference "sec:The-next-section"
\end_inset
.
Bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla DLC-coatings
bla bla bla bla bla bla bla bla bla bla bla DLC-coatings
\begin_inset CommandInset nomenclature
LatexCommand nomenclature
symbol "DLC"
@ -308,10 +311,33 @@ key "Fowl1928"
\end_inset
.
\begin_inset CommandInset ref
LatexCommand eqref
reference "eq:Integral-sine"
\end_inset
is the definition of the integral sine function.
\begin_inset Formula
\begin{equation}
\int\frac{\sin(x)}{x}\,\mathrm{d}x=\mathrm{Si}(x)\label{eq:Integral-sine}
\end{equation}
\end_inset
\end_layout
\begin_layout Section
The next section
\begin_inset CommandInset label
LatexCommand label
name "sec:The-next-section"
\end_inset
\end_layout
\begin_layout Standard

View File

@ -4,26 +4,22 @@
\begin_header
\textclass scrbook
\begin_preamble
% increase link area for cross-references and autoname them
% increases link area for cross-references and autoname them
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
\newlength{\abc}
\settowidth{\abc}{\space}
\AtBeginDocument{%
\addto\extrasenglish{
\renewcommand{\equationautorefname}{\hspace{-\abc}}
\addto\extrasenglish{%
\renewcommand*{\equationautorefname}[1]{}
\renewcommand{\sectionautorefname}{sec.\negthinspace}
\renewcommand{\subsectionautorefname}{sec.\negthinspace}
\renewcommand{\subsubsectionautorefname}{sec.\negthinspace}
\renewcommand{\figureautorefname}{Fig.\negthinspace}
\renewcommand{\tableautorefname}{Tab.\negthinspace}
}
}
% in case somebody want to have the label "Gleichung"
%\renewcommand{\eqref}[1]{Gleichung~(\negthinspace\autoref{#1})}
% in case somebody want to have the label "Equation"
%\renewcommand{\eqref}[1]{Equation~(\negthinspace\autoref{#1})}
% put the link to figure floats to the beginning
% of the figure and not to its end
% that links to image floats jumps to the beginning
% of the float and not to its caption
\usepackage[figure]{hypcap}
% the pages of the TOC is numbered roman
@ -35,21 +31,21 @@
\myTOC
\mainmatter }
% make caption labels bold
% makes caption labels bold
\setkomafont{captionlabel}{\bfseries}
\setcapindent{1em}
% enable calculations
% enables calculations
\usepackage{calc}
% fancy page header/footer settings
\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

View File

@ -4,23 +4,19 @@
\begin_header
\textclass scrbook
\begin_preamble
% increase link area for cross-references and autoname them
% increases link area for cross-references and autoname them
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
\newlength{\abc}
\settowidth{\abc}{\space}
\AtBeginDocument{%
\addto\extrasenglish{
\renewcommand{\equationautorefname}{\hspace{-\abc}}
\addto\extrasenglish{%
\renewcommand*{\equationautorefname}[1]{}
\renewcommand{\sectionautorefname}{sec.\negthinspace}
\renewcommand{\subsectionautorefname}{sec.\negthinspace}
\renewcommand{\subsubsectionautorefname}{sec.\negthinspace}
\renewcommand{\figureautorefname}{Fig.\negthinspace}
\renewcommand{\tableautorefname}{Tab.\negthinspace}
}
}
% 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
@ -35,21 +31,21 @@
\myTOC
\mainmatter }
% make caption labels bold
% makes caption labels bold
\setkomafont{captionlabel}{\bfseries}
\setcapindent{1em}
% enable calculations
% enables calculations
\usepackage{calc}
% fancy page header/footer settings
\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