summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/circuit-macros/doc/defines.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/circuit-macros/doc/defines.tex')
-rw-r--r--Master/texmf-dist/doc/latex/circuit-macros/doc/defines.tex117
1 files changed, 85 insertions, 32 deletions
diff --git a/Master/texmf-dist/doc/latex/circuit-macros/doc/defines.tex b/Master/texmf-dist/doc/latex/circuit-macros/doc/defines.tex
index c2b800e5093..f8062361975 100644
--- a/Master/texmf-dist/doc/latex/circuit-macros/doc/defines.tex
+++ b/Master/texmf-dist/doc/latex/circuit-macros/doc/defines.tex
@@ -377,18 +377,18 @@
\macrodef{clabel}{clabel}{({\sl label},{\sl label},{\sl label},[{\sl arg4}],%
[{\sl block name}])}
{cct}
- {Triple label along the draing axis of the body of an element in the
+ {Triple label along the drawing axis of the body of an element in the
current direction \seesect{Labels:}. Labels are placed at the
beginning, centre, and end of the last {\tt []} block (or a named
{\tt []} block). Each label is treated as math by default, but is
- copied literally if it is in double quotes or defined by sprintf.
+ copied literally if it is in double quotes or sprintf.
{\sl Arg4} can be {\tt above,} {\tt below,} {\tt left,} or {\tt
right} to supplement the default relative position. The fifth
argument is the optional name of the {\tt []} block to be labelled,
- which is {\tt last []} by default}
+ which is {\tt last []} by default.}
\macrodef{cm\_\_}{cm__}{}
{gen}
- {absolute centiimetres}
+ {absolute centimetres}
\macrodef{consource}{consource}{(\linespec,V|I|v|i,R)}
{cct}
{voltage or current controlled source with alternate forms;
@@ -984,9 +984,33 @@ n|e|s|w,{\sl length})}
{gen}
{Manhattan box with 45 degree hatching, e.g.,
{\tt hatchbox(outlined "blue",,dashed outlined "green" thick 0.4)}}
-\macrodef{heater}{heater}{({\sl linespec, ndivisions, wid, ht})}
- {cct}
- {heater element\seesect{Twoterminal:}}
+\macrodef{heater}{heater}{({\sl linespec, ndivisions|keys, wid, ht,
+ boxspec}|[E[R][T]])}
+ {cct}
+ {Heater element\seesect{Twoterminal:}. If arg 5 contains {\tt E,}
+ draws an {\tt heatere({\sl linespec, keys,} [R][T]),}
+ otherwise a
+ {\tt heatert({\sl linespec, nparts, wid, ht, boxspec})}}
+\macrodef{heatere}{heatere}{({\sl linespec, keys,} [R][T])}
+ {cct}
+ {Heater element with curved sides\seesect{Twoterminal:}.
+ {\tt R} means right orientation;
+ {\tt T} truncates leads to the width of the body.
+ The {\sl keys} for the body are
+ {\tt lgth={\sl expr};}
+ {\tt wdth={\sl expr};} (default {\tt lgth*2/5});
+ {\tt cycles={\sl expr};}
+ {\tt line={\sl attributes};} (e.g., {\tt dotted, dashed, outlined})}
+\macrodef{heatert}{heatert}{({\sl linespec, nparts|keys, wid, ht, boxspec})}
+ {cct}
+ {Two-terminal rectangular heater element\seesect{Twoterminal:}.
+ The {\sl keys} for the body are
+ {\tt parts={\sl expr};}
+ {\tt lgth={\sl expr};}
+ {\tt wdth={\sl expr};} (default {\tt lgth*2/5});
+ {\tt box={\sl body attributes};}
+ (e.g., {\tt dotted, dashed, outlined, shaded}).
+ Args 3--5 are unused if any key is given}
\macrodef{hex\_digit}{hex_digit}{($n$)}
{gen}
{hexadecimal digit for $0 \leq n < 16$}
@@ -1093,6 +1117,21 @@ n|e|s|w,{\sl length})}
one or more {\tt L[M][B]} for L and auxiliary contacts with make or break
points; {\tt S[M][B]} for S and auxiliary contacts
\seesect{Composite:}}
+\macrodef{jumper}{jumper}{({\sl linespec, chars}|{\sl keys})}
+ {cct}
+ { Two-terminal solder jumper with named body parts.
+ The {\sl chars} character sequence specifies the jumper components,
+ and normally begins with {\tt C} and ends with {\tt D.} The character
+ {\tt E} is an empty (blank) gap, {\tt J} is a filled gap, {\tt B}
+ is a box component. The components are named {\sl T1, T2, \ldots}
+ Examples: {\tt CED} is a simple open jumper (the default); {\tt CJD}
+ closed; {\tt CEBED} three-contact open; {\tt CJBED} three-contact
+ open and closed.
+ The {\sl keys} are: {\tt type=}{\sl chars} as previously;
+ {\tt body=}{\sl attributes} (e.g. {\tt fill\_(0.5)});
+ {\tt wdth=}{\sl expr};
+ {\tt name=}{\sl chars} (the body name)%
+\seesect{Twoterminal:}}
\Letter{K}%
\macrodef{KelvinR}{KelvinR}{({\sl cycles},[R],{\sl cycle wid})}
{cct}
@@ -1102,9 +1141,9 @@ n|e|s|w,{\sl length})}
\macrodef{L\_unit}{L_unit}{}
{log}
{logic-element grid size}
-\macrodef{lamp}{lamp}{(\linespec, [R])}
+\macrodef{lamp}{lamp}{(\linespec, [R][T])}
{cct}
- {Two-terminal incandescent lamp
+ {Two-terminal incandescent lamp. {\tt T} truncates leads to the body width.
\seesect{Twoterminal:}}
\macrodef{larrow}{larrow}{({\sl label},{\tt ->|<-},{\sl dist})}
{cct}
@@ -1284,18 +1323,24 @@ n|e|s|w,{\sl length})}
{MOSFET left or right, included components defined by characters,
envelope.
arg 3 chars:
- {\tt [u][d]B:} center bulk connection pin; {\tt D:} D pin and lead;
- {\tt E:} dashed substrate; {\tt F:} solid-line substrate; {\tt
- [u][d]G:} G pin to substrate at source; {\tt [u][d]H:} G pin to
- substrate at center; {\tt L:} G pin to channel (obsolete); {\tt
- [u][d]M:} G pin to channel; u: at drain end; d: at source end {\tt
- [u][d]M{\sl n}:} multiple gates G0 to G{\sl n} {\tt Py:} parallel
- diode; {\tt Pz:} parallel zener diode; {\tt Q:} connect B pin to
- S pin; {\tt R:} thick channel; {\tt [u][d]S:} S pin and lead u:
- arrow up; d: arrow down; {\tt [d]T:} G pin to center of channel
- d: not circle; {\tt X:} XMOSFET terminal; {\tt Z:} simplified
- complementary MOS
- \seesect{Semiconductors:}}
+ {\tt [u][d]B:} center bulk connection pin;
+ {\tt D:} D pin and lead;
+ {\tt E:} dashed substrate;
+ {\tt F:} solid-line substrate;
+ {\tt [u][d]G:} G pin to substrate at source;
+ {\tt [u][d]H:} G pin to substrate at center;
+ {\tt L:} G pin to channel (obsolete);
+ {\tt [u][d]M:} G pin to channel, u: at drain end, d: at source end;
+ {\tt [u][d]M{\sl n}:} multiple gates G0 to G{\sl n};
+ {\tt Py:} parallel diode;
+ {\tt Pz:} parallel zener diode;
+ {\tt Q:} connect B pin to S pin;
+ {\tt R:} thick channel;
+ {\tt [u][d]S:} S pin and lead u: arrow up, d: arrow down;
+ {\tt [d]T:} G pin to center of channel d: not circle;
+ {\tt X:} XMOSFET terminal;
+ {\tt Z:} simplified complementary MOS
+ \seesect{Semiconductors:}}
\macrodef{Mux\_ht}{Mux_ht}{}
{cct}
{Mux height parameter in {\tt L\_unit}s}
@@ -1688,7 +1733,7 @@ degrees})}
is {\tt r=}{\sl val} then corners have radius {\sl val}. If arg4 is
{\tt t=}{\sl val} then a spline with tension {\sl val} is used to draw
a ``superellipse,'' and the bounding box is then only approximate. }
-\macrodef{rotellipse}{rotellipse}{({\sl wid,ht,type})}
+\macrodef{rotellipse}{rotellipse}{({\sl wid,ht,attributes})}
{gen}
{ellipse oriented in current direction in {\tt [ ]} block;
e.g. {\tt Point\_(45); rotellipse(,{},dotted fill\_(0.9)).} Defined
@@ -2388,22 +2433,30 @@ justification})}
the point is forward, backward, or both with respect to the current
drawing direction.
\seesect{Composite:}}
-\macrodef{tconn}{tconn}{({\sl linespec,}>|>>|<|<<|O[F],{\sl wid})}
- {cct}
- {Terminal connector, {\tt O}=circle; {\tt OF}=filled circle;
- {\tt > or >>} output connector (default {\tt >}) ; {\tt < or <<
- input connector}; arg3 is arrowhead width or circle diameter
+\macrodef{tconn}{tconn}{({\sl linespec, chars}|{\sl keys}, {\sl wid})}
+ {cct}
+ {Terminal connector drawn on a linespec, with head enclosed in a {\tt [ ]}
+ block. The permissible {\sl chars} are:
+ {\tt > | >> | < | << | A | AA | M | O | OF}.
+ Type {\tt O} draws a node (circle); {\tt OF} a filled circle.
+ Type {\tt M} is a black bar; {\tt A} is an open arc end; type {\tt AA}
+ a double open arc. Type {\tt >} (the default) is an arrow-like output
+ connector; {\tt <} and {\tt <<} input connectors. Arg 3 is arrowhead
+ width or circle diameter when key-value pairs are not used.
+ If keys are specified, they are {\tt type=}{\sl chars} as previously;
+ {\tt wdth=}{\sl expr}; {\tt lgth=}{\sl expr}; {\tt sep=}{\sl expr};
+ {\tt head=}{\sl attributes except} {\tt lgth, wdth.}
+ The key {\tt sep=} is the double-head separation
\seesect{Composite:}}
\macrodef{tgate}{tgate}{({\sl linespec,} [B][R|L])}
{cct}
{transmission gate, {\tt B=} ebox type; {\tt L=} oriented left
\seesect{Semiconductors:}}
-\macrodef{thermocouple}{thermocouple}{({\sl linespec, wid, ht,} L|R)}
+\macrodef{thermocouple}{thermocouple}{({\sl linespec, wid, ht,} L|R [T])}
{cct}
- { Thermocouple drawn to the left (by default) of the {\sl
- linespec}
- line. If the {\sl linespec} length equals {\sl wid} (default
- {\tt dimen\_/5}), then only the two branches appear. {\tt R=}
+ { Thermocouple drawn to the left (by default) of the
+ {\sl linespec} line. A {\tt T} argument truncates the leads so
+ only the two branches appear. {\tt R=}
right orientation. \seesect{Twoterminal:}}
\macrodef{thicklines\_}{thicklines_}{({\sl number})}
{gen}