I want to add math equations to pic labels. How can I write such a thing, for example
box "This is an $1 over 2$ test" "using math in pic labels"
. I know of ctan circuit_macros, but that would require a tex document. I want the document to stay in roff -ms format.
For example the output of
printf ".EQ\n1 over 2\n.EN" | eqn |groff -Tps > 1over2.ps
is what you see below.
I will try my luck with macros... or is there some inline way to define .EQ text?