Open main menu

Changes

→‎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>
4

edits