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

56 lines
1.6 KiB
TeX
Raw Normal View History

2019-07-15 18:47:34 +02:00
% \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}
2020-08-20 11:51:37 +02:00
\usepackage{adjustbox}
% fancy fone awesome boxes
\usepackage{awesomebox}
% mainly for linklist
\usepackage{longtable}
\usepackage{enumitem} % to easily remove itemize indent for the checklist
2019-07-23 13:12:13 +02:00
\usepackage{pdfpages}
\usepackage{fontspec}
\usepackage{microtype}
\usepackage[autostyle=true]{csquotes}
2021-04-28 19:44:56 +02:00
\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}
2019-08-13 18:10:01 +02:00
\setkomafont{chapter}{\color{ese_bg_color}\fontspec[BoldFont={* Bold}]{Open Sans}\huge\bfseries}
\setkomafont{minisec}{\color{ifsrgray}\fontspec[BoldFont={* Bold}]{Open Sans}\large\bfseries}
2019-07-15 18:47:34 +02:00
\setkomafont{paragraph}{\color{ifsrgray}\fontspec[BoldFont={* Bold}]{Open Sans}}
\setkomafont{pagenumber}{\color{ifsrgray}\fontspec{Open Sans}}
2019-07-15 18:47:34 +02:00
\addtokomafont{disposition}{\normalfont\fontspec{Open Sans}}
\defaultfontfeatures{Ligatures=TeX} % enable ligatures (e.g. --) for new fonts