I would like to be able to do something like this
\def\foo#1{
\startMPcode
fill (0,0)--(598,0)--(598,50)--(0,50)--cycle withcolor green;
label.rt(btex #1 etex),(50,25);
\stopMPcode
}
and then use this in my ConTeXt document by
\foo{Some text}
However, my syntax seems to
On Wed, 25 Apr 2012 11:15:10 -0500
Troy Henderson thend...@gmail.com wrote:
I would like to be able to do something like this
\def\foo#1{
\startMPcode
fill (0,0)--(598,0)--(598,50)--(0,50)--cycle withcolor green;
label.rt(btex #1 etex),(50,25);
\stopMPcode
}
and
On Apr 25, 2012, at 12:15 PM, Troy Henderson wrote:
I would like to be able to do something like this
\def\foo#1{
\startMPcode
fill (0,0)--(598,0)--(598,50)--(0,50)--cycle withcolor green;
label.rt(btex #1 etex),(50,25);
\stopMPcode
}
Looks like a misplaced