[Haskell-cafe] fmap and LaTeX

Daniel Fischer daniel.is.fischer at googlemail.com
Fri Apr 8 14:54:05 CEST 2011


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.



More information about the Haskell-Cafe mailing list