diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2017-12-17 21:14:09 +0100 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2017-12-17 21:14:09 +0100 |
commit | 110af509a41e8c3bbc8f282be70a5d746423548f (patch) | |
tree | cf716db3fe56c59af6cdd30180f894d836f0527e /latex_pgfornament/texmf/tex/latex/pgflibraryam.code.tex | |
parent | 5776999cb5862e41e408996cb2cc09a69a4265cc (diff) |
Update latex conf
Diffstat (limited to 'latex_pgfornament/texmf/tex/latex/pgflibraryam.code.tex')
-rw-r--r-- | latex_pgfornament/texmf/tex/latex/pgflibraryam.code.tex | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/latex_pgfornament/texmf/tex/latex/pgflibraryam.code.tex b/latex_pgfornament/texmf/tex/latex/pgflibraryam.code.tex new file mode 100644 index 0000000..498ac1b --- /dev/null +++ b/latex_pgfornament/texmf/tex/latex/pgflibraryam.code.tex @@ -0,0 +1,29 @@ +% utf8 +% author Alain Matthes d'après des travaux de F Fradin et H Voss sur un fichier +% 21/01/2012 +\makeatletter + +% dimensions des motifs +\def\@pgfornamentDim#1{% dim en bp +\ifcase#1\relax% +\or\def\@pgfornamentX{136}\def\@pgfornamentY{107}% 1 +\or\def\@pgfornamentX{133}\def\@pgfornamentY{48}% 2 +\fi% +}% +% appels des motifs +\def\pgf@@ornament#1{% +\begingroup +\def\i{\pgfusepath{clip}} +\let\o\pgfpathclose +\let\s\pgfusepathqfillstroke +\def\p ##1##2{\pgfqpoint{##1bp}{##2bp}} +\def\m ##1 ##2 {\pgfpathmoveto{\p{##1}{##2}}} +\def\l ##1 ##2 {\pgfpathlineto{\p{##1}{##2}}} +\def\r ##1 ##2 ##3 ##4 {\pgfpathrectangle{\p{##1}{##2}}{\p{##3}{##4}}} +\def\c ##1 ##2 ##3 ##4 ##5 ##6 {% +\pgfpathcurveto{\p{##1}{##2}}{\p{##3}{##4}}{\p{##5}{##6}}}% +\@@input am#1.pgf +%\@nameuse{pgf@@am@#1}% +\endgroup}% +\makeatother +\endinput
\ No newline at end of file |