mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
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:
parent
877e68373b
commit
613feeae86
@ -4,30 +4,26 @@
|
|||||||
\begin_header
|
\begin_header
|
||||||
\textclass scrbook
|
\textclass scrbook
|
||||||
\begin_preamble
|
\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}}}}
|
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
|
||||||
\newlength{\abc}
|
\addto\extrasenglish{%
|
||||||
\settowidth{\abc}{\space}
|
\renewcommand*{\equationautorefname}[1]{}
|
||||||
\AtBeginDocument{%
|
\renewcommand{\sectionautorefname}{sec.\negthinspace}
|
||||||
\addto\extrasngerman{
|
\renewcommand{\subsectionautorefname}{sec.\negthinspace}
|
||||||
\renewcommand{\equationautorefname}{\hspace{-\abc}}
|
\renewcommand{\subsubsectionautorefname}{sec.\negthinspace}
|
||||||
\renewcommand{\sectionautorefname}{Kap.\negthinspace}
|
\renewcommand{\figureautorefname}{Fig.\negthinspace}
|
||||||
\renewcommand{\subsectionautorefname}{Kap.\negthinspace}
|
|
||||||
\renewcommand{\subsubsectionautorefname}{Kap.\negthinspace}
|
|
||||||
\renewcommand{\figureautorefname}{Abb.\negthinspace}
|
|
||||||
\renewcommand{\tableautorefname}{Tab.\negthinspace}
|
\renewcommand{\tableautorefname}{Tab.\negthinspace}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
% für den Fall, dass jemand die Bezeichnung "Gleichung" haben will
|
% in case somebody want to have the label "Equation"
|
||||||
%\renewcommand{\eqref}[1]{Gleichung~(\negthinspace\autoref{#1})}
|
%\renewcommand{\eqref}[1]{Equation~(\negthinspace\autoref{#1})}
|
||||||
|
|
||||||
% Setzt den Link für Sprünge zu Gleitabbildungen
|
% that links to image floats jumps to the beginning
|
||||||
% auf den Anfang des Gelitobjekts und nicht aufs Ende
|
% of the float and not to its caption
|
||||||
\usepackage[figure]{hypcap}
|
\usepackage[figure]{hypcap}
|
||||||
|
|
||||||
% Die Seiten des Inhaltsverzeichnisses werden römisch numeriert,
|
% the pages of the TOC is numbered roman
|
||||||
% ein PDF-Lesezeichen für das Inhaltsverzeichnis wird hinzugefügt
|
% and a pdf-bookmark for the TOC is added
|
||||||
\let\myTOC\tableofcontents
|
\let\myTOC\tableofcontents
|
||||||
\renewcommand\tableofcontents{%
|
\renewcommand\tableofcontents{%
|
||||||
\frontmatter
|
\frontmatter
|
||||||
@ -35,22 +31,21 @@
|
|||||||
\myTOC
|
\myTOC
|
||||||
\mainmatter }
|
\mainmatter }
|
||||||
|
|
||||||
% make caption labels bold
|
% makes caption labels bold
|
||||||
\setkomafont{captionlabel}{\bfseries}
|
\setkomafont{captionlabel}{\bfseries}
|
||||||
\setcapindent{1em}
|
\setcapindent{1em}
|
||||||
|
|
||||||
% enable calculations
|
% enables calculations
|
||||||
\usepackage{calc}
|
\usepackage{calc}
|
||||||
|
|
||||||
% fancy page header/footer settings
|
% fancy page header/footer settings
|
||||||
\renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}
|
\renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}
|
||||||
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
|
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
|
||||||
|
|
||||||
%Vergrößert den Teil der Seite, in dem Gleitobjekte
|
% increases the bottom float placement fraction
|
||||||
% unten angeordnet werden dürfen
|
|
||||||
\renewcommand{\bottomfraction}{0.5}
|
\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}
|
\let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
|
||||||
\end_preamble
|
\end_preamble
|
||||||
\options intoc,bibliography=totoc,index=totoc,BCOR10mm,captions=tableheading,titlepage,fleqn
|
\options intoc,bibliography=totoc,index=totoc,BCOR10mm,captions=tableheading,titlepage,fleqn
|
||||||
|
@ -4,10 +4,10 @@
|
|||||||
\begin_header
|
\begin_header
|
||||||
\textclass scrbook
|
\textclass scrbook
|
||||||
\begin_preamble
|
\begin_preamble
|
||||||
% enable calculations
|
% enables calculations
|
||||||
\usepackage{calc}
|
\usepackage{calc}
|
||||||
|
|
||||||
% increase the bottom float placement fraction
|
% increases the bottom float placement fraction
|
||||||
\renewcommand{\bottomfraction}{0.5}
|
\renewcommand{\bottomfraction}{0.5}
|
||||||
\end_preamble
|
\end_preamble
|
||||||
\options intoc,bibliography=totoc,index=totoc,BCOR10mm,captions=tableheading,titlepage,fleqn
|
\options intoc,bibliography=totoc,index=totoc,BCOR10mm,captions=tableheading,titlepage,fleqn
|
||||||
|
@ -4,26 +4,22 @@
|
|||||||
\begin_header
|
\begin_header
|
||||||
\textclass scrbook
|
\textclass scrbook
|
||||||
\begin_preamble
|
\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}}}}
|
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
|
||||||
\newlength{\abc}
|
\addto\extrasenglish{%
|
||||||
\settowidth{\abc}{\space}
|
\renewcommand*{\equationautorefname}[1]{}
|
||||||
\AtBeginDocument{%
|
|
||||||
\addto\extrasenglish{
|
|
||||||
\renewcommand{\equationautorefname}{\hspace{-\abc}}
|
|
||||||
\renewcommand{\sectionautorefname}{sec.\negthinspace}
|
\renewcommand{\sectionautorefname}{sec.\negthinspace}
|
||||||
\renewcommand{\subsectionautorefname}{sec.\negthinspace}
|
\renewcommand{\subsectionautorefname}{sec.\negthinspace}
|
||||||
\renewcommand{\subsubsectionautorefname}{sec.\negthinspace}
|
\renewcommand{\subsubsectionautorefname}{sec.\negthinspace}
|
||||||
\renewcommand{\figureautorefname}{Fig.\negthinspace}
|
\renewcommand{\figureautorefname}{Fig.\negthinspace}
|
||||||
\renewcommand{\tableautorefname}{Tab.\negthinspace}
|
\renewcommand{\tableautorefname}{Tab.\negthinspace}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
% in case somebody want to have the label "Gleichung"
|
% in case somebody want to have the label "Equation"
|
||||||
%\renewcommand{\eqref}[1]{Gleichung~(\negthinspace\autoref{#1})}
|
%\renewcommand{\eqref}[1]{Equation~(\negthinspace\autoref{#1})}
|
||||||
|
|
||||||
% put the link to figure floats to the beginning
|
% that links to image floats jumps to the beginning
|
||||||
% of the figure and not to its end
|
% of the float and not to its caption
|
||||||
\usepackage[figure]{hypcap}
|
\usepackage[figure]{hypcap}
|
||||||
|
|
||||||
% the pages of the TOC is numbered roman
|
% the pages of the TOC is numbered roman
|
||||||
@ -35,21 +31,21 @@
|
|||||||
\myTOC
|
\myTOC
|
||||||
\mainmatter }
|
\mainmatter }
|
||||||
|
|
||||||
% make caption labels bold
|
% makes caption labels bold
|
||||||
\setkomafont{captionlabel}{\bfseries}
|
\setkomafont{captionlabel}{\bfseries}
|
||||||
\setcapindent{1em}
|
\setcapindent{1em}
|
||||||
|
|
||||||
% enable calculations
|
% enables calculations
|
||||||
\usepackage{calc}
|
\usepackage{calc}
|
||||||
|
|
||||||
% fancy page header/footer settings
|
% fancy page header/footer settings
|
||||||
\renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}
|
\renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}
|
||||||
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
|
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
|
||||||
|
|
||||||
% increase the bottom float placement fraction
|
% increases the bottom float placement fraction
|
||||||
\renewcommand{\bottomfraction}{0.5}
|
\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}
|
\let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
|
||||||
\end_preamble
|
\end_preamble
|
||||||
\options intoc,bibliography=totoc,index=totoc,BCOR10mm,captions=tableheading,titlepage,fleqn
|
\options intoc,bibliography=totoc,index=totoc,BCOR10mm,captions=tableheading,titlepage,fleqn
|
||||||
@ -286,11 +282,18 @@ Overview
|
|||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Standard
|
\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 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 DLC-coatings
|
|
||||||
\begin_inset CommandInset nomenclature
|
\begin_inset CommandInset nomenclature
|
||||||
LatexCommand nomenclature
|
LatexCommand nomenclature
|
||||||
symbol "DLC"
|
symbol "DLC"
|
||||||
@ -308,10 +311,33 @@ key "Fowl1928"
|
|||||||
\end_inset
|
\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
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Section
|
\begin_layout Section
|
||||||
The next section
|
The next section
|
||||||
|
\begin_inset CommandInset label
|
||||||
|
LatexCommand label
|
||||||
|
name "sec:The-next-section"
|
||||||
|
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
|
@ -4,26 +4,22 @@
|
|||||||
\begin_header
|
\begin_header
|
||||||
\textclass scrbook
|
\textclass scrbook
|
||||||
\begin_preamble
|
\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}}}}
|
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
|
||||||
\newlength{\abc}
|
\addto\extrasenglish{%
|
||||||
\settowidth{\abc}{\space}
|
\renewcommand*{\equationautorefname}[1]{}
|
||||||
\AtBeginDocument{%
|
|
||||||
\addto\extrasenglish{
|
|
||||||
\renewcommand{\equationautorefname}{\hspace{-\abc}}
|
|
||||||
\renewcommand{\sectionautorefname}{sec.\negthinspace}
|
\renewcommand{\sectionautorefname}{sec.\negthinspace}
|
||||||
\renewcommand{\subsectionautorefname}{sec.\negthinspace}
|
\renewcommand{\subsectionautorefname}{sec.\negthinspace}
|
||||||
\renewcommand{\subsubsectionautorefname}{sec.\negthinspace}
|
\renewcommand{\subsubsectionautorefname}{sec.\negthinspace}
|
||||||
\renewcommand{\figureautorefname}{Fig.\negthinspace}
|
\renewcommand{\figureautorefname}{Fig.\negthinspace}
|
||||||
\renewcommand{\tableautorefname}{Tab.\negthinspace}
|
\renewcommand{\tableautorefname}{Tab.\negthinspace}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
% in case somebody want to have the label "Gleichung"
|
% in case somebody want to have the label "Equation"
|
||||||
%\renewcommand{\eqref}[1]{Gleichung~(\negthinspace\autoref{#1})}
|
%\renewcommand{\eqref}[1]{Equation~(\negthinspace\autoref{#1})}
|
||||||
|
|
||||||
% put the link to figure floats to the beginning
|
% that links to image floats jumps to the beginning
|
||||||
% of the figure and not to its end
|
% of the float and not to its caption
|
||||||
\usepackage[figure]{hypcap}
|
\usepackage[figure]{hypcap}
|
||||||
|
|
||||||
% the pages of the TOC is numbered roman
|
% the pages of the TOC is numbered roman
|
||||||
@ -35,21 +31,21 @@
|
|||||||
\myTOC
|
\myTOC
|
||||||
\mainmatter }
|
\mainmatter }
|
||||||
|
|
||||||
% make caption labels bold
|
% makes caption labels bold
|
||||||
\setkomafont{captionlabel}{\bfseries}
|
\setkomafont{captionlabel}{\bfseries}
|
||||||
\setcapindent{1em}
|
\setcapindent{1em}
|
||||||
|
|
||||||
% enable calculations
|
% enables calculations
|
||||||
\usepackage{calc}
|
\usepackage{calc}
|
||||||
|
|
||||||
% fancy page header/footer settings
|
% fancy page header/footer settings
|
||||||
\renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}
|
\renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}
|
||||||
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
|
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
|
||||||
|
|
||||||
% increase the bottom float placement fraction
|
% increases the bottom float placement fraction
|
||||||
\renewcommand{\bottomfraction}{0.5}
|
\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}
|
\let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
|
||||||
\end_preamble
|
\end_preamble
|
||||||
\options intoc,bibliography=totoc,index=totoc,BCOR10mm,captions=tableheading,titlepage,fleqn
|
\options intoc,bibliography=totoc,index=totoc,BCOR10mm,captions=tableheading,titlepage,fleqn
|
||||||
|
@ -4,23 +4,19 @@
|
|||||||
\begin_header
|
\begin_header
|
||||||
\textclass scrbook
|
\textclass scrbook
|
||||||
\begin_preamble
|
\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}}}}
|
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
|
||||||
\newlength{\abc}
|
\addto\extrasenglish{%
|
||||||
\settowidth{\abc}{\space}
|
\renewcommand*{\equationautorefname}[1]{}
|
||||||
\AtBeginDocument{%
|
|
||||||
\addto\extrasenglish{
|
|
||||||
\renewcommand{\equationautorefname}{\hspace{-\abc}}
|
|
||||||
\renewcommand{\sectionautorefname}{sec.\negthinspace}
|
\renewcommand{\sectionautorefname}{sec.\negthinspace}
|
||||||
\renewcommand{\subsectionautorefname}{sec.\negthinspace}
|
\renewcommand{\subsectionautorefname}{sec.\negthinspace}
|
||||||
\renewcommand{\subsubsectionautorefname}{sec.\negthinspace}
|
\renewcommand{\subsubsectionautorefname}{sec.\negthinspace}
|
||||||
\renewcommand{\figureautorefname}{Fig.\negthinspace}
|
\renewcommand{\figureautorefname}{Fig.\negthinspace}
|
||||||
\renewcommand{\tableautorefname}{Tab.\negthinspace}
|
\renewcommand{\tableautorefname}{Tab.\negthinspace}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
% in case somebody want to have the label "equation"
|
% in case somebody want to have the label "Equation"
|
||||||
%\renewcommand{\eqref}[1]{equation~(\negthinspace\autoref{#1})}
|
%\renewcommand{\eqref}[1]{Equation~(\negthinspace\autoref{#1})}
|
||||||
|
|
||||||
% that links to image floats jumps to the beginning
|
% that links to image floats jumps to the beginning
|
||||||
% of the float and not to its caption
|
% of the float and not to its caption
|
||||||
@ -35,21 +31,21 @@
|
|||||||
\myTOC
|
\myTOC
|
||||||
\mainmatter }
|
\mainmatter }
|
||||||
|
|
||||||
% make caption labels bold
|
% makes caption labels bold
|
||||||
\setkomafont{captionlabel}{\bfseries}
|
\setkomafont{captionlabel}{\bfseries}
|
||||||
\setcapindent{1em}
|
\setcapindent{1em}
|
||||||
|
|
||||||
% enable calculations
|
% enables calculations
|
||||||
\usepackage{calc}
|
\usepackage{calc}
|
||||||
|
|
||||||
% fancy page header/footer settings
|
% fancy page header/footer settings
|
||||||
\renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}
|
\renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}
|
||||||
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
|
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
|
||||||
|
|
||||||
% increase the bottom float placement fraction
|
% increases the bottom float placement fraction
|
||||||
\renewcommand{\bottomfraction}{0.5}
|
\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}
|
\let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
|
||||||
\end_preamble
|
\end_preamble
|
||||||
\options intoc,bibliography=totoc,index=totoc,BCOR10mm,captions=tableheading,titlepage,fleqn
|
\options intoc,bibliography=totoc,index=totoc,BCOR10mm,captions=tableheading,titlepage,fleqn
|
||||||
|
Loading…
Reference in New Issue
Block a user