commit c3adb61eeef4abafffa49073720140f76ec83acf parent 28a795d6a3e8d791ee9aae155c90a871c8af53af Author: Matthew Flatt <mflatt@racket-lang.org> Date: Fri, 11 Nov 2011 07:04:42 -0700 scribble: Latex/PDF rendering of some Unicode superscript characters original commit: 9f81387e85e2fd18f869c60632bba69159476df3 Diffstat:
| M | collects/scribble/latex-render.rkt | | | 12 | ++++++++++++ |
1 file changed, 12 insertions(+), 0 deletions(-)
diff --git a/collects/scribble/latex-render.rkt b/collects/scribble/latex-render.rkt @@ -936,6 +936,18 @@ [(#\⊤) "$\\top$"] [(#\¥) "{\\textyen}"] [(#\™) "{\\texttrademark}"] + [(#\u2070) "$^0$"] + [(#\u00b9) "$^1$"] + [(#\u00b2) "$^2$"] + [(#\u00b3) "$^3$"] + [(#\u2074) "$^4$"] + [(#\u2075) "$^5$"] + [(#\u2076) "$^6$"] + [(#\u2077) "$^7$"] + [(#\u2078) "$^8$"] + [(#\u2079) "$^9$"] + [(#\u207a) "$^+$"] + [(#\u207b) "$^-$"] [else c]) c)]))) (loop (add1 i)))))))