问题
I have the following style which should change the color to red (using color-property:
(define red
(style #f
(list (color-property "red"))))
How can I apply that style to a word in my text. Say I want WARNING!!!
to appear in red.
回答1:
You can use elem to apply a style to a piece of text.
So, your text could look like this:
@elem[#:style red]{WARNING!!!} This is a warning.
来源:https://stackoverflow.com/questions/35301596/apply-a-style-in-scribble