Menu

latex/tex environment during asymptote label processing

Help
2014-10-08
2014-10-09
  • Geoff Russell

    Geoff Russell - 2014-10-08

    How can I reference a latex macro in a label?

    In metapost I'd put verbatimtex ...\def\xx{} etex in the preamble and then use \xx in labels. But I don't know how asymptote communicates with latex and what the environment is when labels are processed. I can't seem to find this information in the documentation.

     
  • Olivier Guibé

    Olivier Guibé - 2014-10-08

    Hello

    Perhaps that

    texpreamble("\def\V#1{\bm{#1}}");
    

    could help

    O.G.

     
  • Geoff Russell

    Geoff Russell - 2014-10-09

    Many thanks ... and it is in the documentation if I'd spent more time looking :)

     

Log in to post a comment.