What I know/I tried so far:
\spadesuit
or\spades
renders spade with filled black color.Similarly,
\clubs
or\clubsuit
renders club with filled black color.Now
\hearts
or\heartsuit
just renders heart with white filled bg.\colorbox
treats this as a box/rectangle, thus hiding the shape obviously.I can get black diamond as
\blacklozenge
Also, I get it that club and spade are black
and the diamonds and heart are red
in a deck, but I want heart symbol in black as well.
How can I get that? Thanks.
Asked on github too : https://github.com/KaTeX/KaTeX/discussions/2546