diff options
author | Karl Berry <karl@freefriends.org> | 2021-12-06 21:21:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-12-06 21:21:18 +0000 |
commit | 438ac7a4b9836c5c799b3b280b0721be1fce338c (patch) | |
tree | e8d56ca6363bd656b2159082f9b2fe1d3381211b /Master/texmf-dist/doc/latex/circuitikz | |
parent | c9a39911e40d8808eec4167a83a0b3da78d1207c (diff) |
circuitikz (6dec21)
git-svn-id: svn://tug.org/texlive/trunk@61231 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/circuitikz')
-rw-r--r-- | Master/texmf-dist/doc/latex/circuitikz/changelog.tex | 16 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.pdf | bin | 1460564 -> 1461547 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.tex | 18 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/circuitikz/ctikzmanutils.sty | 2 |
4 files changed, 29 insertions, 7 deletions
diff --git a/Master/texmf-dist/doc/latex/circuitikz/changelog.tex b/Master/texmf-dist/doc/latex/circuitikz/changelog.tex index b715c12dc0f..3247e63a1c7 100644 --- a/Master/texmf-dist/doc/latex/circuitikz/changelog.tex +++ b/Master/texmf-dist/doc/latex/circuitikz/changelog.tex @@ -5,6 +5,22 @@ full list of changes. \begin{itemize} \item + Version 1.4.5 (2021-12-06) + + Important fix for ConTeXt users, thanks to @TeXnician for reporting. + + \begin{itemize} + \tightlist + \item + Fixed an incompatibility introduced with subcircuits that made + compilation in ConTeXt fail + \item + Added \texttt{\textbackslash{}ctikzflip{[}x{]}{[}y{]}} utility + macros for ConTeXt too + \item + Fixed stray characters in some Ti\emph{k}Z environment + \end{itemize} +\item Version 1.4.4 (2021-10-31) Normal maintenance release; minor bugs fixed, a new component and a diff --git a/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.pdf b/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.pdf Binary files differindex 57f2065ef9b..e1906ae396f 100644 --- a/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.pdf +++ b/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.pdf diff --git a/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.tex b/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.tex index 79e63594759..8cf24b70db9 100644 --- a/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.tex +++ b/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.tex @@ -150,6 +150,8 @@ This package is author-maintained. Permission is granted to copy, distribute and \tikz \draw (0,0) to[R=$R_1$] (2,0); \end{LTXexample} +There is really no support for Plain TeX --- the maintainers are willing to consider patches if somebody is interested. + \subsection{Installing a new version of the package.} The stable version of the package should come with your \LaTeX\ distribution. Downloading the files from CTAN and installing them locally is, unfortunately, a distribution-dependent task and sometime not so trivial. If you search for \texttt{local texmf tree} and the name of your distribution on \url{https://tex.stackexchange.com/} you will find a lot of hints. @@ -171,8 +173,11 @@ instead of \texttt{circuitikz}. This is also advantageous for ``future resilienc \item \texttt{siunitx}, if using \texttt{siunitx} option (better \texttt{v2} or newer). \end{itemize} +A similar approach for \ConTeXt\ is available, with the file \texttt{t-circuitikzgit.tex}. + This manual has been typeset with \Circuitikz{} \pgfcircversion{} (\pgfcircversiondate) on \TikZ{} \pgfversion{} (\pgfversiondate). + \subsection{Incompatible packages} \TikZ's own \texttt{circuit} library, which was based on \Circuitikz, (re?)defines several styles used by this library. In order to have them work together you can use the \texttt{compatibility} package option, which basically prefixes the names of all \Circuitikz\ \texttt{to[]} styles with an asterisk. @@ -935,7 +940,8 @@ and you will obtain the following diagram with the exact same code (I just remov % and connect it % (not up) -- (#1-NOT.in) (#1-NOT.out) |- (#1-AND2.in 2) % with the new path-style not - to[inline not] (#1-in |- #1-AND2.in 2) -- (#1-AND2.in 2); + to[inline not] (#1-in |- #1-AND2.in 2) -- (#1-AND2.in 2) + % no ; to end the path, must add in usage! } \newcommand*{\fullcirc}[1][]{% \begin{circuitikz} @@ -1070,7 +1076,7 @@ We will change the names of the nodes and the coordinates to be different for an (#1-FF.pin 3) -- (#1-FF.pin 3 -| #1-AND1.out) node[and port, anchor=out](#1-AND2){} (#1-AND1.in 1) to[short, -*] ++(-1,0) coordinate(#1-in) - to[inline not] (#1-in |- #1-AND2.in 2) -- (#1-AND2.in 2); + to[inline not] (#1-in |- #1-AND2.in 2) -- (#1-AND2.in 2) } \end{lstlisting} @@ -1442,11 +1448,11 @@ Mirroring and flipping of node components is obtained by using the \TikZ\ keys \ \end{circuitikz} \end{LTXexample} -To simplify this task, \Circuitikz{} when used in \LaTeX{} has three helper macros --- \verb|\ctikzflipx{}|, \verb|\ctikzflipy{}|, -and \verb|\ctikzflipxy{}|, that can be used to ``un-rotate'' the text of nodes drawn with, respectively, +To simplify this task, \Circuitikz{} has three helper macros --- \verb|\ctikzflipx{}|, +\verb|\ctikzflipy{}|, and \verb|\ctikzflipxy{}|, that can be used to ``un-rotate'' +the text of nodes drawn with, respectively, \texttt{xscale=-1}, \texttt{yscale=-1}, and \texttt{scale=-1} (which is equivalent to \texttt{xscale=-1, yscale=-1}). -In other formats they are undefined; contributions to fill the gap are welcome. \begin{LTXexample}[varwidth=true] \begin{circuitikz}[scale=0.7, transform shape] @@ -4000,7 +4006,7 @@ For syntactical convenience standard transistors (not multi-terminal ones) can b \begin{circuitikz} \draw (0,0) node[njfet] {1} (-1,2) to[Tnjfet=2] (1,2) - to[Tnjfet=3, mirror] (3,2); + to[Tnjfet=3, mirror] (3,2) ;\end{circuitikz} \end{LTXexample} diff --git a/Master/texmf-dist/doc/latex/circuitikz/ctikzmanutils.sty b/Master/texmf-dist/doc/latex/circuitikz/ctikzmanutils.sty index 68b1bd37b75..5102bb32fff 100644 --- a/Master/texmf-dist/doc/latex/circuitikz/ctikzmanutils.sty +++ b/Master/texmf-dist/doc/latex/circuitikz/ctikzmanutils.sty @@ -158,7 +158,7 @@ % 1 2 3 4 5 6 7 8 \NewDocumentCommand{\circuitdescbip}{s o m d<> m m d() d[]} {% -\index{#3} \tikz\foreach \i in {#6} {\index{\i|see{#3}} }; +\index{#3} \tikz{\foreach \i in {#6} {\index{\i|see{#3}} }}% \twopartbox{% \begin{circuitikz} \IfBooleanTF{#1}{% |