Changes

Jump to navigation Jump to search
m
Slight formatting and clarification.
< [[From LaTeX to ConTeXt]]>
== LaTeX== The <tt>scrartcl</tt> class from the KOMA package does some fairly sophisticated calculations to determine an optimal page layout, with the text width set in terms of average characters-per-line, and the text height and location set to provide pleasing proportions based on that and the paper proportions. A sample document (with a framebox to show the text area) is simply:
The <tt>scrartcl</tt> class from the KOMA package does some fairly sophisticated calculations to determine an appropriate page layout. A sample document (with a framebox to show the text area) is simply:
<texcode>
\documentclass[DIVcalc,twoside]{scrartcl}
</texcode>
== ConTeXt:==
The following code duplicates the <tt>scrartcl</tt> calculations to set the text area and produces a similar sample document, again with a framed box to show the text area.
 
<texcode>
\def\BCOR{3mm}% eventual bounding correction
\stoptext
</texcode>
 
In the beta version of ConTeXt, there is probably a better way to achieve the
same...

Navigation menu