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

119 lines
3.5 KiB
TeX
Raw Normal View History

\documentclass[10pt]{scrreprt}
2014-09-18 16:59:28 +02:00
\usepackage[twoside
,papersize={156mm, 218mm}
,layoutsize={148mm, 210mm}
,layouthoffset=4mm
,layoutvoffset=4mm
,top=1.5cm
,bottom=2cm
,footskip=1cm
,textwidth=12cm
2014-09-18 16:59:28 +02:00
,showcrop
2014-09-18 18:24:58 +02:00
,verbose
]{geometry}
\renewcommand*{\chapterheadstartvskip}{}
\usepackage[parfill]{parskip}
\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage{eso-pic}
2014-01-19 21:43:47 +01:00
\usepackage{caption}
\usepackage{hyperref}
2014-03-02 14:01:18 +01:00
\usepackage{wrapfig}
\usepackage{menukeys}
\usepackage{url}
\usepackage{amssymb}
2014-08-22 13:29:09 +02:00
\usepackage{eurosym}
2014-08-30 15:32:36 +02:00
\usepackage{multicol}
\setlength{\multicolsep}{0.5em}
2014-08-30 15:49:16 +02:00
\usepackage{longtable}
\usepackage{fontspec}
\usepackage{polyglossia}
\setmainlanguage{german}
\newcommand{\glqq}{}
\newcommand{\grqq}{}
\definecolor{ifsrgreen}{rgb}{0.69, 0.88, 0.11} % 177, 225, 28
\definecolor{ifsrgray}{rgb}{0.6, 0.6, 0.6} % 153, 153, 153
\changemenucolor{gray}{bg}{named}{ifsrgreen} %background of the menukeys
\changemenucolor{gray}{br}{named}{white} %border of the menukeys
%\changemenucolor{gray}{txt}{named}{white} %text of the menukeys
\setmainfont{PT Sans}
\setkomafont{chapter}{\color{ifsrgreen}\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{Roboto}}
\newcounter{linkcounter}
\newcommand\linklist{}
\makeatletter
\newcommand{\link}[1]{%
\edef\tmptoken{\detokenize{#1}}%
\@ifundefined{nopanic@link@\tmptoken}{%
\edef\@linknumber{\arabic{linkcounter}}
\protected@edef\@tmpkey{{\fontsize{9pt}{0}\selectfont\keys{\@linknumber}}}%
\expandafter\global\expandafter\edef\csname nopanic@link@\tmptoken\endcsname{\arabic{linkcounter}}%
%
% Standard print output:
\expandafter\g@addto@macro\expandafter\linklist\expandafter{\@tmpkey & \url{#1}\\}%
%
% Link system output:
% Copypasting the output of the following lines into a text file, then run and execute the result of:
% awk '{print "mkdir " $1 " && echo \"<?php header('\''Location: " $2 "'\''); ?>\" > " $1 "/index.php"}'
%\expandafter\g@addto@macro\expandafter\linklist\expandafter{\expandafter&\expandafter\tiny\@linknumber\ \url{#1}\\}%
%
\stepcounter{linkcounter}%
}{%
\protected@edef\@tmpkey{{\fontsize{9pt}{0}\selectfont\keys{\csname nopanic@link@\tmptoken\endcsname}}}%
}%
\href{#1}{\@tmpkey}%
}
\makeatother
\sloppy % forces "ugly" line breaks
\pagestyle{plain}
2014-01-18 13:44:43 +01:00
\begin{document}
%Das Coverbild, oh gott o.O Aber es funktioniert
\newcommand\CoverPic{%
\put(0,0){%
\parbox[b][\paperheight]{\paperwidth}{%
\vfill
\centering
2014-09-18 18:24:58 +02:00
\includegraphics[width=\dimen107,height=\dimen108,%
keepaspectratio]{cover/Vorne}%
\vfill
}}}
\thispagestyle{empty} %keine Seitenzahl
\AddToShipoutPicture*{\CoverPic}
\mbox{} %brauche leeren Content für ne newpage
%\newpage
2014-08-20 13:55:15 +02:00
\include{texte/zeitplan}
\tableofcontents
2014-01-19 22:03:10 +01:00
\include{texte/vorwort}
\include{texte/grusswort}
\include{texte/studienbetrieb}
\include{texte/checkliste}
\include{texte/moduluebersicht}
\include{texte/f1help}
\include{texte/auditorium}
\include{texte/fsr}
\include{texte/cd}
\include{texte/ascii}
\include{texte/zih}
\include{texte/glossar}
2014-02-27 21:23:45 +01:00
\include{texte/links}
\include{texte/campusplan}
\include{texte/werbung}
\include{cover/back}
\end{document}