You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expected that using the emph and text functions like this would only apply the emphasis and the color to the text Blue text. But this code actually applies them to the header as well:
Is this intended? From my previous understanding, in order to set a document-wide style, I should instead need to use #set rules at the top to apply them.
That was a rather long-standing bug (see #241) but was actually fixed a couple of days ago. On the newest development version of Typst, this works as expected:
Description
I apologize in advance if this is a misunderstanding on my part.
I have the following Typst code:
I expected that using the
emph
andtext
functions like this would only apply the emphasis and the color to the textBlue text
. But this code actually applies them to the header as well:Is this intended? From my previous understanding, in order to set a document-wide style, I should instead need to use
#set
rules at the top to apply them.Reproduction URL
No response
Operating system
Linux
Typst version
Version (commit): typst 0.11.0 (105d715)
The text was updated successfully, but these errors were encountered: