racket-cas
racket-cas copied to clipboard
TeX rendering issue
To render LaTeX in the REPL out of the box as instructed in the README.txt I had to add the following lines to racket-cas.rkt
(require latex-pict pict)
(define (render u)
(define (strip$ x) (substring x 1 (- (string-length x) 1)))
(pict->bitmap (scale (tex-math (strip$ (tex u))) 1.0)))