From 991e7a0cc7df072e8fc326c6b871546d2aa31191 Mon Sep 17 00:00:00 2001 From: Ivan Tcholakov Date: Mon, 5 Jul 2010 01:19:46 +0300 Subject: [PATCH] Feature #541 - ASCIIMathML.js: Changing the default font family setting. --- main/inc/lib/asciimath/ASCIIMathML.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/main/inc/lib/asciimath/ASCIIMathML.js b/main/inc/lib/asciimath/ASCIIMathML.js index db940974a2..7ab455ae1e 100755 --- a/main/inc/lib/asciimath/ASCIIMathML.js +++ b/main/inc/lib/asciimath/ASCIIMathML.js @@ -96,8 +96,11 @@ var mathcolor = "blue"; // change it to "" (to inherit) or another color //var mathfontsize = "1em"; // change to e.g. 1.2em for larger math var mathfontsize = "1.5em"; // -var mathfontfamily = "serif"; // change to "" to inherit (works in IE) - // or another family (e.g. "arial") +// Modified by Ivan Tcholakov, 05-JUL-2010. +//var mathfontfamily = "serif"; // change to "" to inherit (works in IE) +// // or another family (e.g. "arial") +var mathfontfamily = 'STIXGeneral,Arial Unicode MS,"Lucida Sans Unicode","Lucida Grande",Garuda,sans-serif'; +// var automathrecognize = false; // writing "amath" on page makes this true var checkForMathML = true; // check if browser can display MathML var notifyIfNoMathML = false; // display note at top if no MathML capability