feat: support missing commands#214
Merged
OrangeX4 merged 4 commits intomitex-rs:mainfrom Dec 25, 2025
Merged
Conversation
OrangeX4
approved these changes
Dec 24, 2025
Member
|
Thanks! I think there are only some simple CI issues here. |
Member
|
Thanks! |
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.
feat: support \mathscr commandFix: #190.
Obviously there has been a solution to mathscr a long time ago, but I don't know why mitex has not supported it. It may be a font problem or your team has corresponding considerations. Because I have personal needs, I made a PR. If it is different from your expectations, you can abandon this change. I think it should at least be usable first and then consider optimization.
References:
Update the logic to handle multiple characters rather than a single one.
The
\mathscrcommand is typically provided by themathrsfspackage, while the RSFS (Ralph Smith's Formal Script) font files used by this package only provide a single font weight (the standard weight). Therefore, it does not render in bold in LaTeX.chore: update deprecated symbols to latestFix: #207.
Fix:
\ohmCommand,Unknown variable: ohmSee: Typst 0.14.0 Change Log
feat: support some missing eqq commandsPartial fix: #173.
Some unicode of symbols cannot be found, but I found that some LaTeX commands are actually obtained by
length: 1em,angle: 20deg, this visual effect is consistent with LaTeX.Tests