Take the 2-minute tour ×
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.

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
2  
Do you mean the package layout or layouts: See: ctan.org/topic/layout-show –  Marco Daniel Feb 17 '13 at 14:20
1  
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

2 Answers 2

up vote 9 down vote accepted
\documentclass{article}
\usepackage{layout}

\begin{document}
\layout
\end{document}
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 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

 
discard

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.