diff options
author | Karl Berry <karl@freefriends.org> | 2012-05-28 22:27:04 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-05-28 22:27:04 +0000 |
commit | 097e14d036c498af65a65ad9501810a71477215f (patch) | |
tree | a0050d8c078ec8e008bcc7ee23eb5a87d8390f80 /Master/texmf-dist/tex/generic/chronosys/chronosys.sty | |
parent | a3c59f0c6c658a1ea96c996c4ff141dae1e7277b (diff) |
chronosys (29may12)
git-svn-id: svn://tug.org/texlive/trunk@26700 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/chronosys/chronosys.sty')
-rw-r--r-- | Master/texmf-dist/tex/generic/chronosys/chronosys.sty | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/generic/chronosys/chronosys.sty b/Master/texmf-dist/tex/generic/chronosys/chronosys.sty index 5129513124f..8ce02a813f3 100644 --- a/Master/texmf-dist/tex/generic/chronosys/chronosys.sty +++ b/Master/texmf-dist/tex/generic/chronosys/chronosys.sty @@ -26,20 +26,22 @@ \NeedsTeXFormat{LaTeX2e} \RequirePackage{tikz} %\RequirePackage{xcolor} - \makeatletter\catcode`\!=11 \def\!chr@verif#1#2{\ifdefined#2\error!message \fi #1#2} % \input chronosyschr.tex - +% %\newenvironment{chronology}{\startchronology}{\stopchronology} -\let\starttikzpicture\tikzpicture \let\stoptikzpicture\endtikzpicture -\let\chronology\startchronology \let\endchronology\stopchronology -\def\!chrdefaultwidth{\textwidth} -\def\!chreventcolorbox{\colorbox{\!chr@eventcolorbox}} -\def\!chrperiodcolorbox{\colorbox{\!chr@periodcolorbox}} -\ProvidesPackage{chronosys} -\setupchronoevent[!!eventgradu@tion]{datesstyle=\tiny} -\setupchronoperiode[!!periodegradu@tion]{datesstyle=\tiny} +\!chrverif\let\chronology\startchronology \!chrverif\let\endchronology\stopchronology +\!chrverif\def\!chrstarttikzpicture{\tikzpicture}\!chrverif\def\!chrstoptikzpicture{\endtikzpicture}% +\!chrverif\def\!chrdraw{\draw}\!chrverif\def\!chrfill{\fill}\!chrverif\def\!chrfilldraw{\filldraw}% +\def\!chrdefaultwidth{\textwidth}% +\!chrverif\def\!chreventcolorbox{\colorbox{\!chr@eventcolorbox}}% +\!chrverif\def\!chrperiodcolorbox{\colorbox{\!chr@periodcolorbox}}% +\ProvidesPackage{chronosys}% +\setupchronoevent[!!eventgradu@tion]{datesstyle=\tiny}% +\setupchronoperiode[!!periodegradu@tion]{datesstyle=\tiny}% +\!chrverif\let\!chrusecolor\color +% \makeatother -\catcode`\!=12 +\catcode`\!=12\relax \endinput |