summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/shapepar/triangleshapes.def
blob: 914b9f9f1a6fa8ee1a667f39928b0fddb4b40923 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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}