aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgen.js5
-rw-r--r--zeitung/parts/imprint.tex22
-rw-r--r--zeitung/parts/quotetemplate.tex8
3 files changed, 19 insertions, 16 deletions
diff --git a/gen.js b/gen.js
index 8c88952..29eea34 100755
--- a/gen.js
+++ b/gen.js
@@ -195,10 +195,9 @@ db.dump().then(async (data) => {
}
const author = genAuthor(quote);
if (i === 0 || author !== genAuthor(data.quotes[i - 1])) {
- textex += `\\large{\\textbf{${author}:}}\\normalsize\\newline\n`;
+ textex += `\\quoteauthor{${author}}\n`;
}
- // textex += `\\quoteadd{${author}}{${sanitize(quote.quote)}}\n`;
- textex += `${quote.quote}\\newline\n`;
+ textex += `\\quoteadd{${sanitize(quote.quote)}}\n`;
i++;
}
// Lol
diff --git a/zeitung/parts/imprint.tex b/zeitung/parts/imprint.tex
index dd628b1..3f8feb3 100644
--- a/zeitung/parts/imprint.tex
+++ b/zeitung/parts/imprint.tex
@@ -6,20 +6,20 @@
\textbf{Hinweis:} Der Inhalt dieser Abizeitung wurde komplett dynamisch mittels \LaTeX\ und JavaScript generiert. Der Source-Code dazu kann hier gefunden werden: \url{https://github.com/marvinborner/abitur2021}. Mit folgendem QR-Code kann diese Zeitung auch digital genossen werden:
\begin{center}
- \qrcode[nolink,height=5in]{https://abizeitung.marvinborner.de?pw=blablavollgeheimundso}
+ \qrcode[nolink,height=5in]{ist doch schon online lel}
\end{center}
\begin{table}[b]
\begin{tabular}{ l l }
- \textbf{V.i.S.d.P} & RBS TG13 \\ % Verantwortlich im Sinne des Presserechts
- \textbf{\LaTeX} & Marvin Borner, Lars Krönner \\
- \textbf{Web-Plattform} & Lars Krönner, Marvin Borner \\
- \textbf{Datenverwaltung} & Marvin Borner, Lars Krönner \\
- \textbf{Web-Hosting} & Marvin Borner \\
- \textbf{Design} & Leia Saumweber, Tomislav Strazanac, Gianluca Marmo, Matthias Schmiegel, Sebastian Sutor \\
- \textbf{Inhalt} & Matthias Schmiegel, Sebastian Sutor \\
- \textbf{Finanzierung \& Werbung} & Lars Mayer \\
- \textbf{Planung \& Organisation} & Matthias Schmiegel, Sebastian Sutor \\
- \textbf{Rechtsabteilung} & Lars Mayer, Sebastian Sutor
+ \textbf{V.i.S.d.P} & RBS TG13 \\ % Verantwortlich im Sinne des Presserechts
+ \textbf{\LaTeX} & Marvin Borner, Lars Krönner \\
+ \textbf{Datenverwaltung} & Marvin Borner, Lars Krönner \\
+ \textbf{Web-Hosting} & Marvin Borner \\
+ \textbf{Web-Plattform} & Lars Krönner, Marvin Borner \\
+ \textbf{Design} & Leia Saumweber, Tomislav Strazanac, Gianluca Marmo, Matthias Schmiegel, Sebastian Sutor \\
+ \textbf{Inhalt} & Matthias Schmiegel, Sebastian Sutor \\
+ \textbf{Finanzierung \& Werbung} & Lars Mayer \\
+ \textbf{Planung \& Organisation} & Matthias Schmiegel, Sebastian Sutor \\
+ \textbf{Rechtsabteilung} & Lars Mayer, Sebastian Sutor
\end{tabular}
\end{table}
diff --git a/zeitung/parts/quotetemplate.tex b/zeitung/parts/quotetemplate.tex
index d196fc5..faa8be3 100644
--- a/zeitung/parts/quotetemplate.tex
+++ b/zeitung/parts/quotetemplate.tex
@@ -1,5 +1,9 @@
\clearpage
-\providecommand\quoteadd[2]{
- \textbf{#1: }#2\newline
+\providecommand\quoteauthor[1]{
+ {\large{\textbf{#1: }}}\newline
+}
+
+\providecommand\quoteadd[1]{
+ #1\newline
}