Make header details flush against sides

This commit is contained in:
Aditya Bhargava 2025-01-10 17:14:37 -05:00
commit 71580fe5d5
No known key found for this signature in database
2 changed files with 6 additions and 6 deletions

View file

@ -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}}%

View file

@ -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%