diff options
author | Aaron LI <aly@aaronly.me> | 2024-12-06 13:26:42 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2024-12-06 13:26:42 +0800 |
commit | effa434e1d0bb8c142e6be778afcfd0ebcf0fd03 (patch) | |
tree | 4346cdd2dc75113ff3a33430e8a1ae94150fef3e | |
parent | f950475a8b5433457a2f096a90317856fd2e05d3 (diff) | |
download | resume-effa434e1d0bb8c142e6be778afcfd0ebcf0fd03.tar.bz2 |
class: Fix the default position of photo to be left
-rw-r--r-- | resume.cls | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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) }{} } |