diff --git a/CHANGELOG b/CHANGELOG index bda39c9..6a931ef 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,6 @@ version 0.15.1 (23 December 2011) - corrected a bug in the classic style causing the address font and color not being - carried over newlines, as reported by J. Smith + carried over newlines, as reported by J. Smith. version 0.15 (19 December 2011) - corrected list spacing. diff --git a/moderncv.cls b/moderncv.cls index d7a0e93..922434f 100644 --- a/moderncv.cls +++ b/moderncv.cls @@ -252,6 +252,7 @@ % makes a cv section % usage: \section{} \newcommand*{\section}[1]{} +% starred variant, which is identical but defined to allow its use (e.g. for natbib compatibility, who uses \section*{} for the bibliography header) \AtEndPreamble{% \@ifpackageloaded{natbib} { diff --git a/moderncvstyleclassic.sty b/moderncvstyleclassic.sty index 7e4f540..0ab5592 100644 --- a/moderncvstyleclassic.sty +++ b/moderncvstyleclassic.sty @@ -133,7 +133,6 @@ \hspace{\separatorcolumnwidth}% \parbox[m]{\maincolumnwidth}{\sectionstyle{#1}}% \par\nobreak\vskip 1ex\@afterheading}% to avoid a pagebreak after the heading -% starred variant, which is identical but defined to allow its use (e.g. for natbib compatibility, who uses \section*{} for the bibliography header) \renewcommand*{\subsection}[1]{% \begin{tabular}{@{}p{\hintscolumnwidth}@{\hspace{\separatorcolumnwidth}}p{\maincolumnwidth}@{}}%