aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcli.js1
-rw-r--r--zeitung/figures/boot.pngbin0 -> 55736 bytes
-rw-r--r--zeitung/figures/mittelwelle_r.pngbin0 -> 50057 bytes
-rw-r--r--zeitung/figures/vorderseite.pngbin789642 -> 784713 bytes
-rw-r--r--zeitung/figures/vorderseitebg.pngbin0 -> 1955744 bytes
-rw-r--r--zeitung/main.tex3
-rw-r--r--zeitung/parts/studenttemplate.tex10
-rw-r--r--zeitung/parts/titlepage.tex9
8 files changed, 16 insertions, 7 deletions
diff --git a/cli.js b/cli.js
index 7a29fdc..121fb32 100755
--- a/cli.js
+++ b/cli.js
@@ -74,6 +74,7 @@ if ((idx = params.indexOf("-r")) > -1) {
.replace(/%/g, "\\%")
.replace(/&/g, "\\&")
.replace(/_/g, "\\_")
+ .replace(/#/g, "\\#")
.replace(/\^/g, "\\^")
.replace(
/(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff]|[\u0023-\u0039]\ufe0f?\u20e3|\u3299|\u3297|\u303d|\u3030|\u24c2|\ud83c[\udd70-\udd71]|\ud83c[\udd7e-\udd7f]|\ud83c\udd8e|\ud83c[\udd91-\udd9a]|\ud83c[\udde6-\uddff]|\ud83c[\ude01-\ude02]|\ud83c\ude1a|\ud83c\ude2f|\ud83c[\ude32-\ude3a]|\ud83c[\ude50-\ude51]|\u203c|\u2049|[\u25aa-\u25ab]|\u25b6|\u25c0|[\u25fb-\u25fe]|\u00a9|\u00ae|\u2122|\u2139|\ud83c\udc04|[\u2600-\u26FF]|\u2b05|\u2b06|\u2b07|\u2b1b|\u2b1c|\u2b50|\u2b55|\u231a|\u231b|\u2328|\u23cf|[\u23e9-\u23f3]|[\u23f8-\u23fa]|\ud83c\udccf|\u2934|\u2935|[\u2190-\u21ff])/g,
diff --git a/zeitung/figures/boot.png b/zeitung/figures/boot.png
new file mode 100644
index 0000000..a3fb251
--- /dev/null
+++ b/zeitung/figures/boot.png
Binary files differ
diff --git a/zeitung/figures/mittelwelle_r.png b/zeitung/figures/mittelwelle_r.png
new file mode 100644
index 0000000..005a609
--- /dev/null
+++ b/zeitung/figures/mittelwelle_r.png
Binary files differ
diff --git a/zeitung/figures/vorderseite.png b/zeitung/figures/vorderseite.png
index 2021494..0e19cbd 100644
--- a/zeitung/figures/vorderseite.png
+++ b/zeitung/figures/vorderseite.png
Binary files differ
diff --git a/zeitung/figures/vorderseitebg.png b/zeitung/figures/vorderseitebg.png
new file mode 100644
index 0000000..d7e238c
--- /dev/null
+++ b/zeitung/figures/vorderseitebg.png
Binary files differ
diff --git a/zeitung/main.tex b/zeitung/main.tex
index a0a5681..f1f7050 100644
--- a/zeitung/main.tex
+++ b/zeitung/main.tex
@@ -11,11 +11,12 @@
\usepackage{eso-pic}
\usepackage{ragged2e}
\usepackage{fancyhdr}
-\usepackage{background}
+\usepackage{background,wallpaper}
\usepackage{changepage}
\usepackage{tabularx}
\usepackage{pgf-pie,qrcode}
\usepackage{etoolbox}
+\usepackage[absolute,overlay]{textpos}
% Font % TODO: Colored emojis? (very hard)
\setmainfont[Path=./fonts/]{tierra-nueva.otf}[BoldFont=tierra-nueva-bold.otf]
diff --git a/zeitung/parts/studenttemplate.tex b/zeitung/parts/studenttemplate.tex
index ade08b6..83d8b36 100644
--- a/zeitung/parts/studenttemplate.tex
+++ b/zeitung/parts/studenttemplate.tex
@@ -65,10 +65,10 @@
% Steckbrief Tabelle
\ifoddpage
\def\tablex{0.5\linewidth}
- \def\tablewidth{0.6\linewidth}
+ \def\tablewidth{0.55\linewidth} % Left side
\else
\def\tablex{-0cm}
- \def\tablewidth{0.55\linewidth}
+ \def\tablewidth{0.55\linewidth} % Right side
\fi
\hspace*{\tablex}\large\begin{minipage}{\tablewidth}
@@ -95,7 +95,11 @@
% Divider
\providecommand\divider{
\begin{figure}[H]
- \hspace*{-1.5cm}\includegraphics[keepaspectratio=true, width=\paperwidth]{mittelwelle.png}
+ \ifoddpage
+ \hspace*{-1.5cm}\includegraphics[keepaspectratio=true, width=\paperwidth]{mittelwelle.png}
+ \else
+ \hspace*{-1.5cm}\includegraphics[keepaspectratio=true, width=\paperwidth]{mittelwelle_r.png}
+ \fi
\end{figure}
}
diff --git a/zeitung/parts/titlepage.tex b/zeitung/parts/titlepage.tex
index e5ae94d..6784950 100644
--- a/zeitung/parts/titlepage.tex
+++ b/zeitung/parts/titlepage.tex
@@ -1,5 +1,8 @@
\begin{titlepage}
- \begin{center}
- \includegraphics[width=0.9\textwidth]{vorderseite}
- \end{center}
+ \begin{center}
+ \includegraphics[width=0.9\textwidth]{vorderseite}
+ \end{center}
+
+ \ThisULCornerWallPaper{1.2}{vorderseitebg}
\end{titlepage}
+