# 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}
\usepackage{layout}

\begin{document}
\layout
\end{document}

-
Fast, easy and working. Thanks! –  biologue Feb 17 '13 at 14:22
Do you happen to know how to display the values in millimeters? –  biologue Feb 17 '13 at 14:24
@biologue Yes, it's possible. See this question: tex.stackexchange.com/questions/181049/… –  Mario S. E. Jun 4 at 18:50

You can try the xlayouts beta. It is available at github.

If you latex the xlayouts.dtx it provides a number of MWE.

-