Difference between revisions of "Command/setupexternalfigure"
< Command
Jump to navigation
Jump to search
(some more information) |
m (Add \definegraphictypesynonym to 'See also') |
||
(One intermediate revision by one other user not shown) | |||
Line 303: | Line 303: | ||
<cd:commandref name="defineexternalfigure" originator="system"></cd:commandref> | <cd:commandref name="defineexternalfigure" originator="system"></cd:commandref> | ||
<cd:commandref name="externalfigure"></cd:commandref> | <cd:commandref name="externalfigure"></cd:commandref> | ||
+ | <cd:commandref name="definegraphictypesynonym"></cd:commandref> | ||
<cd:wikipage originator="system" page="Category:Graphics"></cd:wikipage> | <cd:wikipage originator="system" page="Category:Graphics"></cd:wikipage> | ||
<cd:source file="grph-inc.mkvi" originator="system">MkIV source</cd:source> | <cd:source file="grph-inc.mkvi" originator="system">MkIV source</cd:source> | ||
<cd:source file="grph-inc.mkxl">LMTX source</cd:source> | <cd:source file="grph-inc.mkxl">LMTX source</cd:source> | ||
<cd:source file="grph-con.lua">conversions source</cd:source> | <cd:source file="grph-con.lua">conversions source</cd:source> | ||
− | <cd:wikipage page=" | + | <cd:wikipage page="Using Graphics"></cd:wikipage> |
+ | <cd:wikipage page="Multimedia Inclusion">to add audio and video contents</cd:wikipage></cd:seealso> | ||
</cd:commandgroup> | </cd:commandgroup> |
Revision as of 20:46, 5 March 2024
Contents
\setupexternalfigure
Summary
The command \setupexternalfigure sets up \externalfigure
Settings
\setupexternalfigure[...,...][...=...,...] | |
[...,...] | name |
width | dimension |
height | dimension |
label | name |
page | number |
object | yes no |
prefix | text |
method | pdf mps jpg png jp2 jbig svg eps gif tif mov buffer tex cld auto |
controls | yes no |
preview | yes no |
mask | none |
resolution | number |
color | color |
cmyk | yes no auto |
arguments | text |
repeat | yes no |
factor | fit broad max auto default |
hfactor | fit broad max auto default |
wfactor | fit broad max auto default |
maxwidth | dimension |
maxheight | dimension |
equalwidth | dimension |
equalheight | dimension |
scale | number |
xscale | number |
yscale | number |
s | number |
sx | number |
sy | number |
lines | number |
location | local global default |
directory | path |
option | test frame empty |
foregroundcolor | color |
reset | yes no |
background | color foreground name |
frame | on off |
backgroundcolor | color |
xmax | number |
ymax | number |
frames | on off |
interaction | yes all none reference layer bookmark |
bodyfont | dimension |
comment | command text |
size | none media crop trim art |
cache | path |
resources | path |
display | file |
conversion | text |
order | list |
crossreference | yes no number |
transform | auto number |
userpassword | text |
ownerpassword | text |
Option | Explanation | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
label |
| ||||||||||||||
page |
| ||||||||||||||
object |
| ||||||||||||||
method |
| ||||||||||||||
controls |
| ||||||||||||||
resolution |
| ||||||||||||||
color |
| ||||||||||||||
cmyk |
| ||||||||||||||
arguments |
| ||||||||||||||
factor |
| ||||||||||||||
maxwidth |
| ||||||||||||||
maxheight |
| ||||||||||||||
scale |
| ||||||||||||||
lines |
| ||||||||||||||
location |
| ||||||||||||||
directory |
| ||||||||||||||
option |
| ||||||||||||||
foregroundcolor |
| ||||||||||||||
background |
| ||||||||||||||
frame |
| ||||||||||||||
backgroundcolor |
| ||||||||||||||
interaction |
| ||||||||||||||
size |
| ||||||||||||||
cache |
| ||||||||||||||
display |
| ||||||||||||||
conversion |
| ||||||||||||||
order |
| ||||||||||||||
crossreference |
| ||||||||||||||
transform |
| ||||||||||||||
userpassword |
| ||||||||||||||
ownerpassword |
|
Description
There are a few more options that are missing in the interface files:
- orientation: rotation (in LMTX arbitrary angles, in MkIV only 90˚steps)
- minwidth/minheight
- strut: strut=none also avoids the \noindent; otherwise we're in hmode when blank happens and we get a lineskip
Examples
Example 1
\setupexternalfigures [order={pdf,png,jpg}, location=global, directory={images}]
Notes
See also
- \defineexternalfigure
- \externalfigure
- \definegraphictypesynonym
- grph-inc.mkvi MkIV source
- grph-inc.mkxl LMTX source
- grph-con.lua conversions source
- Using Graphics
- Multimedia Inclusion to add audio and video contents