summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/moderncv/moderncv.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-06-01 23:06:22 +0000
committerKarl Berry <karl@freefriends.org>2010-06-01 23:06:22 +0000
commitf4d364d450d3bb42f7a9d4904f9467dee51f9b45 (patch)
tree970d85326d6406f9d4589f6e6c005463c88f2b8e /Master/texmf-dist/tex/latex/moderncv/moderncv.cls
parentfe3102c2b4b99f358423d81a51d6a54e4f305589 (diff)
moderncvs update (1jun10)
git-svn-id: svn://tug.org/texlive/trunk@18684 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.cls43
1 files changed, 42 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/moderncv/moderncv.cls b/Master/texmf-dist/tex/latex/moderncv/moderncv.cls
index f06b0e7d760..28101252ecd 100644
--- a/Master/texmf-dist/tex/latex/moderncv/moderncv.cls
+++ b/Master/texmf-dist/tex/latex/moderncv/moderncv.cls
@@ -206,7 +206,7 @@
% style commands definitions
%-------------------------------------------------------------------------------
% symbols used
-\providecommand*{\listitemsymbol}{\textbullet}
+\providecommand*{\listitemsymbol}{\Neutral}%{{\fontencoding{U}\fontfamily{ding}\selectfont\tiny\symbol{'102}}}
\providecommand*{\addresssymbol}{}
\providecommand*{\mobilesymbol}{\Mobilefone}
\providecommand*{\phonesymbol}{\Telefon}
@@ -450,6 +450,47 @@
\newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
\let\@openbib@code\@empty
+% itemize, enumerate and description environment
+\setlength{\leftmargini} {1.2em}
+\leftmargin\leftmargini
+\setlength{\leftmarginii} {1em}
+\setlength{\leftmarginiii} {1.87em}
+\setlength{\leftmarginiv} {1.7em}
+\setlength{\leftmarginv} {1em}
+\setlength{\leftmarginvi} {1em}
+\setlength{\labelsep} {.5em}
+\setlength{\labelwidth} {\leftmargini}
+\addtolength{\labelwidth} {-\labelsep}
+\@beginparpenalty -\@lowpenalty
+\@endparpenalty -\@lowpenalty
+\@itempenalty -\@lowpenalty
+% itemize labels
+\newcommand\labelitemi{\listitemsymbol{}}
+\newcommand\labelitemii{{\large\bfseries-}}
+\newcommand\labelitemiii{\textperiodcentered}%{\textasteriskcentered}
+\newcommand\labelitemiv{\textperiodcentered}
+% enumerate labels
+\renewcommand\theenumi{\@arabic\c@enumi}
+\renewcommand\theenumii{\@alph\c@enumii}
+\renewcommand\theenumiii{\@roman\c@enumiii}
+\renewcommand\theenumiv{\@Alph\c@enumiv}
+\newcommand\labelenumi{\theenumi.}
+\newcommand\labelenumii{(\theenumii)}
+\newcommand\labelenumiii{\theenumiii.}
+\newcommand\labelenumiv{\theenumiv.}
+\renewcommand\p@enumii{\theenumi}
+\renewcommand\p@enumiii{\p@enumii(\theenumii)}
+\renewcommand\p@enumiv{\p@enumiii\theenumiii}
+% description label
+\newcommand*\descriptionlabel[1]{\hspace\labelsep\normalfont\bfseries#1}
+% hooks to adjust spacing (idea by Jakob Schiøtz; see http://dcwww.camd.dtu.dk/~schiotz/comp/LatexTips/tweaklist.sty)
+\RequirePackage{tweaklist}% distributed with moderncv, not found on ctan and slightly modified
+\renewcommand*{\itemhook}{
+ \setlength{\topsep}{0pt}%
+ \setlength{\itemsep}{0pt}}
+\renewcommand*{\enumhook}{\itemhook{}}
+\renewcommand*{\deschook}{\itemhook{}}
+
% classical \today definition
\def\today{\ifcase\month\or
January\or February\or March\or April\or May\or June\or