diff options
Diffstat (limited to 'tex/context/base/mkxl/meta-tex.mkxl')
-rw-r--r-- | tex/context/base/mkxl/meta-tex.mkxl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tex/context/base/mkxl/meta-tex.mkxl b/tex/context/base/mkxl/meta-tex.mkxl index fc8456c73..a2377c321 100644 --- a/tex/context/base/mkxl/meta-tex.mkxl +++ b/tex/context/base/mkxl/meta-tex.mkxl @@ -199,11 +199,17 @@ \permanent\protected\def\svgcolored#1#2#3#4% r g b text {\colored[r=#1,g=#2,b=#3]{#4}} +% \permanent\protected\def\svgplaced#1#2#3#4% dx dy width text +% {\doifelsenothing{#3}% +% {\hpack}% +% {\hpack to #3}% +% {\raise#2\onebasepoint\hbox{\kern#1\onebasepoint\relax#4}}} + \permanent\protected\def\svgplaced#1#2#3#4% dx dy width text {\doifelsenothing{#3}% {\hpack}% {\hpack to #3}% - {\raise#2\onebasepoint\hbox{\kern#1\onebasepoint\relax#4}}} + {\offsetbox[\c!y=#2]\hbox{\kern#1\relax#4}}} \newdimen\grph_svg_scratchwidth % maybe \startsvgpos etc |