Difference between revisions of "Command/externalfigure"

From Wiki
Jump to navigation Jump to search
m (Make example work)
(Add a bit to See Also)
Line 22: Line 22:
 
== Description ==  
 
== Description ==  
  
Include an external figure. If it is a pdf file, by default <tt>\externalfigure</tt> will use the mediabox; you can tell it to use the artbox instead like so:
+
Include an external figure. If it is a pdf file, by default {{cmd|externalfigure|link=no}} will use the mediabox; you can tell it to use the artbox instead like so:
  
 
<texcode>
 
<texcode>
Line 45: Line 45:
  
 
== See also ==
 
== See also ==
* {{cmd|setupexternalfigures}} to set some default settings.
+
* {{cmd|defineexternalfigure}} to define a collection of settings
 +
* {{cmd|useexternalfigure}} to define an image+settings combination
 +
* {{cmd|setupexternalfigures}} to define a different collection of settings
  
 
== Help from ConTeXt-Mailinglist/Forum ==
 
== Help from ConTeXt-Mailinglist/Forum ==

Revision as of 00:21, 21 July 2012

\externalfigure

Syntax

\externalfigure[...][...,...=...,...]
[...] file
[...,...=...,...] see \useexternalfigure


Description

Include an external figure. If it is a pdf file, by default \externalfigure will use the mediabox; you can tell it to use the artbox instead like so:

% Unfortunately, cow.pdf is trimmed so that its mediabox coincides 
% with its artbox, so it's not suitable for illustrating this key.
\externalfigure[cow][width=4cm,size=artbox]

Example

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: