mirror of
https://github.com/fsr/nopanic
synced 2024-11-15 08:53:11 +01:00
abbb69bb29
make it monospace i needed to explicitly specify the mono font in fontspec, else it would not allow scaling i chose "Latin Modern Mono", Luatex's default you will possibly need to install the font before building
64 lines
2 KiB
TeX
64 lines
2 KiB
TeX
\renewcommand*{\chapterheadstartvskip}{}
|
|
|
|
\usepackage[parfill]{parskip}
|
|
\usepackage{graphicx}
|
|
\usepackage{fancyhdr}
|
|
\usepackage{eso-pic}
|
|
\usepackage{caption}
|
|
\PassOptionsToPackage{hyphens}{url}
|
|
\usepackage[colorlinks=false, pdfborder={0 0 0}]{hyperref}
|
|
\hypersetup{
|
|
pdfauthor={FSR Informatik der TU Dresden},
|
|
pdftitle={Untitled - ESE 2018},
|
|
breaklinks=true, colorlinks=false, pdfborder={0 0 0},
|
|
pdfencoding=auto
|
|
}
|
|
\usepackage{wrapfig}
|
|
\usepackage{menukeys}
|
|
\usepackage{amssymb}
|
|
\usepackage{eurosym}
|
|
\usepackage{multicol}
|
|
\setlength{\multicolsep}{0.5em}
|
|
\usepackage{longtable}
|
|
\usepackage{enumitem} % to easily remove itemize indent for the checklist
|
|
|
|
\usepackage[titles]{tocloft}
|
|
|
|
\usepackage{fontspec}
|
|
\usepackage{polyglossia}
|
|
\usepackage{microtype}
|
|
\setmainlanguage{german}
|
|
\newcommand{\glqq}{„}
|
|
\newcommand{\grqq}{“}
|
|
|
|
|
|
% \definecolor{ese_bg_color}{rgb}{0.0, 0.20, 0.376} % wip-ish color -- #003360 (2015?)
|
|
%\definecolor{ese_bg_color}{rgb}{0.0, 0.263, 0.486} % wip-ish color -- #00437C (2016?)
|
|
%\definecolor{ese_bg_color}{rgb}{0.051, 0.373, 0.596} % wip-ish color -- #0D5F98 (2017)
|
|
\definecolor{ese_bg_color}{rgb}{0.796, 0.376, 0.251} % wip-ish color -- #CB6040 (2018)
|
|
\definecolor{ese_fg_color}{rgb}{1, 1, 1}
|
|
|
|
\definecolor{ifsrgray}{rgb}{0.6, 0.6, 0.6} % 153, 153, 153
|
|
|
|
% 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}]{Exo}\huge}
|
|
\setkomafont{chapterentry}{\normalfont\bfseries}
|
|
\setkomafont{minisec}{\color{ifsrgray}\fontspec[BoldFont={* Bold}]{Exo}\large}
|
|
\setkomafont{paragraph}{\color{ifsrgray}\fontspec[BoldFont={* Bold}]{Exo}}
|
|
\setkomafont{pagenumber}{\color{ifsrgray}\fontspec{Open Sans}}
|
|
|
|
\newcommand{\ascii}{{\texttt{ascii}}}
|