summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-circuits.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-circuits.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-circuits.tex66
1 files changed, 34 insertions, 32 deletions
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-circuits.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-circuits.tex
index 496eac52179..9478ed33ad3 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-circuits.tex
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-circuits.tex
@@ -144,7 +144,7 @@ current values of parameters like |minimum height| or |inner xsep|.
For these reasons, the circuit libraries introduce the concept of a
\emph{symbol graphic}. This is a style that causes a |\node| to
not only have the correct shape, but also the correct size and the
-correct path usage. More generally, this style may setup things in any
+correct path usage. More generally, this style may set up things in any
way so that the ``symbol looks correct''. When you write, for
instance, |\node[diode]|, then the style called |diode graphic| is
used, which in turn is set to something like
@@ -196,9 +196,8 @@ symbols, use |circuits.logic.IEC|. If you cannot decide, include both:
\usetikzlibrary{circuits.logic.US,circuits.logic.IEC}
\end{codeexample}
To create a picture that contains a US-style circuit you can now use
-the option |circuit logic US|. This will setup keys like |and gate| to
-create use an appropriate symbol graphic for rendering an and
-gate. Using the |circuit logic IEC| instead will setup |and gate| to
+the option |circuit logic US|. This will set up keys like |and gate| to
+create use an appropriate symbol graphic for rendering an |and gate|. Using the |circuit logic IEC| instead will set up |and gate| to
use another symbol graphic.
\begin{codeexample}[]
@@ -368,7 +367,7 @@ annotation as a parameter to the symbol as in the following example:
\end{codeexample}
However, in the above example we would not actually see anything
- since we have not yet setup the graphic to be used by |foo|. For
+ since we have not yet set up the graphic to be used by |foo|. For
this, we must use a key called |set foo graphic| or, generally,
|set| \meta{name} |graphic|. This key gets graphic options as parameter
that will be set when a symbol |foo| should be shown:
@@ -388,7 +387,7 @@ annotation as a parameter to the symbol as in the following example:
\item The |inner sep| is set to |0.5pt|.
\item The following style is executed:
\begin{stylekey}{/tikz/every circuit symbol}
- Use this style to setup things in general.
+ Use this style to set up things in general.
\end{stylekey}
\item The graphic options that have been set using
|set| \meta{name} |graphic| are set.
@@ -434,9 +433,9 @@ annotation as a parameter to the symbol as in the following example:
\item This node gets \meta{options} as its option list.
\item The node is added by virtue of a special |markings|
decoration. This means that a |mark| command is executed that
- causes the node to placed as a mark on the path.
+ causes the node to be placed as a mark on the path.
\item The marking decoration will automatically subdivide the path
- and cause a line to be drawn to from the start of the path to the
+ and cause a line to be drawn from the start of the path to the
node's border (at the position that lies on a line from the node's
center to the start of the path) and then from the node's border
(at a position on the other side of the node) to the end of the
@@ -484,7 +483,7 @@ rotated. There are two ways of achieving such rotations:
\begin{enumerate}
\item When you place a symbol on a |to| path, the graphic symbol is
automatically rotated such that it ``points along the path.'' Here
- is an examples that show how the inductor shape (which looks,
+ is an examples that shows how the inductor shape (which looks,
unrotated, like this: \tikz[circuit ee IEC]\node[inductor]{};) is
automatically rotated around:
\begin{codeexample}[]
@@ -529,10 +528,10 @@ rotated. There are two ways of achieving such rotations:
Info labels are used to add text to a circuit symbol. Unlike normal
nodes like a rectangle, circuit symbols typically do not have text
``on'' them, but the text is placed next to them (like the text
-``$3\Omega$'' next to a resistor).
+``$3\,\Omega$'' next to a resistor).
\tikzname\ already provides the |label| option for this purpose. The
-|info| option is build on top of this option, but it comes in some
+|info| option is built on top of this option, but it comes in some
predefined variants that are especially useful in conjunction with
circuits.
@@ -773,7 +772,7 @@ in several ways:
black rectangle.
\end{stylekey}
\begin{stylekey}{/tikz/circuit symbol lines (initially draw)}
- This style is used with symbols that consist only of lines the do
+ This style is used with symbols that consist only of lines that do
not surround anything. Examples are a capacitor.
\begin{codeexample}[]
\tikz [circuit ee IEC,
@@ -805,7 +804,7 @@ in several ways:
\end{itemize}
All circuit environments like |circuit logic IEC| mainly use options
-like |set and gate graphic=...| to setup the graphics used for a certain
+like |set and gate graphic=...| to set up the graphics used for a certain
symbol. It turns out that graphic hidden in the ``|...|'' part is also
always available as a separate style, whose name contains the
library's initials. For instance, the |circuit logic IEC| option
@@ -857,7 +856,7 @@ saying |set resistor graphic| yourself:
\subsubsection{Overview}
A \emph{logical circuit} is a circuit that contains what we call
-\emph{logical gates} like an and-gate or an xor-gate. The logical
+\emph{logical gates} like an |and gate| or an |xor gate|. The logical
libraries are intended to make it easy to draw such circuits.
In the following, we first have a look at the different libraries that
@@ -898,7 +897,7 @@ you need to use one of the following libraries, instead:
This library provides graphics based on gates
recommended by the International Electrotechnical Commission. When
you include this library, you can use the following key to
- setup a scope that contains a logical circuit where the gates are
+ set up a scope that contains a logical circuit where the gates are
shown in this style.
\begin{key}{/tikz/circuit logic IEC}
@@ -991,7 +990,7 @@ one of them, all the other work the same way:
\begin{key}{/tikz/and gate}
This key should be passed to a |node| command. It will cause the
- node to ``look like'' an and-gate, where the exact appearance of the
+ node to ``look like'' an |and gate|, where the exact appearance of the
gate is dictated by the which circuit environment is used. To
further configure the appearance of the |and gate|, see
Section~\ref{section-theming-symbols}.
@@ -1011,7 +1010,7 @@ one of them, all the other work the same way:
Multiple inputs can be specified for a logic gate (provided they
support multiple inputs: a not gate---also known as an
inverter---does not). However, there is an upper limit for the
- number of inputs which has been set at 1024, which should be \emph{way}
+ number of inputs which has been set to 1024, which should be \emph{way}
more than would ever be needed.
The following key is used to configure the inputs. It is available
@@ -1273,6 +1272,9 @@ centers of the inputs can be customized using the following keys:
node[\placement] {\scriptsize\texttt{(s.\anchor)}};
\end{tikzpicture}
\end{codeexample}
+
+ (For the definition of the |shape example| style, see
+ Section~\ref{section-libs-shapes}.)
\end{shape}
\end{pgflibrary}
@@ -1330,7 +1332,7 @@ centers of the inputs can be customized using the following keys:
Set the symbol for the |xor gate|. Note the necessity for braces,
as the symbol contains |=|.
In \tikzname, when the |use IEC style logic gates| key has been
- used, this key can be replaced by |or gate symbol|.
+ used, this key can be replaced by |xor gate symbol|.
\end{key}
\begin{key}{/pgf/xnor gate IEC symbol=\meta{text} (initially \char`\{\char`\$=1\char`\$\char`\})}
@@ -1399,7 +1401,7 @@ centers of the inputs can be customized using the following keys:
This shape is a nand gate. It supports two or more inputs.
If less than two inputs are specified an error will result.
The anchors for this gate with two
- non-inverted inputs are
+ inverted inputs are
shown below. Anchor |30| is an example of a border anchor.
\begin{codeexample}[]
@@ -1441,7 +1443,7 @@ Just as for logical gates, there are different ways of drawing
ee-symbols. Currently, there is one main library for drawing circuits,
which uses the graphics from the International Electrotechnical
Commission, but you can add your own libs. This is why, just as for
-logical gates, there are a base library and more specific libraries.
+logical gates, there is a base library and more specific libraries.
\begin{tikzlibrary}{circuits.ee}
This library declares the ee symbols, but (mostly) does not
@@ -1473,7 +1475,7 @@ include |circuits.ee.IEC|.
Inside the |circuit ee IEC| scope, you can now use the keys for
symbols, units, and annotations listed in the later sections. We have
-a more detailed look at one of each of them, all the other work the
+a more detailed look at one of each of them, all the others work the
same way.
Let us start with an example of a symbol: the resistor symbol. The
@@ -1555,8 +1557,8 @@ Section~\ref{section-circuits-ee-symbols} and later sections.
\medskip\textbf{Inputs, Outputs, and Anchors.}
Like the logical gates, all ee-symbols have an |input|
- and an |output| anchor. Special purpose nodes may have even more
- anchors of this type. Furthermore, the ee-symbols nodes also for
+ and an |output| anchor. Special-purpose-nodes may have even more
+ anchors of this type. Furthermore, the ee-symbols-nodes also have four
standard compass direction anchors.
\medskip\textbf{Changing the Appearance.}
@@ -1866,23 +1868,23 @@ directly.
happen:
\begin{enumerate}
\item The size of the shape is computed according to the following
- rules: The width of the shape is setup so that the left border of
+ rules: The width of the shape is set up so that the left border of
the shape is at the left end of the arrow tip and the right border
is at the right end of the arrow tip. These left and right
- ``ends'' of the arrow are the left and right extends specified by
+ ``ends'' of the arrow are the left and right extents specified by
the arrow itself (see the documentation of the |\pgfarrowsdeclare|
for details). You usually need not worry about this width
setting.
- By comparison, the height of the arrow is given my the current
- setting of |minimum height|. Thus, this key must have been setup
+ By comparison, the height of the arrow is given by the current
+ setting of |minimum height|. Thus, this key must have been set up
correctly to reflect the ``real'' height of the arrow tip. The
reason is that the height of an arrow is not specified when arrows
are declared and is, thus, not available, here.
Possibly, the height computation will change in the future to
reflect the real height of the arrow, so you should generally
- setup the |minimum height| to be the same as the real height.
+ set up the |minimum height| to be the same as the real height.
\item A straight line from left to right inside the shape's
boundaries is added to the background path.
\item The arrow tip, pointing right, is drawn before the background
@@ -1930,7 +1932,7 @@ directly.
\begin{shape}{generic circle IEC}
This shape inherits from |circle ee|, which in turn is just a normal
|circle| with additional |input| and |output| anchors at the left
- and right ends. However, additionally, this shapes allows you to
+ and right ends. However, additionally, this shape allows you to
specify a path that should be added before the background path using
the following key:
\begin{key}{/pgf/generic circle IEC/before background=\meta{code}}
@@ -1963,7 +1965,7 @@ directly.
\begin{shape}{generic diode IEC}
This shape is used to depict diodes. The main shape is taken up by a
- ``right pointing'' triangle. The anchors are positioned on border of
+ ``right pointing'' triangle. The anchors are positioned on the border of
a rectangle around the diode, see the below example. The
diode's size is based on the current settings of |minimum width| and
|minimum height|.
@@ -2036,7 +2038,7 @@ directly.
This shape is used to depict a variant version of a resistor. Its
size is computed as for a rectangle (thus, its size depends things
like the |minimum height|). Then, inside this rectangle, a
- background path is setup according to the following rule: Starting
+ background path is set up according to the following rule: Starting
from the left end, zigzag segments are added to the path. Each
segment consists of a line at a 45 degree angle going up to the top
of the rectangle, then going down to the bottom, then going up to
@@ -2109,7 +2111,7 @@ directly.
\end{shape}
\begin{shape}{battery IEC}
- This shape is similar to a |capacitor IEC|, only the right line is
+ This shape is similar to a |capacitor IEC|, however, the right line is
only half the height of the left line.
\begin{codeexample}[]
\tikz \node[shape=battery IEC,shape example,minimum size=2cm,