aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2024-12-06 09:31:42 +0800
committerAaron LI <aly@aaronly.me>2024-12-06 09:34:44 +0800
commit944767c9a48d794ec3e6076d202be7c09249d3e9 (patch)
treea95c3bfeb71ebe1e6ea3ad84851aea731bc29263
parent664ed4b92c5e792dcf275ba062a00d6c2e699c3b (diff)
downloadresume-944767c9a48d794ec3e6076d202be7c09249d3e9.tar.bz2
class: Suppress the trailing blank after the right-placed photo
-rw-r--r--resume.cls8
1 files changed, 4 insertions, 4 deletions
diff --git a/resume.cls b/resume.cls
index 1bea11d..adb558c 100644
--- a/resume.cls
+++ b/resume.cls
@@ -276,12 +276,12 @@
\begin{minipage}{\@photo@width}
\ifdefstring{\@photo@shape}{square}{%
\tikz\path[fill overzoom image={#3}]
- rectangle (\linewidth, \linewidth);%
+ rectangle (\linewidth, \linewidth);% (suppress blank)
}{%
\tikz\path[fill overzoom image={#3}]
- circle[radius=0.5\linewidth];%
+ circle[radius=0.5\linewidth];% (suppress blank)
}%
- \end{minipage}
+ \end{minipage}% (suppress blank)
}
}
@@ -343,7 +343,7 @@
\end{minipage}
\ifdef{\@photo}{%
% photo on the right side
- \ifdefstring{\@photo@position}{left}{}{\hfill\@photo}
+ \ifdefstring{\@photo@position}{left}{}{\hfill\@photo}% (suppress blank)
}{}
}