[NTG-context] EPS/PDF import and \underbrace in metaplay
Vit Zyka
vit.zyka at seznam.cz
Wed Aug 4 17:42:15 CEST 2004
Mojca Miklavec wrote:
> 1.) EPS/PDF import
>
> How do I make an existing EPS or PDF image a part of some other
> meta[post/play] graphic?
Use externalfigure (Metafun manual, 8.4 Including graphics)
> 2.) \underbrace
>
> I wrote the following two macros for drawing braces in graphics:
>
> \def\underbracedescription#1#2{$\underbrace{\hbox{\vrule width#1 height
> 0bp}}_{\hbox{\strut #2}}$}
> \def\rightbracedescription#1#2{$\displaystyle{\left.\vphantom{\hbox{\vrule
> width0bp height#1 depth#1}}\right\}\hbox{\strut #2}}$}
>
> However, the width has to be given manually - it doesn't care about the
I do not understand what is your desire. But in the case of obtaining
real dimmensions:
\setbox0=\hbox{ ... }%
then
\wd0 is width
\ht0 is height
\dp0 is depth
\box0 or \copy0 give the box contain
Vit Zyka
More information about the ntg-context
mailing list