projects
/
matthijs
/
master-project
/
report.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc37439
)
Use the unicode rightwards arrow instead of \rightarrow.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Tue, 24 Nov 2009 15:45:39 +0000
(16:45 +0100)
committer
Matthijs 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
patch
|
blob
|
history
diff --git
a/pret-lam.lua
b/pret-lam.lua
index 1f073f83c7653b2ec3dd967062625e4224a8efc9..97a53761a9247af6f11d76b4ebe721f431a99967 100644
(file)
--- a/
pret-lam.lua
+++ b/
pret-lam.lua
@@
-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.