lhs2TeX: lazy pattern "~" formatting
20 Apr
2006
20 Apr
'06
1:17 a.m.
Does anyone have a nice way to format the "~" of a lazy pattern in lhs2TeX? I use %format ~ = "{} ^\sim " but the result isn't as pretty as I'd like. For one thing, no space is inserted before the "~" after a lambda, "do", or whatever. Thanks, - Conal
20 Apr
20 Apr
2:45 a.m.
Does anyone have a nice way to format the "~" of a lazy pattern in lhs2TeX? I use
%format ~ = "{} ^\sim "
but the result isn't as pretty as I'd like. For one thing, no space is inserted before the "~" after a lambda, "do", or whatever.
``Nice'' is in the eye of the beholder --- after limited fiddling, I use: \def\irref{{\lower0.3ex\hbox{\texttt{\bf\~{}}}}\kern-0.1em\strut} Wolfram
7435
Age (days ago)
7435
Last active (days ago)
1 comments
2 participants
participants (2)
-
Conal Elliott -
kahl@cas.mcmaster.ca