Debian Codegraph @

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

raw
1 divert(-1)
2 gpic.m4 Initialization for gpic.
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',gpic)
12 define(`m4postprocessor',tpic)
13
14 ifdef(`libgen_',,`include(libgen.m4)divert(-1)')dnl
15
16 define(`thinlines_',`linethick=0.4
17 arrowwid = 0.05*2/3*scale; arrowht = 0.1*2/3*scale;')
18
19 define(`thicklines_',`linethick = 0.8
20 arrowwid = 0.05*scale; arrowht = 0.1*scale;')
21
22 define(`linethick_',`linethick=ifelse(`$1',,`0.8',`$1')
23 arrowwid = ifelse(`$1',,`0.05',linethick/0.8*0.05)*scale; dnl
24 arrowht = ifelse(`$1',,`0.1',linethick/0.8*0.1)*scale;')
25
26 divert(0)dnl