This commit is contained in:
Jämes Ménétrey 2026-02-19 20:48:06 -08:00 committed by GitHub
commit dce522eb5c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -275,6 +275,10 @@
\def\@photoedge{edge} \def\@photoedge{edge}
\def\@photoalign{left} \def\@photoalign{left}
% Overrides the size of the photo ID if needed.
% Usage: \photosize{<new height/width/diameter>}
\newcommand*{\photosize}[1]{\def\@photosize{#1}}
% Define writer's name % Define writer's name
% Usage: \name{<firstname>}{<lastname>} % Usage: \name{<firstname>}{<lastname>}
% Usage: \firstname{<firstname>} % Usage: \firstname{<firstname>}
@ -509,9 +513,11 @@
\newcommand*{\drawphoto}{% \newcommand*{\drawphoto}{%
\ifthenelse{\isundefined{\@photo}}{}{% \ifthenelse{\isundefined{\@photo}}{}{%
\newlength{\photodim} \newlength{\photodim}
\ifthenelse{\equal{\@photoshape}{circle}}% \ifthenelse{\isundefined{\@photosize}}%
{\setlength{\photodim}{1.3cm}}% {\ifthenelse{\equal{\@photoshape}{circle}}%
{\setlength{\photodim}{1.8cm}}% {\setlength{\photodim}{1.3cm}}%
{\setlength{\photodim}{1.8cm}}}
{\setlength{\photodim}{\@photosize}}%
\ifthenelse{\equal{\@photoedge}{edge}}% \ifthenelse{\equal{\@photoedge}{edge}}%
{\def\@photoborder{darkgray}}% {\def\@photoborder{darkgray}}%
{\def\@photoborder{none}}% {\def\@photoborder{none}}%