www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 061fe3488b011110485cb6cacc1f4cc01bab4446
parent 462be1eaeb5c08fdd428f6d548dc508b7c6c8a01
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Sun, 27 Apr 2014 09:02:01 -0400

Fix \enclose{}[arrow=1]{} to add updiagonalarrow.

Diffstat:
Munpacked/extensions/TeX/enclose.js | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/unpacked/extensions/TeX/enclose.js b/unpacked/extensions/TeX/enclose.js @@ -74,7 +74,9 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () { keyvalue[1] = keyvalue[1].replace(/^"(.*)"$/,"$1"); if (keyvalue[1] === "true") {keyvalue[1] = true} if (keyvalue[1] === "false") {keyvalue[1] = false} - def[keyvalue[0]] = keyvalue[1]; + if (keyvalue[0] === "arrow" && keyvalue[1]) + {def.notation = def.notation + " updiagonalarrow"} else + {def[keyvalue[0]] = keyvalue[1]} } } }