summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tzplot/tzplot.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/tzplot/tzplot.sty')
-rw-r--r--Master/texmf-dist/tex/latex/tzplot/tzplot.sty61
1 files changed, 39 insertions, 22 deletions
diff --git a/Master/texmf-dist/tex/latex/tzplot/tzplot.sty b/Master/texmf-dist/tex/latex/tzplot/tzplot.sty
index 593659b03f9..c5a1413a142 100644
--- a/Master/texmf-dist/tex/latex/tzplot/tzplot.sty
+++ b/Master/texmf-dist/tex/latex/tzplot/tzplot.sty
@@ -11,7 +11,7 @@
%% http://www.latex-project.org/lppl.txt.
%%
%% -------------------------------------------------
-\ProvidesPackage{tzplot-v1.0}[2021/02/28 v1.0 Plot Graphs with TikZ Abbreviations]
+\ProvidesPackage{tzplot-v1.0.1}[2021/03/20 v1.0.1 Plot Graphs with TikZ Abbreviations]
% expl3,xparse: LPPL
% tikz: LPPL and/or GNU GPL
@@ -1488,7 +1488,7 @@ calligraphy, % for calligraphic brace (load after decorations.pathreplacing)
\IfValueT { #3 }
{ \renewcommand\tzpathstyle{ #3 } }
- \IfBooleanTF { #1 } % (*) or not (NOT USED!)
+ \IfBooleanTF { #1 } % (*) or not
{ \bool_set_true:N \l_tmpa_bool }
{ \bool_set_false:N \l_tmpa_bool }
@@ -1576,7 +1576,7 @@ calligraphy, % for calligraphic brace (load after decorations.pathreplacing)
\tl_set:Nn \l_tzpath_STYLE_B_tl
{ ~ node [ #4 ] { #3 } }
}
- \IfValueTF { #5 }
+ \IfValueTF { #5 } % <+ or ++ or none> (NOT USED!)
{
\tl_set:Nn \l_tzpath_STYLE_C_tl { #5 }
}
@@ -1927,7 +1927,7 @@ calligraphy, % for calligraphic brace (load after decorations.pathreplacing)
%%% \tzcircle
\NewDocumentCommand\tzcircle
- { s O{} d<> D""{} r() r() G{\tz@initial@fill@opacity} }
+ { s O{} d<> D""{} r() r() G{\tz@initial@fill@opacity} D<>{} }
{
\renewcommand\tzfillopacity{#7}
\IfBooleanTF { #1 }
@@ -1936,25 +1936,27 @@ calligraphy, % for calligraphic brace (load after decorations.pathreplacing)
{% if shift
\draw [ fill = \tzfillcolor , fill~opacity = #7 ,
text~opacity = 1 ,
- name~path = #4 , #2 ] ([shift={(#3)}]#5) circle (#6) ;
+ name~path = #4 , #2 ] ([shift={(#3)}]#5) circle (#6)
+ #8 ;
}
{% no shift (normal)
\draw [ fill = \tzfillcolor , fill~opacity = #7 ,
text~opacity = 1 ,
- name~path = #4 , #2 ] (#5) circle (#6) ;
+ name~path = #4 , #2 ] (#5) circle (#6)
+ #8 ;
}
}
{
\IfValueTF { #3 }
- { \draw [ #2 ] ([shift={(#3)}]#5) circle (#6) ; }
- { \draw [ #2 ] (#5) circle (#6) ; }
+ { \draw [ #2 ] ([shift={(#3)}]#5) circle (#6) #8 ; }
+ { \draw [ #2 ] (#5) circle (#6) #8 ; }
}
}
%%% \tzellipse
\NewDocumentCommand\tzellipse
- { s O{} d<> D""{} r() r() G{\tz@initial@fill@opacity} }
+ { s O{} d<> D""{} r() r() G{\tz@initial@fill@opacity} D<>{} }
{
\renewcommand\tzfillopacity{#7}
\IfBooleanTF { #1 }
@@ -1963,26 +1965,32 @@ calligraphy, % for calligraphic brace (load after decorations.pathreplacing)
{% if shift
\draw [ fill = \tzfillcolor , fill~opacity = #7 ,
text~opacity = 1 ,
- name~path = #4 , #2 ] ([shift={(#3)}]#5) ellipse (#6) ;
+ name~path = #4 , #2 ] ([shift={(#3)}]#5) ellipse (#6)
+ #8 ;
}
{% no shift (normal)
\draw [ fill = \tzfillcolor , fill~opacity = #7 ,
text~opacity = 1 ,
- name~path = #4 , #2 ] (#5) ellipse (#6) ;
+ name~path = #4 , #2 ] (#5) ellipse (#6)
+ #8 ;
}
}
{
\IfValueTF { #3 }
- { \draw [ name~path = #4 , #2 ] ([shift={(#3)}]#5) ellipse (#6) ; }
- { \draw [ name~path = #4 , #2 ] (#5) ellipse (#6) ; }
+ { \draw [ name~path = #4 , #2 ] ([shift={(#3)}]#5) ellipse (#6) #8 ; }
+ { \draw [ name~path = #4 , #2 ] (#5) ellipse (#6) #8 ; }
}
}
+%%% --- end of \tzellipse
+
+\let\tzoval\tzellipse
+
%%% \tzframe
\NewDocumentCommand\tzframe
- { s t+ O{} d<> D""{} r() r() G{\tz@initial@fill@opacity} }
+ { s t+ O{} d<> D""{} r() r() G{\tz@initial@fill@opacity} D<>{} }
{
\renewcommand\tzfillopacity{#8}
\IfBooleanTF { #1 }
@@ -1994,13 +2002,15 @@ calligraphy, % for calligraphic brace (load after decorations.pathreplacing)
\draw [ fill = \tzfillcolor , fill~opacity = \tzfillopacity ,
text~opacity = 1 ,
name~path = #5 , #3 ]
- ([shift={(#4)}]#6) rectangle ++ (#7) ;
+ ([shift={(#4)}]#6) rectangle ++ (#7)
+ #9 ;
}
{% no shift
\draw [ fill = \tzfillcolor , fill~opacity = \tzfillopacity ,
text~opacity = 1 ,
name~path = #5 , #3 ]
- (#6) rectangle ++ (#7) ;
+ (#6) rectangle ++ (#7)
+ #9 ;
}
}
{
@@ -2009,13 +2019,15 @@ calligraphy, % for calligraphic brace (load after decorations.pathreplacing)
\draw [ fill = \tzfillcolor , fill~opacity = \tzfillopacity ,
text~opacity = 1 ,
name~path = #5 , #3 ]
- ([shift={(#4)}]#6) rectangle ([shift={(#4)}]#7) ;
+ ([shift={(#4)}]#6) rectangle ([shift={(#4)}]#7)
+ #9 ;
}
{% no shift
\draw [ fill = \tzfillcolor , fill~opacity = \tzfillopacity ,
text~opacity = 1 ,
name~path = #5 , #3 ]
- (#6) rectangle (#7) ;
+ (#6) rectangle (#7)
+ #9 ;
}
}
}
@@ -2025,24 +2037,29 @@ calligraphy, % for calligraphic brace (load after decorations.pathreplacing)
\IfValueTF { #4 }
{% if shift
\draw [ name~path = #5 , #3 ]
- ([shift={(#4)}]#6) rectangle ++ (#7) ;
+ ([shift={(#4)}]#6) rectangle ++ (#7)
+ #9 ;
}
{% no shift
- \draw [ name~path = #5 , #3 ] (#6) rectangle ++ (#7) ;
+ \draw [ name~path = #5 , #3 ] (#6) rectangle ++ (#7) #9 ;
}
}
{
\IfValueTF { #4 }
{% if shift
\draw [ name~path = #5 , #3 ]
- ([shift={(#4)}]#6) rectangle ([shift={(#4)}]#7) ;
+ ([shift={(#4)}]#6) rectangle ([shift={(#4)}]#7)
+ #9 ;
}
{% no shift
- \draw [ name~path = #5 , #3 ] (#6) rectangle (#7) ;
+ \draw [ name~path = #5 , #3 ] (#6) rectangle (#7) #9 ;
}
}
}
}
+%%% --- end of \tzframe
+
+\let\tzrectangle\tzframe
%%% \tzparabola