\documentclass[
  paper=a4,
	%headheight=2cm,
	%headinclude,
	openany,	
	final,
	10pt,
	DIV=15,
	BCOR=1cm,
	parskip=full,
twoside]
{scrbook}
%{scrreprt}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Schrift-Codierung
\usepackage{fontspec}            % UNICODE für Umlauten

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% minted muss vor polyglosia laden
\usepackage{minted}
\newminted{latex}{%
  fontsize=\small%
  ,tabsize=2
  %,linenos
}

\newmintedfile[inputtexcode]{latex}{%
  fontsize=\small%
  ,tabsize=2%
  %,linenos
}

\newminted{bibtex}
  {fontsize=\small,tabsize=4}
\newmintedfile[inputbibcode]{bibtex}
  {fontsize=\small,tabsize=4}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Anpassung für deutschsprachige Dokumenten
\usepackage{polyglossia}          % Anpassung für Kaptitel-Name, 
                                  % Abschnitte-Name, Silbentrennung ect.
\setdefaultlanguage[
	variant=german,
	spelling=new,
	babelshorthands=true]{german}
                                  
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 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}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Typography feinheit
\usepackage{microtype}            % RechtenRand ausgleichen

% Anpassung von Leerraum zischen Befehlen und dem nächsten Worte
\usepackage{xspace}
\usepackage{textcomp}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Math-Tools
\usepackage{mathtools}
\usepackage{nicefrac}

% Setze Tabellesverzeichnis  in zweispaltig
\usepackage[toc]{multitoc}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Literaturverzeichnis
\usepackage[babel]{csquotes}
\usepackage[
  backend=biber
  ,style=authoryear
  ,language=german
  ]{biblatex}
\bibliography{literatur}  
\bibliography{literatur2}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Seiten-Layout
\usepackage[automark,autooneside=false]{scrlayer-scrpage}
\pagestyle{scrheadings}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Tables
\usepackage{booktabs}
%====== Typographische Anpassung für Tabelle
\renewcommand{\arraystretch}{1.3} %(oder 1.2)

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Graphics
\usepackage{graphicx}
\usepackage{float}

\usepackage{caption}
\usepackage{subcaption}
\usepackage{wrapfig}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Macht das Doku klickbar
\usepackage[pdfencoding=auto,
			hidelinks,
            pdfauthor={Hong-Phuc Bui},
            pdftitle={Latex Kurs an der HTW Saar},
            pdfsubject={Eine sehr kurze Einführung in Latex},
            pdfkeywords={tex,latex,Typographie}
]{hyperref}

% Eigene Anpassung
\setkomafont{caption}{\itshape\sffamily}
\setkomafont{captionlabel}{\upshape\bfseries\sffamily}
\renewcaptionname{german}{\figurename}{Abb.}               %Figure
\renewcaptionname{german}{\tablename}{Tab.}                %Table


% Shortcut
\newcommand{\latex}{\LaTeX\xspace}
\newcommand{\KOMA}{\textsf{KOMA}\xspace}
\newcommand{\menu}[1]{\textsf{#1}}






\begin{document}
\newcommand{\dreiDStrahlung}{3D"=Strah"-lung\xspace}
\newcommand{\LW}{Latex"=Wörter"-buch\xspace}

% title
\title{Kurze Einführung in \LaTeX}
\subtitle{zusammengefasst während des \latex-Kurses an der HTW Saar}
\date{Wintersemester 2019/2020}
\author{Hồng-Phúc Bùi}


\maketitle
\tableofcontents


\include{chap/typographie}
\include{chap/Grundbegriffe}
\include{chap/Titlelei}
\include{chap/aufteilung}
\include{chap/Mass-und-Einheit}
\include{chap/text-formatierung}
\include{chap/text-strukture}
\include{chap/graphik}
\include{chap/table}
\include{chap/zitat}
\include{chap/einheitliche-formatierung}

\include{chap/silbentrennung}
\include{chap/mathematische-formel}

\backmatter
\include{chap/latex-indeepth}
\include{chap/literatur-attribute}

%%%%%%%%%%%%%%%%%%%%% Test-Bereich

\printbibliography
\end{document}



