# Layout diagrams

I want to create some layout diagrams for a latex talk for students.

However I do not want to have any information about the sizes included and do not want any dashed lines (as in the layout(s) packages)

\documentclass[a4paper]{book}
\usepackage[]{layout}

\begin{document}
\pagestyle{empty}\mbox{}
\layout
\end{document}


With the layouts package I can customize some more things, but I still can not get rid of the sizes and the margin has no full height with a 'notes' bock which I do not understand.

\documentclass[a4paper]{book}
\usepackage{layouts}

\begin{document}
\oddpagelayoutfalse
\twocolumnlayoutfalse
\drawdimensionsfalse
\currentpage
\marginparswitchtrue
\pagedesign
\end{document}


There is also the showframe package, but that is a bit to simple in the shown layout.

\documentclass[a4paper]{book}
\usepackage[texcoord,gridunit=cm]{showframe}
\begin{document}
\pagestyle{empty}\mbox{}
\end{document}


the geometry package also has the possibility to show the layout, but I want to compare non-geometry layouts (book standard) with geometry layouts. So i need something that works even without that package.

In the end I want to crop the pdfs and include these as images in a talk.

-
Why don't you draw them in a graphics program? Or use tikz? Or do you need the exact lengths of the "current" document? –  topskip Sep 29 '11 at 11:51
Indeed, I require the exact length of the current document. I just dont want the length or addional lines to be printed. –  Matthias Pospiech Sep 29 '11 at 11:57
You cannot show output of LaTeX on this site but you can generate it yourself, take a screenshot of it, crop it and include it as an image. –  N.N. Sep 29 '11 at 12:02
If you load \usepackage[pass,showframe]{geometry} the class settings are not touched. –  egreg Sep 29 '11 at 13:48
Yes, but that is not much more information or different in layout than \usepackage[texcoord,gridunit=cm]{showframe}, which I have used now. –  Matthias Pospiech Sep 29 '11 at 14:04

If the picture drawn by layouts is good for you, we can patch the \drawpage command so that it doesn't print the table with the values of the various parameters:

\documentclass[a4paper]{book}
\usepackage{layouts,etoolbox}

\makeatletter
\patchcmd{\drawpage}{\ifl@ytempif\begin{center}}{\iffalse\begin{center}}{}{}
\makeatother

\begin{document}
\oddpagelayoutfalse
\twocolumnlayoutfalse
\drawdimensionsfalse