Add latin-1 letters as math symbols#796
Add latin-1 letters as math symbols#796k4b7 merged 2 commits intoKaTeX:masterfrom chrismessiah:add-latin-1-letters-as-math
Conversation
|
CLA signature looks good 👍 |
|
I can't tell, is that Computer Modern in your screenshot? Not sure if our fonts support these chars. |
|
Oh noes... we aren't using CM for latin-1 chars inside |
|
Given that KaTeX already supports math-mode accents, we should be able to macro each Latin-1 Unicode character in math mode to the corresponding accent command (ideally with a loop over the characters and a call to some Unicode splitting). To fix Latin-1 characters in text mode, we should first do #638 (text-mode accent functions). Then we can follow the above approach. |
|
@edemaine can a macro be defined for something without a leading |
|
I've added a project to track work relating to latin-1 support. |
k4b7
left a comment
There was a problem hiding this comment.
LGTM. Normally I'd ask for screenshots, but I don't think they add much value in this case since we don't have the right fonts yet.
|
@kevinbarabash No, macros currently need to start with |
|
Moving discussion to #801 |

Currently katex throws an EOF parse error when receiving an input of latin-1 letters that is not inside a
\text{}clause. To prevent this the latin-1 letters are added as math-symbols as well.