From 8b3c53e16773febdc56edb45b10587e255e0491b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 17 Jan 2012 23:29:19 +0000 Subject: moderntimeline 0.6 (17jan12) git-svn-id: svn://tug.org/texlive/trunk@25132 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/moderntimeline/moderntimeline.sty | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Master/texmf-dist/tex/latex/moderntimeline') 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) -- cgit v1.2.3