[texhax] Tight boundingbox and a colour background

hh-brasil at bol.com.br hh-brasil at bol.com.br
Thu Jan 13 16:01:57 CET 2011

Hello Mike,

If by chance you have access to Acrobat Pro, there is a crop function which allows to reduce
the bounding box to a chosen area.

Similar results should be possible with Adobe Illustrator.

If you have nothing of these, open the eps-file with an editor (SciTe is a good choice) and
change the bounding box numbers by hand. PS or EPS-files are mostly ASCII and can be edited (at least the bounding box). But that is try and error and might take some time.


Em 13/01/2011 09:00, texhax-request at tug.org escreveu:
To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to
	texhax-request at tug.org

You can reach the person managing the list at
	texhax-owner at tug.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of texhax digest..."

Today's Topics:

   1. Tight boundingbox and a colour background (Mike B.)


Message: 1
Date: Thu, 13 Jan 2011 02:24:07 -0800 (PST)
From: "Mike B." 
To: texhax at tug.org
Subject: [texhax] Tight boundingbox and a colour background
Content-Type: text/plain; charset=utf-8

Hi All,

I have a latex document with text over a colour (non-white) background (say gray). I'm trying to obtain an EPS file whose bounding box (BB) encloses the text area only.

However, using ps2eps doesn't produce a smaller BB  since the script apparently seeks a whitespace but here the background is non-white. 

Would appreciate suggestions how to crack this. I'm looking for a way to automate the process as much as possible and not having to manually examine each PS file and extract the BB.



texhax mailing list
texhax at tug.org

End of texhax Digest, Vol 2011, Issue 19

More information about the texhax mailing list