I'm trying to typeset a paper in Haskell, and I want to typeset these operators:
I'm talking about <*>
, <$>
and <$
.
I've seen these before in articles about Haskell. Is there a package for them? Possibly an lhs2tex style file?
I'm trying to recreate them by hand. This is what I've tried:
$<\mathclap{\$}>$
(Too much space)$<\!\!\mathclap{\$}\!\!>$
(Very hacky, vertical spacing wrong)
Do I have to use TikZ for that, or is there a better way to achieve this?
\textstyle
?