diff options
author | Karl Berry <karl@freefriends.org> | 2023-03-11 21:14:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-03-11 21:14:53 +0000 |
commit | 3c87631320d19f79abd7239fa752454978f37ce6 (patch) | |
tree | a1d11272a60372dd97c71ddc782c4b582299de82 /Master/texmf-dist/doc/latex/circuit-macros/examples/extras/TR_fill.m4 | |
parent | b07ff8c82713eb8f4a519d581381555700235e46 (diff) |
circuit-macros (11mar23) (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2022.final@66556 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/circuit-macros/examples/extras/TR_fill.m4')
-rw-r--r-- | Master/texmf-dist/doc/latex/circuit-macros/examples/extras/TR_fill.m4 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/circuit-macros/examples/extras/TR_fill.m4 b/Master/texmf-dist/doc/latex/circuit-macros/examples/extras/TR_fill.m4 new file mode 100644 index 00000000000..bf3fae888c0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/circuit-macros/examples/extras/TR_fill.m4 @@ -0,0 +1,17 @@ +.PS +# TR_fill.m4 +# https://tex.stackexchange.com/questions/654117/fill-parts-of-a-shape +gen_init + + B: (0,0); "B" at B below + C: (5,0); "C" at C below + A: Cintersect(B,4,C,3); "A" at A above + line from B to C then to A then to B + RightAngle(B,A,C,0.25) + + rgbfill(0.5,0.5,0.5, + arc from A to B rad 2 + arc cw to C rad 2.5 + arc to A rad 1.5 ) + +.PE |