[NTG-context] EPS/PDF import and \underbrace in metaplay

Vit Zyka vit.zyka at seznam.cz
Thu Aug 5 17:03:52 CEST 2004


> I want to make something like
> 
> [start of TeX code]
>    \displaystyle{\underbrace{x^2+y^2=z^2}_{\hbox{simple equation}}}
> [end of tex code]
> 
> except that there has to be a metapost picture instead of "x^2+y^2=z^2"

I did not test but I see no reason why not to use \...MP...
inside \underbrace, like
   $\underbrace{\hbox{\uniwueMPgraphic[pict]}_{\hbox{simple equation}}$
Is there any problem?

> Is it possible to place a graphic inside a \hbox in some btex ... etex
> or textext expression? In that case this would help me a lot, otherwise

Not. Process is:
1) mpost geterate from btex...etex construction TeX file.
2) tex: tex -> dvi (graphics is as \special)
3) makempx dvi -> mp !! problem how to handle graphics

Vit Zyka



More information about the ntg-context mailing list