Debian Codegraph @

texmf-dist/doc/latex/circuit-macros/mfpic.m4

raw
1 divert(-1)
2 mfpic.m4 Initialization for mfpic.
3
4 * Circuit_macros Version 11.0, copyright (c) 2026 J. D. Aplevich under *
5 * the LaTeX Project Public Licence in file Licence.txt. The files of *
6 * this distribution may be redistributed or modified provided that this *
7 * copyright notice is included and provided that modifications are clearly *
8 * marked to distinguish them from this distribution. There is no warranty *
9 * whatsoever for these files. *
10
11 define(`m4picprocessor',dpic)
12 define(`m4postprocessor',mfpic)
13
14 ifdef(`libgen_',,`include(libgen.m4)divert(-1)')dnl
15
16 define(`thinlines_',`linethick = 0.4
17 command "\pen{0.4pt}"
18 arrowwid = 0.04*scale; arrowht = 0.2/3*scale;')
19 define(`thicklines_',`linethick = 0.8
20 command "\pen{0.9pt}"
21 arrowwid = 0.05*scale; arrowht = 0.1*scale;')
22 define(`linethick_',`linethick = ifelse(`$1',,`0.8',`$1')
23 command sprintf("\pen{%gpt}",ifelse(`$1',,`0.9',linethick))
24 arrowwid = ifelse(`$1',,`0.05',linethick/16)*scale; dnl
25 arrowht = ifelse(`$1',,`0.1',linethick/8)*scale;')
26 divert(0)dnl