Skip to content

Instantly share code, notes, and snippets.

@uranusjr
Created August 12, 2015 09:37
Show Gist options
  • Save uranusjr/d18cefdee9bc57ddecd4 to your computer and use it in GitHub Desktop.
Save uranusjr/d18cefdee9bc57ddecd4 to your computer and use it in GitHub Desktop.
CSS-base auto-numbering for MathJax
body {
counter-reset: equation;
}
.MathJax_Display:after {
font-family: serif;
counter-increment: equation;
content: "(" counter(equation) ")";
position: absolute;
right: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment