diff options
author | Karl Berry <karl@freefriends.org> | 2015-03-18 22:18:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-03-18 22:18:56 +0000 |
commit | 3f21ad1106c152aa75655ef3ff6c9079047cef55 (patch) | |
tree | 2ca3a90a6adbb62866a196ce79cf53a60f3d38a2 /Master/texmf-dist/tex | |
parent | a38b370bf53c20d0c435281ec6704366554873aa (diff) |
tikz-palattice (18mar15)
git-svn-id: svn://tug.org/texlive/trunk@36554 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/tikz-palattice/tikz-palattice.sty | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/tikz-palattice/tikz-palattice.sty b/Master/texmf-dist/tex/latex/tikz-palattice/tikz-palattice.sty index 44511f240e2..064d990b97f 100644 --- a/Master/texmf-dist/tex/latex/tikz-palattice/tikz-palattice.sty +++ b/Master/texmf-dist/tex/latex/tikz-palattice/tikz-palattice.sty @@ -18,7 +18,7 @@ % and the 5 example files example1_linear.tex, example2_circular.tex, % example3_coordinates.tex, example4_labels.tex and elsa.tex -\ProvidesPackage{tikz-palattice}[2015/03/01 v2.2] +\ProvidesPackage{tikz-palattice}[2015/03/18 v2.21] \RequirePackage{tikz} \RequirePackage{ifthen} \RequirePackage{siunitx} @@ -102,15 +102,15 @@ \newcommandx{\setelementcolor}[3][3=white]{% \tikzset{#1/.append style={bottom color=#2, top color=#3, fadeElement}}} \newcommand{\resetelementcolor}[1]{\tikzset{#1/.style={default_#1}}} -\newcommand{\setlinecolor}[2]{\tikzset{#1/.append style={#2, fade}}} +\newcommand{\setlinecolor}[2]{\tikzset{#1/.append style={#2, faded}}} \newcommand{\resetlinecolor}[1]{\tikzset{#1/.style={default_#1}}} \newenvironmentx{fade}[1][1=0.25]{% -\tikzset{fade/.style={opacity=#1, color=gray}} -\tikzset{fadeElement/.style={fade, color=gray,bottom color=gray,top color=white}} +\tikzset{faded/.style={opacity=#1, color=gray}} +\tikzset{fadeElement/.style={faded, color=gray,bottom color=gray,top color=white}} }{% -\tikzset{fade/.style={opacity=1.0}} % color not set -\tikzset{fadeElement/.style={fade}} +\tikzset{faded/.style={opacity=1.0}} % color not set +\tikzset{fadeElement/.style={faded}} } @@ -350,7 +350,7 @@ \ifthenelse{\equal{#4}{s}}{% \draw[dipole] (east\i) -- ++ (0,-\elementheight/2) arc (-90:(-90+\winkel):\ra) -- ++(\winkel+90:\elementheight) arc - ((-90+\winkel):-90:\ri) --++ (0,-\elementheight); + ((-90+\winkel):-90:\ri) -- cycle; \angleinc{0.5*\winkel} }{ % [b]end[r]ectangle @@ -497,12 +497,12 @@ % ----- styles ----- -%fade (for global fade setting) -\tikzset{fade/.style={ +%faded (for global fade setting) +\tikzset{faded/.style={ opacity=1 }} \tikzset{fadeElement/.style={ -fade +faded }} %element (for all, except drift) @@ -611,7 +611,7 @@ valve/.style={default_valve} %drift \tikzset{default_drift/.style={ line width=0.8pt*10*\scal, draw=black, -fade %must be last to overwrite other settings +faded %must be last to overwrite other settings }, drift/.style={default_drift} } @@ -622,13 +622,13 @@ text=\labelcolor, font=\labelfont, rotate=\labelrot, anchor=\labelanchor, -fade %must be last to overwrite other settings +faded %must be last to overwrite other settings }} %marker (line) \tikzset{default_marker/.style={ red, densely dashed, -fade %must be last to overwrite other settings +faded %must be last to overwrite other settings }, marker/.style={default_marker} } @@ -637,7 +637,7 @@ marker/.style={default_marker} \tikzset{rule/.style={ draw=black, fill=black, -fade %must be last to overwrite other settings +faded %must be last to overwrite other settings }} %start @@ -645,5 +645,5 @@ fade %must be last to overwrite other settings draw=none, anchor=center, scale=0.1, -fade %must be last to overwrite other settings +faded %must be last to overwrite other settings }} |