From e00709f6549721cd73ce283a06969b40d1a7d6ab Mon Sep 17 00:00:00 2001 From: Xavier Danaux Date: Tue, 30 Oct 2012 20:10:58 -0400 Subject: [PATCH] Modified the code of \maketitle of the "casual" style to avoid it to cause horizontal alignment issues after and before itself --- moderncvstylecasual.sty | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moderncvstylecasual.sty b/moderncvstylecasual.sty index a8622d8..9889ead 100644 --- a/moderncvstylecasual.sty +++ b/moderncvstylecasual.sty @@ -94,11 +94,11 @@ \raggedleft\namefont{\color{color2!50}\@firstname} {\color{color2}\@familyname}}\\[-.35em]% alternate design: \MakeLowercase and no space {\color{color2!50}\rule{\textwidth}{.25ex}}% % optional title - \ifthenelse{\equal{\@title}{}}{}{\\[1.25em]\raggedleft\titlestyle{\@title}}\\[2.5em]% + \ifthenelse{\equal{\@title}{}}{}{\\[1.25em]\null\hfill\titlestyle{\@title}}\\[2.5em]% \null is required as there is no box on the line after \\, so glue (and leaders) disappears; this is in contrast to after \par, where the next line starts with an indent box (even after \noindent). % optional quote \ifthenelse{\isundefined{\@quote}}% {}% - {{\centering\begin{minipage}{\quotewidth}\centering\quotestyle{\@quote}\end{minipage}\\[2.5em]}}% + {{\null\hfill\begin{minipage}{\quotewidth}\centering\quotestyle{\@quote}\end{minipage}\hfill\null\\[2.5em]}}% \par}% to avoid weird spacing bug at the first section if no blank line is left after \maketitle \renewcommand*{\makecvfooter}{%