diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/shapepar/triangleshapes.def |
Initial commit
Diffstat (limited to 'macros/latex/contrib/shapepar/triangleshapes.def')
-rw-r--r-- | macros/latex/contrib/shapepar/triangleshapes.def | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/macros/latex/contrib/shapepar/triangleshapes.def b/macros/latex/contrib/shapepar/triangleshapes.def new file mode 100644 index 0000000000..914b9f9f1a --- /dev/null +++ b/macros/latex/contrib/shapepar/triangleshapes.def @@ -0,0 +1,45 @@ +% from Gerhard A. Bachmaier (gerhard.bachmaier@meduni-graz.at) +% +% triangle shapes in four orientaions: +% triangleup, triangledown, triangleright, triangleleft. +% version June 21th, 2006 + +\def\triangleupshape{% +{0}% +{0}b{0}\\% +{8.66}t{-5}{10}\\% +{17.32}t{-10}{20}\\% +{17.32}e{0}% +} +\def\triangleuppar#1{\Shapepar\triangleupshape $\bigtriangleup$ \ignorespaces #1\par} + +\def\triangledownshape{% +{0}% +{0}b{0}\\% +{0}t{-10}{20}\\% +{8.66}t{-5}{10}\\% +{17.32}e{0}% +} +\def\triangledownpar#1{\Shapepar\triangledownshape #1\unskip\ $\bigtriangledown$\par} + +\def\triangleleftshape{% +{0}% +{0}b{8.66}\\% +{0}t{8.66}{0}\\% +{10}t{-8.66}{17.32}\\% +{20}t{8.66}{0}\\% +{20}e{8.66}% +} +\def\triangleleftpar#1{\Shapepar\triangleleftshape + $\triangleleft$ \ignorespaces #1\unskip\ $\triangleleft$\par} + +\def\trianglerightshape{% +{0}% +{0}b{-8.66}\\% +{0}t{-8.66}{0}\\% +{10}t{-8.66}{17.32}\\% +{20}t{-8.66}{0}\\% +{20}e{-8.66}% +} +\def\trianglerightpar#1{\Shapepar\trianglerightshape + $\triangleright$ \ignorespaces #1\unskip\ $\triangleright$\par} |