123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308 |
- % This is l2kurz.tex - LaTeX2e Kurzbeschreibung v3.0
- % Siehe https://github.com/texdoc/l2kurz
- %!TEX TS-program = Arara
- % arara: pdflatex: {synctex: true}
- % arara: bibtex
- % arara: pdflatex: {synctex: true}
- % arara: pdflatex: {synctex: true}
- \newcommand{\lkver}{3.0c} % laufende Versionsnummer ...
- \newcommand{\lkdate}{8.\ April 2018} % ... und Datum
- \typeout{ LaTeX2e-Kurzbeschreibung}
- \typeout{ Copyright 2012--2016 Marco Daniel, Patrick Gundlach }
- \typeout{ Copyright 1998--2003 W.Schmidt, J.Knappen, H.Partl, I.Hyna }
- \typeout{ Copyright 1994, 1995 J.Knappen, H.Partl, E.Schlegl, I.Hyna }
- \typeout{ Copyright 1987 H.Partl, E.Schlegl, I.Hyna }
- \documentclass[11pt,a4paper,DIV=calc,footinclude=false]{scrartcl}
- \NeedsTeXFormat{LaTeX2e}
- % für die Bearbeitung ist ein großer rechter Rand von Vorteil
- %\geometry{%
- % textheight=46\baselineskip,
- % textwidth=5.2in,
- % left=1cm,
- % marginpar=5cm,
- %}
- \usepackage[USenglish,ngerman]{babel}
- % EN: Character protrusion and font expansion. See http://www.ctan.org/tex-archive/macros/latex/contrib/microtype/
- % DE: Optischer Randausgleich und Grauwerktkorrektur
- % Falls bei einer Silbentrennung ploetzlich eine ganze Zeile fehlt (passiert unter Windows XP mit MikTex 2.5 und foxit reader als pdfreader oder \usepackage{pdfcprot}
- % ausprobieren. Dieses erzeugt allerdings nur für Palatino (in dieser Vorlage die Default-Schrift) einen guten optischen Randausgleich
- % Falls alle Stricke reissen, muss leider auf den optischen Randausgleich verzichtet werden.
- \usepackage[
- babel=true, % EN: enable language-specific kerning. Take language-settings from the languge of the current document (see Section 6 of microtype.pdf)
- expansion=alltext,
- protrusion=alltext-nott, % EN: Ensure that at listings, there is no change at the margin of the listing
- final % EN: Always enable microtype, even if in draft mode. This helps finding bad boxes quickly.
- % In the standard configuration, this template is always in the final mode, so this option only makes a difference if "pros" use the draft mode
- ]{microtype}
- \usepackage[utf8]{inputenc}
- \usepackage[T1]{fontenc}
- \usepackage{lmodern}
- \usepackage{dtk-logos}
- \usepackage{textcomp,ragged2e,csquotes}
- \usepackage{latexsym}
- \usepackage{graphicx}
- \usepackage[ngerman]{varioref}
- \usepackage{array,longtable,tabularx,booktabs}
- \usepackage{enumitem}
- \usepackage{amsmath}
- \usepackage{caption}
- \makeatletter
- \def\midrule{%
- \noalign{\ifnum0=`}\fi
- \penalty\@M%
- \@aboverulesep=\aboverulesep
- \global\@belowrulesep=\belowrulesep
- \global\@thisruleclass=\@ne
- \@ifnextchar[{\@BTrule}{\@BTrule[\lightrulewidth]}}
- \def\arraystretch{1.5}
- \makeatother
- \usepackage[normalem]{ulem}
- \usepackage{showexpl}
- \makeatletter
- \let\LTXexample\@undefined
- \let\endLTXexample\@undefined
- \let\LTXexample@\@undefined
- \lstnewenvironment{LTXexample}[1][]
- {%
- \@temptokena{#1}%
- \begingroup
- \advance\c@ltxexample\@ne \advance\c@lstlisting\@ne
- \expandafter\lstset\expandafter{\SX@explpreset,#1}%
- \edef\x{\endgroup
- \def\noexpand\SX@codefile{\SX@codefile}%
- \def\noexpand\SX@graphicname{\SX@graphicname}%
- \def\noexpand\SX@graphicparam{\SX@graphicparam}}%
- \x
- \xdef\SX@@explpreset{\the\@temptokena,codefile=\SX@codefile,
- graphic={[\SX@graphicparam]{\SX@graphicname}}}%
- \setbox\@tempboxa=\hbox\bgroup% Warum noetig?
- \def\lst@literate{}%
- \lstset{extendedchars=true,inputencoding=latin1}%
- \lst@BeginWriteFile{\SX@codefile}%
- }
- {%
- \lst@EndWriteFile\egroup
- \inputencoding{utf8}%
- \lstset{extendedchars=true,inputencoding=utf8}%
- \SX@put@code@result
- }
- \makeatother
- \usepackage[hyperref,dvipsnames]{xcolor}
- \definecolor{darkblue}{rgb}{0,0,.5}
- % für todo-notes, kann später raus
- \colorlet{done}{green!40}
- \lstset{%
- %Sprachdefinition
- language=[LaTeX]TeX,
- %Definition fuer das Paket showexpl,
- pos=i,
- hsep=1cm,
- width=6cm,
- rframe={},
- explpreset={},
- numbers=none,
- %Definition für listings
- basicstyle=\ttfamily\small,%
- texcsstyle=*\bfseries,
- columns=fullflexible,%
- fontadjust=true,%
- basewidth=0.65em,%
- extendedchars=true,
- inputencoding={utf8},
- upquote=true,
- %Mit Farbe:
- keywordstyle=\color{blue!70!black}\bfseries,
- texcsstyle=*\color{blue!70!black}\bfseries,
- moretexcs={part,maketitle,SelectInputMappings,tableofcontents,subsection,subsubsection,chapter,mathcal,midrule,toprule,bottomrule,text,includegraphics},
- % keywordsprefix={\ },
- literate=
- {\{}{\textcolor{red!70!black}{\{}}1
- {\}}{\textcolor{red!70!black}{\}}}1
- {]}{\textcolor{red!70!black}{]}}1
- {[}{\textcolor{red!70!black}{[}}1
- {Ö}{{\"O}}1
- {Ä}{{\"A}}1
- {Ü}{{\"U}}1
- {ß}{{\ss}}1
- {ü}{{\"u}}1
- {ä}{{\"a}}1
- {ö}{{\"o}}1,
- }
- \lstnewenvironment{example}[1][]
- {\lstset{xleftmargin=2cm,xrightmargin=2cm,frame=lines,belowcaptionskip=\bigskipamount,#1}}
- {}
- % \usepackage[textsize=footnotesize]{todonotes}
- % Zum Schluss laden:
- \usepackage[unicode, pdfpagelabels,pageanchor=false, linktoc=all]{hyperref}
- \usepackage{hyperxmp}
- \hypersetup{%
- pdftitle={LaTeX2e-Kurzbeschreibung},
- pdfauthor={Marco Daniel, Patrick Gundlach, Walter Schmidt et al.},
- % pdfcopyright={Copyright (C) 2017, <AUTOR(EN)>. This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License},
- pdfsubject={LaTeX Kurzanleitung},
- pdfkeywords={LaTeX, TeX, DANTE e.V.},%ggf. anpassen
- %pdflicenseurl={http://creativecommons.org/licenses/by-sa/4.0/},
- pdfcaptionwriter={},
- pdfcontactaddress={},
- pdfcontactcity={},
- pdfcontactpostcode={},
- pdfcontactcountry={Germany},
- pdfcontactphone={},
- pdfcontactemail={},
- pdfcontacturl={},
- pdflang={de},
- pdfmetalang={de},
- breaklinks=true,
- bookmarks=true, % show bookmarks bar
- pdftoolbar=true, % show Acrobat’s toolbar
- pdfmenubar=true, % show Acrobat’s menu
- pdffitwindow=false, % window fit to page when opened
- pdfstartview={FitH}, % fits the width of the page to the window
- pdfcreator={Creator}, % creator of the document
- pdfproducer={Producer}, % producer of the document
- pdfnewwindow=true, % links in new window
- colorlinks=true, % false: boxed links; true: colored links
- linkcolor=darkblue, % color of internal links
- filecolor=darkblue, % color of file links
- citecolor=darkblue, % color of file links
- urlcolor=darkblue % color of external links
- }
- %
- % Seitenzahlen oben, aber keine Kopfzeile
- %
- \pagestyle{myheadings}
- \markboth{}{}
- % Make float placement easier
- \renewcommand{\textfraction}{.1}
- \renewcommand{\floatpagefraction}{.7}
- \makeatletter
- % LaTeXe-Symbol fuer cmss/sbc mit groesserem Absstand L-a und
- % halbfettem Epsilon
- \DeclareRobustCommand{\sbLaTeXe}{{\fontseries{sbc}\selectfont\boldmath%
- L\kern-.25em% -.36
- {\sbox\z@ T%
- \vbox to\ht\z@{\hbox{\check@mathfonts
- \fontsize\sf@size\z@
- \math@fontsfalse\selectfont
- A}%
- \vss}%
- }%
- \kern-.15em%
- \TeX\kern.15em2$_{\textstyle\varepsilon}$}}
- \makeatother
- \newcommand{\cs}[1]{\texttt{\textbackslash #1}}
- \newcommand\exa{\nopagebreak \begin{flushleft}\smallskip \nopagebreak
- \begin{minipage}[t]{6cm}\sloppy}
- \newcommand\exb{\end{minipage}\kern 1cm\begin{minipage}[t]{8cm}\sloppy }
- \newcommand\exc{\end{minipage}\kern -3cm \smallskip\end{flushleft}}
- \newenvironment{beispiel}{\begin{verse}}{\end{verse}}
- \newenvironment{lminipage}[1]{%
- \begin{center}\begin{minipage}{#1}\noindent\hrule\medskip}%
- {\par\noindent\hrule \end{minipage}\end{center}}
- \newenvironment{ttdescription}{%
- \renewcommand{\descriptionlabel}[1]{%
- \hspace{\labelsep}\texttt{##1}}%
- \begin{description}%
- }{%
- \end{description}%
- }
- \newcommand{\manual}{\emph{\LaTeX-Handbuch}~\cite{manual}}
- \newcommand{\local}{\emph{Local Guide}~\cite{local}}
- \newenvironment{symbols}{%
- \begin{tabbing}
- \hspace{1cm}\=\hspace{3.5cm}\= \hspace{1cm}\=\hspace{3.5cm}\=
- \hspace{1cm}\=\hspace{3.5cm}\= \kill
- }{%
- \end{tabbing}}
- \newcommand{\nfrac}[2]{\leavevmode\kern.1em%
- \raise.5ex\hbox{\scriptsize #1}%
- \kern-.1em/\kern-.15em%
- \lower.25ex\hbox{\scriptsize #2}}
- \begin{document}
- \nonfrenchspacing % babel sets frenchspacing automatically.
- % However, some examples are pointless with frenchspacing in action.
- % Besides, the larger space after a sentence make the text more readable.
- %: Einleitung
- \input{einleitung}
- \clearpage
- \tableofcontents
- \clearpage
- %: Allgemeines
- \input{allgemeines}
- \clearpage
- \input{eingabefile}
- \clearpage
- %: Textsatz
- \input{textsatz}
- \clearpage
- %: Mathematik
- \input{mathematik}
- \clearpage
- %: Bilder
- \input{bilder}
- \clearpage
- %: Seitenaufbau
- \input{seitenaufbau}
- \clearpage
- %: Schriften
- \input{schriften}
- \clearpage
- %: Spezialitäten
- \input{spezialitaeten}
- \clearpage
- %: Anhang
- \input{anhang}
- \clearpage
- %: Literaturverzeichnis
- \phantomsection
- \addcontentsline{toc}{section}{\refname}
- \bibliographystyle{unsrtdin}
- {\RaggedRight
- \bibliography{l2kurz}}
- \end{document}
|