-
Notifications
You must be signed in to change notification settings - Fork 0
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
Set unicode supporting fonts in tex template #264
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need to support emojies. It seems unlikely that an ATBD will use them. We're probably better off stripping them out.
Not sure how to test this. Can you provide some steps?
Co-authored-by: Daniel da Silva <[email protected]>
@danielfdsilva I have tested as suggested here In a text section add unicode symbols such as 𝛾Γ Based on what I've read, there is no catchall for this. i.e. our support for unicode symbols is limited by the font chosen. Perhaps we can choose fonts based on what unicode symbols are input? I can look into this, but it is certainly more complicated than choosing a font with pretty good coverage. |
This is working as expected.
@jvntf Do you agree? Can you add this so this is complete? |
I agree, but first want to clarify intended behavior. Are we supporting unicode in best list i've seen of unicode math symbols supported by Latin Modern Math |
@jvntf your suggestion sounds good. Go ahead. |
@jvntf This looks good, but can we have the documentation in the README is a user facing format. |
Adds support for unicode characters inside and outside of LaTeX math mode by setting main font and math font to one that includes a large unicode alphabet. Emojis are not supported, but we can support them with something like this.
Perhaps this solution is crude?
Re @guidorice comment, this will work w/r/t to PDF output even though KaTeX shows a client side error (probably catchable).