summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tkz-euclide/tkz-obj-eu-draw-lines.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-02-06 20:50:18 +0000
committerKarl Berry <karl@freefriends.org>2020-02-06 20:50:18 +0000
commitdec495c25120bdd95ed719784bf1afa8a63145fa (patch)
treea769fb046b216e8d9848dabeb52bd5db4964419c /Master/texmf-dist/tex/latex/tkz-euclide/tkz-obj-eu-draw-lines.tex
parentde962227058faeeff3cdfca28647678552dadb42 (diff)
tkz-euclide (6feb20)
git-svn-id: svn://tug.org/texlive/trunk@53697 c570f23f-e606-0410-a88d-b1316a301751
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.tex38
1 files changed, 19 insertions, 19 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 76923e844b7..d837c35a1d7 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,20 +1,20 @@
% tkz-obj-eu-draw-lines.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.
-\def\fileversion{3.01c}
-\def\filedate{2020/01/23}
-\typeout{2020/01/23 3.01c tkz-obj-eu-draw-lines.tex}
+\def\fileversion{3.02c}
+\def\filedate{2020/01/24}
+\typeout{2020/01/24 3.02c tkz-obj-eu-draw-lines.tex}
\makeatletter
\def\tkz@numdl{0}
-\pgfkeys{/DrawLine/.cd,
+\pgfkeys{/tkzdrawl/.cd,
median/.code = \def\tkz@numdl{0},
altitude/.code = \def\tkz@numdl{1},
bisector/.code = \def\tkz@numdl{2},
none/.code = \def\tkz@numdl{3},
none,
- /DrawLine/.search also={/tikz}
+ /tkzdrawl/.search also={/tikz}
}
%<--------------------------------------------------------------------------–>
% Drawing a line >
@@ -22,7 +22,7 @@
\def\tkzDrawLine{\pgfutil@ifnextchar[{\tkz@DrawLine}{\tkz@DrawLine[]}}
\def\tkz@DrawLine[#1](#2){%
\begingroup
-\pgfqkeys{/DrawLine}{#1}
+\pgfqkeys{/tkzdrawl}{#1}
\ifcase\tkz@numdl%
\tkzDrawMedian[#1](#2)
\or% 1
@@ -42,7 +42,7 @@
\def\tkzDrawSLine{\pgfutil@ifnextchar[{\tkz@DrawSLine}{\tkz@DrawSLine[]}}
\def\tkz@DrawSLine[#1](#2,#3){%
\begingroup
-\draw[#1] (#2) to (#3);
+\draw[line style,#1] (#2) to (#3);
\endgroup
}%
%<--------------------------------------------------------------------------–>
@@ -52,7 +52,7 @@
\def\tkz@Median[#1](#2,#3,#4){%
\begingroup
\tkzDefMidPoint(#2,#4)
- \tkzDrawSLine[add= 0 and 0,/DrawLine/.cd,#1](#3,tkzPointResult)
+ \tkzDrawSLine[add= 0 and 0,/tkzdrawl/.cd,#1](#3,tkzPointResult)
\endgroup
}
%<--------------------------------------------------------------------------–>
@@ -62,7 +62,7 @@
\def\tkz@Altitude[#1](#2,#3,#4){%
\begingroup
\tkzUProjection(#2,#4)(#3)
- \tkzDrawSLine[add= 0 and 0,/DrawLine/.cd,#1](#3,tkzPointResult)
+ \tkzDrawSLine[add= 0 and 0,/tkzdrawl/.cd,#1](#3,tkzPointResult)
\endgroup
}
%<--------------------------------------------------------------------------–>
@@ -73,7 +73,7 @@
\begingroup
\tkzDefBisectorLine(#2,#3,#4)
\tkzInterLL(#2,#4)(#3,tkzPointResult)
- \tkzDrawSLine[add= 0 and 0,/DrawLine/.cd,#1](#3,tkzPointResult)
+ \tkzDrawSLine[add= 0 and 0,/tkzdrawl/.cd,#1](#3,tkzPointResult)
\endgroup
}
%<--------------------------------------------------------------------------–>
@@ -169,7 +169,7 @@
median,
name/.store in = \tkz@newpoint@name,
name/.initial = {},
- name = {},
+ name = {},
/DrawTLines/.search also={/tikz}
}
%<--------------------------------------------------------------------------–>
@@ -220,12 +220,12 @@
% Setup Line
%<--------------------------------------------------------------------------–>
\pgfkeys{%
- setupline/.cd,
+ tkzsuline/.cd,
line width/.code = {\xdef\tkz@line@lw{#1}},
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}%
}
}
%<--------------------------------------------------------------------------–>
@@ -233,12 +233,12 @@
\tkzActivOff\tkz@SetUpLine[]}}
\def\tkz@SetUpLine[#1]{%
\pgfkeys{%
- setupline/.cd,
+ tkzsuline/.cd,
line width = \tkz@euc@linewidth,
color = \tkz@euc@linecolor,
style = \tkz@euc@linestyle,
add = {\tkz@euc@lineleft} and {\tkz@euc@lineright}}
-\pgfqkeys{/setupline}{#1}
+\pgfqkeys{/tkzsuline}{#1}
%<--------------------------------------------------------------------------–>
% Line style
%<--------------------------------------------------------------------------–>
@@ -252,14 +252,14 @@
%<--------------------------------------------------------------------------–>
% draw segment (s)
%<--------------------------------------------------------------------------–>
-\pgfkeys{/@tkzsegoptions/.cd,
- /@tkzsegoptions/.search also={/tikz},
+\pgfkeys{/tkzdraws/.cd,
+ /tkzdraws/.search also={/tikz},
}
\def\tkzDrawSegment{\pgfutil@ifnextchar[{\tkz@DrawSegment}{%
\tkz@DrawSegment[]}}
\def\tkz@DrawSegment[#1](#2,#3){%
\begingroup
- \pgfqkeys{/@tkzsegoptions}{#1}
+ \pgfqkeys{/tkzdraws}{#1}
\draw[line style,add=0 and 0,#1] (#2) to (#3);
\endgroup
}%