diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.tex | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.tex b/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.tex index d2d3ee394b1..8de6e6209f5 100644 --- a/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.tex +++ b/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.tex @@ -2087,12 +2087,13 @@ You can change that globally or locally, as ever. The tip specification is the o \subsubsection{Capacitors} \begin{groupdesc} - \circuitdescbip{capacitor}{Capacitor}{C} - \circuitdescbip[ccapacitor]{curved capacitor}{Curved (polarized) capacitor}{cC} + \circuitdescbip*{capacitor}{Capacitor}{C} + \circuitdescbip*[ccapacitor]{curved capacitor}{Curved (polarized) capacitor}{cC} \circuitdescbip*{ecapacitor}{Electrolytic capacitor}{eC,elko} - \circuitdescbip[vcapacitor]{variable capacitor}{Variable capacitor}{vC} - \circuitdescbip[capacitivesens]{capacitive sensor}{Capacitive sensor}{sC}(label/0/0.3) + \circuitdescbip*[vcapacitor]{variable capacitor}{Variable capacitor}{vC} + \circuitdescbip*[capacitivesens]{capacitive sensor}{Capacitive sensor}{sC}(label/0/0.3) \circuitdescbip*{piezoelectric}{Piezoelectric Element}{PZ} + \circuitdescbip*{cpe}{Constant Phase Element}{cpe} \circuitdescbip*[ferrocap]{feC}{Ferroelectric capacitor\footnotemark}{ferrocap}(kink left/180/0.2, kink right/0/0.2, curve left/160/0.3, curve right/-20/0.2, center/45/0.3) \footnotetext{suggested by \href{https://github.com/circuitikz/circuitikz/issues/515}{Mayeul Cantan}} \end{groupdesc} @@ -2127,7 +2128,16 @@ You can change the scale of the capacitors by setting the key \texttt{capacitors Variable capacitors arrow tips follow the settings of resistors, see section~\ref{sec:tunablearrows}. -The relative size of the capacitors is a bit of a mixed bag, because each one has historically different internal parameters that makes maintaining coherence quite difficult. In \texttt{v1.4.1} this has changed and now you can use styling options to change the way the capacitors look. The main parameter you can set is \texttt{capacitors/width} (default \texttt{0.2}), which controls the standard distance between plates. That will change all the components (notice that the \texttt{piezoelectric} component is twice the size of a standard capacitor). +The relative size of the capacitors is a bit of a mixed bag, because each one has historically different internal parameters that makes maintaining coherence quite difficult. In \texttt{v1.4.1} this has changed and now you can use styling options to change the way the capacitors look. The main parameter you can set is \texttt{capacitors/width} (default \texttt{0.2}), which controls the standard distance between plates. That will change all the components (notice that \texttt{piezoelectric} and \texttt{cpe} default width is twice the size of a standard capacitor --- although this is not evident for the \texttt{cpe} given its shape.) + +\begin{LTXexample}[varwidth=true, basicstyle=\small\ttfamily] +\begin{circuitikz}[european] + \draw (0,1) to[C=aaa] ++(2,0) to[cpe=bbb] ++(2,0); + \draw[color=red] (0,0) to [C] ++(2,0); + \draw[color=blue] (0,0) to [cpe] ++(2,0) + to[cpe, fill=yellow, capacitors/width=0.1] ++(2,0); +\end{circuitikz} +\end{LTXexample} The \texttt{capacitors/height} key is available also to set the height of the capacitor; the default is \texttt{0.6} for most of the capacitors, but \texttt{0.5} for electrolytic ones and \texttt{0.7} for piezoelectric. When used, it will set all of them at the same value, which is a good thing. |