Skip to content

Instantly share code, notes, and snippets.

@casallas
Created March 24, 2015 21:18
Show Gist options
  • Save casallas/bda544f27fa5d8f50ec2 to your computer and use it in GitHub Desktop.
Save casallas/bda544f27fa5d8f50ec2 to your computer and use it in GitHub Desktop.
Underlined subscript LaTeX

For some reason the following generates some errors in LaTeX (even though the output is correct)

$S_\underline{0}$

My solution was to enclose the underline statement within \mathrm

$S_\mathrm{\underline{0}}$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment