From e99754332735dd885d2fd4714f2e8c37576ab1ca Mon Sep 17 00:00:00 2001 From: Reinhard Kotucha Date: Sat, 25 Nov 2006 17:23:32 +0000 Subject: update savetrees. git-svn-id: svn://tug.org/texlive/trunk@2527 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/savetrees/savetrees.sty | 31 +++++++++++++++------- 1 file changed, 21 insertions(+), 10 deletions(-) (limited to 'Master/texmf-dist/tex/latex/savetrees') diff --git a/Master/texmf-dist/tex/latex/savetrees/savetrees.sty b/Master/texmf-dist/tex/latex/savetrees/savetrees.sty index a0917298b5d..e3032158e60 100644 --- a/Master/texmf-dist/tex/latex/savetrees/savetrees.sty +++ b/Master/texmf-dist/tex/latex/savetrees/savetrees.sty @@ -8,21 +8,21 @@ %% %% This is a generated file. %% -%% Copyright (C) 2004 by Scott Pakin +%% Copyright (C) 2006 by Scott Pakin %% %% This file may be distributed and/or modified under the conditions of -%% the LaTeX Project Public License, either version 1.2 of this license +%% the LaTeX Project Public License, either version 1.3c of this license %% or (at your option) any later version. The latest version of this %% license is in: %% %% http://www.latex-project.org/lppl.txt %% -%% and version 1.2 or later is part of all distributions of LaTeX version -%% 1999/12/01 or later. +%% and version 1.3c or later is part of all distributions of LaTeX version +%% 2006/05/20 or later. %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{savetrees} - [2004/07/17 v1.1 Pack as much text as possible onto each page] + [2006/11/20 v1.2 Pack as much text as possible onto each page] \newif\if@st@normal@sections \DeclareOption{normalsections}{\@st@normal@sectionstrue} \newif\if@st@normal@margins @@ -37,6 +37,8 @@ \DeclareOption{normaltitle}{\@st@normal@titletrue} \newif\if@st@normal@leading \DeclareOption{normalleading}{\@st@normal@leadingtrue} +\newif\if@st@normal@looseness +\DeclareOption{normallooseness}{\@st@normal@loosenesstrue} \newif\if@st@normal@bib \DeclareOption{normalbib}{\@st@normal@bibtrue} \newif\if@st@normal@bibnotes @@ -52,8 +54,10 @@ \else \RequirePackage[lmargin=\@st@marginsize, rmargin=\@st@marginsize, - tmargin=0pt, - bmargin=\@st@marginsize]{geometry} + tmargin=\@st@marginsize, + bmargin=\@st@marginsize, + includefoot, + footskip=2ex]{geometry} \fi \if@st@normal@lists \else @@ -136,16 +140,23 @@ \else \renewcommand{\baselinestretch}{0.9} \fi +\if@st@normal@looseness +\else + \let\markeverypar\everypar + \newtoks\everypar + \everypar\markeverypar + \markeverypar{\the\everypar\looseness=-1} +\fi \if@st@normal@bib \else \renewenvironment{thebibliography}[1]{% - \ifx\chapter\@undefined + \@ifundefined{chapter}{% \section*{\refname \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}}% - \else + }{% \chapter*{\bibname \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}}% - \fi + }% \list{\@biblabel{\@arabic\c@enumiv}}% {\settowidth\labelwidth{\@biblabel{#1}}% \leftmargin\labelwidth -- cgit v1.2.3