diff options
author | Ulrich Müller <ulm@gentoo.org> | 2017-05-20 08:13:51 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2017-05-20 08:13:51 +0200 |
commit | 707b5b1bba48c9decfd96b808a2ed80758a5b709 (patch) | |
tree | d5af6198261e8999c12b7d701224f2686a89b7dd /pms.cls | |
parent | pms.cls: More uniform formatting of captions. (diff) | |
download | pms-707b5b1bba48c9decfd96b808a2ed80758a5b709.tar.gz pms-707b5b1bba48c9decfd96b808a2ed80758a5b709.tar.bz2 pms-707b5b1bba48c9decfd96b808a2ed80758a5b709.zip |
pms.cls: Specify page layout with geometry.sty.
This is more flexible than typearea.sty because it allows to specify
width of margins directly.
Diffstat (limited to 'pms.cls')
-rw-r--r-- | pms.cls | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -12,6 +12,11 @@ \LoadClass{\ClassToLoad} \PassOptionsToPackage{T1}{fontenc} \PassOptionsToPackage{orig,english}{isodate} +% Dimensions of the text area. Define a narrow left margin to make +% room for margin notes in the right (outer) margin +\PassOptionsToPackage{textwidth=400pt,textheight=700pt, + left=20mm,marginparsep=10pt,marginparwidth=40mm, + vmarginratio=1:2,includehead}{geometry} % Position caption of float environments at the top \PassOptionsToPackage{position=top,labelfont=bf}{caption} % Enable UTF-8 input encoding @@ -24,7 +29,7 @@ \RequirePackage{% fontenc, % Load extended font sets isodate, % Date formatting and conversions - typearea, % Set page layout + geometry, % Set page layout inputenc, % Allow input methods apart from ASCII booktabs, % Nicer formatting of tables ifthen, % Comfortable conditional routines @@ -158,11 +163,6 @@ % Set page title \pagestyle{headings} -% This is some kind of hack. We set the proportions of the text area -% and then move it 30mm to the left to increase the right (outer) -% margin. -\areaset[-30mm]{400pt}{700pt} -\setlength{\marginparwidth}{40mm} % To find everywhere that needs updating when we add an EAPI \newcommand{\CurrentEAPIIs}[1]{\def\TheCurrentEAPI{#1}} |