default.js 4.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
  2. /* vim: set ts=2 et sw=2 tw=80: */
  3. /*************************************************************
  4. *
  5. * MathJax/config/default.js
  6. *
  7. * This configuration file is loaded when you load MathJax
  8. * via <script src="MathJax.js?config=default"></script>
  9. *
  10. * Use it to customize the MathJax settings. See comments below.
  11. *
  12. * ---------------------------------------------------------------------
  13. *
  14. * Copyright (c) 2009-2013 The MathJax Consortium
  15. *
  16. * Licensed under the Apache License, Version 2.0 (the "License");
  17. * you may not use this file except in compliance with the License.
  18. * You may obtain a copy of the License at
  19. *
  20. * http://www.apache.org/licenses/LICENSE-2.0
  21. *
  22. * Unless required by applicable law or agreed to in writing, software
  23. * distributed under the License is distributed on an "AS IS" BASIS,
  24. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  25. * See the License for the specific language governing permissions and
  26. * limitations under the License.
  27. */
  28. /*
  29. * This file lists most, but not all, of the options that can be set for
  30. * MathJax and its various components. Some additional options are
  31. * available, however, and are listed in the various links at:
  32. *
  33. * http://www.mathjax.org/resources/docs/?configuration.html#configuration-options-by-component
  34. *
  35. * You can add these to the configuration object below if you
  36. * want to change them from their default values.
  37. */MathJax.Hub.Config({config:[],styleSheets:[],styles:{},jax:["input/TeX","output/HTML-CSS"],extensions:["tex2jax.js"],preJax:null,postJax:null,preRemoveClass:"MathJax_Preview",showProcessingMessages:!0,messageStyle:"normal",displayAlign:"center",displayIndent:"0em",delayStartupUntil:"none",skipStartupTypeset:!1,elements:[],positionToHash:!1,showMathMenu:!0,showMathMenuMSIE:!0,menuSettings:{zoom:"None",CTRL:!1,ALT:!1,CMD:!1,Shift:!1,zscale:"200%",font:"Auto",context:"MathJax",mpContext:!1,mpMouse:!1,texHints:!0},errorSettings:{message:["[Math Processing Error]"],messageId:"MathProcessingError",style:{color:"#CC0000","font-style":"italic"}},tex2jax:{inlineMath:[["\\(","\\)"]],displayMath:[["$$","$$"],["\\[","\\]"]],balanceBraces:!0,skipTags:"script noscript style textarea pre code".split(" "),ignoreClass:"tex2jax_ignore",processClass:"tex2jax_process",processEscapes:!1,processEnvironments:!0,processRefs:!0,preview:"TeX"},asciimath2jax:{delimiters:[["`","`"]],skipTags:"script noscript style textarea pre code".split(" "),ignoreClass:"asciimath2jax_ignore",processClass:"asciimath2jax_process",preview:"AsciiMath"},mml2jax:{preview:"alttext"},jsMath2jax:{preview:"TeX"},TeX:{TagSide:"right",TagIndent:".8em",MultLineWidth:"85%",Macros:{},equationNumbers:{autoNumber:"none",useLabelIds:!0},noErrors:{disabled:!1,multiLine:!0,inlineDelimiters:["",""],style:{"font-size":"90%","text-align":"left",color:"black",padding:"1px 3px",border:"1px solid"}},noUndefined:{disabled:!1,attributes:{mathcolor:"red"}},unicode:{fonts:"STIXGeneral,'Arial Unicode MS'"}},AsciiMath:{displaystyle:!0,decimal:"."},MathML:{useMathMLspacing:!1},"HTML-CSS":{scale:100,minScaleAdjust:50,availableFonts:["STIX","TeX"],preferredFont:"TeX",webFont:"TeX",imageFont:"TeX",undefinedFamily:"STIXGeneral,'Arial Unicode MS',serif",mtextFontInherit:!1,EqnChunk:50,EqnChunkFactor:1.5,EqnChunkDelay:100,linebreaks:{automatic:!1,width:"container"},styles:{},tooltip:{delayPost:600,delayClear:600,offsetX:10,offsetY:5}},NativeMML:{scale:100,minScaleAdjust:50,styles:{}},SVG:{scale:100,minScaleAdjust:50,font:"TeX",blacker:10,undefinedFamily:"STIXGeneral,'Arial Unicode MS',serif",mtextFontInherit:!1,addMMLclasses:!1,EqnChunk:50,EqnChunkFactor:1.5,EqnChunkDelay:100,linebreaks:{automatic:!1,width:"container"},styles:{},tooltip:{delayPost:600,delayClear:600,offsetX:10,offsetY:5}},MathMenu:{delay:150,helpURL:"http://www.mathjax.org/help-v2/user/",showRenderer:!0,showMathPlayer:!0,showFontMenu:!1,showContext:!1,showDiscoverable:!1,windowSettings:{status:"no",toolbar:"no",locationbar:"no",menubar:"no",directories:"no",personalbar:"no",resizable:"yes",scrollbars:"yes",width:100,height:50},styles:{}},MathEvents:{hover:500},MMLorHTML:{prefer:{MSIE:"MML",Firefox:"HTML",Opera:"HTML",Safari:"HTML",Chrome:"HTML",other:"HTML"}}});MathJax.Ajax.loadComplete("[MathJax]/config/default.js");