summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/circuitikz
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-09-12 23:13:31 +0000
committerKarl Berry <karl@freefriends.org>2011-09-12 23:13:31 +0000
commit43feab97abfa5a781cd20b13d118c894afee47fb (patch)
tree7436698e3c97e95d9974744d70f92149fa1809dd /Master/texmf-dist/doc/latex/circuitikz
parentc0fc6f08ac435f1171b1349d429fce172e37a3f2 (diff)
CircuiTikZ 0.2.4 (12sep11)
git-svn-id: svn://tug.org/texlive/trunk@23913 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/circuitikz')
-rw-r--r--Master/texmf-dist/doc/latex/circuitikz/CHANGELOG13
-rw-r--r--Master/texmf-dist/doc/latex/circuitikz/README4
-rw-r--r--Master/texmf-dist/doc/latex/circuitikz/circuitikz-context.pdfbin0 -> 14426 bytes
-rw-r--r--Master/texmf-dist/doc/latex/circuitikz/circuitikz-context.tex (renamed from Master/texmf-dist/doc/latex/circuitikz/context.tex)0
-rw-r--r--Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.pdfbin337782 -> 273468 bytes
-rw-r--r--Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.tex116
-rw-r--r--Master/texmf-dist/doc/latex/circuitikz/context.pdfbin48571 -> 0 bytes
7 files changed, 112 insertions, 21 deletions
diff --git a/Master/texmf-dist/doc/latex/circuitikz/CHANGELOG b/Master/texmf-dist/doc/latex/circuitikz/CHANGELOG
index 89e1fc2f755..2e088f2bb79 100644
--- a/Master/texmf-dist/doc/latex/circuitikz/CHANGELOG
+++ b/Master/texmf-dist/doc/latex/circuitikz/CHANGELOG
@@ -1,5 +1,18 @@
CircuiTikz - Changelog
+* Version 0.2.4
+ - added square voltage source (contributed by Alistair Kwan)
+ - added buffer and plain amplifier (contributed by Danilo Piazzalunga)
+ - added squid and barrier (contributed by Cor Molenaar)
+ - added antenna and transmission line symbols contributed by Leonardo Azzinnari
+ - added the changeover switch spdt (suggestion of Fabio Maria Antoniali)
+ - rename of context.tex and context.pdf (thanks to Karl Berry)
+ - updated the email address
+ - in documentation, fixed wrong (non-standard) labelling of the axis in an example (thanks to prof. Claudio Beccaria)
+ - fixed scaling inconsistencies in quadrupoles
+ - fixed division by zero error on certain vertical paths
+ - introduced options straighlabels, rotatelabels, smartlabels
+
* Version 0.2.3
- fixed compatibility problem with label option from tikz
- Fixed resizing problem for shape ground
diff --git a/Master/texmf-dist/doc/latex/circuitikz/README b/Master/texmf-dist/doc/latex/circuitikz/README
index 8dfab0ddae4..91d47e08612 100644
--- a/Master/texmf-dist/doc/latex/circuitikz/README
+++ b/Master/texmf-dist/doc/latex/circuitikz/README
@@ -1,4 +1,4 @@
-This is CircuiTikz, version 0.2.3.
+This is CircuiTikz, version 0.2.4.
This package provides a set of macros for naturally typesetting electrical and (somewhat less naturally, perhaps) electronical networks.
@@ -31,7 +31,7 @@ mredaelli@elet.polimi.it
-------------
-Copyright 2007-9 by Massimo Redaelli
+Copyright 2007-11 by Massimo Redaelli
This file may be distributed and/or modified
diff --git a/Master/texmf-dist/doc/latex/circuitikz/circuitikz-context.pdf b/Master/texmf-dist/doc/latex/circuitikz/circuitikz-context.pdf
new file mode 100644
index 00000000000..cb8662d2979
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/circuitikz/circuitikz-context.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/circuitikz/context.tex b/Master/texmf-dist/doc/latex/circuitikz/circuitikz-context.tex
index 13f3ade1cde..13f3ade1cde 100644
--- a/Master/texmf-dist/doc/latex/circuitikz/context.tex
+++ b/Master/texmf-dist/doc/latex/circuitikz/circuitikz-context.tex
diff --git a/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.pdf b/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.pdf
index 51eaa7711eb..517b5b62621 100644
--- a/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.pdf
+++ b/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.tex b/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.tex
index d00398a98eb..9cd6691e57c 100644
--- a/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.tex
+++ b/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.tex
@@ -1,6 +1,16 @@
\documentclass[a4paper]{article}
-\usepackage{xltxtra}
+
+\usepackage{fontspec}
+\defaultfontfeatures{Ligatures=TeX, Numbers=OldStyle, SmallCapsFeatures={LetterSpace=8, Numbers=OldStyle}}
+
+\setmainfont
+% {Linux Libertine}
+ {Gentium Book Basic}
+
+\usepackage{microtype}
+
\usepackage[siunitx]{circuitikz}
+\sisetup{load=derived} % loading \siemens
\usepackage{showexpl}
\usepackage{framed}
\usepackage{hyperref}
@@ -16,15 +26,14 @@
filecolor=black, % color of file links
urlcolor=black % color of external links
}
+\usepackage{imakeidx}
+\makeindex[title=Index of the components, intoc=true]
-%\usepackage{xeindex}
-
-%\IndexList{mylist}{resistor, }
-
-\def\circuititem#1#2#3{\item {#2} (\texttt{#1}) \par \begin{center}\begin{circuitikz} \draw (0,0) node[#1] {}; \end{circuitikz} \end{center}
+\def\circuititem#1#2#3{\item {#2} (\texttt{#1}) \index{#1} \par \begin{center}\begin{circuitikz} \draw (0,0) node[#1] {}; \end{circuitikz} \end{center}
\par}
-\newcommand{\circuititembip}[3]{\item {#2} (\texttt{#1}%
+\newcommand{\circuititembip}[3]{\item {#2} \index{#1}
+\tikz\foreach \i in {#3} {\index{\i|see{#1}} }; (\texttt{#1}%
\ifthenelse{\equal{#3}{}}{%
}{%
, or \texttt{#3}%
@@ -53,7 +62,7 @@
\tableofcontents
\section{Introduction}
-After two years of little exposure only on my personal website\footnote{\url{http://home.dei.polimi.it/mredaelli}.}, I did a major rehauling of the code of Circui\TikZ, fixing several problems and converting everything to \TikZ\ version $2.0$.
+After two years of little exposure only on my personal website\footnote{\url{http://home.dei.polimi.it/mredaelli}, now deceased. You might want to check \url{http://www.redaelli.name}.}, I did a major rehauling of the code of Circui\TikZ, fixing several problems and converting everything to \TikZ\ version $2.0$.
I'm not too sure about the result, because my (La)\TeX\ skills are much to be improved, but it seems it's time for more user feedback. So, here it is\ldots
@@ -74,13 +83,13 @@ So I based everything with the very impressive (if somewhat verbose at times) \T
\TikZ\ will be automatically loaded.
\subsection{License}
-Copyright \copyright\ 2007--2009 Massimo Redaelli. This package is author-maintained.
+Copyright \copyright\ 2007--2011 Massimo Redaelli. This package is author-maintained.
Permission is granted to copy, distribute and/or modify this software under the
terms of the \LaTeX Project Public License, version 1.3.1, or the GNU Public License. This software is provided ‘as is’, without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a
particular purpose.
\subsection{Feedback}
-Much appreciated: \href{mailto:mredaelli@elet.polimi.it}{\texttt{mredaelli@elet.polimi.it}}. Although I don't guarantee quick answers.
+Much appreciated: \href{mailto:massimo@redaelli.name}{\texttt{massimo@redaelli.name}}. Although I don't guarantee quick answers.
\subsection{Requirements}
\begin{itemize}
@@ -165,7 +174,10 @@ As far as I know, this is a bug in \TikZ, and I notified the author, but until h
\item \texttt{fulldiodes}: 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{emptydiodes}: 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.
+ \item \texttt{noarrowmos}: pmos and nmos do not have arrows analogous to those of pnp and npn transistors;
+ \item \texttt{straighlabels}: labels on bipoles are always printed straigh up, i.e.~with horizontal baseline;
+ \item \texttt{rotatelabels}: labels on bipoles are always printed aligned along the bipole;
+ \item \texttt{smartlabels}: labels on bipoles are rotated along the bipoles, unless the rotation is very close to multiples of 90°.
\end{itemize}
The old options in the singular (like \texttt{american voltage}) are still available for compatibility, but are discouraged.
@@ -173,7 +185,7 @@ The old options in the singular (like \texttt{american voltage}) are still avail
\medskip
Loading the package with no options is equivalent to my own personal liking, that is to the following options:\\
- \texttt{[europeancurrents, europeanvoltages, americanresistors, cuteinductors, americanports, nosiunitx, noarrowmos]}.
+ \texttt{[europeancurrents, europeanvoltages, americanresistors, cuteinductors, americanports, nosiunitx, noarrowmos, smartlabels]}.
\medskip
@@ -205,6 +217,10 @@ Please notice that for user convenience transistors can also be inputted using t
\subsection{Monopoles}
\begin{itemize}
\circuititem{ground}{Ground}{}
+ \circuititem{antenna}{Antenna}{}
+ \circuititem{rxantenna}{Transmitting antenna}{}
+ \circuititem{txantenna}{Receiving antenna}{}
+ \circuititem{tlinestub}{Transmission line stub}{}
\end{itemize}
@@ -288,6 +304,11 @@ Similarly, if (default behaviour) \texttt{europeanvoltages} option is active (or
The options \texttt{fulldiodes} and \texttt{emptydiodes} (and the styles \texttt{[full diodes]} and \texttt{[empty diodes]}) define which shape will be used by abbreviated commands such that \texttt{D}, \texttt{sD}, \texttt{zD}, \texttt{tD}, \texttt{pD}, \texttt{leD}, and \texttt{VC}.
\end{framed}
+\begin{itemize}
+ \circuititembip{squid}{Squid}{}
+ \circuititembip{barrier}{Barrier}{}
+\end{itemize}
+
\subsubsection{Basic dynamical bipoles}
\begin{itemize}
\circuititembip{capacitor}{Capacitor}{C}
@@ -316,6 +337,10 @@ Finally, if \texttt{europeaninductors} option is active (or the style \texttt{[e
\circuititembip{vL}{Variable inductor}{variable european inductor}
\end{itemize}
+There is also a transmission line:
+\begin{itemize}
+\circuititembip{TL}{Transmission line}{transmission line, tline}
+\end{itemize}
\subsubsection{Sinusoidal sources} Here because I was asked for them. But how do you distinguish one from the other?!
\begin{itemize}
@@ -323,6 +348,10 @@ Finally, if \texttt{europeaninductors} option is active (or the style \texttt{[e
\circuititembip{sinusoidal current source}{Sinusoidal current source}{isourcesin, sI}
\end{itemize}
+\subsubsection{Square sources}
+\begin{itemize}
+ \circuititembip{square voltage source}{Square voltage source}{vsourcesquare, sqV}
+\end{itemize}
%\begin{framed}
%The options \texttt{europeancurrent} [resp. \texttt{europeanvoltage}] (the default) and \texttt{americancurrent} [resp. \texttt{americanvoltage}] define which sinusoidal current [resp. voltage] source is selected by default when the abbreviated styles \texttt{sinusoidal current source}, \texttt{csourcesin}, \texttt{cI} [resp. \texttt{sinusoidal voltage source}, \texttt{vsourcesin}, \texttt{cV}] are used.
@@ -394,6 +423,11 @@ Borsche:
\circuititem{pjfet}{\scshape pjfet}{}
\end{itemize}
+\subsubsection{Changeover switch}
+\begin{itemize}
+\circuititem{spdt}{\scshape spdt}{}
+\end{itemize}
+
\subsubsection{Other bipole-like tripoles}\label{sec:othertrip} The following tripoles are entered with the usual command of the form
\begin{itemize}
\circuititembip{triac}{triac}{Tr}
@@ -458,9 +492,11 @@ If (default behaviour) \texttt{americanports} option is active (or the style \te
If otherwise \texttt{europeanports} option is active (or the style \texttt{[european ports]} is used), the shorthands \texttt{and port}, \texttt{or port}, \texttt{not port}, \texttt{nand port}, \texttt{not port}, \texttt{xor port}, and \texttt{xnor port} are equivalent to the european version of the respective logic port.
\end{framed}
-\subsection{Operational Amplifier}
+\subsection{Amplifiers}
\begin{itemize}
\circuititem{op amp}{Operational amplifier}{}
+ \circuititem{plain amp}{Plain amplifier}{}
+ \circuititem{buffer}{Buffer}{}
\end{itemize}
\subsection{Support shapes}
@@ -534,8 +570,34 @@ Long names/styles for the bipoles can be used:
\end{circuitikz}
\end{LTXexample}
-
-
+\noindent The default orientation of labels is controlled by the options \texttt{smartlabels}, \texttt{rotatelabels} and \texttt{straightlabels} (or the corresponding \texttt{label/align} keys). Here are examples to see the differences:
+\begin{LTXexample}[varwidth=true]
+\begin{circuitikz}
+\ctikzset{label/align = straight}
+\def\DIR{0,45,90,135,180,-90,-45,-135}
+\foreach \i in \DIR {
+ \draw (0,0) to[R=\i, *-o] (\i:2.5);
+}
+\end{circuitikz}
+\end{LTXexample}
+\begin{LTXexample}[varwidth=true]
+\begin{circuitikz}
+\ctikzset{label/align = rotate}
+\def\DIR{0,45,90,135,180,-90,-45,-135}
+\foreach \i in \DIR {
+ \draw (0,0) to[R=\i, *-o] (\i:2.5);
+}
+\end{circuitikz}
+\end{LTXexample}
+\begin{LTXexample}[varwidth=true]
+\begin{circuitikz}
+\ctikzset{label/align = smart}
+\def\DIR{0,45,90,135,180,-90,-45,-135}
+\foreach \i in \DIR {
+ \draw (0,0) to[R=\i, *-o] (\i:2.5);
+}
+\end{circuitikz}
+\end{LTXexample}
\subsection{Currents}
@@ -1226,7 +1288,7 @@ can be interpreted as the length of a resistor (including reasonable connections
to[short, o-*] (1,0)
to[R=20<\ohm>, *-*] (1,2)
to[R=10<\ohm>, v=$v_x$] (3,2) -- (4,2)
- to[cI=$\frac{\siemens}{5} v_x$, *-*] (4,0) -- (3,0)
+ to[cI=$\frac{\si{\siemens}}{5} v_x$, *-*] (4,0) -- (3,0)
to[R=5<\ohm>, *-*] (3,2)
(3,0) -- (1,0)
(1,2) to[short, -o] (0,2) node[anchor=east]{A}
@@ -1332,7 +1394,7 @@ And yes: this is a bug and \emph{not} a feature\ldots
\begin{circuitikz}[scale=1.2]\draw
(0,0) node[ground] {}
to[V=$e(t)$, *-*] (0,2) to[C=4<\nano\farad>] (2,2)
- to[R, l_=1/4<\kilo\ohm>, *-*] (2,0)
+ to[R, l_=.25<\kilo\ohm>, *-*] (2,0)
(2,2) to[R=1<\kilo\ohm>] (4,2)
to[C, l_=2<\nano\farad>, *-*] (4,0)
(5,0) to[I, i_=$a(t)$, -*] (5,2) -- (4,2)
@@ -1369,8 +1431,8 @@ And yes: this is a bug and \emph{not} a feature\ldots
to [R, l=1<\kilo\ohm>] (4,-1.5);
\begin{scope}[xshift=6.5cm, yshift=.5cm]
- \draw [->] (-2,0) -- (2.5,0) node[anchor=west] {$v_1 [\volt]$};
- \draw [->] (0,-2) -- (0,2) node[anchor=west] {$i_1 [\SI{}{\milli\ampere}]$} ;
+ \draw [->] (-2,0) -- (2.5,0) node[anchor=west] {$v_1/\volt$};
+ \draw [->] (0,-2) -- (0,2) node[anchor=west] {$i_1/\SI{}{\milli\ampere}$} ;
\draw (-1,0) node[anchor=north] {-2} (1,0) node[anchor=south] {2}
(0,1) node[anchor=west] {4} (0,-1) node[anchor=east] {-4}
(2,0) node[anchor=north west] {4}
@@ -1385,6 +1447,20 @@ And yes: this is a bug and \emph{not} a feature\ldots
\section{Revision history}
\begin{itemize}
+\item[\itshape version 0.2.4] (20110911).
+ \begin{enumerate}
+ \item added square voltage source (contributed by Alistair Kwan)
+ \item added buffer and plain amplifier (contributed by Danilo Piazzalunga)
+ \item added squid and barrier (contributed by Cor Molenaar)
+ \item added antenna and transmission line symbols contributed by Leonardo Azzinnari
+ \item added the changeover switch spdt (suggestion of Fabio Maria Antoniali)
+ \item rename of context.tex and context.pdf (thanks to Karl Berry)
+ \item updated the email address
+ \item in documentation, fixed wrong (non-standard) labelling of the axis in an example (thanks to prof. Claudio Beccaria)
+ \item fixed scaling inconsistencies in quadrupoles
+ \item fixed division by zero error on certain vertical paths
+ \item introduced options straighlabels, rotatelabels, smartlabels
+ \end{enumerate}
\item[\itshape version 0.2.3] (20091118).
\begin{enumerate}
\item fixed compatibility problem with label option from tikz
@@ -1438,6 +1514,8 @@ Borsche)
\end{itemize}
+\printindex
+
\end{document}
diff --git a/Master/texmf-dist/doc/latex/circuitikz/context.pdf b/Master/texmf-dist/doc/latex/circuitikz/context.pdf
deleted file mode 100644
index ec6b653d1bd..00000000000
--- a/Master/texmf-dist/doc/latex/circuitikz/context.pdf
+++ /dev/null
Binary files differ