[metapost] Dynamic TeX labels in functions

Hartmut Henkel hartmut_henkel at gmx.de
Thu Nov 11 00:57:46 CET 2004


you also get the parse-first-line stuff in by:

    s:= "glabel.rt( verbatimtex %&latex"
      & char 10
      & "\documentclass{article}"
      & "\usepackage{color} \begin{document} etex "
      & "btex\scriptsize\textsf{"
      & decimal endy
      & "} etex , ly) withcolor red; glabel.lft(btex \scriptsize \textsf{"
      & gname
      & "} etex, OUT);";

Regards, Hartmut



More information about the metapost mailing list