X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=jsMath%2Flocal%2Fmacros.js;fp=jsMath%2Flocal%2Fmacros.js;h=974fba98bc55176d5905561a4f746741e55c1a18;hb=f084723ab17e56d39e05a8a8da8d976e670dfd42;hp=0000000000000000000000000000000000000000;hpb=b3b3c1c988e48e53f295529431d640528bb17927;p=lambda.git diff --git a/jsMath/local/macros.js b/jsMath/local/macros.js new file mode 100644 index 00000000..974fba98 --- /dev/null +++ b/jsMath/local/macros.js @@ -0,0 +1,17 @@ +/* + * local/macros.js + * + * Use jsMath.Macro() to declare your own local macro definitions here, + * and add "local/macros.js" to the loadFiles array in easy/load.js so + * that they will be loaded automatically when jsMath is used. + * + * See http://www.math.union.edu/locate/jsMath/authors/macros.html + * for details on defining macros for jsMath. + */ + +// +// Examples: +// +// jsMath.Macro('R','{\\bf R}'); +// jsMath.Macro('red','\\color{red}{#1}',1); +//