Change font of KaTeX #3716
Answered
by
ronkok
Yue-Zhengyuan
asked this question in
Q&A
Change font of KaTeX
#3716
-
Is it possible to change the font of KaTeX from the default Computer Modern to Times New Roman (or STIX)? (I just personally don't quite like the Computer Modern font. In LaTeX this change of font can be done by adding |
Beta Was this translation helpful? Give feedback.
Answered by
ronkok
Sep 21, 2022
Replies: 1 comment
-
KaTeX is quite tightly bound to its own KaTeX fonts. It calls characters by the code-points in the KaTeX fonts and it sets positions of math elements using calculations that rely on the glyph widths and heights in the KaTeX fonts. The use of a different font would be a major project. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Yue-Zhengyuan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
KaTeX is quite tightly bound to its own KaTeX fonts. It calls characters by the code-points in the KaTeX fonts and it sets positions of math elements using calculations that rely on the glyph widths and heights in the KaTeX fonts. The use of a different font would be a major project.