Debian Codegraph @

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

raw
1 .PS
2 # Sockets.m4
3 log_init
4 include(ics.m4)
5
6 ifelse(ifpgf(T)`'ifpstricks(T),T,`command "{\small\sf"')
7
8 H: HDMI_micro
9 "\sf Micro" rjust at H.Base.sw+(-2bp__,0) "\sf HDMI" rjust
10
11 U: USB_C_Socket with .Base.sw at (H.e.x+0.85,H.Base.s.y)
12 "\sf USB-C Socket" at U.Base.s below
13 "\sf B12" at U.B12.end above ljust
14 "\sf B1" at U.B1.end above ljust
15 "\sf A1" at U.A1.end above rjust
16 "\sf A12" at U.A12.end above rjust
17
18 C1: connDX with .nw at H.Base.ne+(0.5,0)
19 "`\sf DA15-PD'" at C1.s below
20
21 C2: connDX(,L,type=F) with .w at C1.e+(0.6,0)
22 "`\sf DA15-SD'" at C2.s below
23
24 ifelse(ifpgf(T)`'ifpstricks(T),T,`command "}"')
25
26 thinlines_
27 arrow <- from C1.T1.w left 0.25; "\sf T1" rjust
28 arrow <- from C1.T8.w left 0.25; "\sf T8" rjust
29 arrow <- from C1.T9.e right 0.25
30 arrow <- from C1.T15.e right 0.25
31
32 arrow <- from C2.T1.e right 0.25; "\sf T1" ljust
33 arrow <- from C2.T8.e right 0.25; "\sf T8" ljust
34 arrow <- from C2.T9.w left 0.25
35 arrow <- from C2.T15.w left 0.25
36 "\sf T9" at 1/2 between C1.T9 and C2.T9
37 "\sf T15" at 1/2 between C1.T15 and C2.T15
38 thicklines_
39
40 .PE