summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.tex')
-rw-r--r--Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.tex56
1 files changed, 53 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.tex b/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.tex
index 3a81f19564f..8ae502a7706 100644
--- a/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.tex
+++ b/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.tex
@@ -1,4 +1,4 @@
-\documentclass{article}
+\documentclass[a4paper]{article}
\usepackage[siunitx]{circuitikz}
\usepackage{showexpl}
@@ -6,7 +6,7 @@
\usepackage{hyperref}
\hypersetup{
bookmarks=false, % show bookmarks bar?
- pdftitle={CircuitTikZ v. 2.0 - manual}, % title
+ pdftitle={CircuitTikZ v. 0.2.1 - manual}, % title
pdfauthor={Massimo Redaelli}, % author
pdfsubject={CircuitTikZ manual}, % subject of the document
pdfkeywords={}, % list of keywords
@@ -32,7 +32,7 @@
\lstset{frameround=fttt}
\lstloadlanguages{TeX}
-\title{Circui\TikZ \\{\large version 0.2}}
+\title{Circui\TikZ \\{\large version 0.2.1}}
\author{Massimo A. Redaelli}
\date{\today}
@@ -97,8 +97,13 @@ None, as far as I know.
\item \texttt{nosiunitx}: labels are not interpreted as above;
\item \texttt{fulldiode}: the various diodes are drawn \emph{and} filled by default, i.e. when using styles such as \texttt{diode}, \texttt{D}, \texttt{sD}, \ldots Un-filled diode can always be forced with \texttt{Do}, \texttt{sDo}, \ldots
\item \texttt{emptydiode}: the various diodes are drawn \emph{but not} filled by default, i.e. when using styles such as \texttt{diode}, \texttt{D}, \texttt{sD}, \ldots Filled diode can always be forced with \texttt{D*}, \texttt{sD*}, \ldots
+ \item \texttt{arrowmos}: pmos and nmos have arrows analogous to those of pnp and npn transistors;
+ \item \texttt{noarrowmos}: pmos and nmos do not have arrows analogous to those of pnp and npn transistors.
\end{itemize}
+Loading the package with no options is equivalent to:\\
+ \verb!\usepackage[european, nosiunitx, noarrowmos]{circuitikz}!.
+
\section{The components}
Here follows the list of all the shapes defined by Circui\TikZ. These are all \texttt{pgf} nodes, so they are usable in both \texttt{pgf} and \TikZ.
@@ -238,6 +243,14 @@ One can also use the related styles \texttt{[european current]} [resp. \texttt{[
\circuititem{pnp}{pnp}{}
\end{itemize}
+If the option \texttt{arrowmos} is used (or after the commant \verb!\ctikzset{tripoles/mos style/arrows}! is given), this is the output:
+\ctikzset{tripoles/mos style/arrows}
+\begin{itemize}
+ \circuititem{nmos}{nmos}{}
+ \circuititem{pmos}{pmos}{}
+\end{itemize}
+\ctikzset{tripoles/mos style/no arrows}
+
\subsection{Double bipoles}
\begin{itemize}
@@ -260,6 +273,11 @@ One can also use the related styles \texttt{[european current]} [resp. \texttt{[
\end{itemize}
+\subsection{Operational Amplifier}
+\begin{itemize}
+ \circuititem{op amp}{Operational amplifier}{}
+\end{itemize}
+
\subsection{Support shapes}
\begin{itemize}
@@ -815,6 +833,31 @@ Here is one composite example:
;\end{circuitikz}
\end{LTXexample}
+\paragraph{Operational amplifier} The op amp defines the inverting input (\texttt{-}), the non-inverting input (\texttt{+}) and the output (\texttt{out}) anchors:
+
+\begin{LTXexample}[varwidth=true]
+\begin{circuitikz} \draw
+ (0,0) node[op amp] (opamp) {}
+ (opamp.+) node[left] {$v_+$}
+ (opamp.-) node[left] {$v_-$}
+ (opamp.out) node[right] {$v_o$}
+;\end{circuitikz}
+\end{LTXexample}
+
+There are also two more anchors defined, \texttt{up} and \texttt{down}, for the power supplies:
+\begin{LTXexample}[varwidth=true]
+\begin{circuitikz} \draw
+ (0,0) node[op amp] (opamp) {}
+ (opamp.+) node[left] {$v_+$}
+ (opamp.-) node[left] {$v_-$}
+ (opamp.out) node[right] {$v_o$}
+ (opamp.down) node[ground] {}
+ (opamp.up) ++ (0,.5) node[above] {\SI{12}{\volt}}
+ -- (opamp.up)
+;\end{circuitikz}
+\end{LTXexample}
+
+
\paragraph{Double bipoles} All the (few, actually) double bipoles/quadrupoles have
the four anchors, two for each port. The first port, to the left, is port \texttt{A}, having the anchors \texttt{A1} (up) and \texttt{A2} (down); same for port \texttt{B}. They also expose the \texttt{base} anchor, for labelling:
@@ -1058,6 +1101,13 @@ And yes: this is a bug and \emph{not} a feature\ldots
\section{Revision history}
\begin{itemize}
+\item[\itshape version 0.2.1] (20090503).
+ \begin{enumerate}
+ \item Op-amps added.
+ \item Added options \texttt{arrowmos} and \texttt{noarrowmos}.
+ \end{enumerate}
+
+
\item[\itshape version 0.2] First public release on CTAN (20090417).
\begin{enumerate}
\item \textbf{Backward incompatibility}: labels ending with \texttt{:}\textit{angle} are not parsed for positioning anymore.