KaTeX
KaTeX copied to clipboard
Fast math typesetting for the web.
This pull request fixes the issue where numerical outputs in KaTeX unit rendering showed excessive decimal digits. The updated code ensures that numbers are rounded to a fixed precision (for...
### Summary This PR updates the CLI import for `commander` to be compatible with newer Commander.js versions and fixes minor lint spacing so the pre-commit hook passes. **Changes** - Replace...
Replace Array.indexOf() with Set.has() for endOfExpression checks to improve parser performance. Changes: - Convert endOfExpression from string[] to Set - Replace indexOf() !== -1 check with has() method Performance improvement:...
> Before reporting a bug - [x] Check [common issues](https://katex.org/docs/issues.html). - [x] Check the bug is reproducible in [the demo](https://katex.org). If not, check KaTeX is up-to-date and installed correctly. -...
In these case, it cannot show exactly. 1、I_s(\\mathbf{\\Phi}) = \\log\\det\\left(\\mathbf{I} + \\mathbf{A}(\\boldsymbol{\\theta})\\mathbf{\\Phi}\\mathbf{A}^H(\\boldsymbol{\\theta})\\mathbf{R}_n^{-1}\\right) 2、I_{c,k}(\\mathbf{\\Phi}) = \\log\\det\\left(\\mathbf{I} + \\mathbf{H}_k\\mathbf{\\Phi}\\mathbf{H}_k^H(\\sigma_{k}^2\\mathbf{I} + \\sum_{j \\neq k}\\mathbf{H}_k\\mathbf{\\Phi}\\mathbf{H}_j^H)^{-1}\\right) 3、\\mathcal{D}_{KL}(\\mathbf{\\Phi}) = \\mathbb{E}_{H_1}\\left[\\log\\frac{p(\\mathbf{y}|\\mathbf{s}, H_1)}{p(\\mathbf{y}|\\mathbf{s}, H_0)}\\right] 4、I_s^{ext}(\\mathbf{\\Phi}) = \\sum_{p=1}^P \\log\\det\\left(\\mathbf{I}...
In these case, it cannot show exactly. 1、 I_s(\\mathbf{\\Phi}) = \\log\\det\\left(\\mathbf{I} + \\mathbf{A}(\\boldsymbol{\\theta})\\mathbf{\\Phi}\\mathbf{A}^H(\\boldsymbol{\\theta})\\mathbf{R}_n^{-1}\\right) 2、 I_{c,k}(\\mathbf{\\Phi}) = \\log\\det\\left(\\mathbf{I} + \\mathbf{H}_k\\mathbf{\\Phi}\\mathbf{H}_k^H(\\sigma_{k}^2\\mathbf{I} + \\sum_{j \\neq k}\\mathbf{H}_k\\mathbf{\\Phi}\\mathbf{H}_j^H)^{-1}\\right) 3、 \\mathcal{D}_{KL}(\\mathbf{\\Phi}) = \\mathbb{E}_{H_1}\\left[\\log\\frac{p(\\mathbf{y}|\\mathbf{s}, H_1)}{p(\\mathbf{y}|\\mathbf{s}, H_0)}\\right] 4、...
**Describe the bug:** When we use \tfrac in power, it does not work. **To Reproduce:** Use this expression to render and you won't see any difference with \tfrac here. `\dfrac{1}{2}...
Currently, we have functions like "\blue", which produce things in line with KA exercise colors, but these colors shouldn't be enforced/available for everyone. Instead, we should make a way to...
- [x] Check [common issues](https://katex.org/docs/issues.html). - [x] Check the bug is reproducible in [the demo](https://katex.org). If not, check KaTeX is up-to-date and installed correctly. - [x] Search for [existing issues](https://github.com/KaTeX/KaTeX/issues)....