diff --git a/tex/const.tex b/tex/const.tex index 2429667..f581564 100644 --- a/tex/const.tex +++ b/tex/const.tex @@ -1,3 +1,11 @@ +% switches. +\newif\ifphoto % show photo. +\newif\ifextra % show extra content. + +\phototrue +\extrafalse + +% personal info. \newcommand{\name}{ \en{Dmitry Voronin} \ru{Дмитрий Воронин} diff --git a/tex/page/title.tex b/tex/page/title.tex index 37a57d1..c2f6f6e 100644 --- a/tex/page/title.tex +++ b/tex/page/title.tex @@ -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