soegaard / racket-cas

Simple computer algebra system
60 stars 10 forks source link

TeX rendering issue #23

Closed tonymenzo closed 9 months ago

tonymenzo commented 3 years ago

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