# How can I easily display the dimensions of the text body?

I want to design an image filling the whole page using Illustrator, with the right dpi and dimensions. To accomplish this, I need to know the precise dimensions of the text body (Numbers 7 and 8 in the image below). How can I easily accomplish this? I could of course just subtract the borders from the page dimensions, but is there another way, e. g. a package which does that?

Thanks a lot.

• Do you mean the package layout or layouts: See: ctan.org/topic/layout-show – Marco Daniel Feb 17 '13 at 14:20
• They are available as \textwidth and \textheight: if you type \the\textwidth and \the\textheight in your document, LaTeX will print their values in points; the conversions are 72.27pt=1in or 28.45276pt=1cm. – egreg Feb 17 '13 at 14:21

\documentclass{article}

You can try the xlayouts beta. It is available at github.
If you latex the xlayouts.dtx it provides a number of MWE.