


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Useful reference cheat sheet for a thesis with LATEX2e and KOMA Script: examples included.
Typology: Cheat Sheet
1 / 4
This page cannot be seen from the preview
Don't miss anything!
fl All examples were tested with pdflatex. fl The package mentioned in the headings has to be included (see B.2). fl Compile three times after last change (esp. docs with references).
A.1. Units fl Available units for length and dimensions: bp point (typographic) mm millimeter in inch em width of M px pixel ( 1 / 72 in) cm centimeter pc pica ex height of x fl Document dependent units z\textwidth, z\linewidth, z\columnwidth, z\textheight with z a percentage value, e.g. 0.55\textwidth means 55% of the actual width of the text. fl \baselineskip minimum vertical space between the bottom of two successive lines in a paragraph. fl Amounts like \smallskipamount, \medskipamount, \bigskipamount.
A.2. Reserved Characters (see also E.2, cf. H) \ introduces a command \textbackslash { } embraces arguments, creates logical parts { } [ ] embraces optional arguments [ ] % comments: code after % will be ignored. % & separates columns in tabular-like environments &
$ text style math mode (abbr. for (... )) $ _^ index/exponent only valid in math mode, e.g. a^2 1 see E.
B.1. Documentclass (necessary) Use: \documentclass[opt,opt,... ]{class} Recommended classes: scrartcl, scrreprt, scrbook, scrlttr Non-KOMA - Script classes: beamer, koma-moderncvclassic
Common options with default Values available (subtotal)
fontsize=11pt 10pt | 12pt (e.g. 12.5pt also valid) paper=a4, paper=portrait a3 | a5 | b4 | letter, landscape parskip=no half | full headings=big small | normal chapterprefix=false true open=right (scrbook) any (scrartcl, scrreprt) | left captions=oneline nooneline captions=tablebelow,figurebelow tableabove, figureabove toc=nolistof listof | listofnumbered bibliography=totoc | totocnumbered nottotoc twoside=true (scrbook) false (scrartcl, scrreprt) twocolumn=false true draft=false true (show overfull boxes) fl Options of document class are passed to every loaded package. fl Set or change options later in file, e.g. \KOMAoptions{twoside=true}
B.2. Loading Packages \usepackage[options]{package} \PassOptionsToPackage[options]{package}
B.3. Encoding Settings
\usepackage[utf8]{inputenc} % most IDEs use UTF \usepackage[T1]{fontenc} % most fonts needs T
B.4. Language Settings with babel Load: \usepackage[ngerman, main=english]{babel} Use: \selectlanguage{language} \foreignlanguage{language}{text}
\documentclass[italian]{scrbook} % global option \usepackage[british,main=italian]{babel} % package option \usepackage{csquotes} % package csquotes knows italian
C.1. Changing Page Layout with geometry fl Let KOMA - Script know of geometry by option usegeometry=true.
\usepackage[left=2cm, right=2, top=3cm, bottom=4cm, bindingoffset=1cm, inlcudeheadfoot]{geometry}
fl Auto-completion determines unspecified dimensions (under or over specified as well), here width and height of text (see I.9). fl Other options: paper=a4paper, landscape|portrait, includehead, includefoot, includeheadfoot, twocolumn fl Changing page layout mid document: \newgeometry{ opt, opt, ... }
C.2. Header and Footer of Page (aka running heading) \lehead \cehead \rehead \lohead \cohead \rohead
\ihead \chead \ohead
6 6 6 6 6 6
% delete default settings and define your own \usepackage[automark]{scrlayer-scrpage} \clearpairofpagestyles \ohead[]{\headmark} \ofoot[\pagemark]{\pagemark}
% Variant for a thesis with horizontal rules at head and foot \usepackage[headsepline=0.005pt:,footsepline=0.005pt:, plainfootsepline,automark]{scrlayer-scrpage} \clearpairofpagestyles \ohead[]{\headmark} \ofoot[\pagemark]{\pagemark} \ModifyLayer[addvoffset=-.6ex]{scrheadings.foot.above.line} \ModifyLayer[addvoffset=-.6ex]{plain.scrheadings.foot.above.line} \setkomafont{pageheadfoot}{\small}
C.3. Linespread with setspace Load: \usepackage[onehalfspacing]{setspace} for 1.5 line spacing.
D.1. Start Document \begin{document} Complete document contents. \end{document}
D.2. Title simple title: \author{text} \title{text} \date{\today} \maketitle title page self designed: \begin{titlepage} text \end{titlepage}
D.3. Table of Contents, List of Figures (for other List of see E.8 & G) \tableofcontents \listoftables \listoffigures KOMAoption toc=listof (see B.1) generates entries for TOC.
D.4. Headings \part{title} \chapter{title} \section{title} \subsection{title} \subsubsection{title} \paragraph{title} \subparagraph{title} fl \chapter only valid in documentclass scrbook and scrreprt fl Use (^) * variants for headings without numbering, no change in counter and no entry in table of contents. fl Use the optional parameter for short titles in headings and table of contents, e.g. \section[short title]{title} fl Use \addpart, \addchap or \addsec for unnumbered headings, but with running heading and entry in table of contents. The (^) * variants delete the running heading. fl Layout of paragraph and subpargraph similar to other headings: \RedeclareSectionCommands[afterskip=1sp]{paragraph,subparagraph} \setcounter{secnumdepth}{\subparagraphnumdepth} \setcounter{tocdepth}{\subparagraphtocdepth}
D.5. Justification Environment Declaration Other
\begin{center} \centering text \par\vfill text \begin{flushleft} \raggedright text \hfill text \begin{flushright} \raggedleft \raggedbottom, \flushbottom
D.6. Lists \begin{itemize} with bullets \item or \item[symbol] \begin{enumerate} with numbers \item \begin{description} with bold words \item[word] \begin{labeling}[separator ]{labelinglabel} \item[word]
\begin{enumerate} \item First item \item Second item\label{it:second} % see References \end{enumerate}
D.7. Enhanced Lists with enumitem Load: \usepackage{enumitem} Example (for enumerate): \setlist[enumerate,1]{label=\Alph)} \setlist[enumerate,2]{label=\alph)} \setlist[enumerate,3]{label=\roman)} \setlist[enumerate,4]{label=\arabic)}
A) one a) one b) two B) two
Example (for legal list): \newlist{legal}{enumerate}{10} \setlist[legal]{label=\arabic.,noitemsep} Use: \begin{legal} \item ...\end{legal}
D.8. Separate Files fl After preamble within the text place:\include{file} Text starts and ends on a new page. file has to be in the same directory as the master file. Otherwise specify a path: \include{path/file} fl In preamble place: \includeonly{file1,file2 } to run only these files. fl Use \input{file} includes a file without starting/ending on a new page (\includeonly not valid).
E.1. Paragraphs (≈ “new idea in content”) Paragraphs are separated by an empty line in the code or by \par. A \ produces a new line – use sparingly, seldom needed outside tabulars. Correct Overfull Box Warnings with more than 4pt (look into log file).
E.2. Text Symbols/Characters (see also A.2) A lot of diacritic symbols can be typed directly, e.g. è é ê ñ ç § \S _ \textunderscore{} ~ \textasciitilde{} ^ \textasciicircum{}... \ldots | \textbar Other symbols need packages, e.g. € \texteuro (textcomp)
E.3. Fonts Command Declaration Effect
\textrm{text} {\rmfamily text} Roman family \textsf{text} {\sffamily text} Sans serif family \texttt{text} {\ttfamily text} Typewriter family \textmd{text} {\mdseries text} Medium series \textbf{text} {\bfseries text} Bold series \textup{text} {\upshape text} Upright shape \textit{text} {\itshape text} Italic shape \textsl{text} {\slshape text} Slanted shape \textsc{text} {\scshape text} Small Caps shape More general commands: \emph{text} {\em text} Emphasized \textnormal{text} {\normalfont text} Document font Example: \setkomafont{section}{\scshape}
E.4. Font Size Font size is relative to the base font size, specified in the document class. \tiny tiny \scriptsize scriptsize \footnotesize footnotesize \small small \normalsize normalsize
Use: {\small text} or {\huge text\par} to limit the size change. Example: \setkomafont{pageheadfoot}{\small}
E.5. Colors with xcolor
\usepackage{xcolor} \definecolor{DarkBlue}{RGB}{0, 115, 207} \colorlet{col_section}{DarkBlue} \textcolor{red}{text in red} or {\color{red}text} \colorbox{gray!25}{color gray faded by 25%}
Predefined colors: white gray black red green blue cyan magenta yellow Fade a color with color !value between 0 and 100 Headings in color: \setkomafont{disposition}{\color{color }}
E.6. Footnotes \footnote{text} Print footnote marker in text and footnote at bottom of page \footnotemark Print footnote marker in text (e.g. within tabu- lar or caption) \footnotetext{text} Print footnote at bottom of page
E.7. References with hyperref (loads url implicitly) \autocite{citekey } Cite a bibliographic reference (package biblatex) \label{marker } Set a marker for cross reference, often if the form \label{sec:item} or \label{fig:diag1} \autoref{marker } Give type name and number of marker \autopageref{marker } Give abbreviation of “page” and page number of marker \url{url} Print clickable web page \href[options]{url}{text} Print clickable link \hyperref[marker ]{text} Print clickable reference Style: \urlstyle{xx} with xx a style like “tt”, “rm”, “sf” or “same”. Names for autoref (package babel): \renewcaptionname{language}{\typenameautorefname}{text}, e.g. \renewcaptionname{english}{\subsectionautorefname}{section}
E.8. Acronyms with acro
\usepackage{acro,hyperref,longtable,tabu} %next 5 to praeambel \acsetup{list-style=longtabu,list-heading=addchap} \DeclareAcroListStyle{longtabu}{table}{table=longtabu, table-spec=@{}>{\bfseries}lX@{}} \DeclareAcronym{ecm}{short=EM,long=Electro Machining} ... \ac{EM} or \Ac{EM} for capitalized first letter \printacronyms
F.1. Figures with graphicx Load: \usepackage{graphicx} Use: \includegraphics[opt]{file} (png, jpg, pdf) With ‘figure’ the environment to place a graphic is meant. The figure caption is printed where the caption command is placed in the input. Extra vertical space is controlled by the KOMAoption captions (see B.1). Use: \begin{figure}[pos] ..\caption{..}\label{fig:x} \end{figure} Parameter: pos is a suggestion for placing, it can be ignored by TEX. Possible values are combinations of t (top), h (here), b (bottom),! (try harder), p (separate page). Hint: Define a path to the graphic files (no blanks in folder names; no special characters in file names) \graphicspath{ {folder /}{folder /}... }
\graphicspath{ {img/} } %subfolder for images; set in preambel \begin{figure}\centering \includegraphics[width=.8\columnwidth]{pic.jpg} \caption[Short title]{Long title}\label{fig:ff} \end{figure}
fl Numbering throughout the whole document (scrbook) with package chngcntr: \counterwithout{figure}{chapter} (same for table) fl Figure name: \renewcaptionname{language}{\figurename}{text} \renewcaptionname{language}{\figureautorefname}{text}
typesetted with cmbright, August 18, 2017
F.2. Subfigures with subcaption Load: \usepackage{subcaption} Use: \begin{subfigure}[pos]{width}... \end{subfigure} \begin{figure}[ht] \centering \begin{subfigure}[t]{0.5\textwidth} \centering \includegraphics[height=1.2in]{figure-a} \caption{Subcaption 1}\label{fig:SubFig1}\end{subfigure} \begin{subfigure}[t]{0.5\textwidth} \centering \includegraphics[height=1.2in]{figure-b} \caption{Subcaption 2}\label{fig:SubFig2}\end{subfigure} \caption{Caption of complete figure}\label{fig:Fig1} \end{figure}
F.3. Tables width aligned material With ‘table’ the environment to place aligned material is meant. The table caption is printed where the caption command is placed in the input. For positioning options see F.1. \KOMAoptions{captions=tableabove} % move to praeambel \begin{table}[htbp] \centering \caption{Table caption}\label{tab:exp} \begin{tabular}{@{}ll@{}} \emph{Name} & \emph{Desc.}\ \hline tikz2pdf & Python script\ LaTable & visual table editor \end{tabular} \end{table} Use: \begin{tabular}[c b t]{@{} l r c | p{unit}} Column separation: @{\hspace{unit}} or \setlength{\tabcolsep}{unit} Row separation: \[unit] or \renewcommand{\arraystretch}{unit} Partial lines: \cline{2-3} instead of \hline Additional packages: array, longtable, booktabs, tabu, xcolor with option table, tabularx, tabulary
F.4. Colored Table \usepackage[table]{xcolor} % move to praeambel \rowcolors{1}{}{lightblue} % {start row}{odd-row}{even-row} \begin{tabular}{clr} ... \end{tabular}
F.5. Suppress Floating with float For a thesis most students want to control the placing of figures and tables themselves. One way is more control with placeins. Another way is to avoid the environments figure and table using \captionof. Quick and dirty is an additional positioning parameter using float: Load: \usepackage{float,scrhack} Use: \begin{figure}[H], \begin{table}[H]
F.6. Source Code Listings with listings Load: \usepackage{listings} Options: \lstset{ basicstyle=\ttfamily\small, language=Python, numbers=left, keywordstyle=\color{blue}\bfseries } See option literate for Umlauts (literate={ä}{{"a}}1) Languages: C, C++, Java, Matlab, Python, HTML, XML,... Use: Environment: \begin{lstlisting} code \end{lstlisting} In line: \lstinline+code+ (same start- and end char) File: \lstinputlisting{filename} 1 # Python selection 23 secret=42guess= int ( input ("Enter number: ")) 45 if guess==secret: print ("You won!") 6 elif guess<secret: (^78) elseprint : ("No, secret number bigger.") 9 print ("No, secret number is smaller.")
F.7. Boxes and Rules Normal: \parbox[pos][height][contentpos]{width}{text} or \begin{minipage}[pos][height][contentpos]{width}text\end{minipage} Lift Text: \raisebox{lift}[height][depth]{text} Framed Box: \fbox{text} or \framebox[width][pos]{text} Colored Box (xcolor): \colorbox{backgroundcolor}{text} Framed colored Box: \fcolorbox{bordercolor}{backgroundcolor}{text} Resize (graphicx): \scalebox{10}{Giant} Lengths: \setlength{\fboxsep}{unit}, \setlength{\fboxrule}{unit}
G.1. Entry types @article @book @inbook @collection @incollection @manual @misc @online @patent @phdthesis @proceedings @periodical @report @techreport @thesis
G.2. Entry Fields (example see L) author title journal year volume editor publisher institution school series pages organization number note key
G.3. Styles alphabetic authoryear authortitle numeric mla verbose chem-acs phys nature science ieee apa See https://de.sharelatex.com/learn/Biblatex_bibliography_styles
G.4. Example % in preambel \usepackage[autostyle=true]{csquotes} % Load \usepackage[backend=biber,style=nature,language=british] {biblatex} % Load \addbibresource{mybibliographyfile.bib} % Define % anywhere within the document \autocite{citekey} % Use \printbibliography % Print KOMAoption bibliography (see B.1) generates entry for TOC.
G.5. External Processor IDEs like TEXstudio include the external processor, select biber as bibliography tool for ‘build’ in preferences, otherwise run biber explicitly.
H.1. Math mode (Standard LATEX) Textstyle: (x^2 + 4) x^2 + 4 as part of the text. Displaystyle: [ x^2 + 4 ] separat line, centered Equation: \begin{equation}... \end{equation}\label{name}
λ := lim x 1 →∞
∫^ x 1
x 0
f
( (^) t 2
n
t^2 + sin^2 (t)
dt
! ≤ 1 (1)
fl Use (^) * variant for unnumbered equation (without label). fl Package option for equation position: fleqn fixed indent from the left margin instead of centered. fl Options for positions of equation number: leqno or reqno.
H.2. Important Symbols in Math
≥ \ge \gg × \times = = 6 = \ne ≡ \equiv ≈ \approx | | ⊥ \perp | \mid ‖ \parallel f ′^ f’ ∇ \nabla ∆ \Delta ∂ \partial ∈ \in ∀ \forall ∃ \exists @ \nexists ∩ \cap ∪ \cup ∈/ \notin \ \setminus ` \ell ∠ \angle ◦ \circ ∅ \emptyset ∨ \lor ∧ \land ¬ \lnot ∅ \varnothing \top ⊥ \bot ∞ \infty ∝ \propto
H.3. Math Functions (upright typeface) \arccos \arcsin \arctan \arg \cos \cosh \cot \coth \csc \deg \det \dim \exp \gcd \hom \inf \ker \lg \lim \liminf \limsup \ln \log \max \min \Pr \sec \sin \sinh \sup \tan \tanh For other functions use (package amsmath): \operatorname{name}, e.g. \operatorname{arcsinh} (see also J.2).
H.4. More Math Functions ∑ \sum
\prod
∫ \coprod \int
\iint
\iiint
\oint ~a \vec{a} a˙ \dot{a} ¨a \ddot{a} aˆ \hat{a}
H.5. Fonts and Sizes in Math Mode (some from AMSMath) \mathrm{}, \mathit{}, \mathbf{}, \mathsf{}, \mathtt{}, \boldmath{} \mathbb{} e.g. AZ, \mathcal{} e.g. AZ, \mathfrak{} e.g. AZ \displaystyle, \scriptstyle, \scriptscriptstyle, \textstyle \boldsymbol{}
H.6. Often used Math Expressions xn+1^ x^{n+1} Ekin E_{\mathrm{kin}} a + b 2
\frac{a+b}{2}
√n a^2 + b^2 \sqrt[n]{a^2+b^2}
x 1 ,... , xn x_1, \ldots, x_n x 1 + · · · + xn x_1 + \cdots + x_n
( a +
\left( a + \frac{1}{2} \right)^
i=
i=
\sum_{i=1}^{N} \prod_{i=1}^{N}
lim a→∞ \lim_{a^ \rightarrow^ \infty} ∫^ b
a
x^2 dx \int_a^b x^2; \mathrm{d}x
df dx
x 0
\left. \frac{\mathrm{d}f}{\mathrm{d}x} \right|_{x_0}
F (^) ⊥ F (^) ‖ \myvec{F}{\perp}^1 \myvec{F}{\parallel}^1
a>^ A†^ A∗^ \myvec{a}^{\top}^1 A^{\dagger} \boldmath{A}^{*} ! < def = (^) \stackrel{!}{<} \stackrel{\mathrm{def}}{=} abov e mid mid below
\overset{above}{mid} \underset{below}{mid} (^1) \newcommand{\myvec}[1]{\ensuremath{\underline{\boldsymbol{#1}}}}
H.7. Math with amsmath (replacing standard Environments) equation equation* One line, one equation multline multline* One unaligned multiple-line equation, one number gather gather* Several equations without alignment align align* Several equations with multiple alignments alignat alignat* Multiple alignments, choose spacing between cols flalign flalign* Several equations: horizontally spread form of align cases Alignment for cases split A simple alignment within a multiple-line equation aligned A “mini-page” with multiple alignments gathered A “mini-page” with unaligned equations fl The content is automatically placed in math mode. fl Use \intertext{text} to set text within an amsmath environment fl Length parameter to influence vertical spacing within any amsmath environment: \jot (e.g. \addtolength{\jot}{1ex}) fl Add singular vertical space for a line via \[
H.7.1. AMSMath align \begin{align} y &= d\ y &= cx+d\nonumber\ y &= bx^{2}+cx+d \label{eq:key} \end{align}
y = d (1) y = cx + d
y = bx^2 + cx + d (2)
\begin{align} y &= d & z &= 1\ y(x) &= cx+d & z &= x+1\ y_{12} &= bx^2+cx & z &= x^2+x+ \end{align}
y = d z = 1 y (x) = cx + d z = x + 1
y 12 = bx^2 + cx z = x^2 + x + 1
H.7.2. AMSMath alignat \begin{alignat}{3} % 2x3-1 ’&’ are neccessary i_{11} &=0.25 & i_{12} &=i_{21} & i_{13} &=i_{23}\ i_{21} &=\frac{1}{3}i_{11} & i_{22} &=0.5i_{12} & i_{23} &=i_{31}\ i_{31} &=0.33i_{22} \quad & i_{32} &=0.15i_{32} \quad & i_{33} &=i_{11} \end{alignat} i 11 = 0. 25 i 12 = i 21 i 13 = i 23 (1)
i 21 =
i 11 i 22 = 0. 5 i 12 i 23 = i 31 (2)
i 31 = 0. 33 i 22 i 32 = 0. 15 i 32 i 33 = i 11 (3)
H.7.3. AMSMath flalign \begin{flalign} i_{11} & =0.25 & i_{12} & =i_{21} & i_{13} & =i_{23}\ i_{21} & =\frac{1}{3}i_{11} & i_{22} & =0.5i_{12} & i_{23} & =i_{31}\cdot\sqrt{5}\ i_{31} & =0.33i_{22} & i_{32} & =0.15i_{32} & i_{33} & =i_{11} \end{flalign} i 11 = 0. 25 i 12 = i 21 i 13 = i 23 (1)
i 21 =
i 11 i 22 = 0. 5 i 12 i 23 = i 31 ·
i 31 = 0. 33 i 22 i 32 = 0. 15 i 32 i 33 = i 11 (3)
H.7.4. AMSMath gather \begin{gather} D(a,r) \equiv {z \in \mathbf{C} \colon |z-a| < r } \notag\ \operatorname{seg} (a,r) \equiv { z \in \mathbf{C} \colon \Im z < \Im a, \ |z-a| < r }\ C (E, \theta, r) \equiv \bigcup_{e\in E} c (e, \theta, r) \end{gather} D(a, r ) ≡ {z ∈ C : |z − a| < r } seg(a, r ) ≡ {z ∈ C : =z < =a, |z − a| < r } (1)
C(E, θ, r ) ≡
e∈E
c(e, θ, r ) (2)
H.7.5. AMSMath matrix \begin{matrix} a & b \ c & d \end{matrix} \begin{pmatrix} a & b \ c & d \end{pmatrix} \begin{bmatrix} a & b \ c & d \end{bmatrix} \begin{Bmatrix} a & b \ c & d \end{Bmatrix} \begin{vmatrix} a & b \ c & d \end{vmatrix} \begin{Vmatrix} a & b \ c & d \end{Vmatrix}
a b c d
a b c d
a b c d
a b c d
a b c d
a b c d
Dots: \dots or \ldots lower dots, \cdots vertically centered dots, \vdots vertical dots, \ddots diagonal dots, \hdotsfor[cols]{dotspace} multicolumn dots.
H.8. AMSMath cases [ f(n) = \begin{cases} n/2 & \quad \text{if $n$ is even}\ -(n+1)/2 & \quad \text{if $n$ is odd}\ \end{cases} ]
f (n) =
n/ 2 if n is even −(n + 1)/ 2 if n is odd
H.9. Arrows 7 → \mapsto \leadsto → \rightarrow ⇒ \Rightarrow −→ \longrightarrow =⇒ \Longrightarrow ← \leftarrow ⇐ \Leftarrow ←− \longleftarrow ⇐= \Longleftarrow ↑ \uparrow ⇑ \Uparrow ↓ \downarrow ⇓ \Downarrow ↔ \leftrightarrow ⇔ \Leftrightarrow ⇔ \leftleftarrows ⇒ \rightrightarrows \leftrightarrows \rightleftarrows \leftrightharpoons \rightleftharpoons
My Subtitle
N. N.
List of Figures iii List of Tables iv
ii
A.1. Example of a caption centeredbeside.................... 4
iii
1.1. Table caption................................. 1
iv
1.1. Technical introduction Heading without number Some text in bold, some more text. Some text in emph, more text. And now some text in German language Hier kommt eine Formel: 2 + 2 = 5 A new paragraph, viz. a new idea, a new thought.
1.1.1. Heading lower level More text emphasized text.^1 Table 1.1.: Table caption Head Head Head Data first Row Data second Row
(^1) Wikipedia. TEX—Wikipedia, The Free Encyclopedia. https://en.wikipedia.org/wiki/TeX, last referenced 24-June-2017.
1
Some text, see Table 1.1 for aligned material. L’Hôpital’s rule:
(2.1) (^) xlim→ 0 ex^2 −x^1 [=^00 H^ ] lim x→ 0 ex 2 =^12
2
3
A BOX Figure A.1.: Example of a caption besidethe figure
4
Wikipedia. TEX—Wikipedia, The Free Encyclopedia. https : / / en. wikipedia. org / wiki/TeX, last referenced 24-June-2017.
5
License Reference Sheet, Version 1.2, August 2017 This Cheat Sheet is free under the terms and conditions of the LATEX Project Public License Version 1.3c. Authors: Marion Lammarsch, University of Heidelberg, and Elke Schubert, Stutensee Credit for the layout and content ideas goes to (a) Emanuel Regnath, “LATEX Cheat Sheet” LATEX4EI, 2013 http://www.latex4ei.de/downloads/LaTeX_CheatSheet.pdf (b) Tammo Schwindt, DHBW Mosbach, “LaTeX Sheet German”, Ed. 2014 http://mirror.ctan.org/tex-archive/info/latexcheat/latexcheat-de/ The logo with the TEX lion is sketched by Duane Bibby, https://mirror.ctan.org/ lion/files; the graphic of a header of a page is from the KOMA-Script documentation, file scrlayer-scrpage.tex; the page layout image is done by using the package layout andthe command \layout and the red lines and red text added with a graphics program.
Acknowledgements We would like to thank Markus Kohm, Ulrike Fischer, Martin Sievers, and Herbert Voßfor their useful hints and suggestions. Not naming all the female and male students which with their intrigued questions helped to improve this reference sheet.