diff options
author | Karl Berry <karl@freefriends.org> | 2012-10-31 21:45:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-10-31 21:45:18 +0000 |
commit | 54ba93bf0a6f72847b3981af2e763a8ce60b9d07 (patch) | |
tree | 8cc66c2255a088f71e0168365879fe372a57e49a /Master/texmf-dist/tex/latex/moderncv | |
parent | 4051c7da97b4e20b82b75d470cedd3cbbffee96b (diff) |
moderncv (31oct12)
git-svn-id: svn://tug.org/texlive/trunk@28139 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/moderncv')
14 files changed, 86 insertions, 70 deletions
diff --git a/Master/texmf-dist/tex/latex/moderncv/moderncv.cls b/Master/texmf-dist/tex/latex/moderncv/moderncv.cls index 5d8b23a2f61..1107842c5d4 100644 --- a/Master/texmf-dist/tex/latex/moderncv/moderncv.cls +++ b/Master/texmf-dist/tex/latex/moderncv/moderncv.cls @@ -10,7 +10,7 @@ % identification %------------------------------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{moderncv}[2012/08/10 v1.1.3 modern curriculum vitae and letter document class] +\ProvidesClass{moderncv}[2012/10/31 v1.2.0 modern curriculum vitae and letter document class] %------------------------------------------------------------------------------- @@ -69,19 +69,17 @@ %------------------------------------------------------------------------------- % required packages %------------------------------------------------------------------------------- -% \AtEndPreamble hook (loading tetoolbox instead of defining the macro, as to avoid incompatibilities with etoolbox (and packages relying on it) defining the macro too) +% \AtEndPreamble hook (loading etoolbox instead of defining the macro, as to avoid incompatibilities with etoolbox (and packages relying on it) defining the macro too) \RequirePackage{etoolbox} %\let\@endpreamblehook\@empty %\def\AtEndPreamble{\g@addto@macro\@endpreamblehook} -%\let\moderncv@document\document -%\def\document{\endgroup\@endpreamblehook\begingroup\moderncv@document} +%\let\document@original\document +%\def\document{\endgroup\@endpreamblehook\begingroup\document@original} % if... then... else... constructs \RequirePackage{ifthen} % TODO: move to xifthen and \isempty{<arg>} instead of \equal{<arg>}{} -% TODO: replace \newcommand by \NewDocumentCommand (LaTeX 3) - % color \RequirePackage{xcolor} @@ -125,7 +123,8 @@ \RequirePackage{url} \urlstyle{tt} \AtEndPreamble{ - \RequirePackage[unicode,pdfpagelabels=false]{hyperref}% unicode is required for unicode pdf metadata, pdfpagelabels=false is required to avoid a warning setting it automatically to false anyway, because hyperref detects \thepage as undefined (why?) + \pagenumbering{arabic}% has to be issued before loading hyperref, as to set \thepage and hence to avoid hyperref issuing a warning and setting pdfpagelabels=false + \RequirePackage[unicode]{hyperref}% unicode is required for unicode pdf metadata \hypersetup{ breaklinks, baseurl = http://, @@ -139,9 +138,7 @@ pdfauthor = {\@firstname{}~\@familyname{}}, pdftitle = {\@firstname{}~\@familyname{} -- \@title{}}, pdfsubject = {Resum\'{e} of \@firstname{}~\@familyname{}}, - pdfkeywords = {\@firstname{}~\@familyname{}, curriculum vit\ae{}, resum\'{e}}} - \pagenumbering{arabic}% has to be issued after loading hyperref -} + pdfkeywords = {\@firstname{}~\@familyname{}, curriculum vit\ae{}, resum\'{e}}}} % graphics \RequirePackage{graphicx} @@ -171,10 +168,11 @@ % lengths calculations \RequirePackage{calc} -% advanced command arguments +% advanced command arguments (LaTeX 3) \RequirePackage{xargs} +% TODO (?): replace all \newcommand by \NewDocumentCommand -% micro-typography (e.g., character protrusion, font expansion, hyphenatable letterspacing) +% micro-typography (e.g., character protrusion, font expansion, hyphenatable letterspacing) \RequirePackage{microtype} % compatibility package with older versions of moderncv @@ -194,12 +192,12 @@ \setlength\columnseprule{0\p@} \setlength\fboxsep{3\p@} \setlength\fboxrule{.4\p@} +\setlength\arrayrulewidth{.4\p@} +\setlength\doublerulesep{2\p@} -% not required +% not set on purpose %\setlength\arraycolsep{5\p@} %\setlength\tabcolsep{6\p@} -%\setlength\arrayrulewidth{.4\p@} -%\setlength\doublerulesep{2\p@} %\setlength\tabbingsep{\labelsep} \raggedbottom @@ -291,6 +289,15 @@ \newcommand*{\subsectionfont}{} \newcommand*{\hintfont}{} +% styles +\newcommand*{\namestyle}[1]{{\namefont#1}} +\newcommand*{\titlestyle}[1]{{\titlefont#1}} +\newcommand*{\addressstyle}[1]{{\addressfont#1}} +\newcommand*{\quotestyle}[1]{{\quotefont#1}} +\newcommand*{\sectionstyle}[1]{{\sectionfont#1}} +\newcommand*{\subsectionstyle}[1]{{\subsectionfont#1}} +\newcommand*{\hintstyle}[1]{{\hintfont#1}} + % recompute all resume lengths \newcommand*{\recomputecvlengths}{} @@ -305,11 +312,11 @@ % makes the resume title % usage: \makecvtitle -\newcommand*{\makecvtitle}{}% +\newcommand*{\makecvtitle}{} % makes the resume footer % usage: \makecvfooter -\newcommand*{\makecvfooter}{\makefooter}% +\newcommand*{\makecvfooter}{\makefooter} % makes a resume section % usage: \section{<title>} @@ -433,7 +440,7 @@ %------------------------------------------------------------------------------- % elements \newcommand*{\recipient}[2]{\def\@recipientname{#1}\def\@recipientaddress{#2}} -\renewcommand*{\date}[1]{\def\@date{#1}} +\renewcommand*{\date}[1]{\def\@date{#1}}\date{\today} \newcommand*{\opening}[1]{\def\@opening{#1}} \newcommand*{\closing}[1]{\def\@closing{#1}} \newcommand*{\enclosure}[2][]{% diff --git a/Master/texmf-dist/tex/latex/moderncv/moderncvcolorblack.sty b/Master/texmf-dist/tex/latex/moderncv/moderncvcolorblack.sty index 64f2d30f68a..d61fc795070 100644 --- a/Master/texmf-dist/tex/latex/moderncv/moderncvcolorblack.sty +++ b/Master/texmf-dist/tex/latex/moderncv/moderncvcolorblack.sty @@ -10,7 +10,7 @@ % identification %------------------------------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{moderncvcolorblack}[2012/08/10 v1.1.3 modern curriculum vitae and letter color scheme: black] +\ProvidesPackage{moderncvcolorblack}[2012/10/31 v1.2.0 modern curriculum vitae and letter color scheme: black] %------------------------------------------------------------------------------- diff --git a/Master/texmf-dist/tex/latex/moderncv/moderncvcolorblue.sty b/Master/texmf-dist/tex/latex/moderncv/moderncvcolorblue.sty index 4296eb20c27..29852d7488e 100644 --- a/Master/texmf-dist/tex/latex/moderncv/moderncvcolorblue.sty +++ b/Master/texmf-dist/tex/latex/moderncv/moderncvcolorblue.sty @@ -10,7 +10,7 @@ % identification %------------------------------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{moderncvcolorblue}[2012/08/10 v1.1.3 modern curriculum vitae and letter color scheme: blue] +\ProvidesPackage{moderncvcolorblue}[2012/10/31 v1.2.0 modern curriculum vitae and letter color scheme: blue] %------------------------------------------------------------------------------- diff --git a/Master/texmf-dist/tex/latex/moderncv/moderncvcolorgreen.sty b/Master/texmf-dist/tex/latex/moderncv/moderncvcolorgreen.sty index a31b2da9d52..5feaf9502cc 100644 --- a/Master/texmf-dist/tex/latex/moderncv/moderncvcolorgreen.sty +++ b/Master/texmf-dist/tex/latex/moderncv/moderncvcolorgreen.sty @@ -10,7 +10,7 @@ % identification %------------------------------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{moderncvcolorgreen}[2012/08/10 v1.1.3 modern curriculum vitae and letter color scheme: green] +\ProvidesPackage{moderncvcolorgreen}[2012/10/31 v1.2.0 modern curriculum vitae and letter color scheme: green] %------------------------------------------------------------------------------- diff --git a/Master/texmf-dist/tex/latex/moderncv/moderncvcolorgrey.sty b/Master/texmf-dist/tex/latex/moderncv/moderncvcolorgrey.sty index 4bccc2a0eb8..fc8ec43c863 100644 --- a/Master/texmf-dist/tex/latex/moderncv/moderncvcolorgrey.sty +++ b/Master/texmf-dist/tex/latex/moderncv/moderncvcolorgrey.sty @@ -10,7 +10,7 @@ % identification %------------------------------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{moderncvcolorgrey}[2012/08/10 v1.1.3 modern curriculum vitae and letter color scheme: grey] +\ProvidesPackage{moderncvcolorgrey}[2012/10/31 v1.2.0 modern curriculum vitae and letter color scheme: grey] %------------------------------------------------------------------------------- diff --git a/Master/texmf-dist/tex/latex/moderncv/moderncvcolororange.sty b/Master/texmf-dist/tex/latex/moderncv/moderncvcolororange.sty index 5ec8244dd53..d2bcb8bb0c2 100644 --- a/Master/texmf-dist/tex/latex/moderncv/moderncvcolororange.sty +++ b/Master/texmf-dist/tex/latex/moderncv/moderncvcolororange.sty @@ -10,7 +10,7 @@ % identification %------------------------------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{moderncvcolororange}[2012/08/10 v1.1.3 modern curriculum vitae and letter color scheme: orange] +\ProvidesPackage{moderncvcolororange}[2012/10/31 v1.2.0 modern curriculum vitae and letter color scheme: orange] %------------------------------------------------------------------------------- diff --git a/Master/texmf-dist/tex/latex/moderncv/moderncvcolorpurple.sty b/Master/texmf-dist/tex/latex/moderncv/moderncvcolorpurple.sty index e84474138a7..3102cc4f588 100644 --- a/Master/texmf-dist/tex/latex/moderncv/moderncvcolorpurple.sty +++ b/Master/texmf-dist/tex/latex/moderncv/moderncvcolorpurple.sty @@ -10,7 +10,7 @@ % identification %------------------------------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{moderncvcolorpurple}[2012/08/10 v1.1.3 modern curriculum vitae and letter color scheme: purple] +\ProvidesPackage{moderncvcolorpurple}[2012/10/31 v1.2.0 modern curriculum vitae and letter color scheme: purple] %------------------------------------------------------------------------------- diff --git a/Master/texmf-dist/tex/latex/moderncv/moderncvcolorred.sty b/Master/texmf-dist/tex/latex/moderncv/moderncvcolorred.sty index a3b090b46e9..dd7f3b6c3f9 100644 --- a/Master/texmf-dist/tex/latex/moderncv/moderncvcolorred.sty +++ b/Master/texmf-dist/tex/latex/moderncv/moderncvcolorred.sty @@ -10,7 +10,7 @@ % identification %------------------------------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{moderncvcolorred}[2012/08/10 v1.1.3 modern curriculum vitae and letter color scheme: red] +\ProvidesPackage{moderncvcolorred}[2012/10/31 v1.2.0 modern curriculum vitae and letter color scheme: red] %------------------------------------------------------------------------------- diff --git a/Master/texmf-dist/tex/latex/moderncv/moderncvcompatibility.sty b/Master/texmf-dist/tex/latex/moderncv/moderncvcompatibility.sty index 5a8a1f4b8dd..132f68ac279 100644 --- a/Master/texmf-dist/tex/latex/moderncv/moderncvcompatibility.sty +++ b/Master/texmf-dist/tex/latex/moderncv/moderncvcompatibility.sty @@ -10,7 +10,7 @@ % identification %------------------------------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{moderncvcompatibility}[2012/08/10 v1.1.3 modern curriculum vitae and letter compatibility patches] +\ProvidesPackage{moderncvcompatibility}[2012/10/31 v1.2.0 modern curriculum vitae and letter compatibility patches] %------------------------------------------------------------------------------- diff --git a/Master/texmf-dist/tex/latex/moderncv/moderncvstylebanking.sty b/Master/texmf-dist/tex/latex/moderncv/moderncvstylebanking.sty index 71dd7fab5c8..8494fe26f47 100644 --- a/Master/texmf-dist/tex/latex/moderncv/moderncvstylebanking.sty +++ b/Master/texmf-dist/tex/latex/moderncv/moderncvstylebanking.sty @@ -10,7 +10,7 @@ % identification %------------------------------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{moderncvstylebanking}[2012/08/10 v1.1.3 modern curriculum vitae and letter style scheme: banking] +\ProvidesPackage{moderncvstylebanking}[2012/10/31 v1.2.0 modern curriculum vitae and letter style scheme: banking] %------------------------------------------------------------------------------- @@ -58,34 +58,43 @@ \newsavebox{\maketitletempbox}% \newlength{\maketitlewidth}% \newlength{\maketitleboxwidth}% +\newif\if@firstmaketitleelement\@firstmaketitleelementtrue% % adds an element to the maketitle, separated by maketitlesymbol % usage: \addtomaketitle[maketitlesymbol]{element} \newcommand*{\addtomaketitle}[2][\maketitlesymbol]{% - \savebox{\maketitletempbox}{\usebox{\maketitlebox}#1#2}% + \if@firstmaketitleelement% + \savebox{\maketitletempbox}{\usebox{\maketitlebox}#2}% + \else% + \savebox{\maketitletempbox}{\usebox{\maketitlebox}#1#2}\fi% \settowidth{\maketitleboxwidth}{\usebox{\maketitletempbox}}% \ifnum\maketitleboxwidth<\maketitlewidth% - \savebox{\maketitlebox}{\usebox{\maketitletempbox}} + \savebox{\maketitlebox}{\usebox{\maketitletempbox}}% + \@firstmaketitleelementfalse% \else% \flushmaketitle{}\\% \savebox{\maketitlebox}{#2}% - \savebox{\maketitletempbox}{#2}\fi} + \savebox{\maketitletempbox}{#2}% + \settowidth{\maketitleboxwidth}{\usebox{\maketitlebox}}% + \@firstmaketitleelementfalse\fi} % internal command to flush the maketitle \newcommand*{\flushmaketitle}{% \strut\usebox{\maketitlebox}% \savebox{\maketitlebox}{}% - \savebox{\maketitletempbox}{}} + \savebox{\maketitletempbox}{}% + \setlength{\maketitleboxwidth}{0pt}} \renewcommand*{\maketitle}{% \setlength{\maketitlewidth}{0.8\textwidth}% \hfil% \parbox{\maketitlewidth}{% \centering% - % name (title is not visible) - \namestyle{\@firstname~\@familyname}\\% + % name and title + \namestyle{\@firstname~\@familyname}% + \ifthenelse{\isundefined{\@title}}{}{\titlestyle{~|~\@title}}\\% % detailed information \addressfont\color{color2}% - \ifthenelse{\isundefined{\@addressstreet}}{}{\addtomaketitle[]{\addresssymbol\@addressstreet}% - \ifthenelse{\equal{\@addresscity}{}}{}{\addtomaketitle[~--~]{\@addresscity}}\flushmaketitle}% if \addresstreet is defined, \addresscity will always be defined but could be empty - \ifthenelse{\isundefined{\@mobile}}{}{\addtomaketitle[]{\mobilesymbol\@mobile}}% + \ifthenelse{\isundefined{\@addressstreet}}{}{\addtomaketitle{\addresssymbol\@addressstreet}% + \ifthenelse{\equal{\@addresscity}{}}{}{\addtomaketitle[~--~]{\@addresscity}}\flushmaketitle\@firstmaketitleelementtrue\\}% if \addresstreet is defined, \addresscity will always be defined but could be empty + \ifthenelse{\isundefined{\@mobile}}{}{\addtomaketitle{\mobilesymbol\@mobile}}% \ifthenelse{\isundefined{\@phone}}{}{\addtomaketitle{\phonesymbol\@phone}}% \ifthenelse{\isundefined{\@fax}}{}{\addtomaketitle{\faxsymbol\@fax}}% \ifthenelse{\isundefined{\@email}}{}{\addtomaketitle{\emailsymbol\emaillink{\@email}}}% @@ -99,21 +108,21 @@ %------------------------------------------------------------------------------- % fonts \renewcommand*{\namefont}{\Huge\bfseries\upshape} -\renewcommand*{\titlefont}{\LARGE\mdseries\slshape} -\renewcommand*{\addressfont}{\small\mdseries\upshape} +\renewcommand*{\titlefont}{\Huge\mdseries\upshape} +\renewcommand*{\addressfont}{\normalsize\mdseries\upshape} \renewcommand*{\quotefont}{\large\slshape} \renewcommand*{\sectionfont}{\Large\bfseries\upshape} \renewcommand*{\subsectionfont}{\large\upshape\fontseries{sb}\selectfont} \renewcommand*{\hintfont}{\bfseries} % styles -\newcommand*{\namestyle}[1]{{\namefont\textcolor{color1}{#1}}} -\newcommand*{\titlestyle}[1]{{\titlefont\textcolor{color2}{#1}}} -\newcommand*{\addressstyle}[1]{{\addressfont\textcolor{color1}{#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}}} +\renewcommand*{\namestyle}[1]{{\namefont\textcolor{color1}{#1}}} +\renewcommand*{\titlestyle}[1]{{\titlefont\textcolor{color2!85}{#1}}} +\renewcommand*{\addressstyle}[1]{{\addressfont\textcolor{color1}{#1}}} +\renewcommand*{\quotestyle}[1]{{\quotefont\textcolor{color1}{#1}}} +\renewcommand*{\sectionstyle}[1]{{\sectionfont\textcolor{color1}{#1}}} +\renewcommand*{\subsectionstyle}[1]{{\subsectionfont\textcolor{color1}{#1}}} +\renewcommand*{\hintstyle}[1]{{\hintfont\textcolor{color0}{#1}}} % lengths \newlength{\quotewidth} @@ -183,7 +192,7 @@ \par\addvspace{#1}} \renewcommand*{\cvlistitem}[2][.25em]{% - \listitemsymbol#2% + \listitemsymbol\begin{minipage}[t]{\listitemmaincolumnwidth}#2\end{minipage}% \par\addvspace{#1}} \renewcommand*{\cvlistdoubleitem}[3][.25em]{% @@ -263,7 +272,7 @@ % date \hfill % US style % \\[1em] % UK style - \hbox{\today}\\[2em]% US informal style: "April 6, 2006"; UK formal style: "05/04/2006" + \@date\\[2em]% US informal style: "April 6, 2006"; UK formal style: "05/04/2006" % opening \raggedright% \@opening\\[1.5em]% diff --git a/Master/texmf-dist/tex/latex/moderncv/moderncvstylecasual.sty b/Master/texmf-dist/tex/latex/moderncv/moderncvstylecasual.sty index 9cc6bf80dd7..7c019c0ade4 100644 --- a/Master/texmf-dist/tex/latex/moderncv/moderncvstylecasual.sty +++ b/Master/texmf-dist/tex/latex/moderncv/moderncvstylecasual.sty @@ -10,7 +10,7 @@ % identification %------------------------------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{moderncvstylecasual}[2012/08/10 v1.1.3 modern curriculum vitae and letter style scheme: casual] +\ProvidesPackage{moderncvstylecasual}[2012/10/31 v1.2.0 modern curriculum vitae and letter style scheme: casual] %------------------------------------------------------------------------------- @@ -59,7 +59,7 @@ \newcommand*{\flushfooter}{% \strut\usebox{\footerbox}% \savebox{\footerbox}{}% - \savebox{\footertempbox}{} + \savebox{\footertempbox}{}% \setlength{\footerboxwidth}{0pt}} @@ -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}{% @@ -139,7 +139,7 @@ % date \hfill% US style % \\[1em]% UK style - \hbox{\today}\\[2em]% US informal style: "April 6, 2006"; UK formal style: "05/04/2006" + \@date\\[2em]% US informal style: "April 6, 2006"; UK formal style: "05/04/2006" % opening \raggedright% \@opening\\[1.5em]% diff --git a/Master/texmf-dist/tex/latex/moderncv/moderncvstyleclassic.sty b/Master/texmf-dist/tex/latex/moderncv/moderncvstyleclassic.sty index f207d8f3017..a0031e4bcb6 100644 --- a/Master/texmf-dist/tex/latex/moderncv/moderncvstyleclassic.sty +++ b/Master/texmf-dist/tex/latex/moderncv/moderncvstyleclassic.sty @@ -10,7 +10,7 @@ % identification %------------------------------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{moderncvstyleclassic}[2012/08/10 v1.1.3 modern curriculum vitae and letter style scheme: classic] +\ProvidesPackage{moderncvstyleclassic}[2012/10/31 v1.2.0 modern curriculum vitae and letter style scheme: classic] %------------------------------------------------------------------------------- @@ -58,13 +58,13 @@ \renewcommand*{\hintfont}{} % styles -\newcommand*{\namestyle}[1]{{\namefont\textcolor{color0}{#1}}} -\newcommand*{\titlestyle}[1]{{\titlefont\textcolor{color2}{#1}}} -\newcommand*{\addressstyle}[1]{{\addressfont\textcolor{color1}{#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}}} +\renewcommand*{\namestyle}[1]{{\namefont\textcolor{color0}{#1}}} +\renewcommand*{\titlestyle}[1]{{\titlefont\textcolor{color2}{#1}}} +\renewcommand*{\addressstyle}[1]{{\addressfont\textcolor{color1}{#1}}} +\renewcommand*{\quotestyle}[1]{{\quotefont\textcolor{color1}{#1}}} +\renewcommand*{\sectionstyle}[1]{{\sectionfont\textcolor{color1}{#1}}} +\renewcommand*{\subsectionstyle}[1]{{\subsectionfont\textcolor{color1}{#1}}} +\renewcommand*{\hintstyle}[1]{{\hintfont\textcolor{color0}{#1}}} % lengths \newlength{\quotewidth} @@ -279,7 +279,7 @@ % date \hfill% US style % \\[1em]% UK style - \hbox{\today}\\[2em]% US informal style: "April 6, 2006"; UK formal style: "05/04/2006" + \@date\\[2em]% US informal style: "January 1, 1900"; UK formal style: "01/01/1900" % opening \raggedright% \@opening\\[1.5em]% diff --git a/Master/texmf-dist/tex/latex/moderncv/moderncvstyleempty.sty b/Master/texmf-dist/tex/latex/moderncv/moderncvstyleempty.sty index 781eb186e4d..8ff142afa37 100644 --- a/Master/texmf-dist/tex/latex/moderncv/moderncvstyleempty.sty +++ b/Master/texmf-dist/tex/latex/moderncv/moderncvstyleempty.sty @@ -10,7 +10,7 @@ % identification %------------------------------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{moderncvstyleempty}[2012/08/10 v1.1.3 modern curriculum vitae scheme: empty] +\ProvidesPackage{moderncvstyleempty}[2012/10/31 v1.2.0 modern curriculum vitae scheme: empty] %------------------------------------------------------------------------------- diff --git a/Master/texmf-dist/tex/latex/moderncv/moderncvstyleoldstyle.sty b/Master/texmf-dist/tex/latex/moderncv/moderncvstyleoldstyle.sty index 291775e9104..007425b467a 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/08/10 v1.1.3 modern curriculum vitae and letter style scheme: oldstyle] +\ProvidesPackage{moderncvstyleoldstyle}[2012/10/31 v1.2.0 modern curriculum vitae and letter style scheme: oldstyle] %------------------------------------------------------------------------------- @@ -65,13 +65,13 @@ \renewcommand*{\hintfont}{\bfseries} % styles -\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}}} +\renewcommand*{\namestyle}[1]{{\namefont\textcolor{color0}{#1}}} +\renewcommand*{\titlestyle}[1]{{\titlefont\textcolor{color2}{#1}}} +\renewcommand*{\addressstyle}[1]{{\addressfont\textcolor{color2}{#1}}} +\renewcommand*{\quotestyle}[1]{{\quotefont\textcolor{color1}{#1}}} +\renewcommand*{\sectionstyle}[1]{{\sectionfont\textcolor{color1}{#1}}} +\renewcommand*{\subsectionstyle}[1]{{\subsectionfont\textcolor{color1}{#1}}} +\renewcommand*{\hintstyle}[1]{{\hintfont\textcolor{color0}{#1}}} % lengths \newlength{\quotewidth} |