mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 19:28:39 +00:00
* website/docs: initial commit * Change secondaryColor * Fix index.css not being copied and included on global stylesheet * Fix stylesheet link [skip ci] * Change documentation link to API(Usage) [skip ci] * Add `Libraries` in usage [skip ci] * Remove documentation from `README.md` and add link to the site [skip ci] * Use KaTeX in the parent directory to build Markdown [skip ci] * Revise function support page. Avoid error msgs. * General edit to function support page
1.2 KiB
1.2 KiB
id, title
id | title |
---|---|
issues | Common Issues |
- Many Markdown preprocessors, such as the one that Jekyll and GitHub Pages use,
have a "smart quotes" feature. This changes
'
to’
which is an issue for math containing primes, e.g.f'
. This can be worked around by defining a single character macro which changes them back, e.g.{"’", "'"}
. - KaTeX follows LaTeX's rendering of
aligned
andmatrix
environments unlike MathJax. When displaying fractions one above another in these vertical layouts there may not be enough space between rows for people who are used to MathJax's rendering. The distance between rows can be adjusted by using\\[0.1em]
instead of the standard line separator distance. - KaTeX does not support the
align
environment because LaTeX doesn't supportalign
in math mode. Thealigned
environment offers the same functionality but in math mode, so use that instead or define a macro that mapsalign
toaligned
. - MathJax defines
\color
to be like\textcolor
by default; set KaTeX'scolorIsTextColor
option totrue
for this behavior. KaTeX's default behavior matches MathJax with itscolor.js
extension enabled.