Vertical spacing around align in a figureYes, sure. Hence I wrote “without affecting other vertical spaces around math environments”. The obvious “redefine figure to set \abovedisplayskip=0pt” would not work well. I’m surprised none else seems to be bothered by this extra space.

Detect if a macro argument is only one symbolFancy! It does’t feel right to apply a regex to the Code of the argument, when morally the condition applies to the result of the argument, but from a practical point of view it is great.

Jul20

comment

Detect if a macro argument is only one symbol@Sigur: First, the braces in LaTeX are optional (I often write \fv e or \fv\alpha)`. But more importantly: I want to separate meaning (this is the argument) from presentation (i.e. where parenthesis are to be used and where not), and want to control the latter centrally. This is very similar to syntax highlighting with listing: You want to leave it to the system, and you want to control it centrally.