Changes

Jump to navigation Jump to search
→‎LaTeX: corrected reference to typearea package
== LaTeX ==
The <tt>scrartcltypearea</tt> class style from the KOMA package (used per default in the KOMA classes) 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: <texcode>\documentclass{article}\usepackage[DIVcalc,twoside]{typearea}\begin{document}\noindent\framebox{\rule{0pt}{\textheight}\rule{\textwidth}{0pt}}\end{document}</texcode> or
<texcode>
This can be processed with a <code>-mode=BCOR</code> option on <code>texexec</code> to activate the binding correction, or with a <code>-mode=oneside</code> option to activate the single-sided page layout rather than the (default) double-sided version.
<The module t-typearea.tex is available from http://pmrb.free.fr/work/OS/ConTeXt/cmd>
4

edits

Navigation menu