1
0
mirror of https://gitlab.com/tiggr/a318.git synced 2025-04-11 11:20:41 +02:00

Teilnehmerliste in LaTeX, minor fixes

This commit is contained in:
Marcus J. Ertl 2018-10-22 22:26:27 +02:00
parent b76ccbbe60
commit bba53f17fd
4 changed files with 32 additions and 2 deletions

4
.gitignore vendored
View File

@ -2,6 +2,10 @@
/backside.pdf
/main.pdf
/empty.pdf
.vscode
## Privacy
*.csv
## https://github.com/github/gitignore/blob/master/TeX.gitignore
## Core latex/pdflatex auxiliary files:

View File

@ -85,9 +85,10 @@ Christophe Beauducel möchte diese Gelegenheit nutzen, um neue Fähigkeiten zu e
\newpage
\addcontentsline{toc}{section}{Teilnehmerliste}
\cleardoublepage
\input{teilnehmer.tex}
\newpage
\listoffixmes
\end{document}

View File

@ -27,6 +27,7 @@
\usepackage{biblatex}
\usepackage{hologo}
\usepackage{varioref}
\usepackage{csvsimple}
% font settings
\directlua{

24
teilnehmer.tex Normal file
View File

@ -0,0 +1,24 @@
% !TeX root = main.tex
% !TeX program = LuaLaTeX
% !TeX encoding = UTF-8
\section{Teilnehmerliste}
\setlength{\fboxsep}{8pt}
\csvreader[respect sharp, head to column names]{Daten/teilnehmer.csv}{}{%
\fbox{%
\begin{minipage}[t][5cm][t]{0.45\textwidth}%
\begin{wrapfigure}[5]{l}{0.33\textwidth}
\begin{center}
\vspace{-14pt}
\includegraphics[width=0.33\textwidth]{Bilder/A318.pdf}
\end{center}
\end{wrapfigure}
{\large \Vorname~\Nachname \par}
\ifcsvstrcmp{\Nick}{}{\mbox{ }}{\Nick}\\[6pt]
\Straße\\\PLZ~\Stadt\\
\ifcsvstrcmp{\Land}{Deutschland}{\mbox{ }\\[6pt]}{\Land\\[6pt]}
\ifcsvstrcmp{\Telefon}{}{}{\Telefon\\}\ifcsvstrcmp{\Mail}{}{}{\href{mailto:\Mail}{\Mail}\\}\ifcsvstrcmp{\Website}{}{}{\url{\Website}\\}
\end{minipage}
}%
\csvifoddrow{\hfill}{\\[8pt]}
}%