2018-10-21 01:10:41 +02:00
|
|
|
% !TeX root = main.tex
|
|
|
|
% !TeX program = LuaLaTeX
|
|
|
|
% !TeX encoding = UTF-8
|
|
|
|
|
2018-11-26 23:28:34 +01:00
|
|
|
\documentclass[a4paper,twoside,12pt,ngerman]{scrartcl}
|
2018-10-09 20:30:03 +02:00
|
|
|
|
|
|
|
\usepackage{tabularx}
|
|
|
|
\usepackage[table]{xcolor}
|
|
|
|
\usepackage[left=15mm, right=25mm, top=2.7cm, bottom=2.5cm]{geometry}
|
|
|
|
\usepackage{babel}
|
|
|
|
\usepackage{fontspec}
|
|
|
|
\usepackage{scrlayer}
|
|
|
|
\usepackage{parskip}
|
|
|
|
\usepackage{graphicx}
|
2018-11-26 23:28:34 +01:00
|
|
|
\usepackage{color}
|
2018-10-09 20:30:03 +02:00
|
|
|
\usepackage{wrapfig}
|
2018-10-21 01:10:41 +02:00
|
|
|
\usepackage[tight]{units}
|
2018-10-09 20:30:03 +02:00
|
|
|
\usepackage{amsmath}
|
|
|
|
\usepackage{sectsty}
|
|
|
|
\usepackage{emptypage}
|
|
|
|
\usepackage[colorlinks=true,linkcolor=black,citecolor=black,urlcolor=black]{hyperref}
|
|
|
|
\usepackage{caption}
|
|
|
|
\usepackage{subcaption}
|
|
|
|
\usepackage[activate=true,tracking=true]{microtype}
|
|
|
|
\usepackage[titles]{tocloft}
|
2018-10-09 21:47:00 +02:00
|
|
|
%\usepackage[textsize=small,colorinlistoftodos]{todonotes}
|
|
|
|
\usepackage{fixme}
|
2018-10-09 20:30:03 +02:00
|
|
|
\usepackage{biblatex}
|
|
|
|
\usepackage{hologo}
|
|
|
|
\usepackage{varioref}
|
2018-10-22 22:26:27 +02:00
|
|
|
\usepackage{csvsimple}
|
2018-12-04 20:12:30 +01:00
|
|
|
\usepackage{tcolorbox}
|
2018-10-09 20:30:03 +02:00
|
|
|
|
2018-11-28 22:11:15 +01:00
|
|
|
\usepackage{refcount,lastpage}
|
|
|
|
\makeatletter
|
|
|
|
\newcommand{\checkmultipleoffour}{%
|
|
|
|
\count@=\getpagerefnumber{LastPage}%
|
|
|
|
\count@=\the\numexpr\count@+1\relax
|
|
|
|
\@tempcnta=\count@
|
|
|
|
\divide\@tempcnta by 4
|
|
|
|
\multiply\@tempcnta by 4
|
|
|
|
\count@=\numexpr\count@-\@tempcnta\relax
|
|
|
|
\ifnum\count@>0
|
|
|
|
\pagestyle{empty}
|
|
|
|
\loop\ifnum\count@<3
|
|
|
|
\null\clearpage
|
|
|
|
\advance\count@\@ne
|
|
|
|
\repeat
|
|
|
|
\fi
|
|
|
|
\input{backside.tex}
|
|
|
|
}
|
|
|
|
\makeatother
|
|
|
|
\AtEndDocument{\checkmultipleoffour}
|
|
|
|
|
2018-10-09 20:30:03 +02:00
|
|
|
% font settings
|
|
|
|
\directlua{
|
|
|
|
fonts.handlers.otf.addfeature{
|
|
|
|
name = "liga",
|
|
|
|
type = "ligature",
|
|
|
|
data = {
|
|
|
|
['fi'] = { "f", "i" },
|
|
|
|
['fl'] = { "f", "l" },
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
\setmainfont{Delicious}
|
|
|
|
|
|
|
|
% Captions
|
|
|
|
\captionsetup[figure]{justification=centerlast,font={normalsize,it}}
|
|
|
|
\captionsetup[subfigure]{labelformat=empty,labelsep=colon,justification=centerlast,font={normalsize,it}}
|
|
|
|
|
|
|
|
% varioref
|
|
|
|
\labelformat{figure}{Abbildung~#1}
|
2018-11-26 23:28:34 +01:00
|
|
|
\labelformat{section}{Abschnitt~#1}
|
2018-10-09 20:30:03 +02:00
|
|
|
|
|
|
|
% footnote: some more room between text and footnote
|
|
|
|
\addtolength{\skip\footins}{2pc plus 5pt}
|
|
|
|
|
|
|
|
% Farben
|
|
|
|
\definecolor{tableRow1}{RGB}{77, 156, 164}
|
|
|
|
\definecolor{tableRowHead}{RGB}{255, 126, 119}
|
|
|
|
\definecolor{primary}{RGB}{1, 74, 81}
|
|
|
|
|
|
|
|
\sectionfont{\color{primary}}
|
|
|
|
\subsectionfont{\color{primary}}
|
|
|
|
|
|
|
|
% for wrapfigure
|
|
|
|
\setlength{\columnsep}{2\columnsep}%
|
|
|
|
|
2018-11-29 01:05:33 +01:00
|
|
|
% Boxen
|
2018-12-04 20:12:30 +01:00
|
|
|
\newtcolorbox{hint}{%
|
|
|
|
colback=tableRow1!50,%
|
|
|
|
colframe=tableRow1,%
|
|
|
|
sharp corners,%
|
|
|
|
boxrule=0.2mm,%
|
|
|
|
}
|
|
|
|
\newtcolorbox{vcard}[1]{%
|
|
|
|
colback=tableRow1!50,%
|
|
|
|
colframe=tableRow1,%
|
|
|
|
sharp corners,%
|
|
|
|
title=#1,%
|
|
|
|
height=5cm,%
|
|
|
|
left=1mm,%
|
|
|
|
bottom=1mm,%
|
|
|
|
fonttitle=\bfseries,%
|
|
|
|
boxrule=0.2mm%
|
|
|
|
}
|
2018-11-29 01:05:33 +01:00
|
|
|
|
2018-10-09 20:30:03 +02:00
|
|
|
% sections ohne Nummer!
|
|
|
|
% Besser als \section*, da so die section ins toc kommt!
|
|
|
|
\setcounter{secnumdepth}{0}
|
|
|
|
|
|
|
|
% tocloft - Inhaltsverzeichnis formatieren
|
2018-11-26 23:28:34 +01:00
|
|
|
%\addtocontents{toc}{\cftpagenumbersoff{section}}
|
|
|
|
%\addtocontents{toc}{\cftpagenumbersoff{subsection}}
|
|
|
|
%\addtocontents{toc}{\cftpagenumbersoff{subsubsection}}
|
2018-10-09 20:30:03 +02:00
|
|
|
\renewcommand{\cftsecfont}{}
|
2018-11-28 22:11:15 +01:00
|
|
|
\renewcommand{\cftsecpagefont}{}
|
2018-10-09 20:30:03 +02:00
|
|
|
|
2018-11-26 23:28:34 +01:00
|
|
|
\pagenumbering{arabic}
|
|
|
|
|
2018-10-09 20:30:03 +02:00
|
|
|
% Standardseiten
|
|
|
|
\DeclareNewLayer[oddpage,
|
|
|
|
align=tr,
|
|
|
|
hoffset=\dimexpr\paperwidth-20mm\relax,
|
|
|
|
voffset=6.3mm,
|
|
|
|
width=16.3mm,
|
|
|
|
height=20mm,
|
|
|
|
contents={%
|
|
|
|
\includegraphics[height=20mm]{Bilder/logo.pdf}
|
|
|
|
}]{RWLogo}
|
|
|
|
\DeclareNewLayer[oddpage,
|
|
|
|
align=tr,
|
|
|
|
hoffset=\dimexpr\paperwidth-32mm\relax,
|
|
|
|
voffset=10mm,
|
|
|
|
width=40mm,
|
|
|
|
height=20mm,
|
|
|
|
contents={%
|
|
|
|
\fontspec{Delicious-Roman}[] Rodgauer Workshop
|
|
|
|
}]{RWText}
|
|
|
|
\DeclareNewLayer[oddpage,
|
|
|
|
align=tl,
|
|
|
|
hoffset=15mm,
|
2018-10-23 23:35:08 +02:00
|
|
|
voffset=\dimexpr\paperheight-14.5mm\relax,
|
|
|
|
width=12mm,
|
|
|
|
height=8mm,
|
|
|
|
contents={%
|
|
|
|
\includegraphics[width=8mm]{Bilder/LogoBeauDuCiel.pdf}
|
|
|
|
}]{RWFootLogo}
|
|
|
|
\DeclareNewLayer[oddpage,
|
|
|
|
align=tl,
|
|
|
|
hoffset=25mm, % 15mm without Logo
|
2018-10-09 20:30:03 +02:00
|
|
|
voffset=\dimexpr\paperheight-15mm\relax,
|
|
|
|
width=70mm,
|
|
|
|
height=10mm,
|
|
|
|
contents={%
|
|
|
|
{\fontspec{Delicious-Roman}[]
|
2018-10-23 23:35:08 +02:00
|
|
|
\scriptsize https://www.beauduciel.fr/\\[-4pt] https://www.rodgauer-workshop.de}
|
2018-10-09 20:30:03 +02:00
|
|
|
}]{RWurl}
|
|
|
|
\DeclareNewLayer[evenpage,
|
|
|
|
align=tl,
|
2018-10-09 23:17:42 +02:00
|
|
|
hoffset=8mm,
|
2018-10-09 20:30:03 +02:00
|
|
|
voffset=7mm,
|
|
|
|
width=16.3mm,
|
2018-10-09 23:17:42 +02:00
|
|
|
height=15.6mm,
|
2018-10-09 20:30:03 +02:00
|
|
|
contents={%
|
|
|
|
\includegraphics[height=16mm]{Bilder/A318.pdf}
|
|
|
|
}]{RWkite}
|
|
|
|
\DeclareNewLayer[evenpage,
|
|
|
|
align=tl,
|
|
|
|
hoffset=25mm,
|
|
|
|
voffset=10mm,
|
|
|
|
width=40mm,
|
|
|
|
height=15mm,
|
|
|
|
contents={%
|
|
|
|
\fontspec{Delicious-Roman}[] A318
|
|
|
|
}]{RWname}
|
|
|
|
\DeclareNewLayer[evenpage,
|
|
|
|
align=tr,
|
|
|
|
hoffset=\dimexpr\paperwidth-15mm\relax,
|
|
|
|
voffset=\dimexpr\paperheight-15mm\relax,
|
|
|
|
width=70mm,
|
|
|
|
height=10mm,
|
|
|
|
contents={%
|
2018-11-27 01:49:50 +01:00
|
|
|
{\fontspec{Delicious-Roman}[] \scriptsize\hfill A318-Workshop, 9. und 16. März 2019}
|
2018-10-09 20:30:03 +02:00
|
|
|
}]{RWdate}
|
2018-11-26 23:28:34 +01:00
|
|
|
\DeclareNewLayer[evenpage,
|
|
|
|
align=tl,
|
|
|
|
hoffset=25mm,
|
|
|
|
voffset=\dimexpr\paperheight-15mm\relax,
|
|
|
|
width=20mm,
|
|
|
|
height=10mm,
|
|
|
|
contents={%
|
|
|
|
{\fontspec{Delicious-Roman}[]\thepage{}}
|
|
|
|
}]{RWPagenumberEven}
|
|
|
|
\DeclareNewLayer[oddpage,
|
|
|
|
align=tr,
|
|
|
|
hoffset=\dimexpr\paperwidth-25mm\relax,
|
|
|
|
voffset=\dimexpr\paperheight-15mm\relax,
|
|
|
|
width=20mm,
|
|
|
|
height=10mm,
|
|
|
|
contents={%
|
|
|
|
{\hfill\fontspec{Delicious-Roman}[]\thepage{}}
|
|
|
|
}]{RWPagenumberOdd}
|
2018-10-09 20:30:03 +02:00
|
|
|
|
|
|
|
% Titelseite
|
|
|
|
\DeclareNewLayer[background,oddpage,
|
|
|
|
align=tl,
|
|
|
|
hoffset=19mm,
|
|
|
|
voffset=0mm,
|
|
|
|
width=56mm,
|
|
|
|
height=304mm,
|
|
|
|
contents={%
|
|
|
|
\includegraphics[width=56mm,height=297mm]{Bilder/vertical_big.jpg}
|
|
|
|
}]{RWtitleBar}
|
|
|
|
\DeclareNewLayer[background,oddpage,
|
|
|
|
align=tl,
|
|
|
|
hoffset=81mm,
|
|
|
|
voffset=261mm,
|
|
|
|
width=14mm,
|
|
|
|
height=18mm,
|
|
|
|
contents={%
|
|
|
|
\includegraphics[width=14mm]{Bilder/logo_bw.pdf}
|
|
|
|
}]{RWtitleLogo}
|
2018-10-21 01:10:41 +02:00
|
|
|
|
|
|
|
% Logo des Drachenentwicklers
|
2018-10-14 13:05:23 +02:00
|
|
|
\DeclareNewLayer[background,oddpage,
|
|
|
|
align=tl,
|
|
|
|
hoffset=81.5mm,
|
|
|
|
voffset=241mm,
|
|
|
|
width=11mm,
|
|
|
|
height=16mm,
|
|
|
|
contents={%
|
2018-10-21 01:10:41 +02:00
|
|
|
\includegraphics[width=14mm]{Bilder/LogoBeauDuCiel.pdf}
|
2018-10-14 13:05:23 +02:00
|
|
|
}]{RWguestLogo}
|
|
|
|
\DeclareNewLayer[foreground,oddpage,
|
|
|
|
align=tl,
|
|
|
|
hoffset=97.3mm,
|
|
|
|
voffset=245.5mm,
|
|
|
|
width=100mm,
|
|
|
|
height=30mm,
|
2018-10-21 01:10:41 +02:00
|
|
|
contents={
|
2018-10-14 13:05:23 +02:00
|
|
|
{\fontspec{MadameFlacon}[]\Large Beau Du Ciel}
|
|
|
|
}]{RWguest}
|
2018-10-21 01:10:41 +02:00
|
|
|
|
|
|
|
|
2018-10-09 20:30:03 +02:00
|
|
|
\DeclareNewLayer[foreground,oddpage,
|
|
|
|
align=tl,
|
|
|
|
hoffset=5mm,
|
|
|
|
voffset=23mm,
|
|
|
|
width=84mm,
|
2018-10-09 23:17:42 +02:00
|
|
|
height=80.45mm,
|
2018-10-09 20:30:03 +02:00
|
|
|
contents={%
|
|
|
|
\includegraphics[width=84mm]{Bilder/A318.pdf}
|
|
|
|
}]{RWkiteLogo}
|
|
|
|
\makeatletter
|
|
|
|
\DeclareNewLayer[foreground,oddpage,
|
|
|
|
align=tl,
|
|
|
|
hoffset=81mm,
|
|
|
|
voffset=44mm,
|
|
|
|
width=115mm,
|
|
|
|
height=60mm,
|
|
|
|
contents={%
|
|
|
|
{\huge\@title\\}
|
|
|
|
|
|
|
|
{\large\@date}
|
|
|
|
}]{RWtitle}
|
|
|
|
\DeclareNewLayer[foreground,oddpage,
|
|
|
|
align=tl,
|
|
|
|
hoffset=81mm,
|
|
|
|
voffset=212mm,
|
|
|
|
width=100mm,
|
|
|
|
height=15mm,
|
|
|
|
contents={%
|
|
|
|
{\huge Materialsammlung}
|
|
|
|
}]{RWsammlung}
|
|
|
|
\DeclareNewLayer[foreground,oddpage,
|
|
|
|
align=tl,
|
|
|
|
hoffset=97.3mm,
|
|
|
|
voffset=262.5mm,
|
|
|
|
width=100mm,
|
|
|
|
height=30mm,
|
|
|
|
contents={%
|
|
|
|
{\@author}
|
|
|
|
}]{RWauthor}
|
|
|
|
\makeatother
|
|
|
|
|
|
|
|
% chapter pager
|
|
|
|
\newcommand{\RWChapterTitle}{Chapter Title}
|
|
|
|
\newcommand{\RWChapterSubtitle}{Subtitle of the chapter}
|
|
|
|
\newcommand{\RWChapter}[2]{\renewcommand{\RWChapterTitle}{#1}\renewcommand{\RWChapterSubtitle}{#2}}
|
|
|
|
\DeclareNewLayer[background,oddpage,
|
|
|
|
align=tl,
|
|
|
|
hoffset=0mm,
|
|
|
|
voffset=55mm,
|
|
|
|
width=170mm,
|
|
|
|
height=30mm,
|
|
|
|
contents={%
|
|
|
|
\includegraphics[width=\layerwidth,height=\layerheight]{Bilder/horizontal_big.jpg}
|
|
|
|
}]{RWchapterBar}
|
|
|
|
\DeclareNewLayer[foreground,oddpage,
|
|
|
|
clone=RWchapterBar,
|
|
|
|
addhoffset=15mm,
|
|
|
|
addwidth=-25mm,
|
|
|
|
contents={%
|
|
|
|
\vfill
|
|
|
|
\begin{flushright}
|
|
|
|
\huge\RWChapterTitle\\[10pt]
|
|
|
|
\large\RWChapterSubtitle
|
|
|
|
\end{flushright}
|
|
|
|
\vfill
|
|
|
|
}]{RWchapterTitle}
|
|
|
|
|
2018-11-26 23:28:34 +01:00
|
|
|
% Backside
|
|
|
|
\DeclareNewLayer[%
|
|
|
|
align=tl,
|
|
|
|
hoffset=15mm,
|
2018-11-29 01:05:33 +01:00
|
|
|
voffset=21.5cm,
|
2018-11-26 23:28:34 +01:00
|
|
|
width=35mm,
|
|
|
|
height=60mm,
|
|
|
|
contents={%
|
|
|
|
\includegraphics[width=35mm]{opensource.pdf}
|
|
|
|
}]{OSILogo}
|
|
|
|
|
|
|
|
|
|
|
|
\DeclareNewPageStyleByLayers{RodgauerWorkshop}{RWLogo,RWText,RWurl,RWkite,RWname,RWdate,RWFootLogo,RWPagenumberEven,RWPagenumberOdd}
|
|
|
|
\DeclareNewPageStyleByLayers{RodgauerWorkshopNN}{RWLogo,RWText,RWurl,RWkite,RWname,RWdate,RWFootLogo}
|
2018-10-14 13:05:23 +02:00
|
|
|
\DeclareNewPageStyleByLayers{RWTitlePage}{RWtitleBar,RWtitle,RWauthor,RWsammlung,RWtitleLogo,RWkiteLogo,RWguestLogo,RWguest}
|
2018-10-09 20:30:03 +02:00
|
|
|
\DeclareNewPageStyleByLayers{RWChapterPage}{RWchapterBar,RWchapterTitle}
|
2018-11-26 23:28:34 +01:00
|
|
|
\DeclareNewPageStyleByLayers{RWBackside}{OSILogo}
|
2018-10-09 20:30:03 +02:00
|
|
|
|
|
|
|
% for todonotes
|
|
|
|
\setlength{\marginparwidth}{2cm}
|
|
|
|
|
|
|
|
% bibliography
|
|
|
|
\setlength{\bibitemsep}{1em}
|
|
|
|
\renewcommand*{\newunitpunct}{\addcomma\space}
|