-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
feature requestNew feature or requestNew feature or requestmathRelated to math category, with its syntax, layout, etc.Related to math category, with its syntax, layout, etc.
Description
I became aware of this while trying to understand #355
If I change the text font to "Comic Neue" (Only to get a distinctly different font)
Hello world, $"Hello world"$, $#text(font: "Comic Neue")[Hello world]$
will render as
This is not what I expect. In LaTeX, the input
Hello world, $\text{Hello world}$
will indeed render as
correctly using the text font when displaying text in math mode.
Why is this the correct behavior? Because it is common to write something like
And therefore, if $ f(a) > 0 quad "and" quad f'(a) > 0, $ we have
where the text is part of the, well, text. When this is typeset using the math font it looks very awkward.
Obviously this is an extreme example where the text and math fonts are wildly different, but it's still a problem.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature requestNew feature or requestNew feature or requestmathRelated to math category, with its syntax, layout, etc.Related to math category, with its syntax, layout, etc.


