diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tkz-euclide/tkz-obj-eu-draw-lines.tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/tkz-euclide/tkz-obj-eu-draw-lines.tex | 50 |
1 files changed, 30 insertions, 20 deletions
diff --git a/Master/texmf-dist/tex/latex/tkz-euclide/tkz-obj-eu-draw-lines.tex b/Master/texmf-dist/tex/latex/tkz-euclide/tkz-obj-eu-draw-lines.tex index d837c35a1d7..3df6a484c2f 100644 --- a/Master/texmf-dist/tex/latex/tkz-euclide/tkz-obj-eu-draw-lines.tex +++ b/Master/texmf-dist/tex/latex/tkz-euclide/tkz-obj-eu-draw-lines.tex @@ -1,11 +1,21 @@ % tkz-obj-eu-draw-lines.tex -% 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. -\def\fileversion{3.02c} -\def\filedate{2020/01/24} -\typeout{2020/01/24 3.02c tkz-obj-eu-draw-lines.tex} +% Copyright 2020 Alain Matthes +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3 or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This work has the LPPL maintenance status “maintained”. +% +% The Current Maintainer of this work is Alain Matthes. + +% utf8 encoding +\def\fileversion{3.05c} +\def\filedate{2020/03/03} +\typeout{2020/03/03 3.05c tkz-obj-eu-draw-lines.tex} \makeatletter \def\tkz@numdl{0} \pgfkeys{/tkzdrawl/.cd, @@ -225,12 +235,12 @@ color/.code = {\xdef\tkz@line@color{#1}}, style/.code = {\xdef\tkz@line@style{#1}}, add/.code args = {#1 and #2} {\xdef\tkz@line@left{#1}% - \xdef\tkz@line@right{#2}% - } + \xdef\tkz@line@right{#2}}, + /tkzsuline/.search also={/tikz}% } %<--------------------------------------------------------------------------–> -\def\tkzSetUpLine{\pgfutil@ifnextchar[{\tkzActivOff\tkz@SetUpLine}{% - \tkzActivOff\tkz@SetUpLine[]}} +\def\tkzSetUpLine{\pgfutil@ifnextchar[{\tkz@SetUpLine}{% remove tkzActivOff 3.03 + \tkz@SetUpLine[]}} \def\tkz@SetUpLine[#1]{% \pgfkeys{% tkzsuline/.cd, @@ -291,10 +301,10 @@ color/.store in = \tkz@mkcolor, mark/.store in = \tkz@markseg, size/.store in = \tkz@mksize, - size = 4pt, - color = \tkz@mk@color, - pos = .5, - mark = |, + size = 4pt, + color = \tkz@mk@color, + pos = .5, + mark = |, /@tkzmarkoptions/.search also={/tikz}, } \def\tkzMarkSegment{\pgfutil@ifnextchar[{\tkz@MarkSegment}{\tkz@MarkSegment[]}} @@ -350,8 +360,7 @@ \next#2\@nil } %<--------------------------------------------------------------------------–> -\def\tkzLabelSegments{\pgfutil@ifnextchar[{\tkz@LabelSegments}{% - \tkz@LabelSegments[]}} +\def\tkzLabelSegments{\pgfutil@ifnextchar[{\tkz@LabelSegments}{\tkz@LabelSegments[]}} \def\tkz@LabelSegments[#1](#2)#3{% \def\tkz@optls{#1} \def\tkz@labelseg{#3} @@ -363,14 +372,15 @@ %<--------------------------------------------------------------------------–> % PolySeg %<--------------------------------------------------------------------------–> -\def\tkzDrawPolySeg{\pgfutil@ifnextchar[{\tkz@DrawPolySeg}{% - \tkz@DrawPolySeg[]}} +\def\tkzDrawPolySeg{\pgfutil@ifnextchar[{\tkz@DrawPolySeg}{\tkz@DrawPolySeg[]}} \def\tkz@DrawPolySeg[#1](#2,#3){% \begingroup \draw[line style,#1] (#2) - \foreach \po in {#3}{--(\po)};% + \foreach \pt in {#2,#3}{--(\pt)};% \endgroup } + + %<--------------------------------------------------------------------------–> % add dim % \draw[dim={5cm,7pt,}] (A) -- (B); |