summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/shapepar/candleshape.def
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/shapepar/candleshape.def
Initial commit
Diffstat (limited to 'macros/latex/contrib/shapepar/candleshape.def')
-rw-r--r--macros/latex/contrib/shapepar/candleshape.def37
1 files changed, 37 insertions, 0 deletions
diff --git a/macros/latex/contrib/shapepar/candleshape.def b/macros/latex/contrib/shapepar/candleshape.def
new file mode 100644
index 0000000000..3fe8e60a41
--- /dev/null
+++ b/macros/latex/contrib/shapepar/candleshape.def
@@ -0,0 +1,37 @@
+% From: "Timothy C. Burt" <tcburt@comp.uark.edu>
+% ====- Definition of a candle shape -===========================
+\def\candle{%
+ {3.1}% Horizontal center
+ {0}b{3}\\% Tip of flame
+ {0.2}t{2.9}{0.1}\\%
+ {0.4}t{2.9}{0.2}\\%
+ {0.6}t{2.8}{0.4}\\%
+ {0.8}t{2.7}{0.6}\\%
+ {1.0}t{2.6}{0.8}\\%
+ {1.2}t{2.5}{1.0}\\%
+ {1.4}t{2.4}{1.3}\\%
+ {1.6}t{2.3}{1.5}\\%
+ {1.8}t{2.2}{1.6}\\%
+ {2.0}t{2.1}{1.8}\\%
+ {2.2}t{2.0}{2.0}\\%
+ {2.4}t{2.0}{2.1}\\%
+ {2.6}t{2.0}{2.1}\\%
+ {2.8}t{1.9}{2.1}\\%
+ {3.0}t{2.2}{1.8}\\%
+ {3.2}t{2.5}{1.4}\\%
+ {3.4}t{3.1}{0.3}\\% Bottom of flame
+ {3.6}t{3.3}{0.1}\\% Wick
+ {3.8}t{2.1}{2}\\% Top of candlestick
+ {9.6}t{2.1}{2}\\% Bottom of candlestick
+ {9.8}t{0.15}{6}\\% Top of candleholder
+ {10.0}t{0.05}{6.1}\\%
+ {10.2}t{0.00}{6.2}\\%
+ {10.4}t{0.00}{6.3}\\%
+ {10.6}t{0.05}{6.1}\\%
+ {10.8}t{0.15}{6.0}\\%
+ {11.0}t{0.30}{5.7}\\%
+ {11.2}t{0.50}{5.3}\\%
+ {11.4}t{1.00}{4.3}\\%
+ {11.4}e{3.1}% Bottom of the candleholder ended on the centerline
+}% End of candle definition.
+% ====- End candle -========================================