markdown-preview-katex icon indicating copy to clipboard operation
markdown-preview-katex copied to clipboard

KaTeX is very limited

Open szhorvat opened this issue 10 years ago • 7 comments

This is just a comment rather than a bug report:

KaTeX is unfortunately extremely limited in what it can render, which makes it rather inconvenient in practice. markdown-preview-plus did use KaTeX originally, but this made it not very useful for actual mathematical note-taking. Some details are discussed here

szhorvat avatar Mar 11 '15 01:03 szhorvat

Yup, KaTeX was extremely limited. It's definitely getting much better now though, and I find that it's useful for notes. This comment where you mentioned missing symbols has mostly been addressed by this release of KaTeX.

abejfehr avatar Mar 11 '15 03:03 abejfehr

Good to know, I should try it again!

szhorvat avatar Mar 11 '15 03:03 szhorvat

KaTeX still does not support the dollar sign and euro sign, which I would like to use a lot in my notes..

ghost avatar Jun 18 '15 19:06 ghost

The dollar sign should be supported. Try typing the following into their homepage:

\$4.75 \times 10\%

However in this plugin the dollar signs may need to be escaped twice(eg. \\$) for the first time in an expression because of the way they're parsed. This is a serious issue and needs to be looked at.

However, you're correct in saying that the Euro symbol is not yet supported. Perhaps you can create an issue on KaTeX's repository for that, since I don't see an existing one.

abejfehr avatar Jun 18 '15 19:06 abejfehr

Thank you very much! I will create the issue.

ghost avatar Jun 18 '15 19:06 ghost

No problem! :)

I actually just read about it and it seems like incorporating the Euro symbol would be harder than expected since it's in another package entirely. I hope they're able to accommodate this request anyway, it would be very useful.

abejfehr avatar Jun 18 '15 19:06 abejfehr

if someone could add the eurosign in one of the font files, I can add the eurosign in katex, hopefully according to \eurosym with \euro and \EUR{} http://www.theiling.de/eurosym.html

ghost avatar Nov 19 '15 08:11 ghost