ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Patrick Gundlach <pg@levana.de>
Subject: Re: height and width of a figure
Date: Tue, 16 Sep 2003 15:41:22 +0200	[thread overview]
Message-ID: <m2smmwc0l9.fsf@levana.de> (raw)
In-Reply-To: <16664.1063718323@www45.gmx.net> (Severin Obertuefer's message of "Tue, 16 Sep 2003 15:18:43 +0200 (MEST)")

Hello,
>
> i included an external figure in a document with \useexernalfigure[fig]
> how can i get the width and the height of this picture so that i can make a
> frame that has exactly the same size as the externalfigure[fig].

See the reference manual, especially frame=on. You can also define a
metapost overlay and get the dimension in OverlayBox.


\externalfigure[...][...,...=...,...]


[...]		   <file>
[...,...=...,...]  see \useexternalfigure (1)

\useexternalfigure[...][...][...,...=...,...]


[...]		   <name>
[...]		   <file>
scale		   <number>
factor		   max fit broad
wfactor		   <number> max broad fit
hfactor		   <number> max broad fit
width		   <dimension>
height		   <dimension>
frame		   on off
preset		   yes no
display		   <file>
preview		   yes no
repeat		   yes no
object		   yes no
type		   eps mps pdf tif png jpg mov <tex>
method		   eps mps pdf tif png jpg mov <tex>



Patrick
-- 
Silent is the goldfish in its bowl

  reply	other threads:[~2003-09-16 13:41 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 [this message]
2003-09-16 21:17   ` Severin Obertüfer
2003-09-17  2:26     ` Pawel Jackowski na Onet
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=m2smmwc0l9.fsf@levana.de \
    --to=pg@levana.de \
    --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).