summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/moderncv/moderncvstyleoldstyle.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-01-27 00:06:31 +0000
committerKarl Berry <karl@freefriends.org>2012-01-27 00:06:31 +0000
commitc6dd4805eb3789701aed68b6ba8f2d05bf4e4a7d (patch)
tree24e9c51a6346a7f59e11f609d385e5ef000fdb92 /Master/texmf-dist/tex/latex/moderncv/moderncvstyleoldstyle.sty
parent8f4cafb6e83086f58a5a3d3a10a3d5352d703033 (diff)
moderncv 0.17 (25jan12)
git-svn-id: svn://tug.org/texlive/trunk@25203 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/moderncv/moderncvstyleoldstyle.sty')
-rw-r--r--Master/texmf-dist/tex/latex/moderncv/moderncvstyleoldstyle.sty25
1 files changed, 13 insertions, 12 deletions
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&#7&%
+ \end{minipage}%
+ \ifx&#7&%
\else{%
\newline{}\begin{minipage}[t]{\maincolumnwidth}\small#7\end{minipage}}\fi%
- \end{minipage}\\[#1]}
+ \\[#1]}
\newbox{\cvitemwithcommentmainbox}