diff options
author | Karl Berry <karl@freefriends.org> | 2011-09-16 22:36:46 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-09-16 22:36:46 +0000 |
commit | 4d8f2264682b63c08c032a63a97fe111ac7e232f (patch) | |
tree | 0969e174ca3742d4c41748b166faab75ea3a9c67 /Master/texmf-dist | |
parent | e9f04505a09f012779b28101d16874ae45805679 (diff) |
context-gantt (16sep11)
git-svn-id: svn://tug.org/texlive/trunk@23985 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/context/third/gantt/gantt.txt | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/context/third/gantt/gantt-s-mp.tex | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/context/third/gantt/gantt.txt b/Master/texmf-dist/doc/context/third/gantt/gantt.txt index 8c788a35e6f..ff897767a8d 100644 --- a/Master/texmf-dist/doc/context/third/gantt/gantt.txt +++ b/Master/texmf-dist/doc/context/third/gantt/gantt.txt @@ -12,7 +12,7 @@ Here is a short description of the environments and commands: The gantt environment draws the canvas of a gantt figure. \startgantt[…]{no of Tasks to plot}{no of time slots} The optional argument […] can be filled in a key=value syntax, using one or more of the following keys: -* sf - MetaPost scale factor (default: 1) +* factor - MetaPost scale factor (default: 1) * xunitlength - length of one time slot (default: 1cm) * style - fontsize of labels (default: \tf) * titlestyle - fontsize of title section (default: \tfx) diff --git a/Master/texmf-dist/tex/context/third/gantt/gantt-s-mp.tex b/Master/texmf-dist/tex/context/third/gantt/gantt-s-mp.tex index 769d2a50937..ef6ad99ac7e 100644 --- a/Master/texmf-dist/tex/context/third/gantt/gantt-s-mp.tex +++ b/Master/texmf-dist/tex/context/third/gantt/gantt-s-mp.tex @@ -50,7 +50,7 @@ \getparameters[\????gantt][#1]} \setupgantt - [sf=1, + [factor=1, xunitlength=1cm, style=\tf, titlestyle=\tfx, @@ -80,7 +80,7 @@ % drawledgerline - Switch to enable/disable the drawing of horizontal ledger lines (default value: false) \long\def\dostartgantt[#1]#2#3% {\getparameters[\????gantt][#1]% - \gdef\gantt!sf{\@@@@ganttsf} + \gdef\gantt!factor{\@@@@ganttfactor} \gdef\gantt!ganttunitlength{\@@@@ganttxunitlength} \gdef\gantt!style{\getvalue{@@ganttstyle}} \gdef\gantt!titlestyle{\getvalue{@@gantttitlestyle}} @@ -123,7 +123,7 @@ {\startMPdrawing % debug % draw bbox currentpicture withcolor .625red; - currentpicture := currentpicture scaled \gantt!sf; + currentpicture := currentpicture scaled \gantt!factor; \stopMPdrawing \MPdrawingdonetrue\getMPdrawing \resetMPdrawing |