## LaTeX forum ⇒ Page Layout ⇒ Is there a package to show all text and math lines, like showframe?

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Cham
Posts: 937
Joined: Sat Apr 02, 2011 4:06 pm

### Is there a package to show all text and math lines, like showframe?

I need to see all the vertical spacings above and below equations, and also in the text itself. Using the showframe package (or an equivalent option in the geometry package) is nice but not enough. Here's a MWE to play with:

\documentclass[11pt,letterpaper,twoside]{book}\usepackage[T1]{fontenc}\usepackage[nomath]{lmodern}\usepackage[total={6in,10in},left=1.5in,top=0.5in,includehead,includefoot,showframe]{geometry}\usepackage[nodisplayskipstretch]{setspace}\setstretch{1.1}\raggedbottom\usepackage{microtype}\usepackage{amsmath}\usepackage{showframe} \begin{document} \setlength{\abovedisplayskip}{2ex}\setlength{\abovedisplayshortskip}{0pt}\setlength{\belowdisplayskip}{\abovedisplayskip}\setlength{\belowdisplayshortskip}{\belowdisplayskip}\setlength{\jot}{3ex} This is just a test, to see what will happen next and the equation below this dummy text sample:\begin{align}    y^2 + x^2 - z^2 = 1\end{align} \end{document}

Stefan Kottwitz
Posts: 9597
Joined: Mon Mar 10, 2008 9:44 pm
Hi Cham,

I think there's no such package yet. Though there's the cool package lua-visual-debug if this may be useful for you.

Stefan