Skip to content

Ask HN: What are some useful LaTeX tips?

1 pointphba1 comment
On 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}

Comments

Run pdflatex twice at least.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.