commit 6b38ab6f69b1927a6c070c1c6074972048a251eb
parent cfcb739e07770b6e4b09262391c044cfa62f23d1
Author: Georges Dupéron <georges.duperon@gmail.com>
Date: Tue, 21 Mar 2017 21:34:01 +0100
Use Computer Modern (cmr), not Times (ptm)
Diffstat:
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/scribblings/util.rkt b/scribblings/util.rkt
@@ -24,13 +24,19 @@
scriblib/render-cond
racket/runtime-path
scribble-enhanced/math
+ scribble/latex-properties
scribble-math
"abbreviations.rkt")
(use-mathjax)
+(define (tex-header tex)
+ (elem #:style (style #f (list (tex-addition tex)))))
+
;; TODO: merge the handling of unicode chars into scribble-math.
-(define m setup-math)
+(define m
+ (list setup-math
+ (tex-header "\renewcommand{\rmdefault}{cmr}")))
(define my-title
;; TODO: use this for the other wrapped procs in this file
(make-keyword-procedure