aboutsummaryrefslogtreecommitdiff
path: root/zeitung/parts/rankingtemplate.tex
diff options
context:
space:
mode:
Diffstat (limited to 'zeitung/parts/rankingtemplate.tex')
-rw-r--r--zeitung/parts/rankingtemplate.tex8
1 files changed, 7 insertions, 1 deletions
diff --git a/zeitung/parts/rankingtemplate.tex b/zeitung/parts/rankingtemplate.tex
index 6603fd5..4ab70fe 100644
--- a/zeitung/parts/rankingtemplate.tex
+++ b/zeitung/parts/rankingtemplate.tex
@@ -3,5 +3,11 @@
}
\providecommand\rankinganswer[2]{
- \item #1: #2
+ \item #1:
+ \setcounter{bottlecnt}{0}
+ \setcounter{bottlemax}{#2}
+ \stepcounter{bottlemax} % There is no <= in forloop
+ \forloop{bottlecnt}{1}{\value{bottlecnt} < \value{bottlemax}}{
+ \includegraphics[scale=.03]{flasche.png}
+ }
}