diff --git a/CHANGELOG b/CHANGELOG index ea460bf..9f0987b 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,8 @@ version 0.17 (xx Jan 2012) - changed the footer algorithm of style casual to avoid starting lines with the footer symbol. + - aligned the space before and after the title across styles. + - added an optional title to the casual style. version 0.16 (15 Jan 2012) - added starred versions of \section and \subsection (that are identical to their diff --git a/examples/template-zh.pdf b/examples/template-zh.pdf index fd6604e..1f28a9c 100644 Binary files a/examples/template-zh.pdf and b/examples/template-zh.pdf differ diff --git a/examples/template.pdf b/examples/template.pdf index 24ba3ef..62245af 100644 Binary files a/examples/template.pdf and b/examples/template.pdf differ diff --git a/examples/template_casual_orange.pdf b/examples/template_casual_orange.pdf index 95129ac..0ce445a 100644 Binary files a/examples/template_casual_orange.pdf and b/examples/template_casual_orange.pdf differ diff --git a/examples/template_classic_green.pdf b/examples/template_classic_green.pdf index 227a666..fb4551a 100644 Binary files a/examples/template_classic_green.pdf and b/examples/template_classic_green.pdf differ diff --git a/examples/template_multibib.pdf b/examples/template_multibib.pdf index d09ecb3..dae3de8 100644 Binary files a/examples/template_multibib.pdf and b/examples/template_multibib.pdf differ diff --git a/moderncvstylecasual.sty b/moderncvstylecasual.sty index 8bd7eea..41a1f26 100644 --- a/moderncvstylecasual.sty +++ b/moderncvstylecasual.sty @@ -95,12 +95,15 @@ {\color{color1}\framebox{\includegraphics[width=\@photowidth]{\@photo}}}}}% \usebox{\maketitlepicturebox}% \newlength{\maketitlepicturewidth}\settowidth{\maketitlepicturewidth}{\usebox{\maketitlepicturebox}}% - \parbox[b]{\textwidth-\maketitlepicturewidth}{\raggedleft\namefont{\color{color2!50}\@firstname} {\color{color2}\@familyname}}\\[-.35em]% alternate design: \MakeLowercase and no space - {\color{color2!50}\rule{\textwidth}{.25ex}\\[2.5em]}% + \parbox[b]{\textwidth-\maketitlepicturewidth}{% + \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]% % 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]}}% \par}% to avoid weird spacing bug at the first section if no blank line is left after \maketitle