feat: Allow text-mode accents in math mode, except in strict mode#3009
Merged
feat: Allow text-mode accents in math mode, except in strict mode#3009
Conversation
LaTeX only issues a warning when using e.g. `\r` in math mode. KaTeX will now do the same with the default `strict` setting of `warn`. Fixes #2983
Codecov Report
@@ Coverage Diff @@
## master #3009 +/- ##
==========================================
- Coverage 93.95% 93.94% -0.02%
==========================================
Files 87 87
Lines 6339 6343 +4
Branches 1313 1314 +1
==========================================
+ Hits 5956 5959 +3
- Misses 353 354 +1
Partials 30 30
Continue to review full report at Codecov.
|
ylemkimon
approved these changes
May 14, 2021
KaTeX-bot
added a commit
that referenced
this pull request
May 14, 2021
## [0.13.11](v0.13.10...v0.13.11) (2021-05-14) ### Bug Fixes * matrix environment with zero or inconsistent columns ([#3018](#3018)) ([f779bac](f779bac)), closes [#3017](#3017) ### Features * Allow text-mode accents in math mode, except in strict mode ([#3009](#3009)) ([0e9acce](0e9acce)), closes [#2983](#2983)
Member
|
🎉 This PR is included in version 0.13.11 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
LaTeX only issues a warning when using e.g.
\rin math mode.KaTeX will now do the same with the default
strictsetting ofwarn.Fixes #2983
Demo:
Here's a comparison to QuickLaTeX:
