3
0
Fork 0
mirror of https://github.com/fsr/nopanic synced 2024-11-15 17:03:13 +01:00
nopanic/preamble.tex

55 lines
1.6 KiB
TeX

% \renewcommand*{\chapterheadstartvskip}{}
\usepackage[english, ngerman]{babel}
\usepackage{xcolor}
\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage{eso-pic}
\usepackage{caption}
\usepackage{wrapfig}
\usepackage{menukeys}
\usepackage{amssymb}
\usepackage{eurosym}
\usepackage{multicol}
\usepackage{lscape}
\setlength{\multicolsep}{0.5em}
\usepackage{adjustbox}
% fancy fone awesome boxes
\usepackage{awesomebox}
% mainly for linklist
\usepackage{longtable}
\usepackage{enumitem} % to easily remove itemize indent for the checklist
\usepackage{pdfpages}
\usepackage{fontspec}
\usepackage{microtype}
\usepackage[autostyle=true]{csquotes}
\MakeOuterQuote{"}
\PassOptionsToPackage{hyphens}{url}
\usepackage[colorlinks=false, pdfborder={0 0 0}]{hyperref}
\input{colors.tex}
% is toggled twice for moduluebersicht.tex
\changemenucolor{gray}{bg}{named}{ese_fg_color} %background of the menukeys
\changemenucolor{gray}{br}{named}{ese_bg_color} %border of the menukeys
\changemenucolor{gray}{txt}{named}{ese_bg_color} %text of the menukeys
\setmainfont[
Scale=0.90,
BoldFeatures={Scale=1.0}
]{Open Sans}
\setmonofont[
Scale = 1.09
]{Latin Modern Mono}
\setkomafont{chapter}{\color{ese_bg_color}\fontspec[BoldFont={* Bold}]{Open Sans}\huge\bfseries}
\setkomafont{minisec}{\color{ifsrgray}\fontspec[BoldFont={* Bold}]{Open Sans}\large\bfseries}
\setkomafont{paragraph}{\color{ifsrgray}\fontspec[BoldFont={* Bold}]{Open Sans}}
\setkomafont{pagenumber}{\color{ifsrgray}\fontspec{Open Sans}}
\addtokomafont{disposition}{\normalfont\fontspec{Open Sans}}
\defaultfontfeatures{Ligatures=TeX} % enable ligatures (e.g. --) for new fonts