about summary refs log tree commit diff
path: root/users/grfn/resume/moderncvstylecasual.sty
diff options
context:
space:
mode:
Diffstat (limited to 'users/grfn/resume/moderncvstylecasual.sty')
-rw-r--r--users/grfn/resume/moderncvstylecasual.sty3
1 files changed, 2 insertions, 1 deletions
diff --git a/users/grfn/resume/moderncvstylecasual.sty b/users/grfn/resume/moderncvstylecasual.sty
index e375e7612a5a..f8cf856d1aae 100644
--- a/users/grfn/resume/moderncvstylecasual.sty
+++ b/users/grfn/resume/moderncvstylecasual.sty
@@ -64,6 +64,7 @@
 % fonts

 \renewcommand*{\namefont}{\fontsize{38}{40}\mdseries\upshape}

 \renewcommand*{\addressfont}{\normalsize\mdseries\slshape}

+\newcommand*{\pronounsfont}{\fontsize{18}{40}\mdseries\upshape}

 

 % commands

 \renewcommand*{\makecvtitle}{%

@@ -86,7 +87,7 @@
   \@initializelength{\makecvtitlepicturewidth}%

   \settowidth{\makecvtitlepicturewidth}{\usebox{\makecvtitlepicturebox}}%

   \parbox[b]{\textwidth-\makecvtitlepicturewidth}{%

-    \raggedleft\namefont{\color{color2!50}\@firstname} {\color{color2}\@lastname}}\\[-.35em]% alternate design: \MakeLowercase and no space

+    \raggedleft\namefont{\color{color2!50}\@firstname} {\color{color2}\@lastname} {\color{color2!50}\pronounsfont{\@pronouns}}}\\[-.35em]% alternate design: \MakeLowercase and no space

   {\color{color2!50}\rule{\textwidth}{.25ex}}%

   % optional title

   \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).