summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/octavo/octavo.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-03-08 17:16:44 +0000
committerKarl Berry <karl@freefriends.org>2007-03-08 17:16:44 +0000
commit8c7b5e7122d9768a59bfe045ecc10a58553f375a (patch)
treea442fafe1db822a4d4a987bdb2aae49b29ccc5f7 /Master/texmf-dist/tex/latex/octavo/octavo.cls
parent6650de3b1b197274a25cdb925f6d1f1407e04dfa (diff)
octavo update (7mar07)
git-svn-id: svn://tug.org/texlive/trunk@4023 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/octavo/octavo.cls')
-rw-r--r--Master/texmf-dist/tex/latex/octavo/octavo.cls36
1 files changed, 33 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/octavo/octavo.cls b/Master/texmf-dist/tex/latex/octavo/octavo.cls
index 9d13c612ff6..d95d3489362 100644
--- a/Master/texmf-dist/tex/latex/octavo/octavo.cls
+++ b/Master/texmf-dist/tex/latex/octavo/octavo.cls
@@ -6,10 +6,10 @@
%%
%% octavo.dtx (with options: `octavo')
%%
-%% Copyright 2003 Stefan A. Revets
+%% Copyright 2003, 2007 Stefan A. Revets
%%
%% Author : Stefan A. Revets
-%% s.revets@tiscali.be
+%% s.revets@bigpond.com
%%
%% The program is provided under the terms of the LaTeX Project Public License
%% distributed from CTAN archives in directory macros/latex/base/lppl.txt
@@ -39,7 +39,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{octavo}
- [2003/09/06 v1.1
+ [2007/03/07 v1.2
a LaTeX document class]
\newcommand\@ptsize{}
\newif\if@restonecol
@@ -108,6 +108,36 @@
\@lowpenalty 51
\@medpenalty 151
\@highpenalty 301
+\setlength\headheight{12\p@}
+\setlength\maxdepth{0.5\topskip}
+\setlength{\topmargin}{0.1\paperheight}
+ \addtolength{\topmargin}{-\headheight}
+ \addtolength{\topmargin}{-\headsep}
+ \addtolength{\topmargin}{-1in}
+\setlength{\textwidth}{0.7\paperwidth}
+ \@settopoint\textwidth
+\setlength\@tempdima{0.7\paperheight}
+ \addtolength\@tempdima{-\topskip}
+ \addtolength\@tempdima{5\p@}
+ \divide\@tempdima\baselineskip
+ \@tempcnta=\@tempdima
+ \setlength\textheight{\@tempcnta\baselineskip}
+ \addtolength\textheight{\topskip}
+\setlength{\evensidemargin}{0.2\paperwidth}
+\addtolength{\evensidemargin}{-1in}
+\setlength{\oddsidemargin}{0.1\paperwidth}
+\addtolength{\oddsidemargin}{-1in}
+\if@twocolumn
+ \setlength\marginparsep{10\p@}
+\else
+\fi
+\setlength\@tempdima{\paperwidth}
+ \addtolength\@tempdima{-\textwidth}
+ \addtolength\@tempdima{-\oddsidemargin}
+ \addtolength\@tempdima{-\marginparsep}
+ \addtolength\@tempdima{-30\p@}
+ \setlength\marginparwidth{\@tempdima}
+ \@settopoint\marginparwidth
\setcounter{topnumber}{2}
\renewcommand\topfraction{.7}
\setcounter{bottomnumber}{1}