added jsMath files
[lambda.git] / jsMath / local / macros.js
diff --git a/jsMath/local/macros.js b/jsMath/local/macros.js
new file mode 100644 (file)
index 0000000..974fba9
--- /dev/null
@@ -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);
+//