The \show
command is extremely useful for figuring out what's going on with a particular macro. Similarly, using \the
can tell me the value of a counter. I'd like to know if there's something similar for lengths and skips. At the moment, I end up doing something like \rule{1pt}{\unknownlength}
but that's a fairly crude method.
TeX Core – Is There a \show for Lengths?
debugginglengthstex-core
Best Answer
To show registers (which include dimensions, skips and counts) you want
\showthe
.