Hello, I want to typeset Haskell code using arrow syntax with LaTeX in math mode (using lhs2TeX and polycode.fmt). However I don’t know how to produce a nice LaTeX math mode equivalent for -<. Does anybody have an idea what to do at this point? Best wishes, Wolfgang
It's not pretty, but I used: \newcommand\atl{-\!\!\!\prec} Hope that helps. Regards, -Antony On 6/6/07, Wolfgang Jeltsch <g9ks157k@acme.softbase.org> wrote:
Hello,
I want to typeset Haskell code using arrow syntax with LaTeX in math mode (using lhs2TeX and polycode.fmt). However I don't know how to produce a nice LaTeX math mode equivalent for -<. Does anybody have an idea what to do at this point?
Best wishes, Wolfgang _______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell
You could also try using \Yleft from the stmaryrd package. cheers, Brent On 6/6/07, Wolfgang Jeltsch <g9ks157k@acme.softbase.org> wrote:
Hello,
I want to typeset Haskell code using arrow syntax with LaTeX in math mode (using lhs2TeX and polycode.fmt). However I don't know how to produce a nice LaTeX math mode equivalent for -<. Does anybody have an idea what to do at this point?
Best wishes, Wolfgang _______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell
Am Donnerstag, 7. Juni 2007 03:36 schrieben Sie:
You could also try using \Yleft from the stmaryrd package.
cheers, Brent
Hello Brent, yes, I thought about this too but \Yleft looks rather different compared with an ordinary arrow (different line thickness, for example). Best wishes, Wolfgang
participants (3)
-
Antony Courtney -
Brent Yorgey -
Wolfgang Jeltsch