summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-refsheet/thesis.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-08-19 21:46:32 +0000
committerKarl Berry <karl@freefriends.org>2017-08-19 21:46:32 +0000
commitc4045d763b80f6bf9b5d71c3b12c7d54bdcc2c78 (patch)
treefcd282a537becec5730d6600817f051e0f61ef06 /Master/texmf-dist/doc/latex/latex-refsheet/thesis.tex
parent147e82f57c3a4e1b137b07a1de90783338caa79c (diff)
latex-refsheet (19aug17)
git-svn-id: svn://tug.org/texlive/trunk@45076 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-refsheet/thesis.tex')
-rw-r--r--Master/texmf-dist/doc/latex/latex-refsheet/thesis.tex73
1 files changed, 73 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-refsheet/thesis.tex b/Master/texmf-dist/doc/latex/latex-refsheet/thesis.tex
new file mode 100644
index 00000000000..cfdbd6139f4
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-refsheet/thesis.tex
@@ -0,0 +1,73 @@
+% thesis.tex
+\documentclass[fontsize=12pt,paper=a4,open=any,parskip=half,
+ twoside=false,toc=listof,toc=bibliography,fleqn,leqno,
+ captions=nooneline,captions=tableabove,british]{scrbook}
+\usepackage[utf8]{inputenc} % load early
+\usepackage[T1]{fontenc} % load early
+\usepackage[ngerman,main=british]{babel}
+\usepackage[autostyle=true]{csquotes}
+\usepackage{graphicx, booktabs, float, scrhack}
+\usepackage{amsmath,amssymb}
+\usepackage[automark]{scrlayer-scrpage}
+\usepackage[backend=biber,style=verbose,sortcase=false,
+ language=british]{biblatex}
+\addbibresource{thesis.bib}
+\PassOptionsToPackage{hyphens}{url}
+\usepackage[hidelinks]{hyperref} % load late
+\setkomafont{disposition}{\sffamily\color{gray!70}}
+\begin{document}
+\frontmatter % only if you need page numbering roman
+\titlehead{\hfill\includegraphics[width=2cm]{logo}}
+\title{My Title} \subtitle{My Subtitle} \author{N.\,N.} \date{}
+\maketitle
+\tableofcontents \listoffigures \listoftables
+
+\mainmatter % page numbering arabic, starting by 1 again
+\chapter[Intro]{Introduction}\label{sec:intro}
+\section{Technical introduction}\label{sec:tecintro}
+\subsection*{Heading without number}
+Some text in \textbf{bold}, some more text.
+Some text in \emph{emph}, more text.
+And now some text in German language
+\foreignlanguage{ngerman}{Hier kommt eine Formel:} \(2+2=5\)
+
+A new paragraph, viz. a new idea, a new thought.
+
+\subsection{Heading lower level}\label{sec:headingLL}
+More text \emph{emphasized} text.\autocite{WC:2017}
+\begin{table}[htp]
+\caption{Table caption}\label{tab:table}
+ \begin{tabular}{l@{\qquad}cr} \toprule
+ Head & Head & Head \\ \midrule
+ Data & first & Row \\
+ Data & second & Row \\ \bottomrule
+ \end{tabular}
+\end{table}
+
+\chapter{Method}\label{sec:ana}
+Some text, see \autoref{tab:table} for aligned material.
+
+L'Hôpital's rule:
+\begin{equation}
+\lim_{x\to 0}{\frac{e^x-1}{2x}}
+\overset{\left[\frac{0}{0}\right]}{\underset{\mathrm{H}}{=}}
+\lim_{x\to 0}{\frac{e^x}{2}}={\frac{1}{2}}
+\end{equation}\label{eq:lhopital}
+\newpage
+More text. A \enquote*{quote} and a \foreignquote{ngerman}{Zitat}.
+
+\appendix % headings numbered with letters
+\chapter{Appendix}\label{sec:app}
+\begin{figure}[H]
+\KOMAoptions{captions=centeredbeside}
+\begin{captionbeside}%
+ [Example of a caption centeredbeside]%
+ {Example of a caption beside the figure}
+ [o] % position left/right/inner/outer
+ [\linewidth] % width of figure+caption
+ [0.0in] % offset from left side
+ \framebox{\begin{minipage}[t][3cm][c]{0.5\textwidth}
+ {\begin{center} A BOX\end{center}}\end{minipage}}
+\end{captionbeside}\label{fig:cbeside}\end{figure}
+\printbibliography
+\end{document} \ No newline at end of file