
Hi! Is there for <$> (fmap) operator some nice looking symbol in mathematics, LaTeX? I am looking here: http://www.soi.city.ac.uk/~ross/papers/Applicative.html http://www.haskell.org/ghc/docs/6.12.1/html/libraries/base/Control-Applicati... but only for other operators there are nice symbols, and <$> is left as it is. I have also tried \mathbin{<\$>} but it adds space around $ (at least in lhs2tex), so it looks ugly. Mitar

Mitar schrieb:
Hi!
Is there for <$> (fmap) operator some nice looking symbol in mathematics, LaTeX?
I am looking here:
http://www.soi.city.ac.uk/~ross/papers/Applicative.html http://www.haskell.org/ghc/docs/6.12.1/html/libraries/base/Control-Applicati...
but only for other operators there are nice symbols, and <$> is left as it is.
I have also tried \mathbin{<\$>} but it adds space around $ (at least in lhs2tex), so it looks ugly.
Does \langle\$\rangle look better for your taste?

On Friday 08 April 2011 14:25:41, Mitar wrote:
Hi!
Uuu, nice. Thanks Daniel and Henning.
Alternatively, you can kill off the spaces '<' and '>' produce using \mspace, \newcommand{\ltgt}[1]{\mathbin{<\mspace{-6mu}#1\mspace{-6mu}>}} \newcommand{\fmap}{\ltgt{\$}} The value used in \mspace can be adjusted to personal taste, perhaps you'd also like to raise '<' and '>' for that a little, since they touch the baseline normally.
participants (3)
-
Daniel Fischer
-
Henning Thielemann
-
Mitar