mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
Make header details flush against sides (#229)
* Make header details flush against sides * Add fix to changelog
This commit is contained in:
parent
d7e0e4966e
commit
56d1b65d9e
3 changed files with 8 additions and 6 deletions
|
|
@ -5,6 +5,8 @@ version next
|
||||||
- Include social icons in cover letter for styles classic, fancy and banking (#170)
|
- Include social icons in cover letter for styles classic, fancy and banking (#170)
|
||||||
- Update Oldstyle to use symbols instead of marvosym (#209)
|
- Update Oldstyle to use symbols instead of marvosym (#209)
|
||||||
- Fix spacing between first and last name again (#220)
|
- Fix spacing between first and last name again (#220)
|
||||||
|
- Make header details flush against sides for casual, classic, and contemporary
|
||||||
|
styles (#229)
|
||||||
|
|
||||||
version 2.4.1 (18 Jul 2024)
|
version 2.4.1 (18 Jul 2024)
|
||||||
- Fix commons/colors.tex not found in package (#194)
|
- Fix commons/colors.tex not found in package (#194)
|
||||||
|
|
|
||||||
|
|
@ -92,7 +92,7 @@
|
||||||
\ifthenelse{\equal{\@homepageprotocol}{http}}{\httplink{\@homepage}}{\httpslink{\@homepage}}}%
|
\ifthenelse{\equal{\@homepageprotocol}{http}}{\httplink{\@homepage}}{\httpslink{\@homepage}}}%
|
||||||
\socialsdetails% needs to be pre-rendered as loops and tabulars seem to conflict
|
\socialsdetails% needs to be pre-rendered as loops and tabulars seem to conflict
|
||||||
\ifthenelse{\isundefined{\@extrainfo}}{}{\makenewline\@extrainfo}%
|
\ifthenelse{\isundefined{\@extrainfo}}{}{\makenewline\@extrainfo}%
|
||||||
\end{tabular}
|
\end{tabular}%
|
||||||
}\fi%
|
}\fi%
|
||||||
% optional photo (pre-rendering)
|
% optional photo (pre-rendering)
|
||||||
\@initializebox{\makecvheadpicturebox}%
|
\@initializebox{\makecvheadpicturebox}%
|
||||||
|
|
@ -106,9 +106,9 @@
|
||||||
\setlength{\fboxrule}{\@photoframewidth}%
|
\setlength{\fboxrule}{\@photoframewidth}%
|
||||||
\ifdim\@photoframewidth=0pt%
|
\ifdim\@photoframewidth=0pt%
|
||||||
\setlength{\fboxsep}{0pt}\fi%
|
\setlength{\fboxsep}{0pt}\fi%
|
||||||
\framebox{\includegraphics[width=\@photowidth]{\@photo}}}%
|
\framebox{\includegraphics[width=\@photowidth]{\@photo}}%
|
||||||
\if@right%
|
\if@right%
|
||||||
\hspace*{\separatorcolumnwidth}\fi}%
|
\hspace*{\separatorcolumnwidth}\fi}}%
|
||||||
% name and title (pre-rendering)
|
% name and title (pre-rendering)
|
||||||
\@initializelength{\makecvheaddetailswidth}\settowidth{\makecvheaddetailswidth}{\usebox{\makecvheaddetailsbox}}%
|
\@initializelength{\makecvheaddetailswidth}\settowidth{\makecvheaddetailswidth}{\usebox{\makecvheaddetailsbox}}%
|
||||||
\@initializelength{\makecvheadpicturewidth}\settowidth{\makecvheadpicturewidth}{\usebox{\makecvheadpicturebox}}%
|
\@initializelength{\makecvheadpicturewidth}\settowidth{\makecvheadpicturewidth}{\usebox{\makecvheadpicturebox}}%
|
||||||
|
|
|
||||||
|
|
@ -97,7 +97,7 @@
|
||||||
\ifthenelse{\isundefined{\@homepage}}{}{\makenewline\homepagesymbol\httplink{\@homepage}}%
|
\ifthenelse{\isundefined{\@homepage}}{}{\makenewline\homepagesymbol\httplink{\@homepage}}%
|
||||||
\socialsdetails% needs to be pre-rendered as loops and tabulars seem to conflict
|
\socialsdetails% needs to be pre-rendered as loops and tabulars seem to conflict
|
||||||
\ifthenelse{\isundefined{\@extrainfo}}{}{\makenewline\@extrainfo}%
|
\ifthenelse{\isundefined{\@extrainfo}}{}{\makenewline\@extrainfo}%
|
||||||
\end{tabular}
|
\end{tabular}%
|
||||||
}\fi%
|
}\fi%
|
||||||
% optional photo (pre-rendering)
|
% optional photo (pre-rendering)
|
||||||
\@initializebox{\makecvheadpicturebox}%
|
\@initializebox{\makecvheadpicturebox}%
|
||||||
|
|
@ -115,9 +115,9 @@
|
||||||
\node[inner sep=0pt] at (0,0) {\includegraphics[width=\@photowidth]{\@photo}};
|
\node[inner sep=0pt] at (0,0) {\includegraphics[width=\@photowidth]{\@photo}};
|
||||||
\end{scope}
|
\end{scope}
|
||||||
\end{tikzpicture}%
|
\end{tikzpicture}%
|
||||||
}%
|
|
||||||
\if@left%
|
\if@left%
|
||||||
\hspace*{\separatorcolumnwidth}\fi}%
|
\hspace*{\separatorcolumnwidth}\fi}%
|
||||||
|
}%
|
||||||
% optional QR for homepage (pre-rendering)
|
% optional QR for homepage (pre-rendering)
|
||||||
\@initializebox{\makecvheadqrbox}%
|
\@initializebox{\makecvheadqrbox}%
|
||||||
\if@headqr%
|
\if@headqr%
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue