add switches for photo and extras.
This commit is contained in:
parent
ef256dfd62
commit
3ddda73b8f
|
@ -1,3 +1,11 @@
|
||||||
|
% switches.
|
||||||
|
\newif\ifphoto % show photo.
|
||||||
|
\newif\ifextra % show extra content.
|
||||||
|
|
||||||
|
\phototrue
|
||||||
|
\extrafalse
|
||||||
|
|
||||||
|
% personal info.
|
||||||
\newcommand{\name}{
|
\newcommand{\name}{
|
||||||
\en{Dmitry Voronin}
|
\en{Dmitry Voronin}
|
||||||
\ru{Дмитрий Воронин}
|
\ru{Дмитрий Воронин}
|
||||||
|
|
|
@ -1,9 +1,12 @@
|
||||||
\begin{minipage}{0.2\textwidth}
|
\begin{minipage}{0.2\textwidth}
|
||||||
% photo.
|
% photo.
|
||||||
\includegraphics[width=3cm]{photo}
|
\ifphoto
|
||||||
|
\includegraphics[width=3cm]{photo}
|
||||||
|
\fi
|
||||||
\end{minipage}
|
\end{minipage}
|
||||||
\begin{minipage}{0.8\textwidth}
|
\begin{minipage}{0.8\textwidth}
|
||||||
% name
|
% name
|
||||||
|
\hspace{-3mm} % required fix for montserrat font.
|
||||||
\sname{\name}
|
\sname{\name}
|
||||||
\vspace{2mm}\newline
|
\vspace{2mm}\newline
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue