summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/savetrees
diff options
context:
space:
mode:
authorReinhard Kotucha <reinhard.kotucha@web.de>2006-11-25 17:23:32 +0000
committerReinhard Kotucha <reinhard.kotucha@web.de>2006-11-25 17:23:32 +0000
commite99754332735dd885d2fd4714f2e8c37576ab1ca (patch)
tree9db91badc3a99df6b94cc80bdee6356e19fce006 /Master/texmf-dist/tex/latex/savetrees
parent01a2923c9562d87e93e06777e560f3fd981e955d (diff)
update savetrees.
git-svn-id: svn://tug.org/texlive/trunk@2527 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/savetrees')
-rw-r--r--Master/texmf-dist/tex/latex/savetrees/savetrees.sty31
1 files changed, 21 insertions, 10 deletions
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 <scott+st@pakin.org>
+%% Copyright (C) 2006 by Scott Pakin <scott+st@pakin.org>
%%
%% 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