diff options
author | Karl Berry <karl@freefriends.org> | 2020-02-06 20:45:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-02-06 20:45:02 +0000 |
commit | af1d24be8bad221544f5bec7af3deafd1cbfe494 (patch) | |
tree | 2b268bf4825cafeb7432ac8d383e37ebbe5f6409 /Master/texmf-dist/tex/latex/tkz-base/tkz-obj-grids.tex | |
parent | 61692d2325979f9ab8c544ab5ad1d42fd755df70 (diff) |
tkz-base (6feb20)
git-svn-id: svn://tug.org/texlive/trunk@53695 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tkz-base/tkz-obj-grids.tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/tkz-base/tkz-obj-grids.tex | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-grids.tex b/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-grids.tex index f2bd6a5ffcd..46892db8e2d 100644 --- a/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-grids.tex +++ b/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-grids.tex @@ -1,27 +1,27 @@ % tkz-obj-grids.tex -% Copyright 2011 by Alain Matthes +% Copyright 2020 by Alain Matthes % This file may be distributed and/or modified % 1. under the LaTeX Project Public License and/or % 2. under the GNU Public License. % utf8 encoding -\def\fileversion{3.01c} -\def\filedate{2020/01/23} -\typeout{2020/01/23 3.01c tkz-obj-grids.tex} +\def\fileversion{3.02c} +\def\filedate{2020/01/24} +\typeout{2020/01/24 3.02c tkz-obj-grids.tex} \makeatletter %<--------------------------------------------------------------------------–> % Setup Grid %<--------------------------------------------------------------------------–> -\pgfkeys{/@tkzsugrid/.cd, - line width/.store in = \tkz@sug@lw, - color/.store in = \tkz@sug@color, - line width = \tkz@grid@lw, - color = \tkz@grid@color +\pgfkeys{/tkzsugrid/.cd, + line width/.store in = \tkz@sug@lw, + color/.store in = \tkz@sug@color, + line width = \tkz@grid@lw, + color = \tkz@grid@color } \def\tkzSetUpGrid{\pgfutil@ifnextchar[{\tkz@SetUpGrid}{\tkz@SetUpGrid[]}} \def\tkz@SetUpGrid[#1]{% \begingroup -\pgfqkeys{/@tkzsugrid}{#1} +\pgfqkeys{/tkzsugrid}{#1} \global\let\tkz@grid@lw\tkz@sug@lw \global\let\tkz@grid@color\tkz@sug@color \endgroup @@ -29,10 +29,10 @@ %<--------------------------------------------------------------------------–> % tkzGrid %<--------------------------------------------------------------------------–> -\pgfkeys{/@tkzGrid/.cd, +\pgfkeys{/tkzGrid/.cd, color/.code = {\def\tkz@gd@color{#1}% \edef\tkz@gd@subcolor{% - \tkz@gd@color!\tkzCoeffSubColor}}, + \tkz@gd@color!\tkzCoeffSubColor}}, subxstep/.store in = {\tkz@gd@subxstep}, subystep/.store in = {\tkz@gd@subystep}, ratio/.store in = {\tkz@gd@ratio}, @@ -40,20 +40,20 @@ \edef\tkz@gd@sublw{\tkz@gd@ratio\tkz@gd@lw}}, sub/.is if = tkz@gd@sub, sub/.default = true , - sub = false, - color = \tkz@grid@color, - ratio = 0.75, - subxstep = \tkz@grid@xstep, - subystep = \tkz@grid@ystep, - line width = \tkz@grid@lw, - /@tkzGrid/.search also = {/tikz}, + sub = false, + color = \tkz@grid@color, + ratio = 0.75, + subxstep = \tkz@grid@xstep, + subystep = \tkz@grid@ystep, + line width = \tkz@grid@lw, + /tkzGrid/.search also= {/tikz}, } %<--------------------------------------------------------------------------–> \def\tkzGrid{\pgfutil@ifnextchar[{\tkz@Grid}{\tkz@Grid[]}} \def\tkz@Grid[#1]{\@ifnextchar({\tkz@@Grid[#1]}% {\tkz@@Grid[#1](\tkz@tmp@xa,\tkz@tmp@ya)(\tkz@tmp@xb,\tkz@tmp@yb)}} \def\tkz@@Grid[#1](#2,#3)(#4,#5){% - \pgfqkeys{/@tkzGrid}{#1} + \pgfqkeys{/tkzGrid}{#1} \begingroup \edef\tkz@gxa{\fpeval{(#2-\tkz@init@xorigine)/\tkz@init@xstep}} \edef\tkz@gxb{\fpeval{(#4-\tkz@init@xorigine)/\tkz@init@xstep}} |