diff options
author | Karl Berry <karl@freefriends.org> | 2012-01-17 23:29:19 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-01-17 23:29:19 +0000 |
commit | 8b3c53e16773febdc56edb45b10587e255e0491b (patch) | |
tree | 7e3dfb6fee7c7fc3e8be92e4a128aa817ec23cc4 /Master/texmf-dist/tex/latex/moderntimeline | |
parent | bd671452b609d6d595ec0be1c068a6930ffd3df5 (diff) |
moderntimeline 0.6 (17jan12)
git-svn-id: svn://tug.org/texlive/trunk@25132 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/moderntimeline')
-rw-r--r-- | Master/texmf-dist/tex/latex/moderntimeline/moderntimeline.sty | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/moderntimeline/moderntimeline.sty b/Master/texmf-dist/tex/latex/moderntimeline/moderntimeline.sty index 69a58ba75eb..d3e298dabac 100644 --- a/Master/texmf-dist/tex/latex/moderntimeline/moderntimeline.sty +++ b/Master/texmf-dist/tex/latex/moderntimeline/moderntimeline.sty @@ -20,7 +20,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{moderntimeline} - [2011/11/15 0.5 Add timelines to moderncv entries] + [2012/01/17 0.6 Add timelines to moderncv entries] \ProvidesPackage{moderntimeline} \RequirePackage{tikz} \RequirePackage{kvoptions} @@ -91,7 +91,7 @@ \def\tl@lastyear{#2} \pgfmathsetmacro\tl@yearrange{\tl@lastyear-\tl@firstyear} } -\newcommand{\tldatelabelcventry}[8][sectionrectanglecolor]{% +\newcommand{\tldatelabelcventry}[8][color1]{% \pgfmathsetmacro\tl@endyear{\tl@lastyear} \pgfmathsetmacro\tl@startfraction{(#2-\tl@firstyear)/(\tl@lastyear-\tl@firstyear)}% \pgfmathsetmacro\tl@endfraction{(\tl@endyear-\tl@firstyear)/(\tl@lastyear-\tl@firstyear)}% @@ -106,7 +106,7 @@ } {#4}{#5}{#6}{#7}{#8} } -\newcommand{\tldatecventry}[7][sectionrectanglecolor]{% +\newcommand{\tldatecventry}[7][color1]{% \pgfmathsetmacro\tl@endyear{\tl@lastyear}% \pgfmathsetmacro\tl@startfraction{(#2-\tl@firstyear)/(\tl@lastyear-\tl@firstyear)}% \pgfmathsetmacro\tl@endfraction{(\tl@endyear-\tl@firstyear)/(\tl@lastyear-\tl@firstyear)}% @@ -122,7 +122,7 @@ }% {#3}{#4}{#5}{#6}{#7}% } -\newcommand{\tlcventry}[8][sectionrectanglecolor]{% +\newcommand{\tlcventry}[8][color1]{% \pgfmathsetmacro\tl@endyear{ifthenelse(#3==0,\tl@lastyear,#3)}% \pgfmathsetmacro\tl@startfraction{(#2-\tl@firstyear)/(\tl@lastyear-\tl@firstyear)}% \pgfmathsetmacro\tl@endfraction{(\tl@endyear-\tl@firstyear)/(\tl@lastyear-\tl@firstyear)}% @@ -148,11 +148,11 @@ }% {#4}{#5}{#6}{#7}{#8}% } -\newcommand{\tllabelcventry}[9][sectionrectanglecolor]{% +\newcommand{\tllabelcventry}[9][color1]{% \pgfmathsetmacro\tl@endyear{ifthenelse(#3==0,\tl@lastyear,#3)} \pgfmathsetmacro\tl@startfraction{(#2-\tl@firstyear)/(\tl@lastyear-\tl@firstyear)}% \pgfmathsetmacro\tl@endfraction{(\tl@endyear-\tl@firstyear)/(\tl@lastyear-\tl@firstyear)}% - \cventry{\tikz[baseline=(tl@endyear.north)]{ + \cventry{\tikz[baseline=0pt]{ \fill [\tl@runningcolor] (0,0) rectangle (\hintscolumnwidth,\tl@runningwidth); \fill [#1] (0,0) |