summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/moderncv/moderncv.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-02-06 00:42:34 +0000
committerKarl Berry <karl@freefriends.org>2012-02-06 00:42:34 +0000
commit27d1d1646fa5dc2daba1e09c2d2175c211d93def (patch)
treee7b644fc1c31207cb69662f4278db7d555a63116 /Master/texmf-dist/tex/latex/moderncv/moderncv.cls
parent4e9750715f219d797d201e091dd0917660b68178 (diff)
moderncv 0.18 (5feb12)
git-svn-id: svn://tug.org/texlive/trunk@25300 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/moderncv/moderncv.cls')
-rw-r--r--Master/texmf-dist/tex/latex/moderncv/moderncv.cls19
1 files changed, 10 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/moderncv/moderncv.cls b/Master/texmf-dist/tex/latex/moderncv/moderncv.cls
index cf19a0457a9..f7e73d5e436 100644
--- a/Master/texmf-dist/tex/latex/moderncv/moderncv.cls
+++ b/Master/texmf-dist/tex/latex/moderncv/moderncv.cls
@@ -10,7 +10,7 @@
% identification
%-------------------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{moderncv}[2012/01/25 v0.17 modern curriculum vitae document class]
+\ProvidesClass{moderncv}[2012/02/05 v0.18 modern curriculum vitae document class]
%-------------------------------------------------------------------------------
@@ -114,6 +114,7 @@
pdfcreator = \LaTeX{} with `moderncv' package,
pdfproducer = \LaTeX{},
bookmarksopen = true,
+ bookmarksdepth= 2,% to show sections and subsections
pdfauthor = \@firstname~\@familyname,
pdftitle = \@title,
pdfsubject = \@firstname~\@familyname,
@@ -175,11 +176,11 @@
% design commands definitions
%-------------------------------------------------------------------------------
% symbols
-% itemize labels
-\newcommand*{\labelitemi}{\textcolor{color1}{\Neutral}}% alternative" \fontencoding{U}\fontfamily{ding}\selectfont\tiny\symbol{'102}
-\newcommand*{\labelitemii}{\textcolor{color1}{\large\bfseries-}}
-\newcommand*{\labelitemiii}{\textcolor{color1}{\textperiodcentered}}% alternative: \textasteriskcentered; both force the use of the CMSY font, even when lmodern fonts are used :(
-\newcommand*{\labelitemiv}{\textcolor{color1}{\textperiodcentered}}
+% itemize labels (the struts were added to correct inter-item spacing (works for single line items, until a solution is found for multi-line ones...)
+\newcommand*{\labelitemi}{\strut\textcolor{color1}{\Neutral}}% alternative" \fontencoding{U}\fontfamily{ding}\selectfont\tiny\symbol{'102}
+\newcommand*{\labelitemii}{\strut\textcolor{color1}{\large\bfseries-}}
+\newcommand*{\labelitemiii}{\strut\textcolor{color1}{\textperiodcentered}}% alternative: \textasteriskcentered; both force the use of the CMSY font, even when lmodern fonts are used :(
+\newcommand*{\labelitemiv}{\strut\textcolor{color1}{\textperiodcentered}}
% enumerate labels
\renewcommand{\theenumi}{\@arabic\c@enumi}
\renewcommand{\theenumii}{\@alph\c@enumii}
@@ -278,12 +279,12 @@
\newcommand*{\cvlistdoubleitem}[3][\listitemsymbol]{}
% makes a typical cv job / education entry
-% usage: \cventry{years}{degree/job title}{institution/employer}{localization}{optionnal: grade/...}{optional: comment/job description}
-\newcommand*{\cventry}[6]{}
+% usage: \cventry[spacing]{years}{degree/job title}{institution/employer}{localization}{optionnal: grade/...}{optional: comment/job description}
+\newcommand*{\cventry}[7][.25em]{}
% makes a cv entry with a proficiency comment
% usage: \cvitemwithcomment[spacing]{header}{text}{comment}
-\newcommand*{\cvitemwithcomment}[4]{}
+\newcommand*{\cvitemwithcomment}[4][.25em]{}
% makes a generic hyperlink
% usage: \link[optional text]{link}