summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/koma-moderncvclassic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-01-05 00:09:33 +0000
committerKarl Berry <karl@freefriends.org>2012-01-05 00:09:33 +0000
commit414b6890543b46f8b209d9e7338a9d89ba6fdc4c (patch)
tree6d9facdb09cca0129d26e144d9a24ab45a6ac5ce /Master/texmf-dist/tex/latex/koma-moderncvclassic
parent91d0ccfc5f09a20c00421ac832f11f8eab0e7d9e (diff)
koma-moderncvclassic (4jan12)
git-svn-id: svn://tug.org/texlive/trunk@25025 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/koma-moderncvclassic')
-rw-r--r--Master/texmf-dist/tex/latex/koma-moderncvclassic/koma-moderncvclassic.sty26
1 files changed, 21 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/koma-moderncvclassic/koma-moderncvclassic.sty b/Master/texmf-dist/tex/latex/koma-moderncvclassic/koma-moderncvclassic.sty
index 705dc49b70b..fc12e14ef9b 100644
--- a/Master/texmf-dist/tex/latex/koma-moderncvclassic/koma-moderncvclassic.sty
+++ b/Master/texmf-dist/tex/latex/koma-moderncvclassic/koma-moderncvclassic.sty
@@ -1,5 +1,5 @@
-%% start of file `koma-moderncvclassic.sty' v0.4
-%% Copyright 2010--2011 Salome Södergran (salome.soedergran@gmx.ch)
+%% start of file `koma-moderncvclassic.sty' v0.5
+%% Copyright 2010--2012 Salome Södergran (salome.soedergran@gmx.ch)
%%
%% Adaption of moderncv, theme classic
%% (Copyright 2006-2008 Xavier Danaux (xdanaux@gmail.com))
@@ -13,7 +13,7 @@
% IDENTIFICATION
% ==============================
-\ProvidesPackage{koma-moderncvclassic}[2011/10/06 v0.4]
+\ProvidesPackage{koma-moderncvclassic}[2012/01/04 v0.5]
\NeedsTeXFormat{LaTeX2e}
% ==============================
@@ -71,6 +71,17 @@ hyperref%
% DEFINITIONS
% ==============================
+% providelength (< Joseph Wright)
+\newcommand*\providelength[1]{%
+ \begingroup
+ \escapechar\m@ne
+ \xdef\@gtempa{\string#1}%
+ \endgroup
+ \@ifundefined{\@gtempa}%
+ {\newskip#1}%
+ {}%
+}
+
% SYMBOLS
\newcommand*{\listitemsymbol}{\textbullet}
\newcommand*{\addresssymbol}{}
@@ -116,8 +127,13 @@ hyperref%
%
% hintscolumnwidth
\newlength{\hintscolumnwidth}
-%\setlength{\hintscolumnwidth}{0.15\textwidth}
-\setlength{\hintscolumnwidth}{2,79cm}
+\providelength{\myhintscolumnwidth}
+\ifdim\myhintscolumnwidth=\z@
+ \setlength\hintscolumnwidth{2,79cm}
+\else
+ \setlength{\hintscolumnwidth}{\myhintscolumnwidth}
+\fi
+
% separatorcolumnwidth
\newlength{\separatorcolumnwidth}
\setlength{\separatorcolumnwidth}{0.025\textwidth}