From: Matthijs Kooijman Date: Tue, 1 Dec 2009 10:57:27 +0000 (+0100) Subject: Support ▶ in the lambda prettyprinter. X-Git-Tag: final-thesis~130 X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fmaster-project%2Freport.git;a=commitdiff_plain;h=2632b37c704f17c78b1dd023e9c9688918b7ee31 Support ▶ in the lambda prettyprinter. We'll have to use the glyph from our roman font, since our sans font doesn't have it. --- diff --git a/pret-lam.lua b/pret-lam.lua index 12fa94e..ba3829c 100644 --- a/pret-lam.lua +++ b/pret-lam.lua @@ -29,6 +29,8 @@ local symbols = { ['~'] = {repr = '\\HDLine[width=.20 * \\the\\textwidth]'}, ['|'] = {repr = '\\char' .. utf.byte('|')}, ['$'] = {repr = '\\char' .. utf.byte('$')}, + -- Use ▶ from our roman font, since Iwona doesn't have the glyph + ['▶'] = {repr = '{\\rm{}▶}'}, } -- Keywords that should be bold