Skip to content

Commit

Permalink
use \textasciitilde instead of \sim for regular tildes
Browse files Browse the repository at this point in the history
thanks to @benknoble for identifying this fix

closes #370
  • Loading branch information
rfindler committed Jul 10, 2023
1 parent 97d5b34 commit 85b6c74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scribble-lib/scribble/latex-render.rkt
Expand Up @@ -1075,7 +1075,7 @@
[(#\') "{\\textquotesingle}"]
[(#\? #\! #\. #\:)
(if (rendering-tt) (format "{\\hbox{\\texttt{~a}}}" c) c)]
[(#\~) "$\\sim$"]
[(#\~) "{\\textasciitilde}"]
[(#\{ #\}) (if (rendering-tt)
(format "{\\char`\\~a}" c)
(format "\\~a" c))]
Expand Down

0 comments on commit 85b6c74

Please sign in to comment.