diff options
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 |