diff options
-rwxr-xr-x | cli.js | 5 | ||||
-rw-r--r-- | zeitung/figures/captain.png | bin | 0 -> 243318 bytes | |||
-rw-r--r-- | zeitung/parts/studenttemplate.tex | 2 |
3 files changed, 6 insertions, 1 deletions
@@ -150,6 +150,11 @@ if ((idx = params.indexOf("-r")) > -1) { "\n\n\\begin{small}\\renewcommand{\\arraystretch}{1.5}\\hspace*{\\commentsx}\\begin{tabularx}{\\commentswidth}{*{2}{>{\\RaggedRight\\arraybackslash}X}}"; for (let i = 0; i < comments.length; i += 2) { const first = comments[i].comment; + if (comments[i] && !comments[i + 1]) { + textex += `\\multicolumn{2}{p{\\commentswidth}}{\\RaggedRight{${sanitize(first)}}}`; + break; + } + const second = comments[i + 1] ? comments[i + 1].comment : " "; textex += `${sanitize(first)} & ${sanitize(second)} \\\\\n`; if (i + 2 < comments.length) textex += " \\specialrule{.03em}{0em}{0em}\n"; diff --git a/zeitung/figures/captain.png b/zeitung/figures/captain.png Binary files differnew file mode 100644 index 0000000..a2d381f --- /dev/null +++ b/zeitung/figures/captain.png diff --git a/zeitung/parts/studenttemplate.tex b/zeitung/parts/studenttemplate.tex index 853f0e6..5523202 100644 --- a/zeitung/parts/studenttemplate.tex +++ b/zeitung/parts/studenttemplate.tex @@ -67,7 +67,7 @@ } } \put(\textwidth - \qrcodex, 250pt){ - \oddflip[keepaspectratio=true, height=2cm]{vorderseite.png} + \oddflip[keepaspectratio=true, height=3cm]{captain.png} } } } |