preamble.tex 1.28 KB
Newer Older
1
2
\usepackage[margin=0.5cm]{geometry}
\usepackage[dvipsnames]{xcolor}
Lennart Klebl's avatar
Lennart Klebl committed
3
\usepackage{graphicx}
4
5
6
7
\usepackage{fontspec}
\usepackage{microtype}
\usepackage{listings}
\lstset{
Lennart Klebl's avatar
Lennart Klebl committed
8
basicstyle=\scriptsize\ttfamily,
9
10
11
12
language={[LaTeX]TeX},
texcsstyle=*\color{Mahogany}\bfseries,
commentstyle=\itshape\color{RoyalBlue},
keywordstyle=\color{RoyalBlue}\bfseries,
Lennart Klebl's avatar
plakat    
Lennart Klebl committed
13
14
moretexcs={lstset,tuxfont,color,sl,lstinputlisting,newfontfamily,fontsize,HUGE,
  Gargantous,ShowCharInBox,emphasize,redbox,et,position,url},
Lennart Klebl's avatar
Lennart Klebl committed
15
morekeywords={center,document,itemize,minipage}
16
}
Lennart Klebl's avatar
plakat    
Lennart Klebl committed
17
18
\newfontfamily\tuxfont{LatinModernRoman}
\setmonofont{FiraCode}
19
\usepackage{showcharinbox}
Lennart Klebl's avatar
plakat    
Lennart Klebl committed
20
21
\def\HUGE{\fontsize{60pt}{60pt}\tuxfont}
\def\Gargantous{\fontsize{240pt}{240pt}\tuxfont}
Lennart Klebl's avatar
Lennart Klebl committed
22
23
24
25
26
27

\newcommand{\emphasize}[1]{{\color{RoyalBlue}\bfseries\slshape #1}}
\setlength{\fboxsep}{10pt}
\setlength{\fboxrule}{5pt}
\newcommand{\redbox}[1]{\color{Mahogany}\framebox{\normalcolor #1}}

Lennart Klebl's avatar
plakat    
Lennart Klebl committed
28
29
30
31
32
33
34
\def\et{{\it\&\ }}
\newcommand{\url}[1]{{\Large\ttfamily\bfseries\color{RoyalBlue}\underline{#1}}}
\newcommand{\position}[2]{
\begin{tikzpicture}[remember picture,overlay,anchor=center]
  \node (test) at (#1) {#2};
\end{tikzpicture}}

Lennart Klebl's avatar
Lennart Klebl committed
35
36
37
\usepackage[pages=all]{background}
\backgroundsetup{scale=1,color=black,opacity=1.0,angle=0,
contents={\includegraphics[width=\paperwidth,height=\paperheight]{paper.jpg}}}