diff options
Diffstat (limited to 'graphics/circuit_macros/doc/defines.tex')
-rw-r--r-- | graphics/circuit_macros/doc/defines.tex | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/graphics/circuit_macros/doc/defines.tex b/graphics/circuit_macros/doc/defines.tex index 84634c5862..6b8f615fe2 100644 --- a/graphics/circuit_macros/doc/defines.tex +++ b/graphics/circuit_macros/doc/defines.tex @@ -1411,6 +1411,12 @@ nw,nn,ne,ns,pin lgth,style, other commands})} \macrodef{rot3Dz}{rot3Dz}{({\sl radians,x,y,z})} {3D} {rotates x,y,z about z axis} +\macrodef{Rot\_}{Rot_}{({\sl position, degrees})} + {gen} + {rotate position by degrees} +\macrodef{rot\_}{rot_}{({\sl x, y, angle})} + {gen} + {rotate {\sl x,y} by theta radians} \macrodef{rotbox}{rotbox}{({\sl wid,ht,type},[r|t={\sl val}])} {gen} {box oriented in current direction in {\tt [ ]} block; @@ -1834,6 +1840,13 @@ nw,nn,ne,ns,pin lgth,style, other commands})} {\tt A}=arrow, {\tt P}=preset, {\tt L}=linear, {\tt N}=nonlinear, {\tt C}=continuous, {\tt S}=setpwise \seesect{Twoterminal:}} +\macrodef{Vcoords\_}{Vcoords_}{({\sl position})} + {gen} + {The $x, y$ coordinate pair of the position} +\macrodef{Vdiff\_}{Vdiff_}{({\sl position},{\sl position})} + {gen} + {{\tt Vdiff\_(A,B)} evaluates to {\tt A-(B)} with dpic, {\tt A-(B.x,B.y)} + with gpic} \macrodef{vec\_}{vec_}{({\sl x},{\sl y})} {gen} {position rotated with respect to current direction} @@ -1860,6 +1873,10 @@ nw,nn,ne,ns,pin lgth,style, other commands})} \macrodef{Vsprod\_}{Vsprod_}{({\sl position}, {\sl expression})} {gen} {The vector in arg 1 multiplied by the scalar in arg 2} +\macrodef{Vsum\_}{Vsum_}{({\sl position},{\sl position})} + {gen} + {{\tt Vsum\_(A,B)} evaluates to {\tt A+B} with dpic, {\tt A+(B.x,B.y)} + with gpic} \macrodef{w\_}{w_}{} {gen} {.w with respect to current direction} |