mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
Dev version retroactive commit
This commit is contained in:
parent
525687bde8
commit
581eef622f
19 changed files with 1434 additions and 28 deletions
|
|
@ -121,8 +121,10 @@
|
|||
\renewcommand*{\recomputethemelengths}{%
|
||||
\setlength{\maketitledetailswidth}{\textwidth}%
|
||||
\addtolength{\maketitledetailswidth}{-\maketitlenamewidth}%
|
||||
\addtolength{\maketitledetailswidth}{-\separatorcolumnwidth}%
|
||||
\addtolength{\maketitledetailswidth}{-\maketitlepicturewidth}}
|
||||
\ifthenelse{\lengthtest{\maketitlepicturewidth=0pt}}%
|
||||
{}%
|
||||
{\addtolength{\maketitledetailswidth}{-\separatorcolumnwidth}%
|
||||
\addtolength{\maketitledetailswidth}{-\maketitlepicturewidth}}}
|
||||
\recomputethemelengths
|
||||
\newif\if@firstdetailselement\@firstdetailselementtrue
|
||||
\newcommand*{\maketitledetailsnewline}{
|
||||
|
|
@ -152,11 +154,16 @@
|
|||
% optional photo
|
||||
\ifthenelse{\isundefined{\@photo}}%
|
||||
{}%
|
||||
{\hspace*{\separatorcolumnwidth}\color{firstnamecolor}\framebox{\includegraphics[width=\maketitlepicturewidth]{\@photo}}}\\[3em]%
|
||||
{%
|
||||
\hspace*{\separatorcolumnwidth}%
|
||||
\begin{minipage}[b]{\maketitlepicturewidth}%
|
||||
\raggedleft{}\addressfont\color{addresscolor}% required to correctly align content
|
||||
\framebox{\includegraphics[width=\maketitlepicturewidth]{\@photo}}%
|
||||
\end{minipage}}\\[3em]%
|
||||
% optional quote
|
||||
\ifthenelse{\isundefined{\@quote}}%
|
||||
{}%
|
||||
{\centering{\begin{minipage}{\quotewidth}\centering\quotestyle{\@quote}\end{minipage}}\\[2.5em]}%
|
||||
{{\centering{}\begin{minipage}{\quotewidth}\centering\quotestyle{\@quote}\end{minipage}\\[2.5em]}}%
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue