Changes

Jump to navigation Jump to search
470 bytes added ,  11:51, 14 September 2017
Describe how to create pages that fit their content
\doifmode{proof}{\setuppapersize[proof]}</texcode>
Then, when you compile the document in the normal manner, you will get <tt>A4</tt> paper on <tt>A4</tt> print paper; if you compile the document with <tt>--mode=proof</tt>, then you will get a <tt>A4</tt> paper on <tt>A3</tt> print paper.
 
= Fitting pages to their content =
 
ConTeXt has three commands that create a page that is exactly large enough to fit its contents.
 
* {{cmd|startTEXpage}} — start a page that fits its contents exactly. Or has some extra space around the edges, if you specify offset.
* {{cmd|startpagefigure}} — start a page just large enough to fit a figure, possibly with some text underneath
* {{cmd|startMPpage}} — start a page just large enough to fit its MetaPost contents
= Notes =

Navigation menu