| \documentclass[ | 
|     headheight=2cm, | 
|     headinclude, | 
|     paper=a4, | 
|     final, | 
|     10pt, | 
|     DIV13, | 
|     BCOR=1cm, | 
| twoside] | 
| {scrreprt} | 
|   | 
| % * Anpassung für deutschsprachige Dokumenten | 
| \usepackage{fontspec}                % UNICODE für Umlauten | 
| \usepackage[ngerman]{babel}          % Anpassung für Kaptitel-Name,  | 
|                                      % Abschnitte-Name, Silbentrennung ect. | 
| % Schriften | 
| \usepackage{libertine} | 
| %\setmonofont[Scale=0.8]{Luxi Mono}   % Nutzung von Luxi Mono | 
| \setmonofont[Scale=0.9]{Source Code Pro}   % Nutzung von Source Code Pro | 
| % für pdflatex: \usepackage[Scale=0.8]{luximono} | 
| \usepackage{microtype} | 
|   | 
| \usepackage{mathtools}%amsmath | 
| \usepackage{nicefrac} | 
|   | 
| % Anpassung von Leerraum zischen Befehlen und dem nächsten Worte | 
| \usepackage{xspace} | 
| \usepackage{textcomp} | 
|   | 
| % Setze Tabellesverzeichnis  in zweispaltig | 
| \usepackage[toc]{multitoc} | 
|   | 
|   | 
| % Ausgabe von Sorucecode | 
| \usepackage{xcolor} | 
| \definecolor{keywords2}{HTML}{8A4A0B} | 
|   | 
| \usepackage{listings} | 
| \lstset{basicstyle=\ttfamily,% | 
|   keywordstyle=\color{blue},% | 
|   keywordstyle=[2]\color{keywords2}% | 
| } | 
| % definiert shortcut-Umgebung fuer latex code | 
| \lstnewenvironment{latexcode}[1][] | 
|  {\lstset{language={[LaTeX]TeX},% | 
| %        backgroundcolor=\color[gray]{0.7},% | 
| morekeywords={maketitle,titlehead,subject,subtitle,publishers,includegraphics}, | 
|          numbers=left,numberstyle=\small,#1} | 
|  }{} | 
|   | 
|   | 
| % definiert shoutcut fuer die Anbindung von Latex code aus Dateien | 
| \newcommand{\inputtexcode}[2][]% | 
|   {\lstinputlisting[language={[LaTeX]TeX},% | 
|    numbers=left,% | 
| %   backgroundcolor={\color{white}},%    | 
| morekeywords={maketitle,titlehead,subject,subtitle,publishers,includegraphics}, | 
|    fontadjust=true, | 
|    numberstyle=\small,#1] | 
|    {#2} | 
|   } | 
|   | 
| \lstdefinelanguage{bibtex} | 
|   {keywords={% | 
|       @article,@book,@collectedbook,@conference,@electronic,@ieeetranbstctl,% | 
|       @inbook,@incollectedbook,@incollection,@injournal,@inproceedings,% | 
|       @manual,@mastersthesis,@misc,@patent,@periodical,@phdthesis,@preamble,% | 
|       @proceedings,@standard,@string,@techreport,@unpublished,% | 
|       @online,@collection,% | 
|         @<literatur-type>% | 
|       }, | 
|   keywords=[2]{author,year,title,subtitle,indexsorttitle,url,% | 
|      urldate,editor,booktitle,publisher,address,isbn,% | 
|      doi,crossref,booktitleadon,% | 
|      edition,option,date,note,and | 
|       }, | 
|    comment=[l][\itshape]{@comment}, | 
|    sensitive=false, | 
|   } | 
|    | 
| \lstnewenvironment{bibtexcode}[1][] | 
|  {\lstset{language={bibtex},% | 
| %        backgroundcolor=\color[gray]{0.7},% | 
|      keywordstyle=\color{blue}, | 
|          numbers=left,numberstyle=\small,#1} | 
|  }{} | 
|    | 
| \usepackage{float} | 
| \usepackage{showkeys} | 
|   | 
| \usepackage{caption} | 
| \usepackage{subcaption} | 
| \usepackage{wrapfig} | 
|   | 
| \usepackage[babel]{csquotes} | 
| \usepackage[ | 
|   backend=biber | 
|   ,style=authoryear | 
|   ,language=german | 
|   ]{biblatex} | 
| \addbibresource{literatur.bib} | 
| \addbibresource{literatur2.bib} | 
|   | 
| % Typographische Anpassung | 
| \renewcommand{\arraystretch}{1.3} %(oder 1.2) | 
|   | 
| % Shortcut | 
| \newcommand{\latex}{\LaTeX\xspace} | 
| \newcommand{\KOMA}{\textsf{KOMA}\xspace} | 
|   | 
| \setkomafont{caption}{\itshape\sffamily} | 
| \setkomafont{captionlabel}{\upshape\bfseries\sffamily} | 
| \renewcaptionname{ngerman}{\figurename}{Abb.}               %Figure | 
| \renewcaptionname{ngerman}{\tablename}{Tab.}                %Table | 
|   | 
| \title{Kurze Einführung in \LaTeX} | 
| \subtitle{zusammengefasst während des \latex-Kurses an der HTW Saar} | 
| \date{Sommersemester 2015} | 
| \author{Hong-Phuc Bui} | 
|   | 
| \usepackage[automark]{scrpage2} | 
| \pagestyle{scrheadings} | 
|   | 
| \usepackage[pdftex, | 
|             pdfauthor={Hong-Phuc Bui}, | 
|             pdftitle={Latex Kurs an der HTW Saar}, | 
|             pdfsubject={Eine sehr kurze Einführung in Latex}, | 
|             pdfkeywords={tex,latex,typographie} | 
| ]{hyperref} | 
|   | 
|   | 
|   | 
| \begin{document} | 
| \newcommand{\dreiDStrahlung}{3D"=Strah"-lung\xspace} | 
| \newcommand{\LW}{Latex"=Wörter"-buch\xspace} | 
|   | 
| \maketitle | 
| \tableofcontents | 
|   | 
|   | 
| \include{typographie} | 
| \include{Grundbegriffe} | 
| \include{Titlelei} | 
| \include{aufteilung} | 
| \include{Mass-und-Einheit} | 
| \include{text-formatierung} | 
| \include{text-strukture} | 
| \include{graphik} | 
| \include{table} | 
| \include{einheitliche-formatierung} | 
| \include{silbentrennung} | 
| \include{mathematische-formel} | 
|   | 
| %%%%%%%%%%%%%%%%%%%%% Test-Bereich | 
|   | 
| \printbibliography | 
| \end{document} |