These diagrams have been adapted from the Circuit_macros examples in
order to test the experimental svg output of dpic.
Generating the line art is relatively straightforward, but
the labeling is not created by a text processor and must, therefore, be
Change font face, size, and dpic textoffset parameter.
If arg4 is blank, the font is changed and
requires m4tt`'command "</g>" to cancel the font change.
m4tt`'svg_font(Times,11bp__,1bp__,"text" at A)
m4tt svg_it: for italics
m4tt svg_tt: for monospace (courier)
m4tt svg_norm: for normal text
m4tt svg_bf: for bold face
m4tt svg_small: to set a smaller text size, default 66%
m4tt svg_fsize: for setting larger or smaller text size
m4tt svgLink(URL,drawing object,m4tt[B]):
link to external file using
<a xlink:href=...>...</a> (default is
arg 3 = B)
m4tt svgLinkString as above but for strings attached to objects
Inkscape: It may be efficient to define elements by macro and to
place them using a wysiwyg graphics editor. A draft page intended
for Inkscape is included. A reasonable variety of elements is defined
but should be customized for particular applications.
Link experiments: Click on the resistor or source of quickSVG
to go to external
files in new windows. Click on "n-port" in NportSVG to replace the diagram
and then "back" to return.
Some of the assumptions used to create this draft may be naive. Comments