From e46223e8e9276b934748de1252847de76cbb4066 Mon Sep 17 00:00:00 2001 From: Xavier Danaux Date: Mon, 31 May 2010 22:29:56 +0200 Subject: [PATCH] Fix for launchpad bug #393920 --- examples/template.pdf | Bin 166073 -> 166073 bytes examples/template_casual_orange.pdf | Bin 164484 -> 164484 bytes examples/template_classic_green.pdf | Bin 230582 -> 230582 bytes examples/template_multibib.pdf | Bin 164681 -> 164681 bytes moderncv.cls | 10 +++++++++- 5 files changed, 9 insertions(+), 1 deletion(-) diff --git a/examples/template.pdf b/examples/template.pdf index 5c376ae89cb6cedad442dff9cea3bebedf39f3c0..52489604e5eda164e2b37a7ee586d793e21b9571 100644 GIT binary patch delta 135 zcmdlvk!$Bfu7(!IEljWLvAO5K=OIP6v}L E0B&O;ssI20 delta 135 zcmdlvk!$Bfu7(!IEljWLvVyS4%fnOEWiTS7Q?+ h7gtjgBV$8XM*|C2Ggn6=S2sHa8$wE^r#CUl0s#KX9kc)d diff --git a/examples/template_classic_green.pdf b/examples/template_classic_green.pdf index 64d4811c1ba916f28b4fdafa0428f3d9eb576cb4..1d5d2121866e98d91bdae9b9bfd2532f60a0a46e 100644 GIT binary patch delta 115 zcmdni$+xYOuc3vpg=q`(j4F0RBO@bo1Iy|2tC(eAob89In5S?$yI7jIxS6_|nVLHp j7#TPlnHxGAI~o|9TDUp8m{=N_+bP%(QZjvJ3$rW$RGA(^ delta 115 zcmdni$+xYOuc3vpg=q`(j4E~mLsL^TBZKMltC(eAob89In5S?$8@rggI2#xnm^+yp j8(5kfyBeFgm|8kI8k##hIT^TE*eTc$QZjvJ3$rW$PB$Brbce&CXSAV=5B^&PKM5gKv7dW1sgX4N~Y^HGsyw~ DOrs$# diff --git a/moderncv.cls b/moderncv.cls index a2cb5cc..4b2cf95 100644 --- a/moderncv.cls +++ b/moderncv.cls @@ -165,7 +165,7 @@ \RequirePackage[dvips]{graphicx}\fi % headers and footers -\usepackage{fancyhdr} +\RequirePackage{fancyhdr} \fancypagestyle{plain}{ \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt} @@ -329,6 +329,14 @@ \hspace{\separatorcolumnwidth}% \parbox[m]{\maincolumnwidth}{\sectionstyle{#1}}\\[1ex]} % \cvline[1ex]{\color{sectionrectanglecolor}\rule[0]{\hintscolumnwidth}{1ex}}{\sectionstyle{#1}}}% gives bad alignment of rectangle; too bad m{width} columns seem not to work as a valid column definition for tabular environments +% 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} + { + \RequirePackage{suffix} + \WithSuffix\newcommand\section*{\section} + }{} +} % usage: \subsection{title} \newcommand*{\subsection}[1]{%