Closed tonymenzo closed 9 months 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
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)))
(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)))
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)))