summaryrefslogtreecommitdiff
path: root/graphics/circuit_macros/doc/defines.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-10-14 03:01:58 +0000
committerNorbert Preining <norbert@preining.info>2022-10-14 03:01:58 +0000
commit1c0d5e0721918b8ee790c9f1c11f1543e0403322 (patch)
tree945544ad8dae56580c1578e1d2c96c7fe0fc29eb /graphics/circuit_macros/doc/defines.tex
parentba720f8eaac74c537fb16f8556e4cf0ab4cd8235 (diff)
CTAN sync 202210140301
Diffstat (limited to 'graphics/circuit_macros/doc/defines.tex')
-rw-r--r--graphics/circuit_macros/doc/defines.tex78
1 files changed, 45 insertions, 33 deletions
diff --git a/graphics/circuit_macros/doc/defines.tex b/graphics/circuit_macros/doc/defines.tex
index dfcee2f91d..7ac3cbaed4 100644
--- a/graphics/circuit_macros/doc/defines.tex
+++ b/graphics/circuit_macros/doc/defines.tex
@@ -251,6 +251,10 @@
\macrodef{below\_}{below_}{}
{gen}
{string position relative to current direction}
+\macrodef{Between\_}{Between_}{({\sl Pos1, Pos2,distance,}[R])}
+ {gen}
+ {Position {\sl distance} from {\sl Pos1} toward {\sl Pos2}. If
+ the fourth arg is {\tt R} then from {\sl Pos2} toward {\sl Pos1}.}
\macrodef{bi\_tr}{bi_tr}{(\linespec,L|R,P,E)}
{cct}
{left or right, N- or P-type bipolar transistor, without or with envelope
@@ -370,17 +374,18 @@
{gen}
{Upper (lower if arg5={\tt R}) intersection of circles at
{\sl Pos1} and {\sl Pos2}, radius {\sl rad1} and {\sl rad2}}
-\macrodef{clabel}{clabel}{({\sl label},{\sl label},{\sl label},{\sl arg4},%
- {\sl arg5})}
- {cct}
- {Triple label along the drawing axis of an element in the current
- direction \seesect{Labels:}. Labels are placed at the beginning,
- centre, or end of the last {\tt []} block (or a named {\tt []}
- block). The labels are treated as math, but copied literally if
- in double quotes or defined by sprintf. {\sl Arg4} can be {\tt
- above,} {\tt below,} {\tt left,} or {\tt right} to supplement the
- default position. {\sl Arg5} is the optional name of a {\tt []}
- block to be labelled and is {\tt last []} by default}
+\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
+ 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.
+ {\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}
\macrodef{cm\_\_}{cm__}{}
{gen}
{absolute centiimetres}
@@ -1158,17 +1163,18 @@ n|e|s|w,{\sl length})}
\macrodef{ljust\_}{ljust_}{}
{gen}
{ljust with respect to current direction}
-\macrodef{llabel}{llabel}{({\sl label},{\sl label},{\sl label},{\sl arg4},%
- {\sl arg5})}
- {cct}
- {Triple label on the left of an element with respect to the current
- direction \seesect{Labels:}. Labels are placed at the beginning,
- centre, or end of the last {\tt []} block (or a named {\tt []}
- block). The labels are treated as math, but copied literally if
- in double quotes or defined by sprintf. {\sl Arg4} can be {\tt
- above,} {\tt below,} {\tt left,} or {\tt right} to supplement the
- default position. {\sl Arg5} is the optional name of a {\tt []}
- block to be labelled and is {\tt last []} by default}
+\macrodef{llabel}{llabel}{({\sl label},{\sl label},{\sl label},[{\sl arg4}],%
+ [{\sl block name}])}
+ {cct}
+ {Triple label on the left of the body of an element with respect to 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.
+ {\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}
\macrodef{loc\_}{loc_}{({\sl x}, {\sl y})}
{gen}
{location adjusted for current direction}
@@ -1640,17 +1646,18 @@ degrees})}
\macrodef{rjust\_}{rjust_}{}
{gen}
{right justify with respect to current direction}
-\macrodef{rlabel}{rlabel}{({\sl label},{\sl label},{\sl label},{\sl arg4},%
- {\sl arg5})}
- {cct}
- {Triple label on the right of an element with respect to the current
- direction \seesect{Labels:}. Labels are placed at the beginning,
- centre, or end of the last {\tt []} block (or a named {\tt []}
- block). The labels are treated as math, but copied literally if
- in double quotes or defined by sprintf. {\sl Arg4} can be {\tt
- above,} {\tt below,} {\tt left,} or {\tt right} to supplement the
- default position. {\sl Arg5} is the optional name of a {\tt []}
- block to be labelled and is {\tt last []} by default}
+\macrodef{rlabel}{rlabel}{({\sl label},{\sl label},{\sl label},[{\sl arg4}],%
+ [{\sl block name}])}
+ {cct}
+ {Triple label on the right of the body of an element with respect to 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.
+ {\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}
\macrodef{rot3Dx}{rot3Dx}{({\sl radians,x,y,z})}
{3D} {rotates x,y,z about x axis}
\macrodef{rot3Dy}{rot3Dy}{({\sl radians,x,y,z})}
@@ -2414,6 +2421,11 @@ justification})}
centre,
R=right orientation, E=envelope
\seesect{Semiconductors:}}
+\macrodef{thyristor\_t}{thyristor_t}{({\sl linespec, chars, label})}
+ {cct}
+ {Wrapper to place a thyristor as a two-terminal element with
+ {\tt [ ]} block label given by the third argument
+ \seesect{Semiconductors:}}
\macrodef{tikznode}{tikznode}{({\sl \Tikz node name, position}) }
{pgf}
{insert \Tikz code to define a zero-size \Tikz node at {\sl location}