Difference between revisions of "Command/setupclipping"
< Command
Jump to navigation
Jump to search
m (moved Reference/en/setupclipping to Command/setupclipping: Text replace - "Reference/en/" to "Command/") |
m (Text replace - "[[Category:Commands|" to "== ConTeXt-Forum == {{Forum|{{SUBPAGENAME}}}} [[Category:Commands|") |
||
Line 81: | Line 81: | ||
== See also == | == See also == | ||
[[cmd:clip|\clip]] | [[cmd:clip|\clip]] | ||
+ | |||
+ | == ConTeXt-Forum == | ||
+ | {{Forum|{{SUBPAGENAME}}}} | ||
[[Category:Commands|setupclipping]] | [[Category:Commands|setupclipping]] |
Revision as of 23:57, 14 March 2012
\setupclipping
Syntax
\setupclipping[...,...=...,...] | |
nx | number |
ny | number |
x | number |
y | number |
width | dimension |
height | dimension |
hoffset | dimension |
voffset | dimension |
mp | name |
Description
Clip method: A) Tiles nx, ny: tiles contents to nx horizntal (ny vertical) equal sized pieces x, y : choose x (y) piece B) size/offset width, height: horizontal (vertical) size of clipping window hoffset, v offset: window shift C) metapost path mp:
Example
\starttext \startTEXpage \clip [width=60mm,height=25mm,hoffset=25mm, voffset=\dimexpr 297mm-18mm-25mm\relax] {\externalfigure[file.pdf][page=3]}% \stopTEXpage \stoptext