From e14ce2a2aedfdc10d3e64b5b632a0b5aef10a618 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sun, 14 May 2023 03:00:45 +0000 Subject: CTAN sync 202305140300 --- graphics/pgf/contrib/circuitikz/tex/pgfcircquadpoles.tex | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'graphics/pgf/contrib/circuitikz/tex/pgfcircquadpoles.tex') diff --git a/graphics/pgf/contrib/circuitikz/tex/pgfcircquadpoles.tex b/graphics/pgf/contrib/circuitikz/tex/pgfcircquadpoles.tex index 127c2975df..32a85cb0c9 100644 --- a/graphics/pgf/contrib/circuitikz/tex/pgfcircquadpoles.tex +++ b/graphics/pgf/contrib/circuitikz/tex/pgfcircquadpoles.tex @@ -27,6 +27,9 @@ \ctikzset{quadpoles/transformer core/height/.initial=1.5} \ctikzset{quadpoles/transformer core/core height/.initial=.5} \ctikzset{quadpoles/transformer core/core width/.initial=.05} +\ctikzset{transformer core/relative thickness/.initial=1} +\ctikzset{transformer core/color/.initial=default} +\ctikzset{transformer core/dash/.initial=default} \ctikzset{quadpoles/gyrator/inner/.initial=0.4} \ctikzset{quadpoles/gyrator/width/.initial=1.5} \ctikzset{quadpoles/gyrator/height/.initial=1.5} @@ -291,7 +294,8 @@ \pgf@circ@drawtransformerbasicbody % use the chocke line thickness - \pgfsetlinewidth{\ctikzvalof{bipoles/cutechoke/cthick}\pgflinewidth} + \pgfsetlinewidth{\ctikzvalof{bipoles/cutechoke/cthick}*\ctikzvalof{transformer core/relative thickness}*\pgflinewidth} + \pgf@circ@subset@color@dash{transformer core} % Find the distance from center for the lines representing the core % the 2.5 is for backward compatibility --- the distance was calculated as a fraction -- cgit v1.2.3