Settings

Theme

Ask HN: What are some useful LaTeX tips?

1 points by phba a year ago · 1 comment · 1 min read


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}
anthk a year ago

Run pdflatex twice at least.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection