summaryrefslogtreecommitdiff
path: root/graphics/circuit_macros/examples/svg/examplesSVG.htmx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-06-04 03:02:48 +0000
committerNorbert Preining <norbert@preining.info>2021-06-04 03:02:48 +0000
commita5ae129f3aa3a3a0aeaa21c55b75a1d543fe4111 (patch)
treefe5e1e212aec203e668df8581a17374cdde352a1 /graphics/circuit_macros/examples/svg/examplesSVG.htmx
parentd231c6331f53a048d29c2f847254a9f56d5ee2dd (diff)
CTAN sync 202106040302
Diffstat (limited to 'graphics/circuit_macros/examples/svg/examplesSVG.htmx')
-rw-r--r--graphics/circuit_macros/examples/svg/examplesSVG.htmx64
1 files changed, 46 insertions, 18 deletions
diff --git a/graphics/circuit_macros/examples/svg/examplesSVG.htmx b/graphics/circuit_macros/examples/svg/examplesSVG.htmx
index 8bec348222..22ab9f9c42 100644
--- a/graphics/circuit_macros/examples/svg/examplesSVG.htmx
+++ b/graphics/circuit_macros/examples/svg/examplesSVG.htmx
@@ -154,6 +154,7 @@ There are a number of other issues:
e.g. m4tt`'svg_tspan(font-style="italic" font-size="75%",XYZ)</g>
<li>m4tt svg_it(</g>text`'m4tt)</g>: for italics
<li>m4tt svg_tt(</g>text`'m4tt)</g>: for monospace (courier)
+ <li>m4tt svg_sf(</g>text`'m4tt)</g>: sans-serif (Helvetica)
<li>m4tt svg_norm(</g>text`'m4tt)</g>: for normal text
<li>m4tt svg_bf(</g>text`'m4tt)</g>: for bold face
<li>m4tt svg_small(</g>text, percent`'m4tt)</g>:
@@ -162,8 +163,13 @@ There are a number of other issues:
for setting larger or smaller text size, default 100
<li>m4tt svg_sub(</g>text, size percent, y displ, x displ`'m4tt)</g>:
subscript
+ <li>m4tt svg_ul(</g>text`'m4tt)</g>: underlined text
+ <li>m4tt svg_ol(</g>text`'m4tt)</g>: overlined text
<li>m4tt svg_sup(</g>text, size percent, y displ, x displ`'m4tt)</g>:
superscript
+ <li>m4tt svg_hat(</g>character`'m4tt)</g>: circumflex-accented character
+ <li>m4tt svg_frac(</g>numerator[:wid], denominator[:wid]`'m4tt)</g>:
+ basic fraction, wid in drawing units
<li>m4tt svg_rot(</g>degrees, "text" [at position]`'m4tt)</g>:
Rotate text degrees (default 90) ccw.
Requires m4tt`'svg_rot_init(</g>filename`'m4tt)</g> and the source
@@ -184,6 +190,8 @@ There are a number of other issues:
<!--
Reference:
https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references
+ and
+ https://www.toptal.com/designers/htmlarrows/math/
-->
<hr width="100%" align="left">
<table cellpadding="2" cellspacing="0" width="75%" >
@@ -292,8 +300,17 @@ There are a number of other issues:
<hr>
-cfig(CctTableSVG,
- Two-terminal elements, showing some variations)
+cfig(ResistorsSVG,
+ Resistors, showing some variations)
+
+cfig(CapacitorsSVG,
+ Capacitors)
+
+cfig(InductorsSVG,
+ Inductors)
+
+cfig(MoreTableSVG,
+ Some other two-terminal elements)
cfig(DiodesSVG,
Diodes: a m4tt`'K</g> in the second argument draws an open
@@ -361,7 +378,11 @@ cfig(HeadersSVG,
The m4tt`'Header</g> macro)
cfig(ConnectorsSVG,
- Some connectors with simple geometry and lists of labels)
+ Some integrated circuits and connectors with simple geometry
+ and lists of labels)
+
+cfig(ChipsSVG,
+ IC outlines)
cfig(fetSVG,
FETs`,' showing programmable components and example customizations)
@@ -547,6 +568,10 @@ cfig(ABlogixSVG,
cfig(XORSVG,
Realizations of the XOR function using m4tt`'Autologix</g>)
+cfig(EEPSVG,
+ Part of a single-line diagram of a power distribution system
+ using draft elements)
+
cfig(paletteSVG,
A draft palette of a few elements for Inkscape using
a 1 mm grid)
@@ -555,13 +580,14 @@ cfig(ex00SVG,
Line diagrams)
cfig(controlSVG,
- Control-system block diagrams that do not require m4)
+ Control-system block diagrams)
cfig(GrayCodeSVG,
- Gray code 10-bit encoder disk pattern)
+ Gray code 10-bit encoder disk pattern`,'
+ and a crossbar switch)
-cfig(CrossbarSVG,
- A crossbar switch)
+#cfig(CrossbarSVG,
+# A crossbar switch)
cfig(ByteSVG,
Elementary splines)
@@ -591,7 +617,7 @@ cfig(ex09SVG,
specifies the arc to be dimensioned and the second argument is
the outward radial offset of the dimension arrow arc.)
-cfig(Y14-5SVG,
+cfig(PlateSVG,
Dimensioning with tolerances according to ASME Y14.5)
Use of m4tt`'darrow</g> and m4tt`'Darc</g>)
@@ -602,10 +628,10 @@ cfig(LoglogSVG,
A graph drawn using the pic language)
cfig(GeometrySVG,
- A plane geometry example)
+ A plane geometry example`,' and an illustration of a Lyapunov function)
-cfig(LyapSVG,
- Illustrating a Lyapunov function)
+#cfig(LyapSVG,
+# Illustrating a Lyapunov function)
cfig(randomSVG,
Testing random numbers)
@@ -622,21 +648,23 @@ cfig(graysurfSVG,
cfig(shapesSVG,
Basic shapes)
-cfig(AntiqueClockSVG,
- An antique clock face)
+#fig(AntiqueClockSVG,
+# An antique clock face)
cfig(cscSVG,
- Conestoga Sailing Club (illustrating the filling of arbitrary
- shapes))
+ Conestoga Sailing Club (illustrating the filling of arbitrary shapes)`,'
+ and an antique clock face with shading and rotated text)
cfig(roseSVG,
- Redrawn from a detail of the set design for the musical
- <i>Dracula</i>`,' used for testing m4tt`'dpic</g>. This diagram
+ A window redrawn from a detail of the set design for the musical
+ <i>Dracula</i>`,' used for testing m4tt`'dpic</g>`,'
+ and an experimental halftone. This diagram
consumes much LaTeX main memory but can be produced
directly as pdf using m4tt`'dpic -d</g>`,'
as svg using m4tt`'dpic -g</g>`,'
or as postscript using m4tt`'dpic -r</g>
- since no text formatting is required)
+ since no text formatting is required. The right object
+ adjusts the size of dots to produce a halftone effect)
cfig(diamondSVG,
Variations on M. Goossens`,' S. Rahtz`,' and F. Mittelbach`,'