Use the unicode rightwards arrow instead of \rightarrow.
authorMatthijs Kooijman <matthijs@stdin.nl>
Tue, 24 Nov 2009 15:45:39 +0000 (16:45 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Tue, 24 Nov 2009 15:45:39 +0000 (16:45 +0100)
It seems this uses the arrow from the current font instead of something
else, which looks slightly better.

pret-lam.lua

index 1f073f83c7653b2ec3dd967062625e4224a8efc9..97a53761a9247af6f11d76b4ebe721f431a99967 100644 (file)
@@ -21,7 +21,7 @@ local symbols = {
     -- (U+00A0).
     [' '] = {repr = ' '},
     ['_'] = {repr = '\\_'},
-    ['->'] = {repr = '\\rightarrow'},
+    ['->'] = {repr = ''},
     ['=>'] = {repr = '⇒'},
     -- The default * sits very high above the baseline, \ast (u+2217) looks
     -- better.