documented schild command
This commit is contained in:
parent
0ae7d566a6
commit
afd7b1f1a2
|
@ -195,7 +195,7 @@
|
|||
% pagestyle
|
||||
\pagestyle{empty}
|
||||
|
||||
\newcommand{\schild}[4]{
|
||||
\newcommand{\schild}[5]{
|
||||
\begin{minipage}[b][\textheight][b]{.25\textwidth}%
|
||||
\centering
|
||||
% QR code url is 3rd argument
|
||||
|
@ -223,7 +223,7 @@
|
|||
#1
|
||||
\end{fitbox}
|
||||
|
||||
\vspace{0cm}
|
||||
\ifthenelse{\not{\equal{#5}{}}}{\vspace{#5}}{}
|
||||
\begin{fitbox}{\textwidth}{.22\textheight}
|
||||
\centering
|
||||
#2
|
||||
|
|
|
@ -1,7 +1,16 @@
|
|||
\documentclass{kifschild}
|
||||
\begin{document}
|
||||
% build as many signs as you may want.
|
||||
% \schild{<text1>}{<text2>}{<qr-url>}{<image-url>}{<spacing>}
|
||||
% <text1> The Text that takes the bigger part of the Sign. It fits to its bounds.
|
||||
% <text2> The Text that takes the lower smaller part of the sign. Also fits to bounds.
|
||||
% <qr-url> URL for qr code to generate as an image. Do not use together with <image-url>
|
||||
% Leave it blank for no qr code.
|
||||
% <image-url> local path for image to include. It fits to the space.
|
||||
% Do not use together with <qr-url>. Leave it blank for no image.
|
||||
% <spacing> For finetuning reasons. Add length to space out the boxes for <text1> and <text2>
|
||||
|
||||
\schild{Kein Papier?}{Sag dem Infopoint bescheid}{https://dvb.de}{}
|
||||
\schild{Kein Papier!}{Ich sag' hier niemandem was.}{}{charlie.jpg}
|
||||
\schild{Kein Papier?}{Sag dem Infopoint bescheid}{https://dvb.de}{}{1cm}
|
||||
\schild{Kein Papier!}{Ich sag' hier niemandem was.}{}{charlie.jpg}{}
|
||||
|
||||
\end{document}
|
||||
|
|
Loading…
Reference in a new issue