Not rending latex modifiers
See original GitHub issueBefore reporting a bug
- Check common issues.
- Check the bug is reproducible in the demo. If not, check KaTeX is up-to-date and installed correctly.
- Search for existing issues.
Describe the bug: There is rendering issue when using katex and latex modifiers
(La)TeX code: The code of (La)TeX you tried to render:
${\displaystyle |\psi \rangle =\alpha |0\rangle +\beta |1\rangle }$
Expected behavior:
from: latex.codecogs.com
Screenshots:

le of displaystyle is rendered 🤦♂️
Environment (please complete the following information):
- KaTeX Version: ^0.10.1 with
showdown-katex - Device: Desktop
- OS: Arch Linux
- Browser: Any
- Version: Any
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
TikZ picture not rendering in different environment - TeX
Save this question. Show activity on this post. The alignment is wrong, the nodes don't have borders drawn anymore, etc.
Read more >Latex in notebook markdown not rendering correctly #119195
Latex in notebook markdown not rendering correctly #119195 ... is used doesn't render using latex and there is a duplication with the ....
Read more >Missing $ inserted - Overleaf, Online LaTeX Editor
Using modifiers, symbol commands—and many other math-related commands—outside of typesetting mathematical content will generate a Missing $ inserted error ...
Read more >Shortcut for Render LaTeX Equation in Inkscape? - Ask Ubuntu
1 Answer 1 ; key · "k" ; modifiers · "Ctrl,Alt" ; action · "org.inkscape.effect.eqtexsvg" ; display · "true" ...
Read more >LaTeX/Mathematics - Wikibooks, open books for an open world
The mathtools package loads the amsmath package and hence there is no need to \usepackage{amsmath} in the preamble if mathtools is used.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@tbhaxor You need to raise this issue in a
showdown-katexforum, not here. We don’t knowshowdown-katexhere and we can’t tell if such a configuration is well formed or not.If you get to the point where you have successfully invoked KaTeX and not AsciiMath, and then KaTeX is still acting improperly, then please come back and raise a new KaTeX issue here.
@ronkok
This is my configuration