aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarvin Borner2021-05-26 22:03:39 +0200
committerMarvin Borner2021-05-26 22:03:39 +0200
commitac791528a092f3c2edf73250ba4341b62015aa85 (patch)
tree416221bf6a672a1289a16a0f8b0486748da07305
parent1f31023a1c8bf0c21b836e8d7435ce07858d9cf7 (diff)
ok
-rwxr-xr-xhelper.js2
-rw-r--r--zeitung/.gitignore1
-rw-r--r--zeitung/parts/studenttemplate.tex21
3 files changed, 14 insertions, 10 deletions
diff --git a/helper.js b/helper.js
index e7ef5d7..f72ffa7 100755
--- a/helper.js
+++ b/helper.js
@@ -25,7 +25,7 @@ async function ssvToObj(ssv) {
for (const line of lines) {
const [t, u, c] = line.split(";");
if (obj.hasOwnProperty(u)) obj[u].push(`${c} - ${t}`);
- else obj[u] = [`${c} - ${t}`];
+ else obj[u] = [`${c} ~ ${t} als 10-Jahres Prognose`];
}
return obj;
}
diff --git a/zeitung/.gitignore b/zeitung/.gitignore
index f0d42f5..1340407 100644
--- a/zeitung/.gitignore
+++ b/zeitung/.gitignore
@@ -1,6 +1,7 @@
build/
*.log
*.pdf
+*.tmp
svg-inkscape/
parts/generated/**/*.tex
parts/generated/students/figures/
diff --git a/zeitung/parts/studenttemplate.tex b/zeitung/parts/studenttemplate.tex
index 9197ebc..853f0e6 100644
--- a/zeitung/parts/studenttemplate.tex
+++ b/zeitung/parts/studenttemplate.tex
@@ -66,6 +66,9 @@
\qrcode[nolink, height=0.7in]{#2}
}
}
+ \put(\textwidth - \qrcodex, 250pt){
+ \oddflip[keepaspectratio=true, height=2cm]{vorderseite.png}
+ }
}
}
}
@@ -79,8 +82,9 @@
\def\tablewidth{0.55\linewidth} % Right side
\fi
-\hspace*{\tablex}\large\begin{minipage}{\tablewidth}
- \begin{small}
+\hspace*{\tablex}\vspace*{1.4cm}\begin{minipage}{\tablewidth}
+ \vspace*{.5cm}
+ \begin{normalsize}
\begin{tabular}{@{}ll@{}}
\textbf{Name:} & \stdname \\
\textbf{Geburtstag:} & \multicolumn{1}{p{\tablewidth}}{\RaggedRight\stdbirthday} \\
@@ -88,18 +92,17 @@
\textbf{Hassfach:} & \multicolumn{1}{p{\tablewidth}}{\RaggedRight\stdhatesub} \\
\textbf{Hobbies:} & \multicolumn{1}{p{\tablewidth}}{\RaggedRight\stdhobbies} \\
\textbf{Musik:} & \multicolumn{1}{p{\tablewidth}}{\RaggedRight\stdmusic} \\
- \end{tabular}\\~\\
- \textbf{Das werde ich am meisten vermissen:}\\\stdmissing\\~\\
- \textbf{Ohne das hätte ich die Oberstufe nicht geschafft:}\\\stdmotivation\\~\\
- \textbf{Lebensmotto:}\\\stdquote\\~\\
+ \end{tabular}\\
+ \textbf{Das werde ich am meisten vermissen:}\\\stdmissing\\
+ \textbf{Ohne das hätte ich die Oberstufe nicht geschafft:}\\\stdmotivation\\
+ \textbf{Lebensmotto:}\\\stdquote\\
\textbf{Zukunftspläne:}\\\stdfuture\\~\\
- %\textbf{Erkennungsmerkmale:}\\\stdidk\\~\\
- \end{small}
+ \end{normalsize}
\end{minipage}
% Characteristics
\providecommand\studentchar[1]{
- {\small \textbf{#1}}
+ {\normalsize \textbf{#1}}
}
% Divider