I am tinkering with my somewhat unusual math definitions for my finance textbook (which sadly has to use the outdated eqnarray
instead of align
for many reasons).
I am fighting against the various vertical (partly stretchable?) spacing introduced by many nested environments. By the time I am done, I think a number of them have all "competed" to add vspace how they like it, presumably often in the assumption that they are all alone when I need them in a Franken-sense way.
Now, to figure out how to coax them into what I want, I would ideally get the equivalent of a CSS inspector in a web browser --- which can tell me that environment A added this much, B added that much, C removed this, etc. Yes, it would be lovely if a diagnostic package could tell me in the marginpar what environment added what space. Alas, this is unreasonable to ask for. Instead, I wonder whether lualatex could tell me how much net total fixed and rubber space it has been working with to determine the actual vertical space at each space insertion (other than ordinary lines within paragraphs). This would allow me to hand-add and subtract (i.e., further mess with) the fixed and stretchable components. or at least allow me to query it specifically at some spots. is this possible?
PS: my knowledge of rubber spacing comes from What is glue stretching?
eqnarray
overalign
, but\showoutput
in your preamble will show you every box and every space added to every page\glue
in this output always vspace? Presumably same for\penalty
. I see\localpar
--- are there paragraphs that are not localpar?luatex
then as localpar isn't standard tex. every possible node type can be logged so a full description is a full decripion of tex, so not really an answer here...