mirror of
https://github.com/fsr/ese-spiel
synced 2024-11-14 20:03:10 +01:00
Created Schilder for ESE-Spiel locations.
This commit is contained in:
parent
6db71a14ca
commit
09fa5ccaba
BIN
LogoCropped.pdf
Normal file
BIN
LogoCropped.pdf
Normal file
Binary file not shown.
6
Schilder/README.md
Normal file
6
Schilder/README.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
##Schilder
|
||||
Mit Hilfe dieses TEX-Dokumentes könenn Schilder generiert werden. Wenn keine weiteren Änderungen vorgenommen werden sollen, einfach orte.csv anpassen.
|
||||
Pro Zeile einen Ort. Bitte aufpassen nicht zu lange Namne zu benutzen.
|
||||
Die Farbe kann im Dokument in Zeile 21 unter dem Alias \eseColor angepasst werden.
|
||||
|
||||
Das Tex-File ist noch etwas buggy und produizert ein Schild zu viel ohne Aufschrift bei ungerader Anzahl an Orten.
|
BIN
Schilder/eseSchildgenerator.pdf
Normal file
BIN
Schilder/eseSchildgenerator.pdf
Normal file
Binary file not shown.
80
Schilder/eseSchildgenerator.tex
Normal file
80
Schilder/eseSchildgenerator.tex
Normal file
|
@ -0,0 +1,80 @@
|
|||
\documentclass[12pt, a4paper]{article}
|
||||
|
||||
\usepackage[left=0.4cm, right=0.00cm, top=1.5cm, bottom=0.5cm]{geometry}
|
||||
\usepackage{fontspec}
|
||||
\usepackage{xcolor}
|
||||
\usepackage{colortbl}
|
||||
\usepackage[utf8]{inputenc}
|
||||
\usepackage[ngerman]{babel}
|
||||
\usepackage{float}
|
||||
\usepackage{amsmath}% http://ctan.org/pkg/amsmath
|
||||
\usepackage{tabularx}
|
||||
\usepackage{multirow}
|
||||
\usepackage{tikz}
|
||||
\usepackage{xifthen}
|
||||
\usepackage{color, colortbl}
|
||||
\usepackage[first=5, last=18]{lcg}
|
||||
\usepackage{hyphenat}
|
||||
\usepackage{array,booktabs}
|
||||
\usepackage{lscape}
|
||||
|
||||
\definecolor{eseColor}{RGB}{1, 133, 84}
|
||||
|
||||
\newcolumntype{M}[1]{>{\centering\arraybackslash}m{#1}}
|
||||
|
||||
\pagenumbering{gobble}
|
||||
|
||||
\setmainfont{Exo2-Regular.ttf}
|
||||
|
||||
% \linespread{1.3}
|
||||
|
||||
\def\chopline#1\\{
|
||||
\def\name{#1}
|
||||
}
|
||||
|
||||
\newif\ifmore \moretrue
|
||||
\newif\ifnewpage \newpagetrue
|
||||
|
||||
\newboolean{newPage}
|
||||
\setboolean{newPage}{true}
|
||||
|
||||
\begin{document}
|
||||
\newread\quelle
|
||||
\openin\quelle=orte.csv
|
||||
|
||||
\loop
|
||||
\read\quelle to \zeile
|
||||
\ifeof\quelle
|
||||
\global\morefalse
|
||||
\else
|
||||
\expandafter\chopline\zeile\\
|
||||
\read\quelle to \zeilee
|
||||
\ifeof\quelle
|
||||
\global\morefalse
|
||||
\fi
|
||||
|
||||
\begin{tikzpicture}
|
||||
\ifthenelse{\NOT \isundefined{\zeile}{}}{
|
||||
\filldraw[fill=eseColor, draw=black, rounded corners=8pt] (0,0) rectangle (18, 13);
|
||||
\filldraw[fill=white, draw=black, rounded corners=8pt] (0.5 ,0.5) rectangle (17.5,12.5);
|
||||
\node at (9, 6.5){\fontsize{60}{60}\selectfont\zeile};
|
||||
\node at (15, 11){\includegraphics[width=0.2\textwidth]{../LogoCropped.pdf}};
|
||||
}{}
|
||||
|
||||
\draw[dashed] (0, 13.5) -- (19, 13.5);
|
||||
|
||||
\ifthenelse{\NOT \isundefined{\zeilee}{}}{
|
||||
\filldraw[fill=eseColor, draw=black, rounded corners=8pt] (0, 14) rectangle (18, 27);
|
||||
\filldraw[fill=white, draw=black, rounded corners=8pt] (0.5, 14.5) rectangle (17.5, 26.5);
|
||||
\node at (9, 20.5){\fontsize{60}{60}\selectfont \zeilee};
|
||||
\node at (15, 25){\includegraphics[width=0.2\textwidth]{../LogoCropped.pdf}};
|
||||
}{}
|
||||
|
||||
|
||||
\end{tikzpicture}
|
||||
\fi%
|
||||
\ifmore\repeat%
|
||||
%
|
||||
\closein\quelle%
|
||||
%
|
||||
\end{document}
|
14
Schilder/orte.csv
Normal file
14
Schilder/orte.csv
Normal file
|
@ -0,0 +1,14 @@
|
|||
Vorlesung
|
||||
ZIH
|
||||
ascii
|
||||
Meldeamt
|
||||
Bafögamt
|
||||
SLUB
|
||||
Prüfungsamt
|
||||
Countdown
|
||||
Patentamt
|
||||
Auslandsamt
|
||||
Prüfungsamt
|
||||
Jobvermittlung
|
||||
Bühne
|
||||
USZ
|
|
Loading…
Reference in a new issue