From c6dd4805eb3789701aed68b6ba8f2d05bf4e4a7d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 27 Jan 2012 00:06:31 +0000 Subject: moderncv 0.17 (25jan12) git-svn-id: svn://tug.org/texlive/trunk@25203 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/moderncv/moderncvstyleoldstyle.sty | 25 +++++++++++----------- 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'Master/texmf-dist/tex/latex/moderncv/moderncvstyleoldstyle.sty') diff --git a/Master/texmf-dist/tex/latex/moderncv/moderncvstyleoldstyle.sty b/Master/texmf-dist/tex/latex/moderncv/moderncvstyleoldstyle.sty index 8b374e07a62..6ce1bc052c5 100644 --- a/Master/texmf-dist/tex/latex/moderncv/moderncvstyleoldstyle.sty +++ b/Master/texmf-dist/tex/latex/moderncv/moderncvstyleoldstyle.sty @@ -10,7 +10,7 @@ % identification %------------------------------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{moderncvstyleoldstyle}[2012/01/15 v0.16 modern curriculum vitae style: oldstyle] +\ProvidesPackage{moderncvstyleoldstyle}[2012/01/25 v0.17 modern curriculum vitae style: oldstyle] %------------------------------------------------------------------------------- @@ -39,13 +39,13 @@ \renewcommand*{\hintfont}{\bfseries} % styles -\newcommand*{\namestyle}[1]{{\namefont\color{color0}#1}} -\newcommand*{\titlestyle}[1]{{\titlefont\color{color2}#1}} -\newcommand*{\addressstyle}[1]{{\addressfont\color{color2}#1}} -\newcommand*{\quotestyle}[1]{{\quotefont\color{color1}#1}} -\newcommand*{\sectionstyle}[1]{{\sectionfont\color{color1}#1}} -\newcommand*{\subsectionstyle}[1]{{\subsectionfont\color{color1}#1}} -\newcommand*{\hintstyle}[1]{{\hintfont\color{color0}#1}} +\newcommand*{\namestyle}[1]{{\namefont\textcolor{color0}{#1}}} +\newcommand*{\titlestyle}[1]{{\titlefont\textcolor{color2}{#1}}} +\newcommand*{\addressstyle}[1]{{\addressfont\textcolor{color2}{#1}}} +\newcommand*{\quotestyle}[1]{{\quotefont\textcolor{color1}{#1}}} +\newcommand*{\sectionstyle}[1]{{\sectionfont\textcolor{color1}{#1}}} +\newcommand*{\subsectionstyle}[1]{{\subsectionfont\textcolor{color1}{#1}}} +\newcommand*{\hintstyle}[1]{{\hintfont\textcolor{color0}{#1}}} % symbols \renewcommand*{\listitemsymbol}{\labelitemi~} @@ -122,7 +122,7 @@ \ifthenelse{\equal{\@title}{}}{}{\\[1.25em]\titlestyle{\@title}}% \end{minipage}% % optional photo - \usebox{\maketitlepicturebox}\\[3em]% + \usebox{\maketitlepicturebox}\\[2.5em]% % optional quote \ifthenelse{\isundefined{\@quote}}% {}% @@ -174,7 +174,7 @@ \newlength{\cventrytitleboxwidth} \renewcommand*{\cventry}[7][.25em]{% \savebox{\cventryyearbox}{% - \hspace*{\separatorcolumnwidth}% + \hspace*{2\separatorcolumnwidth}% {\hintfont#2}}% \setlength{\cventrytitleboxwidth}{\widthof{\usebox{\cventryyearbox}}}% \setlength{\cventrytitleboxwidth}{\maincolumnwidth-\cventrytitleboxwidth}% @@ -186,10 +186,11 @@ \ifthenelse{\equal{#6}{}}{}{, #6}% .}% \usebox{\cventryyearbox}% - \ifx&% + \end{minipage}% + \ifx&% \else{% \newline{}\begin{minipage}[t]{\maincolumnwidth}\small#7\end{minipage}}\fi% - \end{minipage}\\[#1]} + \\[#1]} \newbox{\cvitemwithcommentmainbox} -- cgit v1.2.3