aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2024-12-06 13:26:42 +0800
committerAaron LI <aly@aaronly.me>2024-12-06 13:26:42 +0800
commiteffa434e1d0bb8c142e6be778afcfd0ebcf0fd03 (patch)
tree4346cdd2dc75113ff3a33430e8a1ae94150fef3e
parentf950475a8b5433457a2f096a90317856fd2e05d3 (diff)
downloadresume-effa434e1d0bb8c142e6be778afcfd0ebcf0fd03.tar.bz2
class: Fix the default position of photo to be left
-rw-r--r--resume.cls8
1 files changed, 3 insertions, 5 deletions
diff --git a/resume.cls b/resume.cls
index f90332c..3603b5a 100644
--- a/resume.cls
+++ b/resume.cls
@@ -12,7 +12,7 @@
%% https://www.latextemplates.com/template/plasmati-graduate-cv
%%
-\ProvidesClass{resume}[2024/12/06 v2.6.1 Resume Class]
+\ProvidesClass{resume}[2024/12/06 v2.6.2 Resume Class]
\LoadClass{article}
%%
@@ -325,9 +325,7 @@
\newcommand*{\makeheader}{
\ifdef{\@photo}{%
\def\@profile@width{\dimexpr \linewidth - \@photo@width - 1em}
- \ifdefstring{\@photo@position}{left}{%
- \@photo\hspace{1em}%
- }{}%
+ \ifdefstring{\@photo@position}{right}{}{\@photo\hspace{1em}}%
}{%
\def\@profile@width{\linewidth}
}%
@@ -342,7 +340,7 @@
\end{minipage}
\ifdef{\@photo}{%
% photo on the right side
- \ifdefstring{\@photo@position}{left}{}{\hfill\@photo}% (suppress blank)
+ \ifdefstring{\@photo@position}{right}{\hfill\@photo}{}% (suppress blank)
}{}
}