Load template into repository.

This commit is contained in:
Gebruiker
2022-10-04 12:55:47 +02:00
parent c8c73439df
commit 2278b30c14
20 changed files with 444 additions and 0 deletions

50
newspaper-mod.sty Normal file
View File

@@ -0,0 +1,50 @@
\usepackage{newtxtext,newtxmath}
\usepackage{etoolbox}
\newcommand{\headlinestyle}{\itshape\huge}
\newcommand{\bylinestyle}{\scshape\Large}
\patchcmd{\headline}{#1}{\headlinestyle #1}{}{}
\patchcmd{\byline}{#1}{\bylinestyle #1}{}{}
\newcommand{\showInlineImage}[2]
{
$
\begin{array}{c}
\resizebox{0.8\columnwidth}{!}{\includegraphics{#1}} \\
$#2$
\end{array}
$
}
\newcommand{\showOneWriter}[2]
{
$
\hfill
\begin{array}{c}
\begin{tikzpicture}
\clip (0,0) circle (0.2\columnwidth) ;
\node[anchor=center] at (0,0) {\includegraphics[width=0.4\columnwidth]{#1}};
\end{tikzpicture} \\
$#2$
\end{array}
\hfill
$
}
\newcommand{\showTwoWriters}[4]
{
$
\begin{array}{cc}
\begin{tikzpicture}
\clip (0,0) circle (0.2\columnwidth) ;
\node[anchor=center] at (0,0) {\includegraphics[width=0.4\columnwidth]{#1}};
\end{tikzpicture}
&
\begin{tikzpicture}
\clip (0,0) circle (0.2\columnwidth) ;
\node[anchor=center] at (0,0) {\includegraphics[width=0.4\columnwidth]{#3}};
\end{tikzpicture} \\
$#2$ & $#4$
\end{array}
$
}