Skip to content

Instantly share code, notes, and snippets.

@Rokt33r
Created February 21, 2017 19:30
Show Gist options
  • Save Rokt33r/46f20b604ae3884276183b323c41e4d2 to your computer and use it in GitHub Desktop.
Save Rokt33r/46f20b604ae3884276183b323c41e4d2 to your computer and use it in GitHub Desktop.
KaTeX temporary fix
/* Temporary fix for \frac and subscript */
.katex .frac-line {
top: 0.85em;
position: relative;
}
.katex .reset-textstyle.scriptstyle {
top: 0.4em;
position: relative;
}
@Rokt33r
Copy link
Author

Rokt33r commented Feb 21, 2017

Check Here why this is needed.

KaTeX/KaTeX#660

Before applying

screen shot 2017-02-22 at 4 21 07

After applying

screen shot 2017-02-22 at 4 32 05

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment