mirror of
https://github.com/posquit0/Awesome-CV.git
synced 2026-02-22 21:05:47 +08:00
Merge 9f832151d2 into 36075ed034
This commit is contained in:
commit
dce522eb5c
1 changed files with 9 additions and 3 deletions
|
|
@ -275,6 +275,10 @@
|
|||
\def\@photoedge{edge}
|
||||
\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
|
||||
% Usage: \name{<firstname>}{<lastname>}
|
||||
% Usage: \firstname{<firstname>}
|
||||
|
|
@ -509,9 +513,11 @@
|
|||
\newcommand*{\drawphoto}{%
|
||||
\ifthenelse{\isundefined{\@photo}}{}{%
|
||||
\newlength{\photodim}
|
||||
\ifthenelse{\equal{\@photoshape}{circle}}%
|
||||
{\setlength{\photodim}{1.3cm}}%
|
||||
{\setlength{\photodim}{1.8cm}}%
|
||||
\ifthenelse{\isundefined{\@photosize}}%
|
||||
{\ifthenelse{\equal{\@photoshape}{circle}}%
|
||||
{\setlength{\photodim}{1.3cm}}%
|
||||
{\setlength{\photodim}{1.8cm}}}
|
||||
{\setlength{\photodim}{\@photosize}}%
|
||||
\ifthenelse{\equal{\@photoedge}{edge}}%
|
||||
{\def\@photoborder{darkgray}}%
|
||||
{\def\@photoborder{none}}%
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue