This tool that's distributed with texlive has no actual documentation for the bbox
parameter. It just says that
--bbox "<left> <bottom> <right> <top>"
What units do these number follow? Say I have a letter sized paper, what will be the intervals on which these numbers are defined? Also is the right coordinate computed from the left or right margin? Same with top.
Best Answer
These coordinates are referenced as
bp
(orb
igp
oints), which is different from TeX'spt
. More specifically,1in
is equivalent to72bp
or72.27pt
.A letter-sized paper (
8.5in
x11in
) consists of612bp
x792bp
, typically with coordinates gives as(0,0)
and(612,792)
. Since these are coordinates, they are not calculated from one another. That is, coordinates of the form(100,100)
and(712,892)
would still represent a letter-sized paper, while(100,100)
and(612,792)
represents a sheet of paper that has dimensions7.11in
x9.61in
.Conversions between units is available, as an example, from Is there a command to convert
cm
tobp
?