Changes

Jump to navigation Jump to search
warning about clipping
=Clipping=
You can adjust the size of an element by cropping/clipping its borders:<ref>Please, don’t forget that clipping only displays a part of an image. At least when this comes from a PDF document, the whole page has to be included, although only part of it is displayed.<br/>The PDF output from the following sample contains <code>hans hagen, pragma ade</code>. Depending on your PDF viewer, you may be able to search for it.<br/>Of course, you will have to compile the source yourself, since the wiki will only contains PNG images from compilations.  <context source="yes">\setuppapersize[A5, landscape]\setuplayout[page]\starttext\clip[nx=3,ny=3,x=1,y=1]{\externalfigure[xml-mkiv.pdf]}\stoptext</context></ref>
<context source="yes">
Graphic transformations are implemented in [https://source.contextgarden.net/tex/context/base/mkiv/grph-trf.mkiv grph-trf.mkiv] and [https://source.contextgarden.net/tex/context/base/mkiv/grph-trf.lua grph-trf.lua].
 
=Footnotes=
[[Category:Basics]]
[[Category:Graphics]]
139

edits

Navigation menu