TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

enter image description here

share|improve this question
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
up vote 14 down vote accepted

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

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

enter image description here

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.