\documentclass% [% a4paper, % Papierformat ist hier A4 fontsize=12pt, % Schriftgroesse in 10, 11 oder 12 Punkt % makeidx, % Stichwortverzeichniss % landscape % Querformat wird natürlich unterstützt ;-) % parskip % Absatzabstand anstatt Einzüge % draft % Der Entwurfsmodus deckt Schwächen auf ]{scrartcl} \usepackage% [% top=20mm, left=25mm, right=25mm, bottom=15mm, headsep=5mm, footskip=5mm ]{geometry} % See geometry.pdf to learn the layout options. There are lots. \usepackage{fontspec} \usepackage{scrlfile} \usepackage[headsepline]{scrlayer-scrpage} \usepackage{tocbasic} \usepackage{polyglossia} \setdefaultlanguage[variant = swiss]{german} \setotherlanguage[variant = british]{english} \usepackage[math-style=TeX]{unicode-math} \usepackage[cm]{sfmath} % Einzige möglichkeit SF Font für Math zu erhalten. \usepackage[bbgreekl]{mathbbol} %Blackboard-bold reintegration for Unicode-Math (doppenlinien Mathe Zeichen) \usepackage[]{hyphenat} %none or htt in [ ] \usepackage{hyperref} \usepackage{url} \usepackage{graphicx} \usepackage{tikz} % Grafikpackage und Colormanagement \usetikzlibrary{intersections} % Grafikpackage Makro intersektions \usepackage{imakeidx} \usepackage{enumitem} \usepackage{array} \usepackage{refcount} \usepackage{lastpage} % berechnet die Total erstellten Seitenzahl für Header/Footer \usepackage[nottoc, notlot, notlof]{tocbibind} % tocbibind % nottoc Disables the inclusion of the ToC (Table of Content) % notlot Disables the inclusion of the list of Tables % notlof Disables the inclusion of the List of Figures \usepackage% [% tocindentauto, % all widths at the TOCs are calculated by tocindentauto % tocindentmanual, % opposite of auto %tocgraduated, % standard tocflat, % no intendation, text aligned % tocfullflat, % no intendation, no alignment tocbreaksstrict, % sets a lot of penalties before and after TOC entries % to avoid page break between a TOC entry and it’s parent. % tocbreakscareless, % allow more page breaks. % toctextentriesindented, % unnumbered TOC entrie are indented only as wide % % as the number of numbered TOC entries of the same level. toctextentriesleft, % indented as if they have an empty number. ]{tocstyle} % Colors %------------------------------------------------------------------- \definecolor{grey}{rgb}{0.15,0.15,0.15} \definecolor{darkgrey}{rgb}{0.1,0.1,0.1} \definecolor{red}{rgb}{1,0,0} \definecolor{green}{rgb}{0,1,0} \definecolor{blue}{rgb}{0,0,1} \definecolor{darkblue}{rgb}{0.20,0.40,0.65} % Fontspec %------------------------------------------------------------------- \defaultfontfeatures{Ligatures=TeX} \setmainfont[ Color=darkgrey, UprightFont={Source Sans Pro Light}, BoldFont={Source Sans Pro Bold}, ItalicFont={Source Sans Pro Italic}, BoldItalicFont={Source Sans Pro SemiBold Italic} ]{Source Sans Pro} \setmonofont{Inconsolata}[Scale=MatchLowercase] \usepackage[]{mathastext} % instead as \setmathfont{Source Sans Pro} this packet uses the mainfont. % has to be underneth \setmainfont !!! \author{\authorname} \title{\titlepre\titleseparator\titlename} \date{\today} % Developement Helpers %------------------------------------------------------------------- \fboxrule=0pt %border thickness der fboxes zum bearbeiten auf 1 setzten %\usepackage{showframe} %border der Bereiche anzeigen \usepackage{blindtext} % Blindtext zum Testen von Textausgaben %\usepackage{lipsum} % Lorem Ipsum Text generator % Packagedefinition - Headers, Footers & Design %------------------------------------------------------------------- %Header \clearpairofpagestyles \ohead{\MakeUppercase{\titlepre\titleseparator\titlename}} %\chead{\slshape \authorname} \ihead{ \MakeUppercase{ \ifnum\getpagerefnumber{LastPage}>1 Seite \thepage\ von \pageref*{LastPage}% \fi } } \setlength{\headheight}{16pt} \setlength{\footheight}{16pt} \setheadsepline{.2pt}[\color{grey}] %Footer %\ofoot{} %\cfoot{} %\ifoot{} % Inhaltsverzeichniss % Dokument \parindent 0ex %ohne erstes Wort versetzt nach innen \setlength{\parindent}{0em} % Paragraph erstes Wort versetzt nach innen \setlength{\parskip}{0em} \renewcommand{\baselinestretch}{1.1} % Zeilenabstand \setlist{noitemsep,topsep=0pt,parsep=0pt,partopsep=0pt} % Listen design % Seitenzahlen \newcounter{lastpagenumber}% \setcounter{lastpagenumber}{\getrefbykeydefault{LastPage}{page}{1}}% %Spezial \makeindex % start der Index suche