ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Pawel Jackowski na Onet" <jackos1@poczta.onet.pl>
Subject: Re: Re: height and width of a figure
Date: Wed, 17 Sep 2003 04:26:13 +0200	[thread overview]
Message-ID: <000b01c37cc3$10fd79a0$0500a8c0@best> (raw)
In-Reply-To: <000801c37c97$f969eb00$217afea9@sevi>

Hello!


> Hi Patrick and all the others
>
> thanks for your answer. I  think I asked my question a little bit
unclearly.
> I wanted to know if i can get the width of a figure, or the overlaywidth
of
> this figure as a numeric. I want to make a frame like this:
> \framed[width=<width of \exernalfigure[fig]>, height=<height of
> \externalfigure[fig]>]{blabla}.

> I don't know if such a thing is possible, I didn't find such a thing in a
> manual.

Why dont You just put the figure into a box? You can always say:

\newdimen\W
\newdimen\H
\setbox0\hbox{\externalfigure[your_figure]}
\W=\wd0\relax
\H=\ht0
\advance\H by \dp0\relax
\the\W
\the\H
\end

Such row TeX code always work:)

Regards, Pawe/l

  reply	other threads:[~2003-09-17  2:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-16 13:18 Severin Obertuefer
2003-09-16 13:41 ` Patrick Gundlach
2003-09-16 21:17   ` Severin Obertüfer
2003-09-17  2:26     ` Pawel Jackowski na Onet [this message]
2003-09-17  7:59       ` Hans Hagen
2003-09-17 15:25         ` seob

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='000b01c37cc3$10fd79a0$0500a8c0@best' \
    --to=jackos1@poczta.onet.pl \
    --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).