51 lines
1.1 KiB
TeX
51 lines
1.1 KiB
TeX
\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}
|
|
$
|
|
}
|