texlive[69077] Master/texmf-dist: circuitikz (9dec23)
commits+karl at tug.org
commits+karl at tug.org
Sat Dec 9 22:35:06 CET 2023
Revision: 69077
https://tug.org/svn/texlive?view=revision&revision=69077
Author: karl
Date: 2023-12-09 22:35:06 +0100 (Sat, 09 Dec 2023)
Log Message:
-----------
circuitikz (9dec23)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/context/third/circuitikz/circuitikz-context.pdf
trunk/Master/texmf-dist/doc/generic/circuitikz/CHANGELOG.md
trunk/Master/texmf-dist/doc/latex/circuitikz/changelog.tex
trunk/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.pdf
trunk/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.tex
trunk/Master/texmf-dist/tex/context/third/circuitikz/t-circuitikz.tex
trunk/Master/texmf-dist/tex/generic/circuitikz/pgfcircbipoles.tex
trunk/Master/texmf-dist/tex/generic/circuitikz/pgfcircshapes.tex
trunk/Master/texmf-dist/tex/latex/circuitikz/circuitikz.sty
Modified: trunk/Master/texmf-dist/doc/context/third/circuitikz/circuitikz-context.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/generic/circuitikz/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/generic/circuitikz/CHANGELOG.md 2023-12-09 03:08:11 UTC (rev 69076)
+++ trunk/Master/texmf-dist/doc/generic/circuitikz/CHANGELOG.md 2023-12-09 21:35:06 UTC (rev 69077)
@@ -1,6 +1,13 @@
<!--- CircuiTikz - Changelog --->
The major changes among the different CircuiTikZ versions are listed here. See <https://github.com/circuitikz/circuitikz/commits> for a full list of changes.
+* Version 1.6.6 (2023-12-09)
+
+ Several new components.
+
+ - Added the symbol for metal-oxide varistor `mov`
+ - Added another symbol for fuse (wiggly fuse `wfuse`)
+
* Version 1.6.5 (2023-10-29)
This version features an important overhaul of the `muxdemux` configurable component/shape, making it much more flexible and powerful, by adding configurable labels and negation and clock symbols to the pins.
Modified: trunk/Master/texmf-dist/doc/latex/circuitikz/changelog.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/circuitikz/changelog.tex 2023-12-09 03:08:11 UTC (rev 69076)
+++ trunk/Master/texmf-dist/doc/latex/circuitikz/changelog.tex 2023-12-09 21:35:06 UTC (rev 69077)
@@ -5,6 +5,18 @@
\begin{itemize}
\item
+ Version 1.6.6 (2023-12-09)
+
+ Several new components.
+
+ \begin{itemize}
+ \tightlist
+ \item
+ Added the symbol for metal-oxide varistor \texttt{mov}
+ \item
+ Added another symbol for fuse (wiggly fuse \texttt{wfuse})
+ \end{itemize}
+\item
Version 1.6.5 (2023-10-29)
This version features an important overhaul of the \texttt{muxdemux}
@@ -281,7 +293,7 @@
B. Cameron, user \texttt{@cameroncb1} on GitHub)
\item
Added Shockley diode (suggested by
- \href{https://tex.stackexchange.com/questions/646039/creating-a-shockley-diode-in-circuitikz}{@dauph})
+ {[}@dauph{]}(https://tex.stackexchange.com/questions/646039/creating-a-shockley-diode-in-circuitikz))
\end{itemize}
\item
Version 1.5.2 (2022-05-08)
@@ -1459,7 +1471,7 @@
\item
Fixed varcap symbol at small scalings
\item
- New packet-option ``straightvoltages, to draw straight(no curved)
+ New packet-option "straightvoltages, to draw straight(no curved)
voltage arrows
\item
New option ``invert'' to revert the node direction at paths
Modified: trunk/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.tex 2023-12-09 03:08:11 UTC (rev 69076)
+++ trunk/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.tex 2023-12-09 21:35:06 UTC (rev 69077)
@@ -2054,6 +2054,7 @@
Other miscellaneous resistor-like devices:
\begin{groupdesc}
\circuitdescbip*{varistor}{Varistor}{}
+ \circuitdescbip*{mov}{Metal-Oxide varistor}{}
\circuitdescbip*[photoresistor]{phR}{Photoresistor}{photoresistor}(arrows/0/0.3)
\circuitdescbip*[thermistor]{thR}{Thermistor}{thermistor}
\circuitdescbip*[thermistorptc]{thRp}{PTC thermistor}{thermistor ptc}
@@ -3162,7 +3163,6 @@
You can change the scale of all the mechanical elements by setting the key \texttt{mechanicals/scale} to something different from the default \texttt{1.0}.
-
\subsection{Miscellaneous bipoles}
Here you'll find bipoles that are not easily grouped in the categories above.
@@ -3171,12 +3171,13 @@
\circuitdescbip{thermocouple}{Thermocouple}{}
\circuitdescbip*{fuse}{Fuse}{}
\circuitdescbip*{afuse}{Asymmetric fuse}{asymmetric fuse}
+ \circuitdescbip{wfuse}{``wiggly'' fuse}{wiggly fuse}()[left/110/0.2, right/70/0.2]
\circuitdescbip{squid}{Squid}{}
\circuitdescbip{barrier}{Barrier}{}
\circuitdescbip{openbarrier}{Open barrier}{}
\end{groupdesc}
- You can tune how big is the gap in the \texttt{openbarrier} component by setting the key \texttt{bipoles/openbarrier/gap} (default value \texttt{0.5}; \texttt{0} means no gap and \texttt{1} full gap).
+You can tune how big is the gap in the \texttt{openbarrier} component by setting the key \texttt{bipoles/openbarrier/gap} (default value \texttt{0.5}; \texttt{0} means no gap and \texttt{1} full gap).
\begin{groupdesc}
\circuitdescbip*{european gas filled surge arrester}{European gas filled surge arrester}{}
@@ -3231,6 +3232,22 @@
You can change the scale of all the miscellaneous elements by setting the key \texttt{misc/scale} to something different from the default \texttt{1.0}.
+\paragraph{Wiggly fuses} can have (or not have) poles; you can switch between the two forms by setting to \texttt{true} or \texttt{false} (default \texttt{true}) the key \texttt{bipoles/wfuse/dots}; if they have poles, you can choose any of the pole shapes with the key \texttt{bipoles/wfuse/shape}.
+The pole nodes are named \texttt{-left} and \texttt{-right} so that you can access their borders.
+
+\begin{LTXexample}[varwidth=true, basicstyle=\small\ttfamily]
+\begin{circuitikz}
+ \draw (0,3) to[wfuse, bipoles/wfuse/dots=false] ++(2,0);
+ \draw (0,2) to[wfuse, name=A] ++(2,0);
+ \ctikzset{bipoles/wfuse/shape=osquarepole}
+ \draw (0,1) to[wfuse, name=B] ++(2,0);
+ \draw [red, densely dashed]
+ (A-left.-135) to[bend right] (B-left.135);
+ \ctikzset{bipoles/wfuse/shape=circ}
+ \draw (0,0) to[wfuse, name=B] ++(2,0);
+\end{circuitikz}
+\end{LTXexample}
+
\subsection{Multiple wires (buses)}
These are simple drawings to indicate multiple wires.
Modified: trunk/Master/texmf-dist/tex/context/third/circuitikz/t-circuitikz.tex
===================================================================
--- trunk/Master/texmf-dist/tex/context/third/circuitikz/t-circuitikz.tex 2023-12-09 03:08:11 UTC (rev 69076)
+++ trunk/Master/texmf-dist/tex/context/third/circuitikz/t-circuitikz.tex 2023-12-09 21:35:06 UTC (rev 69077)
@@ -16,8 +16,8 @@
\startmodule[circuitikz]
\usemodule[tikz]
-\def\pgfcircversion{1.6.5}
-\def\pgfcircversiondate{2023/10/29}
+\def\pgfcircversion{1.6.6}
+\def\pgfcircversiondate{2023/12/09}
\writestatus{loading}{\pgfcircversiondate{} The CircuiTikz circuit drawing package version \pgfcircversion}
Modified: trunk/Master/texmf-dist/tex/generic/circuitikz/pgfcircbipoles.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/circuitikz/pgfcircbipoles.tex 2023-12-09 03:08:11 UTC (rev 69076)
+++ trunk/Master/texmf-dist/tex/generic/circuitikz/pgfcircbipoles.tex 2023-12-09 21:35:06 UTC (rev 69077)
@@ -504,7 +504,28 @@
\pgf at circ@text at strokecolor
\pgftext[top,x=.65\pgf at circ@res at left,y=1.2\pgf at circ@res at down]{{\pgf at circ@font at tiny\textsf{U}}}
}
-
+%% MOV
+\pgfcircdeclarebipolescaled{resistors}
+{
+ \pgfcirc at border@extend at updown{1.2}{1.2}
+}
+{\ctikzvalof{bipoles/varistor/height}}
+{mov}
+{\ctikzvalof{bipoles/varistor/height}}
+{\ctikzvalof{bipoles/varistor/width}}
+{
+ \pgfscope
+ \pgfpathrectanglecorners{\pgfpoint{\pgf at circ@res at left}{\ctikzvalof{bipoles/varistor/main}\pgf at circ@res at up}}{\pgfpoint{\pgf at circ@res at right}{-\ctikzvalof{bipoles/varistor/main}\pgf at circ@res at up}}
+ \pgf at circ@setlinewidth{bipoles}{\pgfstartlinewidth}
+ \pgf at circ@draworfill
+ \pgf at circ@set at relative@thickness{modifier thickness}
+ \pgfpathmoveto{\pgfpoint{-\pgf at circ@res at left}{-1.1\pgf at circ@res at down}}
+ \pgfpathlineto{\pgfpoint{-0.7\pgf at circ@res at left}{-1.1\pgf at circ@res at down}}
+ \pgfpathlineto{\pgfpoint{0.7\pgf at circ@res at left}{1.1\pgf at circ@res at down}}
+ \pgfpathlineto{\pgfpoint{\pgf at circ@res at left}{1.1\pgf at circ@res at down}}
+ \pgfusepath{draw}
+ \endpgfscope
+}
%% Generic tunable
\pgfcircdeclarebipolescaled{resistors}
{
@@ -837,6 +858,7 @@
\pgfcirc at activate@bipole at simple{l}{photoresistor}
\pgfcirc at style@to at style{photoresistor}{phR}
\pgfcirc at activate@bipole at simple{l}{varistor}
+\pgfcirc at activate@bipole at simple{l}{mov}
\pgfcirc at activate@bipole at simple{l}{memristor}
\pgfcirc at style@to at style{memristor}{Mr}%
% %>>>
@@ -2477,7 +2499,7 @@
\pgftransformscale{-.015*\ctikzvalof{\ctikzclass/symbol/eyw scale}*\pgf at circ@res at left*#1}
\def\pgfcircmathresult{\expandafter\pgf at circ@stripdecimals\pgf at circ@direction\pgf at nil}
\pgftransformrotate{-\pgfcircmathresult}
-
+
\pgf at circ@setlinewidth{bipoles}{\pgfstartlinewidth}
\pgf at circ@set at relative@thickness{symbol/thickness}
\pgfpathmoveto{\pgfpoint{0}{\pgf at circ@res at up}}
@@ -2567,7 +2589,7 @@
\pgftransformxshift{\ctikzvalof{bipoles/oosourcetrans/circlesize}\pgf at circ@res at left}
\pgf at circ@wye{\ctikzvalof{bipoles/oosourcetrans/vectorgroupscale}}
\endpgfscope
-
+
\else\ifpgf at circ@prim at eyw
\pgfscope
\pgftransformxshift{\ctikzvalof{bipoles/oosourcetrans/circlesize}\pgf at circ@res at left}
@@ -2593,7 +2615,7 @@
\pgftransformxshift{\ctikzvalof{bipoles/oosourcetrans/circlesize}\pgf at circ@res at right}
\pgf at circ@wye{\ctikzvalof{bipoles/oosourcetrans/vectorgroupscale}}
\endpgfscope
-
+
\else\ifpgf at circ@sec at eyw
\pgfscope
\pgftransformxshift{\ctikzvalof{bipoles/oosourcetrans/circlesize}\pgf at circ@res at right}
@@ -2781,7 +2803,7 @@
\pgftransformxshift{.6\pgf at circ@res at left}
\pgf at circ@wye{\ctikzvalof{bipoles/ooosource/vectorgroupscale}}
\endpgfscope
-
+
\else\ifpgf at circ@prim at eyw
\pgfscope
\pgftransformxshift{.6\pgf at circ@res at left}
@@ -2808,7 +2830,7 @@
\pgftransformshift{\pgfpointpolar{60}{0.6\pgf at circ@res at right}}
\pgf at circ@wye{\ctikzvalof{bipoles/ooosource/vectorgroupscale}}
\endpgfscope
-
+
\else\ifpgf at circ@sec at eyw
\pgfscope
\pgftransformshift{\pgfpointpolar{60}{0.6\pgf at circ@res at right}}
@@ -2834,7 +2856,7 @@
\pgftransformshift{\pgfpointpolar{-60}{0.6\pgf at circ@res at right}}
\pgf at circ@wye{\ctikzvalof{bipoles/ooosource/vectorgroupscale}}
\endpgfscope
-
+
\else\ifpgf at circ@tert at eyw
\pgfscope
\pgftransformshift{\pgfpointpolar{-60}{0.6\pgf at circ@res at right}}
@@ -6910,6 +6932,7 @@
\ctikzset{bipoles/american gas filled surge arrester/inside/.initial=.15}
\ctikzset{bipoles/american gas filled surge arrester/dot x/.initial=.25}
\ctikzset{bipoles/american gas filled surge arrester/dot y/.initial=.45}
+% fuses: normal, asymmetric, wiggle
\ctikzset{bipoles/american gas filled surge arrester/size/.initial=.1}
\ctikzset{bipoles/fuse/height/.initial=.20}
\ctikzset{bipoles/fuse/width/.initial=.50}
@@ -6916,6 +6939,13 @@
\ctikzset{bipoles/afuse/height/.initial=.20}
\ctikzset{bipoles/afuse/width/.initial=.50}
\ctikzset{bipoles/lamp/height/.initial=.60}
+\ctikzset{bipoles/wfuse/height/.initial=.20}
+\ctikzset{bipoles/wfuse/width/.initial=.50}
+\ctikzset{bipoles/wfuse/shape/.initial=ocirc}
+\newif\ifpgf at circ@wfuse at dots\pgf at circ@wfuse at dotstrue
+\ctikzset{bipoles/wfuse/dots/.is choice}
+\ctikzset{bipoles/wfuse/dots/.is if=pgf at circ@wfuse at dots}
+%
\ctikzset{bipoles/lamp/width/.initial=.60}
\ctikzset{bipoles/bulb/height/.initial=.8}
\ctikzset{bipoles/bulb/width/.initial=.8}
@@ -7085,7 +7115,6 @@
\pgfpathlineto{\pgfpoint{\pgf at circ@res at right}{0}}
\pgfusepath{draw}
}
-
%% fuse
\pgfcircdeclarebipolescaled{misc}
{}
@@ -7105,7 +7134,6 @@
\pgfusepath{draw}
}
-
%% asymmetric fuse
\pgfcircdeclarebipolescaled{misc}
{}
@@ -7128,7 +7156,28 @@
\pgf at circ@fill at strokecolor
\pgfusepath{stroke,fill}
}
-
+%% wiggly fuse
+\pgfcircdeclarebipolescaled{misc}
+{
+ \savedmacro{\thisshape}{\def\thisshape{\tikz at fig@name}}
+ \savedmacro{\cshape}{\def\cshape{\ctikzvalof{bipoles/wfuse/shape}}}
+}
+{\ctikzvalof{bipoles/wfuse/height}}
+{wfuse}
+{\ctikzvalof{bipoles/wfuse/height}}
+{\ctikzvalof{bipoles/wfuse/width}}
+{
+ \pgfpathmoveto{\pgfpoint{\pgf at circ@res at left}{0pt}}
+ \pgfpatharc{0}{180}{.5\pgf at circ@res at left}
+ \pgfpatharc{0}{-180}{.5\pgf at circ@res at left}
+ \pgfusepath{draw}
+ \ifpgf at circ@wfuse at dots
+ \pgftransformshift{\pgfpoint{\pgf at circ@res at left}{0pt}}
+ \pgfnode{\cshape}{center}{}{\thisshape-left}{\pgfusepath{draw}}
+ \pgftransformshift{\pgfpoint{2\pgf at circ@res at right}{0pt}}
+ \pgfnode{\cshape}{center}{}{\thisshape-right}{\pgfusepath{draw}}
+ \fi
+}
%% SQUID added by Cor Molenaar 5 March 2010
\pgfcircdeclarebipolescaled{misc}
{}
@@ -7249,6 +7298,8 @@
\pgfcirc at activate@bipole at simple{l}{fuse}
\pgfcirc at activate@bipole{l}{afuse}{afuse}{asymmetric fuse}
\pgfcirc at style@to at style{asymmetric fuse}{afuse}
+\pgfcirc at activate@bipole at simple{l}{wfuse}
+\pgfcirc at activate@bipole{l}{wfuse}{wfuse}{wiggly fuse}
\def\pgf at circ@gfsurgearrester at path#1{\ifpgf at circuit@europeangfsurgearrester\pgf at circ@europeangfsurgearrester at path{#1}\else\pgf at circ@americangfsurgearrester at path{#1}\fi}
\pgfcirc at activate@bipole{l}{europeangfsurgearrester}{european gas filled surge arrester}{european gas filled surge arrester}
\pgfcirc at activate@bipole{l}{americangfsurgearrester}{american gas filled surge arrester}{american gas filled surge arrester}
Modified: trunk/Master/texmf-dist/tex/generic/circuitikz/pgfcircshapes.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/circuitikz/pgfcircshapes.tex 2023-12-09 03:08:11 UTC (rev 69076)
+++ trunk/Master/texmf-dist/tex/generic/circuitikz/pgfcircshapes.tex 2023-12-09 21:35:06 UTC (rev 69077)
@@ -456,7 +456,7 @@
%% use strange names to keep ot private
\newif\ifpgfcirc at really@draw at flowarrow\pgfcirc at really@draw at flowarrowtrue
\ctikzset{phantom at flowarrow/.code=\pgfcirc at really@draw at flowarrowfalse}
-\ctikzset{normal at flowarrow/.code=\pgfcirc at really@draw at vlowarrowtrue}
+\ctikzset{normal at flowarrow/.code=\pgfcirc at really@draw at flowarrowtrue}
\pgfdeclareshape{flowarrow}{
\savedanchor{\northeast}{%
Modified: trunk/Master/texmf-dist/tex/latex/circuitikz/circuitikz.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/circuitikz/circuitikz.sty 2023-12-09 03:08:11 UTC (rev 69076)
+++ trunk/Master/texmf-dist/tex/latex/circuitikz/circuitikz.sty 2023-12-09 21:35:06 UTC (rev 69077)
@@ -16,8 +16,8 @@
\providecommand\DeclareRelease[3]{}
\providecommand\DeclareCurrentRelease[2]{}
-\def\pgfcircversion{1.6.5}
-\def\pgfcircversiondate{2023/10/29}
+\def\pgfcircversion{1.6.6}
+\def\pgfcircversiondate{2023/12/09}
\DeclareRelease{0.4}{2012/12/20}{circuitikz-0.4-body.tex}
\DeclareRelease{v0.4}{2012/12/20}{circuitikz-0.4-body.tex}
More information about the tex-live-commits
mailing list.