ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Vit Zyka <vit.zyka@seznam.cz>
Subject: Re: EPS/PDF import and \underbrace in metaplay
Date: Wed, 04 Aug 2004 17:42:15 +0200	[thread overview]
Message-ID: <411103D7.4080301@seznam.cz> (raw)
In-Reply-To: <4110ED95.6070003@email.si>

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

  reply	other threads:[~2004-08-04 15:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-04 14:07 Mojca Miklavec
2004-08-04 15:42 ` Vit Zyka [this message]
2004-08-05 14:29   ` Mojca Miklavec
2004-08-05 14:56     ` Hans Hagen
2004-08-05 15:03     ` Vit Zyka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=411103D7.4080301@seznam.cz \
    --to=vit.zyka@seznam.cz \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).