Changes

Jump to navigation Jump to search
588 bytes added ,  06:17, 22 September 2013
m
no edit summary
</texcode>
== Scaled Full Page Image 1 ==
To scale an image such that it takes up an entire page, regardless of An elegant option is to extend the image dimensions, usemakeup mechanism to accept the background key:
\unprotect
\appendtoks
\setupbackgrounds[\v!page][\c!background=\makeupparameter\c!background]
\to \t_page_makeup_every_setup
\protect
 
Then you can use
 
<pre>
\setupexternalfigures[location={local,default,global}]
 
\defineoverlay
[backgroundimage]
[{\externalfigure[cow.pdf][width=\overlaywidth, height=\overlayheight]}]
 
 
\starttext
 
\startstandardmakeup[background=backgroundimage]
Whatever
\stopstandardmakeup
 
Next
 
\stoptext
</pre>
 
 
== Scaled Full Page Image 2 ==
 
Another way to use a full-page image includes:
 
<pre>
\startTEXpage
\externalfigure[cow.pdf][width=\paperwidth, height=\paperheight]
\stopTEXpage
</pre>
419

edits

Navigation menu