Is there a package that visualizes and label all the spacings in a document, similar to what this diagram shows (except it would label exactly how many pts each variable is)?
Asked
Active
Viewed 245 times
3
1 Answers
2
Chapter 7 of the layouts documentation explains the provided commands related to list designs. There are two main macros: \listdiagram and \listdesign, where the latter shows the current values for all list parameters but doesn't draw the full list layout diagram as provided by the former macro.
By redefining an internal macro we can still define a new command that provides both diagram and values:
\documentclass{article}
\usepackage{layouts}
\makeatletter
\newcommand\listvaluesdiagram{%
\begingroup
\def\testprintparameters{\l@ytempiftrue}%
\drawlist
\endgroup
}
\makeatother
\begin{document}
\listvaluesdiagram
\end{document}
siracusa
- 13,411


layoutspackage – siracusa Apr 13 '19 at 00:09