diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/moderncv/moderncv.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/moderncv/moderncv.cls | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/moderncv/moderncv.cls b/Master/texmf-dist/tex/latex/moderncv/moderncv.cls index 8801b9aaee6..cbdcfc04606 100644 --- a/Master/texmf-dist/tex/latex/moderncv/moderncv.cls +++ b/Master/texmf-dist/tex/latex/moderncv/moderncv.cls @@ -1,5 +1,5 @@ %% start of file `moderncv.cls'. -%% Copyright 2006-2011 Xavier Danaux (xdanaux@gmail.com). +%% Copyright 2006-2012 Xavier Danaux (xdanaux@gmail.com). % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License version 1.3c, @@ -10,7 +10,7 @@ % identification %------------------------------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{moderncv}[2011/12/23 v0.15.1 modern curriculum vitae document class] +\ProvidesClass{moderncv}[2012/01/15 v0.16 modern curriculum vitae document class] %------------------------------------------------------------------------------- @@ -252,17 +252,14 @@ % makes a cv section % usage: \section{<title>} \newcommand*{\section}[1]{} -\AtEndPreamble{% - \@ifpackageloaded{natbib} - { - \RequirePackage{suffix} - \WithSuffix\newcommand\section*{\section} - }{} -} +% starred variant, which is identical but defined to allow its use (e.g. for natbib compatibility, who uses \section*{} for the bibliography header) +\RequirePackage{suffix} +\AtBeginDocument{\WithSuffix\newcommand\section*{\section}} % makes a cv subsection % usage: \subsection{title} \newcommand*{\subsection}[1]{} +\AtBeginDocument{\WithSuffix\newcommand\subsection*{\subsection}} % makes a cv line with a header and a corresponding text % usage: \cvitem[spacing]{header}{text} |