diff options
author | Norbert Preining <norbert@preining.info> | 2021-12-07 03:01:53 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-12-07 03:01:53 +0000 |
commit | 6336c19969656f3ee5f0b0fed00aaf64369a40e7 (patch) | |
tree | 93ac1bef29345070342f1e9c4290d7ddb201e486 /graphics/pgf/contrib/circuitikz/doc/circuitikzmanual.tex | |
parent | 51bc8dcf794519b64c5c4a92dd3c09097025167f (diff) |
CTAN sync 202112070301
Diffstat (limited to 'graphics/pgf/contrib/circuitikz/doc/circuitikzmanual.tex')
-rw-r--r-- | graphics/pgf/contrib/circuitikz/doc/circuitikzmanual.tex | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/graphics/pgf/contrib/circuitikz/doc/circuitikzmanual.tex b/graphics/pgf/contrib/circuitikz/doc/circuitikzmanual.tex index 79e6359475..8cf24b70db 100644 --- a/graphics/pgf/contrib/circuitikz/doc/circuitikzmanual.tex +++ b/graphics/pgf/contrib/circuitikz/doc/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} |