aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-04-29 01:44:48 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-04-29 01:44:48 +0200
commit45220df25771f62d05f2ac63e2dfae9b4ec91a43 (patch)
treed57061963abe720cb61dd469f446764760390e18
parentset PDF properties (diff)
downloadcv-45220df25771f62d05f2ac63e2dfae9b4ec91a43.tar.gz
cv-45220df25771f62d05f2ac63e2dfae9b4ec91a43.zip
factor out picture width
Diffstat (limited to '')
-rw-r--r--cv.tex8
1 files changed, 5 insertions, 3 deletions
diff --git a/cv.tex b/cv.tex
index f69b4fc..76f14e3 100644
--- a/cv.tex
+++ b/cv.tex
@@ -91,14 +91,16 @@
\begin{document}
+\newcommand\CvPictureWidth{3.5cm}
+
\adjustbox{valign=t}{%
- \begin{minipage}{3.5cm}%
- \includegraphics[width=3.5cm]{img/face2020_warm.jpg}
+ \begin{minipage}{\CvPictureWidth}%
+ \includegraphics[width=\CvPictureWidth]{img/face2020_warm.jpg}
\end{minipage}%
}%
\hfill%
\adjustbox{valign=t}{%
- \begin{minipage}{\linewidth-3.5cm-\CvBigSkipLength}%
+ \begin{minipage}{\linewidth-\CvPictureWidth-\CvBigSkipLength}%
{\bfseries\large \CvName}\\*
{\color{CvRuleColor} Last updated on: \today}
\CvBigSkip