From 71580fe5d5bf95aa1a48b7b9a0f7258c4ad68809 Mon Sep 17 00:00:00 2001 From: Aditya Bhargava Date: Fri, 10 Jan 2025 17:14:37 -0500 Subject: [PATCH] Make header details flush against sides --- moderncvheadi.sty | 6 +++--- moderncvheadvii.sty | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/moderncvheadi.sty b/moderncvheadi.sty index 2a59a1e..930b1fd 100644 --- a/moderncvheadi.sty +++ b/moderncvheadi.sty @@ -92,7 +92,7 @@ \ifthenelse{\equal{\@homepageprotocol}{http}}{\httplink{\@homepage}}{\httpslink{\@homepage}}}% \socialsdetails% needs to be pre-rendered as loops and tabulars seem to conflict \ifthenelse{\isundefined{\@extrainfo}}{}{\makenewline\@extrainfo}% - \end{tabular} + \end{tabular}% }\fi% % optional photo (pre-rendering) \@initializebox{\makecvheadpicturebox}% @@ -106,9 +106,9 @@ \setlength{\fboxrule}{\@photoframewidth}% \ifdim\@photoframewidth=0pt% \setlength{\fboxsep}{0pt}\fi% - \framebox{\includegraphics[width=\@photowidth]{\@photo}}}% + \framebox{\includegraphics[width=\@photowidth]{\@photo}}% \if@right% - \hspace*{\separatorcolumnwidth}\fi}% + \hspace*{\separatorcolumnwidth}\fi}}% % name and title (pre-rendering) \@initializelength{\makecvheaddetailswidth}\settowidth{\makecvheaddetailswidth}{\usebox{\makecvheaddetailsbox}}% \@initializelength{\makecvheadpicturewidth}\settowidth{\makecvheadpicturewidth}{\usebox{\makecvheadpicturebox}}% diff --git a/moderncvheadvii.sty b/moderncvheadvii.sty index 85653e9..e42b81f 100644 --- a/moderncvheadvii.sty +++ b/moderncvheadvii.sty @@ -97,7 +97,7 @@ \ifthenelse{\isundefined{\@homepage}}{}{\makenewline\homepagesymbol\httplink{\@homepage}}% \socialsdetails% needs to be pre-rendered as loops and tabulars seem to conflict \ifthenelse{\isundefined{\@extrainfo}}{}{\makenewline\@extrainfo}% - \end{tabular} + \end{tabular}% }\fi% % optional photo (pre-rendering) \@initializebox{\makecvheadpicturebox}% @@ -115,9 +115,9 @@ \node[inner sep=0pt] at (0,0) {\includegraphics[width=\@photowidth]{\@photo}}; \end{scope} \end{tikzpicture}% + \if@left% + \hspace*{\separatorcolumnwidth}\fi}% }% - \if@left% - \hspace*{\separatorcolumnwidth}\fi}% % optional QR for homepage (pre-rendering) \@initializebox{\makecvheadqrbox}% \if@headqr%