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

68 lines
2.3 KiB
TeX
Raw Normal View History

2019-07-15 18:47:34 +02:00
% \renewcommand*{\chapterheadstartvskip}{}
\usepackage[english, ngerman]{babel}
\usepackage[parfill]{parskip}
\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage{eso-pic}
\usepackage{caption}
\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
2019-07-23 13:12:13 +02:00
\usepackage{pdfpages}
\usepackage{fontspec}
\usepackage{microtype}
\usepackage[autostyle=true]{csquotes}
2019-07-15 18:47:34 +02:00
\usepackage[titles]{tocloft}
\PassOptionsToPackage{hyphens}{url}
\usepackage[colorlinks=false, pdfborder={0 0 0}]{hyperref}
\hypersetup{
pdfauthor={FSR Informatik der TU Dresden},
pdftitle={The Manual - ESE 2019},
breaklinks=true, colorlinks=false, pdfborder={0 0 0},
pdfencoding=auto
}
2017-06-13 08:25:40 +02:00
2019-07-15 18:47:34 +02:00
% \definecolor{ese_bg_color}{rgb}{0.0, 0.20, 0.376} % the definitive color -- #003360 (2015?)
% \definecolor{ese_bg_color}{rgb}{0.0, 0.263, 0.486} % the definitive color -- #00437C (2016?)
% \definecolor{ese_bg_color}{rgb}{0.051, 0.373, 0.596} % the definitive color -- #0D5F98 (2017)
% \definecolor{ese_bg_color}{rgb}{0.796, 0.376, 0.251} % the definitive color -- #CB6040 (2018)
\definecolor{ese_bg_color}{rgb}{0.0, 0.8, 0.6} % wip-ish color -- #00cc99 (2019)
\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}
2019-07-15 18:47:34 +02:00
\setkomafont{chapter}{\color{ese_bg_color}\fontspec[BoldFont={* Bold}]{Open Sans}\huge}
\setkomafont{chapterentry}{\normalfont\bfseries}
2019-07-15 18:47:34 +02:00
\setkomafont{minisec}{\color{ifsrgray}\fontspec[BoldFont={* Bold}]{Open Sans}\large}
\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
\newcommand{\ascii}{{\texttt{ascii}}}