diff options
author | Marvin Borner | 2021-05-25 14:05:35 +0200 |
---|---|---|
committer | Marvin Borner | 2021-05-25 14:05:35 +0200 |
commit | bc3e4b49ef9795872c0785d3e3364a5f3c630126 (patch) | |
tree | 5875dee4f256d6768b1c82cbed150383a14ff896 | |
parent | ad663d667ddb9c1e5b6b729eb3840b0040c6ebf0 (diff) |
Smaller text size
-rwxr-xr-x | cli.js | 4 | ||||
-rw-r--r-- | zeitung/parts/studenttemplate.tex | 30 |
2 files changed, 18 insertions, 16 deletions
@@ -144,14 +144,14 @@ if ((idx = params.indexOf("-r")) > -1) { // Comments contents intents indents events if (comments && comments.length > 0) { textex += - "\n\n\\renewcommand{\\arraystretch}{1.5}\\hspace*{\\commentsx}\\begin{tabularx}{\\commentswidth}{*{2}{>{\\RaggedRight\\arraybackslash}X}}"; + "\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; 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"; } - textex += "\\end{tabularx}\\renewcommand{\\arraystretch}{1}"; + textex += "\\end{tabularx}\\renewcommand{\\arraystretch}{1}\\end{small}"; } await fs.writeFile( diff --git a/zeitung/parts/studenttemplate.tex b/zeitung/parts/studenttemplate.tex index 08df0c0..9197ebc 100644 --- a/zeitung/parts/studenttemplate.tex +++ b/zeitung/parts/studenttemplate.tex @@ -80,24 +80,26 @@ \fi \hspace*{\tablex}\large\begin{minipage}{\tablewidth} - \begin{tabular}{@{}ll@{}} - \textbf{Name:} & \stdname \\ - \textbf{Geburtstag:} & \multicolumn{1}{p{\tablewidth}}{\RaggedRight\stdbirthday} \\ - \textbf{Lieblingsfach:} & \multicolumn{1}{p{\tablewidth}}{\RaggedRight\stdfavsub} \\ - \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\\~\\ - \textbf{Zukunftspläne:}\\\stdfuture\\~\\ - %\textbf{Erkennungsmerkmale:}\\\stdidk\\~\\ + \begin{small} + \begin{tabular}{@{}ll@{}} + \textbf{Name:} & \stdname \\ + \textbf{Geburtstag:} & \multicolumn{1}{p{\tablewidth}}{\RaggedRight\stdbirthday} \\ + \textbf{Lieblingsfach:} & \multicolumn{1}{p{\tablewidth}}{\RaggedRight\stdfavsub} \\ + \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\\~\\ + \textbf{Zukunftspläne:}\\\stdfuture\\~\\ + %\textbf{Erkennungsmerkmale:}\\\stdidk\\~\\ + \end{small} \end{minipage} % Characteristics \providecommand\studentchar[1]{ - \textbf{#1} + {\small \textbf{#1}} } % Divider |