diff options
-rwxr-xr-x | cli.js | 4 | ||||
-rw-r--r-- | zeitung/parts/rankingtemplate.tex | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -199,7 +199,7 @@ if ((idx = params.indexOf("-r")) > -1) { q.answers.forEach((a) => { answers[classes.indexOf(a.class)].push({ - name: `${a.name} ${a.middlename || ""} ${a.surname}`, + name: `${a.name} ${a.surname}`, count: a.count, }); }); @@ -216,7 +216,7 @@ if ((idx = params.indexOf("-r")) > -1) { }); rankingtex[ ind - ] += `\\rankingquestion{${q.question}}\n\\begin{enumerate}\n${catted}\\end{enumerate}`; + ] += `\\rankingquestion{${q.question}}\n\\begin{itemize}\n${catted}\\end{itemize}`; // This is 10head const cntamp = rankingtex[ind].split("&").length - 1; diff --git a/zeitung/parts/rankingtemplate.tex b/zeitung/parts/rankingtemplate.tex index 4ab70fe..0bfb9fb 100644 --- a/zeitung/parts/rankingtemplate.tex +++ b/zeitung/parts/rankingtemplate.tex @@ -3,11 +3,11 @@ } \providecommand\rankinganswer[2]{ - \item #1: + \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} + \includegraphics[scale=.027]{flasche.png} } } |