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}{
|
||||
\en{Dmitry Voronin}
|
||||
\ru{Дмитрий Воронин}
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
\begin{minipage}{0.2\textwidth}
|
||||
% photo.
|
||||
\includegraphics[width=3cm]{photo}
|
||||
\ifphoto
|
||||
\includegraphics[width=3cm]{photo}
|
||||
\fi
|
||||
\end{minipage}
|
||||
\begin{minipage}{0.8\textwidth}
|
||||
% name
|
||||
\hspace{-3mm} % required fix for montserrat font.
|
||||
\sname{\name}
|
||||
\vspace{2mm}\newline
|
||||
|
||||
|
|
Loading…
Reference in a new issue