racket-cas icon indicating copy to clipboard operation
racket-cas copied to clipboard

TeX rendering issue

Open tonymenzo opened this issue 3 years ago • 0 comments

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)))

tonymenzo avatar Feb 12 '21 01:02 tonymenzo