Ask HN: What are some useful LaTeX tips?

1 points by phba ↗ HN
I'll start:

You can define custom lengths in the preamble to have a single point of control for spacing in multiple places.

  \newlength{\CustomGap}
  \setlength{\CustomGap}{6ex}
  
  % example usage:
  \vspace{\CustomGap}

1 comment

[ 2.6 ms ] story [ 16.7 ms ] thread
Run pdflatex twice at least.