diff --git a/CHANGELOG b/CHANGELOG index 9d006bd..25dad72 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,13 @@ version 1.6.0 (xx MMM 2013) + - added an optional argument to \moderncvstyle to specify style options, i.e. + \moderncvstyle[options]{style}. + - added style options to the banking style, to specify how the section- and + subsectionrules should behave: "fullrules", "shortrules", "mixedrules" (full + rules for sections, short rules for subsections) and "norules". - corrected the color of \addressstyle to match the one effectively used (color2). + - added a check on the emptyness of \title when setting the hyperref document + properties. version 1.5.1 (29 Apr 2013) - made sure that XeLaTeX or LuaLaTeX is in use before loading the awesome icon diff --git a/moderncv.cls b/moderncv.cls index aa3f1e4..49a2fb1 100644 --- a/moderncv.cls +++ b/moderncv.cls @@ -128,7 +128,7 @@ bookmarksopen = true, bookmarksdepth= 2,% to show sections and subsections pdfauthor = {\@firstname{}~\@lastname{}}, - pdftitle = {\@firstname{}~\@lastname{} -- \@title{}}, + pdftitle = {\@firstname{}~\@lastname{}\notblank{\@title}{ -- \@title}{}}, pdfsubject = {Resum\'{e} of \@firstname{}~\@lastname{}}, pdfkeywords = {\@firstname{}~\@lastname{}, curriculum vit\ae{}, resum\'{e}}}} diff --git a/moderncvstylebanking.sty b/moderncvstylebanking.sty index 974622f..e946ea6 100644 --- a/moderncvstylebanking.sty +++ b/moderncvstylebanking.sty @@ -198,8 +198,8 @@ \renewcommand*{\cventry}[7][.25em]{ \begin{tabular*}{\textwidth}{l@{\extracolsep{\fill}}r}% - {\bfseries #4} & {\bfseries #5} \\% - {\itshape #3\ifthenelse{\equal{#6}{}}{}{, #6}} & {\itshape #2}\\% + {\bfseries #4} & {\bfseries #5} \\% + {\itshape #3\ifthenelse{\equal{#6}{}}{}{, #6}} & {\itshape #2}\\% \end{tabular*}% \ifx&% \else{\\\vbox{\small#7}}\fi%