Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add \strictif and \strictfi symbols #3588

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

SnO2WMaN
Copy link

@SnO2WMaN SnO2WMaN commented Mar 22, 2022

What is the previous behavior before this PR?

There's no symbols for /strictif (⥽) and /strictfi (⥼) for strict implication

What is the new behavior after this PR?

Added them.

ps. some of the links in CONTRIBUTING.md were dead (#3525), and I didn't find correct way to contribute (adding symbols), so I referenced #2283 . Please let me know if there are any problems.

@edemaine
Copy link
Member

We can't add symbols to KaTeX (correctly) without adding them to the fonts and metrics. In the console, you'll see a warning that the character metrics aren't defined, and the symbol you're seeing is rendered from an arbitrary system font instead of a KaTeX font.

#3525 isn't relevant because MathJax doesn't have this symbol. What LaTeX package does? Presumably it's not in the standard Computer Modern fonts, which means you'd need to modify the font extraction code in src/fonts to look at other LaTeX fonts.

@edemaine edemaine marked this pull request as draft March 23, 2022 15:50
@SnO2WMaN
Copy link
Author

\strictif and \strictfi are included in the package txfonts or pxfonts. Sorry, but I'm not very familiar with TeX itself or KaTeX, and I'm not quite sure what I'm supposed to do, should I open an Issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants