1
0
Fork 0
mirror of https://github.com/fsr/namensschilder synced 2024-11-15 04:43:10 +01:00
namensschilder/ese/namensschild.tex

61 lines
1.5 KiB
TeX
Raw Normal View History

% XeLaTeX
\documentclass{article}
\usepackage[paperwidth=90mm,paperheight=53.5mm,nohead,nofoot,margin=3mm]{geometry}
\usepackage{graphicx}
\usepackage{xcolor}
\setlength{\parindent}{0pt}
\pagestyle{empty}
\usepackage{fontspec}
\setmainfont{Haettenschweiler}
\newfontfamily{\stampfont}{Top Secret}
%\definecolor{esecolor}{rgb}{0.34, 0.23, 0.46}
2018-10-02 12:42:10 +02:00
\definecolor{logocolor}{rgb}{0.796, 0.376, 0.251}
\definecolor{stampcolor}{rgb}{0.34, 0.34, 0.34}
\raggedright
%\usepackage{background}
2018-10-02 12:42:10 +02:00
\usepackage{color}
%\definecolor{esegreen}{rgb}{0.45, 0.71, 0.34} % 114, 182, 87
%\backgroundsetup{scale=5,angle=0,opacity=1,contents={%
% \begin{tikzpicture}[remember picture,overlay]%
% \path [left color = esegreen, right color = white] (-1,-1) rectangle (1,1);%
% \end{tikzpicture}%
% }%
%}
\newcommand{\karte}[3]{%
2018-10-02 12:42:10 +02:00
\begin{minipage}[b]{.18\textwidth}
\includegraphics[width=1.45cm]{karlchen_thick}%
\end{minipage}
\begin{minipage}[b]{.42\textwidth}
\fontsize{49}{0}\selectfont
\color{logocolor}{ESE}
\fontsize{36.5}{0}\selectfont
\color{logocolor}{2018}
\end{minipage}
%\hspace{-1cm}
\begin{minipage}[b][5em][t]{.3\textwidth}
\rotatebox{10}{%
\stampfont%
\fontsize{25}{0}\selectfont%
\color{stampcolor}{#3}%
}%
2018-10-02 12:42:10 +02:00
\end{minipage}
\vfill%
\raggedleft%
2018-10-02 12:42:10 +02:00
{\fontsize{64}{0}\selectfont #1\par}%
{\fontsize{25}{0}\selectfont #2\par}%
\raggedright%
\clearpage%
}
\begin{document}
2018-10-02 12:42:10 +02:00
\karte{Kevin}{Schmid}{}
\karte{Julius}{Felchow}{}
\end{document}