Use a non-breaking space instead of \obs in the lambda prettyprinter.
[matthijs/master-project/report.git] / pret-lam.lua
index 86d7272c4f65615276747be84e1b0c39f6ef236f..dd3d5ca8e0a812c5a5888ad13e9d110e88b3a651 100644 (file)
@@ -17,7 +17,9 @@ local colors = {
 
 -- Symbols that should have a different representation
 local symbols = {
-    [' '] = {repr = '\\obs '},
+    -- Note, the space we replace with is a Unicode non-breaking space
+    -- (U+00A0).
+    [' '] = {repr = ' '},
     ['_'] = {repr = '\\_'},
     ['->'] = {repr = '\\rightarrow'},
     -- The default * sits very high above the baseline, \ast (u+2217) looks