-
Notifications
You must be signed in to change notification settings - Fork 6
Text color and math mode. #16
Copy link
Copy link
Open
Labels
Description
It looks like we use \pgfsetfillcolor for coloring text but this has odd behavior with text that has math components:
example :: Diagram B
example = circle 2 `atop` (baselineText "$\\frac{1}{2}$" & fc red)The text is the right color, but the fraction bar is not:
If I add a color command using the fc color name that gets defined in the output I can work around the issue:
example :: Diagram B
example = circle 2 `atop` (baselineText "\\color{fc}$\\frac{1}{2}$" & fc red)Reactions are currently unavailable
