diff --git a/CHANGELOG b/CHANGELOG index e4c9821..32c587f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,4 @@ -version 0.16 (dd MMM 2012) +version 0.16 (15 Jan 2012) - added starred versions of \section and \subsection (that are identical to their non-starred version, to e.g. enable biblatex support as requested by S. Verberkt (launchpad bug #913102). diff --git a/examples/template-zh.pdf b/examples/template-zh.pdf index 16680e4..dc357a6 100644 Binary files a/examples/template-zh.pdf and b/examples/template-zh.pdf differ diff --git a/examples/template-zh.tex b/examples/template-zh.tex index d18829c..8800004 100644 --- a/examples/template-zh.tex +++ b/examples/template-zh.tex @@ -1,5 +1,5 @@ %% start of file `template-zh.tex'. -%% 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, @@ -18,7 +18,7 @@ \usepackage{CJKutf8} % 调整页面出血 -\usepackage[scale=0.8]{geometry} +\usepackage[scale=0.75]{geometry} %\setlength{\hintscolumnwidth}{3cm} % 如果你希望改变日期栏的宽度 % 个人信息 diff --git a/examples/template.pdf b/examples/template.pdf index 0c6b837..9e6d00c 100644 Binary files a/examples/template.pdf and b/examples/template.pdf differ diff --git a/examples/template.tex b/examples/template.tex index f55bcd2..c835c0a 100644 --- a/examples/template.tex +++ b/examples/template.tex @@ -1,5 +1,5 @@ %% start of file `template.tex'. -%% 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, @@ -19,7 +19,7 @@ %\usepackage{CJKutf8} % if you need to use CJK to typeset your resume in Chinese, Japanese or Korean % adjust the page margins -\usepackage[scale=0.8]{geometry} +\usepackage[scale=0.75]{geometry} %\setlength{\hintscolumnwidth}{3cm} % if you want to change the width of the column with the dates % personal data diff --git a/examples/template_casual_orange.pdf b/examples/template_casual_orange.pdf index 8545f9c..304f587 100644 Binary files a/examples/template_casual_orange.pdf and b/examples/template_casual_orange.pdf differ diff --git a/examples/template_classic_green.pdf b/examples/template_classic_green.pdf index 49b63a9..ea4b7ba 100644 Binary files a/examples/template_classic_green.pdf and b/examples/template_classic_green.pdf differ diff --git a/examples/template_multibib.pdf b/examples/template_multibib.pdf index c56d272..58a6795 100644 Binary files a/examples/template_multibib.pdf and b/examples/template_multibib.pdf differ diff --git a/moderncv.cls b/moderncv.cls index 4e7a82f..44f6cb9 100644 --- a/moderncv.cls +++ b/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] %------------------------------------------------------------------------------- diff --git a/moderncvcolorblack.sty b/moderncvcolorblack.sty index 45873d9..2fd2706 100644 --- a/moderncvcolorblack.sty +++ b/moderncvcolorblack.sty @@ -1,5 +1,5 @@ %% start of file `moderncvcolorblack.sty'. -%% 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} -\ProvidesPackage{moderncvcolorblack}[2011/12/23 v0.15.1 modern curriculum vitae color scheme: black] +\ProvidesPackage{moderncvcolorblack}[2012/01/15 v0.16 modern curriculum vitae color scheme: black] %------------------------------------------------------------------------------- diff --git a/moderncvcolorblue.sty b/moderncvcolorblue.sty index 303902d..c7107f0 100644 --- a/moderncvcolorblue.sty +++ b/moderncvcolorblue.sty @@ -1,5 +1,5 @@ %% start of file `moderncvcolorblue.sty'. -%% 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} -\ProvidesPackage{moderncvcolorblue}[2011/12/23 v0.15.1 modern curriculum vitae color scheme: blue] +\ProvidesPackage{moderncvcolorblue}[2012/01/15 v0.16 modern curriculum vitae color scheme: blue] %------------------------------------------------------------------------------- diff --git a/moderncvcolorgreen.sty b/moderncvcolorgreen.sty index 30c960a..a33c4a9 100644 --- a/moderncvcolorgreen.sty +++ b/moderncvcolorgreen.sty @@ -1,5 +1,5 @@ %% start of file `moderncvcolorgreen.sty'. -%% 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} -\ProvidesPackage{moderncvcolorgreen}[2011/12/23 v0.15.1 modern curriculum vitae color scheme: green] +\ProvidesPackage{moderncvcolorgreen}[2012/01/15 v0.16 modern curriculum vitae color scheme: green] %------------------------------------------------------------------------------- diff --git a/moderncvcolorgrey.sty b/moderncvcolorgrey.sty index 2e3416f..8403d45 100644 --- a/moderncvcolorgrey.sty +++ b/moderncvcolorgrey.sty @@ -1,5 +1,5 @@ %% start of file `moderncvcolorgrey.sty'. -%% 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} -\ProvidesPackage{moderncvcolorgrey}[2011/12/23 v0.15.1 modern curriculum vitae color scheme: grey] +\ProvidesPackage{moderncvcolorgrey}[2012/01/15 v0.16 modern curriculum vitae color scheme: grey] %------------------------------------------------------------------------------- diff --git a/moderncvcolororange.sty b/moderncvcolororange.sty index 107805d..181af44 100644 --- a/moderncvcolororange.sty +++ b/moderncvcolororange.sty @@ -1,5 +1,5 @@ %% start of file `moderncvcolororange.sty'. -%% 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} -\ProvidesPackage{moderncvcolororange}[2011/12/23 v0.15.1 modern curriculum vitae color scheme: orange] +\ProvidesPackage{moderncvcolororange}[2012/01/15 v0.16 modern curriculum vitae color scheme: orange] %------------------------------------------------------------------------------- diff --git a/moderncvcolorpurple.sty b/moderncvcolorpurple.sty index d751d1c..65fb829 100644 --- a/moderncvcolorpurple.sty +++ b/moderncvcolorpurple.sty @@ -1,5 +1,5 @@ %% start of file `moderncvcolorpurple.sty'. -%% 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} -\ProvidesPackage{moderncvcolorpurple}[2011/12/23 v0.15.1 modern curriculum vitae color scheme: purple] +\ProvidesPackage{moderncvcolorpurple}[2012/01/15 v0.16 modern curriculum vitae color scheme: purple] %------------------------------------------------------------------------------- diff --git a/moderncvcolorred.sty b/moderncvcolorred.sty index 0940bb6..2874efb 100644 --- a/moderncvcolorred.sty +++ b/moderncvcolorred.sty @@ -1,5 +1,5 @@ %% start of file `moderncvcolorred.sty'. -%% 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} -\ProvidesPackage{moderncvcolorred}[2011/12/23 v0.15.1 modern curriculum vitae color scheme: red] +\ProvidesPackage{moderncvcolorred}[2012/01/15 v0.16 modern curriculum vitae color scheme: red] %------------------------------------------------------------------------------- diff --git a/moderncvcompatibility.sty b/moderncvcompatibility.sty index 6ccc3a9..c05d480 100644 --- a/moderncvcompatibility.sty +++ b/moderncvcompatibility.sty @@ -1,5 +1,5 @@ %% start of file `moderncvcompatibility.sty'. -%% 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} -\ProvidesPackage{moderncvcompatibility}[2011/12/23 v0.15.1 modern curriculum vitae compatibility patches] +\ProvidesPackage{moderncvcompatibility}[2012/01/15 v0.16 modern curriculum vitae compatibility patches] %------------------------------------------------------------------------------- diff --git a/moderncvstylecasual.sty b/moderncvstylecasual.sty index ce4b4f1..09d33f1 100644 --- a/moderncvstylecasual.sty +++ b/moderncvstylecasual.sty @@ -1,5 +1,5 @@ %% start of file `moderncvstylecasual.sty'. -%% 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} -\ProvidesPackage{moderncvstylecasual}[2011/12/23 v0.15.1 modern curriculum vitae style scheme: casual] +\ProvidesPackage{moderncvstylecasual}[2012/01/15 v0.16 modern curriculum vitae style scheme: casual] %------------------------------------------------------------------------------- diff --git a/moderncvstyleclassic.sty b/moderncvstyleclassic.sty index 0ba607d..7317ef0 100644 --- a/moderncvstyleclassic.sty +++ b/moderncvstyleclassic.sty @@ -1,5 +1,5 @@ %% start of file `moderncvstyleclassic.sty'. -%% 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} -\ProvidesPackage{moderncvstyleclassic}[2011/12/23 v0.15.1 modern curriculum vitae style scheme: classic] +\ProvidesPackage{moderncvstyleclassic}[2012/01/15 v0.16 modern curriculum vitae style scheme: classic] %------------------------------------------------------------------------------- @@ -47,7 +47,7 @@ % length used \newlength{\quotewidth} \newlength{\hintscolumnwidth} -\setlength{\hintscolumnwidth}{0.15\textwidth} +\setlength{\hintscolumnwidth}{0.175\textwidth} \newlength{\separatorcolumnwidth} \setlength{\separatorcolumnwidth}{0.025\textwidth} \newlength{\maincolumnwidth} @@ -125,9 +125,12 @@ {{\centering{}\begin{minipage}{\quotewidth}\centering\quotestyle{\@quote}\end{minipage}\\[2.5em]}}% } +\newlength{\baseletterheight} +\settoheight{\baseletterheight}{\sectionstyle{o}} +\setlength{\baseletterheight}{\baseletterheight-0.95ex} \renewcommand*{\section}[1]{% \vspace*{2.5ex}% - \parbox[t]{\hintscolumnwidth}{\strut\raggedleft\raisebox{.08em}{\hintfont{\color{color1}\rule{\hintscolumnwidth}{1ex}}}}% + \parbox[t]{\hintscolumnwidth}{\strut\raggedleft\raisebox{\baseletterheight}{\color{color1}\rule{\hintscolumnwidth}{0.95ex}}}% \phantomsection{}% reset the anchor for hyperrefs \addcontentsline{toc}{part}{#1}% \hspace{\separatorcolumnwidth}% diff --git a/moderncvstyleempty.sty b/moderncvstyleempty.sty index 8cb5bde..8c7a35a 100644 --- a/moderncvstyleempty.sty +++ b/moderncvstyleempty.sty @@ -1,5 +1,5 @@ %% start of file `moderncvstyleempty.sty'. -%% 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} -\ProvidesPackage{moderncvstyleempty}[2011/12/23 v0.15.1 modern curriculum vitae scheme: empty] +\ProvidesPackage{moderncvstyleempty}[2012/01/15 v0.16 modern curriculum vitae scheme: empty] %------------------------------------------------------------------------------- diff --git a/moderncvstyleoldstyle.sty b/moderncvstyleoldstyle.sty index 61678de..8b374e0 100644 --- a/moderncvstyleoldstyle.sty +++ b/moderncvstyleoldstyle.sty @@ -1,5 +1,5 @@ %% start of file `moderncvstyleoldstyle.sty'. -%% 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} -\ProvidesPackage{moderncvstyleoldstyle}[2011/12/23 v0.15.1 modern curriculum vitae style: oldstyle] +\ProvidesPackage{moderncvstyleoldstyle}[2012/01/15 v0.16 modern curriculum vitae style: oldstyle] %-------------------------------------------------------------------------------