summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex')
-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