summaryrefslogtreecommitdiff
path: root/graphics/circuit_macros/xfig.m4
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /graphics/circuit_macros/xfig.m4
Initial commit
Diffstat (limited to 'graphics/circuit_macros/xfig.m4')
-rw-r--r--graphics/circuit_macros/xfig.m424
1 files changed, 24 insertions, 0 deletions
diff --git a/graphics/circuit_macros/xfig.m4 b/graphics/circuit_macros/xfig.m4
new file mode 100644
index 0000000000..44bd0dc7a7
--- /dev/null
+++ b/graphics/circuit_macros/xfig.m4
@@ -0,0 +1,24 @@
+divert(-1)
+ xfig.m4 Initialization for xfig.
+
+* Circuit_macros Version 9.0, copyright (c) 2019 J. D. Aplevich under *
+* the LaTeX Project Public License. The files of this distribution may *
+* be redistributed or modified provided that this copyright notice is *
+* included and provided that modifications are clearly marked to *
+* distinguish them from this distribution. There is no warranty *
+* whatsoever for these files. *
+
+define(`m4picprocessor',dpic)
+define(`m4postprocessor',xfig)
+
+ifdef(`libgen_',,`include(libgen.m4)divert(-1)')dnl
+
+define(`thinlines_',`linethick = 0.4
+ arrowwid = 0.05*2/3*scale; arrowht = 0.1*2/3*scale; ')
+define(`thicklines_',`linethick = 0.8
+ arrowwid = 0.05*scale; arrowht = 0.1*scale; ')
+define(`linethick_',`linethick = ifelse(`$1',,`0.8',`$1'); dnl
+ arrowwid = ifelse(`$1',,`0.05',linethick/0.8*0.05)*scale; dnl
+ arrowht = ifelse(`$1',,`0.1',linethick/0.8*0.1)*scale; ')
+
+divert(0)dnl