Hi everyone, I ran into trouble while trying to compile \startreusableMPgraphic{try} label(textext{$x\vphantom{y}z$}, origin); \stopreusableMPgraphic \reuseMPgraphic{try} Is this a bug? Olivier
Olivier wrote:
Hi everyone,
I ran into trouble while trying to compile
\startreusableMPgraphic{try} label(textext{$x\vphantom{y}z$}, origin); \stopreusableMPgraphic
\reuseMPgraphic{try}
Is this a bug?
Well, the error message is not nice, and maybe an \unexpanded in front of the definition of \vphantom would be nice, but your example is missing the \ in front of textext. Best wishes, Taco
Hi Taco, Quoting "Taco Hoekwater" :
-- was taco@elvenkind.com on Feb 15, 2008 at 05:25:16PM --
\startreusableMPgraphic{try} label(textext{$x\vphantom{y}z$}, origin); \stopreusableMPgraphic
\reuseMPgraphic{try}
Well, the error message is not nice, and maybe an \unexpanded in front of the definition of \vphantom would be nice, but your example is missing the \ in front of textext.
You're right, it works much better :D However, my original concern was that the following does not seem to work either: \startreusableMPgraphic{try} label(btex {$x\vphantom{y}z$} etex, origin); \stopreusableMPgraphic \reuseMPgraphic{try} Anyway, since -> \textext is the way to go... Many thanks for the quick solution! Olivier
participants (2)
-
Olivier
-
Taco Hoekwater