1 Aug
2010
1 Aug
'10
12:42 p.m.
On 08/01/2010 12:16 PM, Oliver Buerschaper wrote:
Hi Taco,
Well, you could create a temporary file from withing the metapost graphic, then read that file back on the TeX side, and then shift the image vertically based on the info from that.
Could you give me a hint on how to parse such an auxiliary file in TeX? I've never done any sort of that programming before...
You don't have to worry about parsing, just write something like this in the metapost code: write "\string\def\string\MathAxis{"& decimal (sqrt(3)*u/3) &"}" to "info.tex"; Then \input info. Best wishes, Taco