Example: air traffic controller

LaTeX Cheat Sheet - CTAN

Reference Sheet for a Thesis C. Layout Lists Colors with xcolor with LATEX2e and KOMA - Script Changing Page Layout with geometry \begin{itemize} with bullets \item or \item[ symbol ] . \begin{enumerate} with numbers \item \usepackage{xcolor}. Let KOMA - Script know of geometry by option usegeometry=true. All examples were tested with pdflatex. \begin{description} with bold words \item[ word ]. \definecolor{DarkBlue}{RGB}{0, 115, 207}. The package mentioned in the headings has to be included (see ). \colorlet{col_section}{DarkBlue}. \usepackage[left=2cm, right=2, top=3cm, bottom=4cm, \begin{labeling}[ separator ]{labelinglabel} \item[ word ].]

ReferenceSheetforaThesis withLATEX2eandKOMA-Script ß Allexamplesweretestedwithpdflatex. ß Thepackagementionedintheheadingshastobeincluded(seeB.2). ß ...

Tags:

  Sheet, Teach, Latex, Latex cheat sheet

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Transcription of LaTeX Cheat Sheet - CTAN

1 Reference Sheet for a Thesis C. Layout Lists Colors with xcolor with LATEX2e and KOMA - Script Changing Page Layout with geometry \begin{itemize} with bullets \item or \item[ symbol ] . \begin{enumerate} with numbers \item \usepackage{xcolor}. Let KOMA - Script know of geometry by option usegeometry=true. All examples were tested with pdflatex. \begin{description} with bold words \item[ word ]. \definecolor{DarkBlue}{RGB}{0, 115, 207}. The package mentioned in the headings has to be included (see ). \colorlet{col_section}{DarkBlue}. \usepackage[left=2cm, right=2, top=3cm, bottom=4cm, \begin{labeling}[ separator ]{labelinglabel} \item[ word ].]

2 Compile three times after last change (esp. docs with references). bindingoffset=1cm, inlcudeheadfoot]{geometry} \textcolor{red}{text in red} or {\color{red}text}. \begin{enumerate} . \colorbox{gray!25}{color gray faded by 25\%}.. A. LaTeX Basics Auto-completion determines unspecified dimensions (under or over \item First item Predefined colors: specified as well), here width and height of text (see ). \item Second item\label{it:second} % see References white gray black red green blue cyan magenta yellow Units Other options: paper=a4paper, landscape|portrait, includehead, \end{enumerate}.

3 Available units for length and dimensions: includefoot, includeheadfoot, twocolumn Fade a color with color !value between 0 and 100. Changing page layout mid document: \newgeometry{ opt, opt, .. } Headings in color: \setkomafont{disposition}{\color{color }}. bp point (typographic) mm millimeter in inch em width of M. px pixel (1/72in) cm centimeter pc pica ex height of x Enhanced Lists with enumitem Header and Footer of Page (aka running heading) Load: \usepackage{enumitem} Footnotes Document dependent units z \textwidth, z \linewidth, z \columnwidth, z \textheight with z a percentage value, \lehead \cehead \rehead \lohead \cohead \rohead Example (for enumerate): \footnote{text } Print footnote marker in text and footnote at \textwidth means 55% of the actual width of the text.

4 \setlist[enumerate,1]{label=\Alph*)} A) one bottom of page 6 6 6 6 6 6. \baselineskip minimum vertical space between the bottom of two \ihead \chead \setlist[enumerate,2]{label=\alph*)} a) one \footnotemark Print footnote marker in text ( within tabu- successive lines in a paragraph. \setlist[enumerate,3]{label=\roman*)} b) two lar or caption).. \ohead Amounts like \smallskipamount, \medskipamount, \bigskipamount. \setlist[enumerate,4]{label=\arabic*)} B) two \footnotetext{text } Print footnote at bottom of page % delete default settings and define your own \usepackage[automark]{scrlayer-scrpage} Example (for legal list): Reserved Characters (see also , cf.

5 H) 1. one \clearpairofpagestyles \newlist{legal}{enumerate}{10}. two References with hyperref (loads url implicitly). \ introduces a command \ohead[]{\headmark} \ofoot[\pagemark]{\pagemark} \setlist[legal]{label*=\arabic*.,noitems ep}. \textbackslash Use: \begin{legal} \item ..\end{legal}. three \autocite{citekey } Cite a bibliographic reference (package biblatex). { } embraces arguments, creates logical parts \{ \} strawberry \label{marker } Set a marker for cross reference, often if the form [ ] embraces optional arguments [ ]. % Variant for a thesis with horizontal rules at head and foot \label{sec:item} or \label{fig:diag1}.

6 % comments: code after % will be ignored. \% \usepackage[headsepline= :,footsepline= :, Separate Files \autoref{marker } Give type name and number of marker & separates columns in tabular-like environments \& plainfootsepline,automark]{scrlayer-scrp age} After preamble within the text place:\include{file } Text starts and \clearpairofpagestyles \autopageref{marker } Give abbreviation of page and page # parameter for own command declarations \# ends on a new page. file has to be in the same directory as the \ohead[]{\headmark} \ofoot[\pagemark]{\pagemark} number of marker $ text style math mode (abbr.)

7 For \( .. \) ) \$ master file. Otherwise specify a path: \include{path/file }. \ModifyLayer[addvoffset= ]{ }. In preamble place: \includeonly{file1,file2 } to run only these files. \url{url } Print clickable web page _^ index/exponent only valid in math mode, a12 see \ModifyLayer[addvoffset= ]{ } \href[options ]{url }{text } Print clickable link Use \input{file } includes a file without starting/ending on a new \setkomafont{pageheadfoot}{\small}. page (\includeonly not valid). \hyperref[marker ]{text } Print clickable reference B. Preamble (before \begin{document}) Style: \urlstyle{xx } with xx a style like tt , rm , sf or same.

8 E. Text Names for autoref (package babel): Documentclass (necessary) Linespread with setspace \renewcaptionname{language }{\typename autorefname}{text }, Use: \documentclass[opt,opt,.. ]{class } Load: \usepackage[onehalfspacing]{setspace} for line spacing. Paragraphs ( new idea in content ) \renewcaptionname{english}{\subsectionau torefname}{section}. Recommended classes: scrartcl, scrreprt, scrbook, scrlttr2 Paragraphs are separated by an empty line in the code or by \par. Non-KOMA - Script classes: beamer, koma-moderncvclassic D. Document Structure (see also L) A \\ produces a new line use sparingly, seldom needed outside tabulars.

9 Acronyms with acro Correct Overfull Box Warnings with more than 4pt (look into log file).. Common options with default Values available (subtotal) Start Document \usepackage{acro,hyperref,longtable,tabu } %next 5 to praeambel fontsize=11pt 10pt | 12pt ( also valid) \begin{document} Complete document contents. \end{document} \acsetup{list-style=longtabu,list-headin g=addchap}. Text Symbols/Characters (see also ). \DeclareAcroListStyle{longtabu}{table}{t able=longtabu, paper=a4, paper=portrait a3 | a5 | b4 | letter, landscape A lot of diacritic symbols can be typed directly, . table-spec=@ parskip=no half | full Title \S _ \textunderscore{} ~ \textasciitilde{} \DeclareAcronym{ecm}{short=EM,long=Elect ro Machining}.}

10 Headings=big small | normal simple title: \author{text } \title{text } \date{\today} \maketitle .. ^ \textasciicircum{} .. \ldots | \textbar chapterprefix=false true title page self designed: \begin{titlepage} text \end{titlepage} \ac{EM} or \Ac{EM} for capitalized first letter Other symbols need packages, \texteuro (textcomp) \printacronyms open=right (scrbook). captions=oneline any (scrartcl, scrreprt) | left nooneline Table of Contents, List of Figures (for other List of see & G) . \tableofcontents \listoftables \listoffigures Fonts captions=tablebelow,figurebelow tableabove, figureabove KOMA option toc=listof (see ) generates entries for TOC.


Related search queries