Comprehensive TeX Archive Network

Direc­tory support/wheretotrim

                       |     WHERETOTRIM     |
                       |                     |
                       |     Scott Pakin     |
                       | scott+wtt@pakin.org |


wheretotrim is a Perl script and auxiliary LaTeX package that helps
LaTeX users reduce their document's page count.  It is intended to be
used with documents that exceed a publisher's specified page-length
limitation by a small amount (much less than a full column or page).
wheretotrim reports the page and column on which the least amount of
text needs to be trimmed to reduce the page count.  It works by
repeatedly rebuilding the given document, analyzing the benefit of
trimming from each column or page one line of text, then two, then
three, and so forth until the document's page count decreases.

wheretotrim has been tested only on Linux.  It might work on OS X.  It
probably won't work on Windows.


To create wheretotrim.pl and wheretotrim.sty simply run "tex
wheretotrim.ins".  Rename wheretotrim.pl to wheretotrim and install it
somewhere in your path.  Install wheretotrim.sty somewhere where LaTeX
can find it.  See
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages for
general information about installing packages.

Copyright and license

Copyright (C) 2013 Scott Pakin

This file may be distributed and/or modified under the conditions of
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:


and version 1.3c or later is part of all distributions of LaTeX
version 2008/05/04 or later.

Down­load the con­tents of this pack­age in one zip archive (327.4k).

where­totrim – As­sist in re­duc­ing LaTeX doc­u­ment page counts

The pack­age pro­vides a Perl script that anal­y­ses a doc­u­ment, and re­ports the page and col­umn on which the least amount of text needs to be trimmed to re­duce the page count.

The script has only (so far) been tested un­der Linux.

Li­censeThe LaTeX Project Public Li­cense 1.3
Main­tainerScott Pakin
TDS archivewheretotrim.tds.zip
Topics lay­out of ob­jects on the page
Guest Book Sitemap Contact Contact Author