Open main menu

Changes

258 bytes added ,  22:26, 28 September 2005
m
Yup, that's good enough to remove the explanation tag. Thanks!
< [[From LaTeX to ConTeXt]]>
A subtle, page layout enhancement is to have all the text blocks be the same length on each page. If you're not typesetting on a grid, this is accomplished in LaTeX:with the <tt>\flushbottom</tt> command, and in ConTeXt with the <tt>\setupalign[line]</tt> directive. The rest of the commands in the examples below are merely to produce fake text to illustrate the effect over several pages. == LaTeX ==<pretexcode>
\documentclass{article}
 
\flushbottom
 
\def\Par{bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla}
\Par\Par\Par\par\Par\Par\par\Par\Par\par\Par\Par\par\Par\Par\Par\Par\Par
\end{document}
</pretexcode== ConTeXt ==<texcode>\setupalign[line]
ConTeXt:
<pre>
\defineblank[aroundfloat][0.8\lineheight plus 3fill minus 0.2\lineheight]
\setupfloats[spacebefore=aroundfloat,spaceafter=aroundfloat]
\setupwhitespace[0pt plus 1fill]
\prependtoks \vfilll \to \everystoptext
\def\Par{bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla}
\Par\Par\Par\par\Par\Par\par\Par\Par\par\Par\Par\par\Par\Par\Par\Par\Par
\stoptext
</pretexcode[[Category:From LaTeX]]