/**********************************************************************
 *
 *   Customize the values given below to suit your needs.
 *   You can make additional copies of this file with
 *   different customizated settings if you need to load
 *   jsMath with different parameters.
 *   
 *   Load this page via:
 *   
 *   <SCRIPT SRC="path-to-jsMath/easy/load.js"></SCRIPT>
 *   
 *   (If you are including this file into your page via Server-Side
 *   Includes, you should remove line above.)
 *   
 *   You can make copies of this file with different settings
 *   if you need to have several different configurations.
 *   
 **********************************************************************/
if (!window.jsMath) {window.jsMath = {}}
jsMath.Easy = {
  root: "/js/jsMath",
  scale: 110,
  autoload: 0,
  processSlashParens: 0,       // process \(...\) in text?
  processSlashBrackets: 0,     // process \[...\] in text?
  processDoubleDollars: 0,     // process $$...$$ in text?
  processSingleDollars: 0,     // process $...$ in text?
  processLaTeXenvironments: 0, // process \begin{xxx}...\end{xxx} outside math mode?
  fixEscapedDollars: 0,        // convert \$ to $ outside of math mode?
  doubleDollarsAreInLine: 0,   // make $$...$$ be in-line math?
  allowDisableTag: 1,          // allow ID="tex2math_off" to disable tex2math?
  safeHBoxes: 1,
  allowDoubleClicks: 1,
  showFontWarnings: 0,
  method: "ProcessBeforeShowing",
  loadFiles: ["extensions/AMSsymbols.js"],
  loadFonts: [],
  macros: {},
  allowGlobal: 0,
  noImageFonts: 0
};
/****************************************************************/
/****************************************************************/
/****************************************************************/
/****************************************************************/
if (jsMath.Easy.root == "") {
  jsMath.Easy.root = document.getElementsByTagName("script");
  jsMath.Easy.root = jsMath.Easy.root[jsMath.Easy.root.length-1].src
  if (jsMath.Easy.root.match(/\/easy\/[^\/]*$/)) {
    jsMath.Easy.root = jsMath.Easy.root.replace(/\/easy\/[^\/]*$/,"");
  } else {
    jsMath.Easy.root = jsMath.Easy.root.replace(/\/(jsMath\/(easy\/)?)?[^\/]*$/,"/jsMath");
  }
}
jsMath.Easy.root = jsMath.Easy.root.replace(/\/$/,""); // trim trailing "/" if any
document.write('<SCRIPT SRC="'+jsMath.Easy.root+'/jsMath-easy-load.js"><'+'/SCRIPT>');
