Debian Codegraph @

texmf-dist/doc/latex/circuit-macros/examples/Incleps.m4

raw
1 .PS
2 # Incleps.m4 : Illustrating one way to import and overwrite .eps graphics
3 # Note: gpic doesn't fill the arrows
4 darrow_init
5 s_init(Incleps)
6 sinclude(F_Incleps.dim) # Inserted for the web-page version.
7 sinclude(tmp.dim) # for psfrag
8 sinclude(examples.dim) # Change examples to the name of the main LaTeX file.
9
10 define(`backarrow',`darrow(`$1',,,2pt__,6pt__,6pt__,<-|)')
11
12 S: s_box(`\includegraphics[width=3in]{Incl}')
13 # A blank box the size of the included eps figure:
14 #S: s_box("\hskip %gin\vrule width 0pt height %gin",\
15 # boxdim(InclA,w),boxdim(InclA,v))
16 ifgpic(`S: box invis ht s_ht wid s_wd with .c at S.n')
17
18 thinlines_
19 backarrow( from boxcoord(S,0.4,0.95) up 0.4 right 0.7 )
20 s_box(\sf Basket) ljust
21 backarrow( from boxcoord(S,0.9,0.41) up 0.2 right 0.5 )
22 s_box(\sf Ball) ljust
23 backarrow( from boxcoord(S,0.85,0.32) up 0.2 right 0.5 )
24 s_box(`\sf\shortstack[l]{Star\\ player}') ljust
25 .PE