diff options
author | Karl Berry <karl@freefriends.org> | 2013-01-24 23:22:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-01-24 23:22:03 +0000 |
commit | d5bb518a967be55cdbd34367102479e980ecd579 (patch) | |
tree | 003ca0458a0255dcb521d72759bf6e112b594790 /Master/texmf-dist/tex/generic | |
parent | c31ed4b2621d6980638a21a61245aa4b4c1d641e (diff) |
shapepar 2.1 (24jan13)
git-svn-id: svn://tug.org/texlive/trunk@28935 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
6 files changed, 196 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/shapepar/Canflagshape.def b/Master/texmf-dist/tex/generic/shapepar/Canflagshape.def new file mode 100644 index 00000000000..1b76c6ea381 --- /dev/null +++ b/Master/texmf-dist/tex/generic/shapepar/Canflagshape.def @@ -0,0 +1,33 @@ +\def\Canflagshape{% +{32.0} +{0}b{0}\\ +{0}t{0}{16}\\ +{32}t{0}{16}\\ +{32}e{0}\\ +% +{2.800} b{32.000}\\ +{6.250} b{27.000} t{30.160}{3.680} b{37.000}\\ +{7.300} t{27.217}{1.654} t{29.600}{4.800} t{35.128}{1.654}\\ +{7.400} t{27.238}{1.812} j t{29.050}{5.900} j t{34.950}{1.812}\\ +{10.45} b{24.500} t{27.869}{8.262} b{39.500}\\ +{11.80} b{19.900} t{23.984}{1.768} t{28.148}{7.703} t{38.248}{1.768} b{44.100}\\ +{12.15} t{20.005}{2.651} t{23.850}{2.227} t{28.221}{7.559} t{37.923}{2.227} t{41.344}{2.651}\\ +{12.20} t{20.021}{3.029} j t{23.050}{3.073} t{28.231}{7.538} t{37.877}{3.073} j t{40.950}{3.029}\\ +{13.50} t{20.412}{6.917} t{28.500}{7.000} t{36.671}{6.917}\\ +{13.90} t{20.533}{7.167} j t{27.700}{8.600} j t{36.300}{7.167}\\ +{15.45} t{21.000}{22.000}\\ +{16.00} t{21.000}{22.000}\\ +{17.00} t{19.550}{24.900}\\ +{22.05} t{25.900}{12.200}\\ +{22.60} t{25.900}{12.200}\\ +{23.55} t{25.489}{5.961} s t{31.450}{1.100} s t{32.550}{5.961}\\ +{24.00} t{25.295}{2.980} t{31.600}{0.800} t{35.725}{2.980}\\ +{24.45} e{25.100} t{31.593}{0.815} e{38.900}\\ +{30.00} t{31.500}{1.000}\\ +{30.00} e{32.0}\\ +% +{0}b{48}\\ +{0}t{48}{16}\\ +{32}t{48}{16}\\ +{32}e{48} +} diff --git a/Master/texmf-dist/tex/generic/shapepar/TeXshape.def b/Master/texmf-dist/tex/generic/shapepar/TeXshape.def new file mode 100644 index 00000000000..bf98bb8970c --- /dev/null +++ b/Master/texmf-dist/tex/generic/shapepar/TeXshape.def @@ -0,0 +1,37 @@ +\def\TeXshape{% +{3.8}% + {0}b{0}\\% + {0}t{-6.35}{7.03}\\% + {2.5}t{-6.35}{7.03}\\% + {2.5}t{-4.1}{2.58}\\% +{10.11}t{-4.1}{2.58}\\% +{10.11}e{-5}\\% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + {4.03}b{0}\\% + {4.03}t{0}{6.39}\\% + {6.52}t{0}{6.39}\\% + {6.52}t{0}{2.48}\\% + {8.0}t{0}{2.48}\\% + {8.0}t{0}{5.27}\\% +{10.23}t{0}{5.27}\\% +{10.23}t{0}{2.48}\\% +{11.69}t{0}{2.48}\\% +{11.69}t{0}{6.4}\\% +{14.19}t{0}{6.4}\\% +{14.19}e{0}\\% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + {0}b{7}b{13}\\% + {0}t{6.68}{2.5}t{11.96}{2.58}\\% + {1.39}t{6.68}{2.5}t{11.96}{2.58}\\% + {2.5}t{6.68}{3.6}t{10.89}{3.65}\\% + {2.8}t{7}{3.6}jt{10.6}{3.65}\\% + {4.23}t{8.37}{4.44}\\% + {5.1}t{9.19}{2.8}\\% + {6.72}t{7.54}{6.12}\\% + {7.32}t{6.99}{3.65}st{10.64}{3.62}\\% + {7.64}t{6.68}{3.59}t{10.95}{3.6}\\% + {8.2}t{6.68}{3}t{11.48}{3.07}\\% + {8.68}t{6.68}{2.5}t{11.97}{2.58}\\% +{10.11}t{6.68}{2.5}t{11.97}{2.58}\\% +{10.11}e{7}e{13}% +} diff --git a/Master/texmf-dist/tex/generic/shapepar/candleshape.def b/Master/texmf-dist/tex/generic/shapepar/candleshape.def new file mode 100644 index 00000000000..3fe8e60a41d --- /dev/null +++ b/Master/texmf-dist/tex/generic/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 -======================================== diff --git a/Master/texmf-dist/tex/generic/shapepar/dropshape.def b/Master/texmf-dist/tex/generic/shapepar/dropshape.def new file mode 100644 index 00000000000..3694fdc6d41 --- /dev/null +++ b/Master/texmf-dist/tex/generic/shapepar/dropshape.def @@ -0,0 +1,41 @@ +% from Gerhard A. Bachmaier (gerhard.bachmaier@meduni-graz.at) +% +% drops in two orientations +% +% version June 21th, 2006 + +\def\dropshape{% +{0.0}% +{0.0}b{0}\\% +{0.00}t{0}{0} +{0.550}t{-0.433}{0.866}\\% +{0.671}t{-0.483}{0.966}\\% +{0.800}t{-0.500}{1.000}\\% +{0.929}t{-0.483}{0.966}\\% +{1.050}t{-0.433}{0.866}\\% +{1.154}t{-0.354}{0.707}\\% +{1.233}t{-0.250}{0.500}\\% +{1.283}t{-0.129}{0.259}\\% +{1.3}e{0} +} +\def\droppar#1{\Shapepar\dropshape #1\par} + + +\def\dropupshape{% +{0.0}% +{0.0}b{0}\\% +{0.017}t{-0.129}{0.259}\\% +{0.067}t{-0.250}{0.500}\\% +{0.146}t{-0.354}{0.707}\\% +{0.250}t{-0.433}{0.866}\\% +{0.371}t{-0.483}{0.966}\\% +{0.500}t{-0.500}{1.000}\\% +{0.629}t{-0.483}{0.966}\\% +{0.750}t{-0.433}{0.866}\\% +{1.3}t{0}{0}\\% +{1.3}e{0} +} +\def\dropuppar#1{\Shapepar\dropupshape #1\par} + +\endinput + diff --git a/Master/texmf-dist/tex/generic/shapepar/shapepar.sty b/Master/texmf-dist/tex/generic/shapepar/shapepar.sty index cef41e5b84f..405bb8bda86 100644 --- a/Master/texmf-dist/tex/generic/shapepar/shapepar.sty +++ b/Master/texmf-dist/tex/generic/shapepar/shapepar.sty @@ -5,9 +5,9 @@ % Version 2.1 (Sept 2006) % % Copyright (c) 1993,2002,2006 Donald Arseneau -% These definitions may be freely transmitted, reproduced, or modified -% provided that any modifications are clearly identified and this notice -% is left intact. +% This software may be freely used, transmitted, shared, copied, sold, +% or modified, provided that any modifications are clearly identified +% and this notice is left intact. % % \shapepar: a macro to typeset paragraphs in a specific shape. The % size is adjusted automatically so that the entire shape is filled diff --git a/Master/texmf-dist/tex/generic/shapepar/triangleshapes.def b/Master/texmf-dist/tex/generic/shapepar/triangleshapes.def new file mode 100644 index 00000000000..914b9f9f1a6 --- /dev/null +++ b/Master/texmf-dist/tex/generic/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} |