| Download
Reference manual of the SageMath package kerrgeodesic_gw
Project: Sagittarius
Views: 7662License: GPL3
Image: ubuntu2004
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */1/* vim: set ts=2 et sw=2 tw=80: */23/*************************************************************4*5* MathJax/config/default.js6*7* This configuration file is loaded when you load MathJax8* 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-2018 The MathJax Consortium15*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 at19*20* http://www.apache.org/licenses/LICENSE-2.021*22* Unless required by applicable law or agreed to in writing, software23* 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 and26* limitations under the License.27*/282930/*31* This file lists most, but not all, of the options that can be set for32* MathJax and its various components. Some additional options are33* available, however, and are listed in the various links at:34*35* http://www.mathjax.org/resources/docs/?configuration.html#configuration-options-by-component36*37* You can add these to the configuration object below if you38* want to change them from their default values.39*/4041MathJax.Hub.Config({4243//44// A comma-separated list of configuration files to load45// when MathJax starts up. E.g., to define local macros, etc.46// The default directory is the MathJax/config directory.47//48// Example: config: ["local/local.js"],49// Example: config: ["local/local.js","MMLtoHTML.js"],50//51config: [],5253//54// A comma-separated list of CSS stylesheet files to be loaded55// when MathJax starts up. The default directory is the56// MathJax/config directory.57//58// Example: styleSheets: ["MathJax.css"],59//60styleSheets: [],6162//63// Styles to be defined dynamically at startup time.64//65// Example:66// styles: {67// ".MathJax_Preview": {68// color: "#888"69// }70// },71//72styles: {},7374//75// A comma-separated list of input and output jax to initialize at startup.76// Their main code is loaded only when they are actually used, so it is not77// inefficient to include jax that may not actually be used on the page. These78// are found in the MathJax/jax directory. The choices include79//80// input/TeX81// input/MathML82// input/AsciiMath83//84// output/HTML-CSS85// output/NativeMML86// output/SVG87//88// If you change the input jax, you may need to include the appropriate89// preprocessor in the extensions array below.90//91jax: ["input/TeX", "output/HTML-CSS"],9293//94// A comma-separated list of extensions to load at startup. The default95// directory is MathJax/extensions.96//97// Example: extensions: ["tex2jax.js","TeX/AMSmath.js","TeX/AMSsymbols.js"],98//99// You may wish to include "mml2jax.js" if you are using "input/MathML" in the100// jax array above, and "asciimath2jax.js" if you using "input/AsciiMath".101// Include "jsmath2jax.js" if you are converting from using jsMath to MathJax.102//103extensions: ["tex2jax.js"],104105//106// Patterns to remove from before and after math script tags. If you are not107// using one of the preprocessors (e.g., tex2jax), you need to insert something108// extra into your HTML file in order to avoid a bug in Internet Explorer. IE109// removes spaces from the DOM that it thinks are redundent, and since a SCRIPT110// tag usually doesn't add content to the page, if there is a space before and after111// a MathJax SCRIPT tag, IE will remove the first space. When MathJax inserts112// the typeset mathematics, this means there will be no space before it and the113// preceding text. In order to avoid this, you should include some "guard characters"114// before or after the math SCRIPT tag; define the patterns you want to use below.115// Note that these are used as regular expressions, so you will need to quote116// special characters. Furthermore, since they are javascript strings, you must117// quote javascript special characters as well. So to obtain a backslash, you must118// use \\ (doubled for javascript). For example, "\\[" is the pattern \[ in the119// regular expression. That means that if you want an actual backslash in your120// guard characters, you need to use "\\\\" in order to get \\ in the regular121// expression, and \ in the actual text. If both preJax and postJax are defined,122// both must be present in order to be removed.123//124// See also the preRemoveClass comments below.125//126// Example:127// preJax: "\\\\\\\\", // makes a double backslash the preJax text128// or129// preJax: "\\[\\[", // jax scripts must be enclosed in double brackets130// postJax: "\\]\\]",131//132preJax: null,133postJax: null,134135//136// The CSS class for a math preview to be removed preceding a MathJax137// SCRIPT tag. If the tag just before the MathJax SCRIPT tag is of this138// class, its contents are removed when MathJax processes the SCRIPT139// tag. This allows you to include a math preview in a form that will140// be displayed prior to MathJax performing its typesetting. It also141// avoids the Internet Explorer space-removal bug, and can be used in142// place of preJax and postJax if that is more convenient.143//144// For example145//146// <span class="MathJax_Preview">[math]</span><script type="math/tex">...</script>147//148// would display "[math]" in place of the math until MathJax is able to typeset it.149//150preRemoveClass: "MathJax_Preview",151152//153// This value controls whether the "Processing Math: nn%" message are displayed154// in the lower left-hand corner. Set to "false" to prevent those messages (though155// file loading and other messages will still be shown).156//157showProcessingMessages: true,158159//160// This value controls the verbosity of the messages in the lower left-hand corner.161// Set it to "none" to eliminate all messages, or set it to "simple" to show162// "Loading..." and "Processing..." rather than showing the full file name and the163// percentage of the mathematics processed.164//165messageStyle: "normal",166167//168// These two parameters control the alignment and shifting of displayed equations.169// The first can be "left", "center", or "right", and determines the alignment of170// displayed equations. When the alignment is not "center", the second determines171// an indentation from the left or right side for the displayed equations. When172// the alignment is "center", the indent allows you to shift the center to the right173// or left (negative is left).174//175displayAlign: "center",176displayIndent: "0",177178//179// Normally MathJax will perform its starup commands (loading of180// configuration, styles, jax, and so on) as soon as it can. If you181// expect to be doing additional configuration on the page, however, you182// may want to have it wait until the page's onload hander is called. If so,183// set this to "onload".184//185delayStartupUntil: "none",186187//188// Normally MathJax will typeset the mathematics on the page as soon as189// the page is loaded. If you want to delay that process, in which case190// you will need to call MathJax.Hub.Typeset() yourself by hand, set191// this value to true.192//193skipStartupTypeset: false,194195//196// A list of element ID's that are the ones to process for mathematics197// when any of the Hub typesetting calls (Typeset, Process, Update, etc)198// are called with no element specified. This lets you restrict the199// processing to particular containers rather than scanning the entire200// document for mathematics. If none are supplied, the entire document201// is processed.202//203elements: [],204205//206// Since typesetting usually changes the vertical dimensions of the207// page, if the URL contains an anchor position you may no longer be208// positioned at the correct position on the page, so MathJax can209// reposition to that location after it completes its initial210// typesetting of the page. This value controls whether MathJax will211// reposition the browser to the #hash location from the page URL after212// typesetting for the page.213//214positionToHash: true,215216//217// These control whether to attach the MathJax contextual menu to the218// expressions typeset by MathJax. Since the code for handling219// MathPlayer in Internet Explorer is somewhat delicate, it is220// controlled separately via (showMathMenuMSIE). The latter is now221// deprecated in favor of the MathJax contextual menu settings for222// MathPlayer.223//224// These values used to be listed in the separate output jax, but225// have been moved to this more central location since they are shared226// by all output jax.227//228showMathMenu: true,229showMathMenuMSIE: true,230231232//233// The default settings for the MathJax contextual menu (overridden by234// the MathJax cookie when users change the menu settings).235//236menuSettings: {237zoom: "None", // when to do MathZoom238CTRL: false, // require CTRL for MathZoom?239ALT: false, // require Alt or Option?240CMD: false, // require CMD?241Shift: false, // require Shift?242discoverable: false, // make math menu discoverable on hover?243zscale: "200%", // the scaling factor for MathZoom244renderer: null, // set when Jax are loaded245font: "Auto", // what font HTML-CSS should use246context: "MathJax", // or "Browser" for pass-through to browser menu247locale: null, // the language to use for messages248mpContext: false, // true means pass menu events to MathPlayer in IE249mpMouse: false, // true means pass mouse events to MathPlayer in IE250texHints: true, // include class names for TeXAtom elements251FastPreview: null, // use PreviewHTML output as preview?252assistiveMML: null, // include hidden MathML for screen readers?253inTabOrder: true, // set to true if math elements should be included in the tabindex254semantics: false // add semantics tag with original form in MathML output255},256257//258// The message and style for when there is a processing error handling259// the mathematics (something has gone wrong with the input or output260// jax that prevents it from operating properly).261//262errorSettings: {263message: ["[",["MathProcessingError","Math Processing Error"],"]"],264style: {color: "#CC0000", "font-style":"italic"} // style for message265},266267268//============================================================================269//270// These parameters control the tex2jax preprocessor (when you have included271// "tex2jax.js" in the extensions list above).272//273tex2jax: {274275//276// The delimiters that surround in-line math expressions. The first in each277// pair is the initial delimiter and the second is the terminal delimiter.278// Comment out any that you don't want, but be sure there is no extra279// comma at the end of the last item in the list -- some browsers won't280// be able to handle that.281//282inlineMath: [283// ['$','$'], // uncomment this for standard TeX math delimiters284['\\(','\\)']285],286287//288// The delimiters that surround displayed math expressions. The first in each289// pair is the initial delimiter and the second is the terminal delimiter.290// Comment out any that you don't want, but be sure there is no extra291// comma at the end of the last item in the list -- some browsers won't292// be able to handle that.293//294displayMath: [295['$$','$$'],296['\\[','\\]']297],298299//300// This array lists the names of the tags whose contents should not be301// processed by tex2jax (other than to look for ignore/process classes302// as listed below). You can add to (or remove from) this list to prevent303// MathJax from processing mathematics in specific contexts.304//305skipTags: ["script","noscript","style","textarea","pre","code","annotation","annotation-xml"],306307//308// This is the class name used to mark elements whose contents should309// not be processed by tex2jax (other than to look for the310// processClass pattern below). Note that this is a regular311// expression, and so you need to be sure to quote any regexp special312// characters. The pattern is automatically preceded by '(^| )(' and313// followed by ')( |$)', so your pattern will have to match full words314// in the class name. Assigning an element this class name will315// prevent `tex2jax` from processing its contents.316//317ignoreClass: "tex2jax_ignore",318319//320// This is the class name used to mark elements whose contents SHOULD321// be processed by tex2jax. This is used to turn on processing within322// tags that have been marked as ignored or skipped above. Note that323// this is a regular expression, and so you need to be sure to quote324// any regexp special characters. The pattern is automatically325// preceded by '(^| )(' and followed by ')( |$)', so your pattern326// will have to match full words in the class name. Use this to327// restart processing within an element that has been marked as328// ignored above.329//330processClass: "tex2jax_process",331332//333// Set to "true" to allow \$ to produce a dollar without starting in-line334// math mode. If you uncomment the ['$','$'] line above, you should change335// this to true so that you can insert plain dollar signs into your documents336//337processEscapes: false,338339//340// Controls whether tex2jax processes LaTeX environments outside of math341// mode. Set to "false" to prevent processing of environments except within342// math mode.343//344processEnvironments: true,345346//347// Controls whether tex2jax processes \ref{...} commands outside348// of math mode. Set to "false" to prevent processing of \ref349// except within math mode.350//351processRefs: true,352353//354// Controls whether tex2jax inserts MathJax_Preview spans to make a355// preview available, and what preview to use, when it locates in-line356// and display mathetics on the page. The default is "TeX", which357// means use the TeX code as the preview (until it is processed by358// MathJax). Set to "none" to prevent the previews from being359// inserted (the math will simply disappear until it is typeset). Set360// to an array containing the description of an HTML snippet in order361// to use the same preview for all equations on the page (e.g., you362// could have it say "[math]" or load an image).363//364// E.g., preview: ["[math]"],365// or preview: [["img",{src: "http://myserver.com/images/mypic.jpg"}]]366//367preview: "TeX"368369},370371//============================================================================372//373// These parameters control the asciimath2jax preprocessor (when you have included374// "asciimath2jax.js" in the extensions list above).375//376asciimath2jax: {377378//379// The delimiters that surround asciimath expressions. The first in each380// pair is the initial delimiter and the second is the terminal delimiter.381//382delimiters: [383['`','`']384],385386//387// This array lists the names of the tags whose contents should not be388// processed by asciimath2jax (other than to look for ignore/process classes389// as listed below). You can add to (or remove from) this list to prevent390// MathJax from processing mathematics in specific contexts.391//392skipTags: ["script","noscript","style","textarea","pre","code","annotation","annotation-xml"],393394//395// This is the class name used to mark elements whose contents should396// not be processed by asciimath2jax (other than to look for the397// processClass pattern below). Note that this is a regular398// expression, and so you need to be sure to quote any regexp special399// characters. The pattern is automatically preceded by '(^| )(' and400// followed by ')( |$)', so your pattern will have to match full words401// in the class name. Assigning an element this class name will402// prevent `asciimath2jax` from processing its contents.403//404ignoreClass: "asciimath2jax_ignore",405406//407// This is the class name used to mark elements whose contents SHOULD408// be processed by asciimath2jax. This is used to turn on processing409// within tags that have been marked as ignored or skipped above.410// Note that this is a regular expression, and so you need to be sure411// to quote any regexp special characters. The pattern is412// automatically preceded by '(^| )(' and followed by ')( |$)', so413// your pattern will have to match full words in the class name. Use414// this to restart processing within an element that has been marked415// as ignored above.416//417processClass: "asciimath2jax_process",418419// Controls whether asciimath2jax inserts MathJax_Preview spans to make a420// preview available, and what preview to use, when it locates in-line421// and display mathetics on the page. The default is "AsciiMath", which422// means use the AsciiMath code as the preview (until it is processed by423// MathJax). Set to "none" to prevent the previews from being424// inserted (the math will simply disappear until it is typeset). Set425// to an array containing the description of an HTML snippet in order426// to use the same preview for all equations on the page (e.g., you427// could have it say "[math]" or load an image).428//429// E.g., preview: ["[math]"],430// or preview: [["img",{src: "http://myserver.com/images/mypic.jpg"}]]431//432preview: "AsciiMath"433434},435436//============================================================================437//438// These parameters control the mml2jax preprocessor (when you have included439// "mml2jax.js" in the extensions list above).440//441mml2jax: {442443//444// Controls whether mml2jax inserts MathJax_Preview spans to make a445// preview available, and what preview to use, when it locates446// mathematics on the page. The default is "mathml" which means use447// the <math> tag as the preview (until it is processed by MathJax).448// Set to "alttext", to use the <math> tag's alttext attribute as the449// preview, if the tag has one. Set to "none" to450// prevent the previews from being inserted (the math will simply451// disappear until it is typeset). Set to "altimg" to use an image452// described by the altimg* attributes of the <math> element.453// Set to an array containing the454// description of an HTML snippet in order to use the same preview for455// all equations on the page (e.g., you could have it say "[math]" or456// load an image).457//458// E.g., preview: ["[math]"],459// or preview: [["img",{src: "http://myserver.com/images/mypic.jpg"}]]460//461preview: "mathml"462463},464465//============================================================================466//467// These parameters control the jsMath2jax preprocessor (when you have included468// "jsMath2jax.js" in the extensions list above).469//470jsMath2jax: {471472//473// Controls whether jsMath2jax inserts MathJax_Preview spans to make a474// preview available, and what preview to use, when it locates475// mathematics on the page. The default is "TeX", which means use the476// TeX code as the preview (until it is processed by MathJax). Set to477// "none" to prevent the previews from being inserted (the math will478// simply disappear until it is typeset). Set to an array containing479// the description of an HTML snippet in order to use the same preview480// for all equations on the page (e.g., you could have it say "[math]"481// or load an image).482//483// E.g., preview: ["[math]"],484// or preview: [["img",{src: "http://myserver.com/images/mypic.jpg"}]]485//486preview: "TeX"487488},489490//============================================================================491//492// These parameters control the TeX input jax.493//494TeX: {495496//497// This specifies the side on which \tag{} macros will place the tags.498// Set to "left" to place on the left-hand side.499//500TagSide: "right",501502//503// This is the amound of indentation (from right or left) for the tags.504//505TagIndent: "0.8em",506507//508// This is the width to use for the multline environment509//510MultLineWidth: "85%",511512//513// List of macros to define. These are of the form514// name: value515// where 'value' is the replacement text for the macro \name.516// The 'value' can also be [value,n] where 'value' is the replacement517// text and 'n' is the number of parameters for the macro.518// Note that backslashes must be doubled in the replacement string.519//520// E.g.,521//522// Macros: {523// RR: '{\\bf R}',524// bold: ['{\\bf #1}', 1]525// }526//527Macros: {},528529//530// Equation numbering parameters.531//532equationNumbers: {533autoNumber: "none", // "AMS" for standard AMS environment numbering,534// or "all" to number all displayed equations535// formatNumber: function (n) {return n}, // format for equation number n536// formatTag: function (n) {return '('+n+')'}, // format for \tag and \eqref537// formatID: function (n) {return 'mjx-eqn-'+String(n).replace(/\s/g,"_")},538// // element ID to use for reference539// formatURL: function (id,base) {return base+'#'+encodeURIComponent(id)},540// // URL to use for references541useLabelIds: true // make element ID's use \label name rather than equation number542},543544//545// Controls the TeX/noErrors extension546//547noErrors: {548disabled: false, // set to true to return to original error messages549multiLine: true, // false to not include original line breaks550inlineDelimiters: ["",""], // or use ["$","$"] or ["\\(","\\)"] to put back delimiters551style: {552"font-size": "90%",553"text-align": "left",554"color": "black",555"padding": "1px 3px",556"border": "1px solid"557}558},559560//561// Controls the TeX/noUndefined extension562//563noUndefined: {564disabled: false, // set to true to return to original error messages565attributes: { // attributes to set for the undefined control sequence566mathcolor: "red"567}568},569570//571// Controls the TeX/unicode extension572unicode: {573fonts: "STIXGeneral,'Arial Unicode MS'" // the default font list for unknown characters574}575576},577578//============================================================================579//580// These parameters control the AsciiMath input jax.581//582AsciiMath: {583//584// Determines whether the unicode positions for phi and varphi are585// to be swapped or not. (Unicode originally had these reversed, and586// many fonts have them reversed as well.) When set to true, phi587// and varphi will correspond to the LaTeX macros of the same name.588//589fixphi: true,590591//592// Determines whether the MathML should be marked so that the HTML-CSS593// and SVG output jax will use MathML spacing rules rather than TeX594// spacing rules. Since AsciiMath was designed for MathML output, the595// MathML rules are used by default.596//597useMathMLspacing: true,598599//600// Determines whether limits are placed above and below operators,601// or next to them. (AsciiMath doesn't have separate in-line and602// display modes like TeX and MathML do, so this is the only control603// you have over its output)604//605displaystyle: true,606607//608// The character to use for decimal places when scanning for a number.609// If you change it to ",", beware of things like "(1,2)" which would need610// to be changed to "(1, 2)" to be parsed correctly.611//612decimal: "."613},614615//============================================================================616//617// These parameters control the MathML input jax.618//619MathML: {620//621// This specifies whether to use TeX spacing or MathML spacing when the622// HTML-CSS output jax is used.623//624useMathMLspacing: false625},626627//============================================================================628//629// These parameters control the HTML-CSS output jax.630//631"HTML-CSS": {632633//634// This controls the global scaling of mathematics as compared to the635// surrounding text. Values between 100 and 133 are usually good choices.636//637scale: 100,638639//640// Don't allow the matching of math text to surrounding text to use a scaling641// factor smaller than this.642//643minScaleAdjust: 50,644645//646// This is a list of the fonts to look for on a user's computer in647// preference to using MathJax's web-based fonts. These must648// correspond to directories available in the jax/output/HTML-CSS/fonts649// directory, where MathJax stores data about the characters available650// in the fonts. Set this to ["TeX"], for example, to prevent the651// use of the STIX fonts, or set it to an empty list, [], if652// you want to force MathJax to use web-based or image fonts.653//654availableFonts: ["STIX","TeX"],655656//657// This is the preferred font to use when more than one of those658// listed above is available.659//660preferredFont: "TeX",661662//663// This is the web-based font to use when none of the fonts listed664// above are available on the user's computer. Note that currently665// only the TeX font is available in a web-based form. Set this to666//667// webFont: null,668//669// if you want to prevent the use of web-based fonts.670//671webFont: "TeX",672673//674// This is the font to use for image fallback mode (when none of the675// fonts listed above are available and the browser doesn't support676// web-fonts via the @font-face CSS directive). Note that currently677// only the TeX font is available as an image font. Set this to678//679// imageFont: null,680//681// if you want to prevent the use of image fonts (e.g., you have not682// installed the image fonts on your server). In this case, only683// browsers that support web-based fonts will be able to view your pages684// without having the fonts installed on the client computer. The browsers685// that support web-based fonts include: IE6 and later, Chrome, Safari3.1686// and above, Firefox3.5 and later, and Opera10 and later. Note that687// Firefox3.0 is NOT on this list, so without image fonts, FF3.0 users688// will be required to to download and install either the STIX fonts or the689// MathJax TeX fonts.690//691imageFont: "TeX",692693//694// This is the font-family CSS value used for characters that are not695// in the selected font (e.g., for web-based fonts, this is where to696// look for characters not included in the MathJax_* fonts). IE will697// stop looking after the first font that exists on the system (even698// if it doesn't contain the needed character), so order these carefully.699//700undefinedFamily: "STIXGeneral,'Arial Unicode MS',serif",701702//703// This setting controls whether <mtext> elements will be typeset704// using the math fonts or the font of the surrounding text. When705// false, the mathvariant="normal" font will be used; when true,706// the font will be inherited from the surrounding paragraph.707//708mtextFontInherit: false,709710//711// These values control how "chunky" the display of mathematical712// expressions will be.713//714// EqnChunk is the number of equations that will be typeset before715// they appear on screen. Larger values make for less visual flicker716// as the equations are drawn, but also mean longer delays before the717// reader sees anything.718//719// EqChunkFactor is the factor by which the EqnChunk will grow after each720// chunk is displayed.721//722// EqChunkDelay is the time (in milliseconds) to delay between chunks723// (to allow the browser to respond to other user interaction).724//725// Set EqnChunk to 1, EqnChunkFactor to 1, and EqnChunkDelay to 10 to get726// the behavior from MathJax v1.1 and below.727//728EqnChunk: 50,729EqnChunkFactor: 1.5,730EqnChunkDelay: 100,731732//733// This option indicates whether MathJax should try to correct the734// x-height of equations to match the size of the surrounding text.735//736matchFontHeight: true,737738//739// When true, MathJax will not measure the widths or heights of the740// subexpressions as it creates its output, but instead will rely on741// its internal calculations based on the bounding boxes of the742// characters it uses, and will only take measurements when it743// absolutely has to. Since measurements cause display reflows, they744// slows down MathJax considerably, so without them MathJax runs745// faster, but can produce slightly less accurate character placements,746// especially in width fractions or roots.747//748noReflows: true,749750751//752// These settings control automatic line breaking. It is off by753// default, so only explicit line breaks are performed (via754// linebreak="newline" attributes on <mo> and <mspace> elements). To755// perform automatic line breaking on line expressions, set756// 'automatic' to 'true' below. The line breaks will be applied via a757// penalty-based heuristic, which does well, but isn't perfect. You758// might need to use linebreak="goodbreak" or linebreak="badbreak" by759// hand in order to get better effects. It is also possible to modify760// the penalty values; contact the MathJax user's forum for details.761//762linebreaks: {763764//765// This controls the automatic breaking of expressions:766// when false, only process linebreak="newline",767// when true, line breaks are inserted automatically in long expressions.768//769automatic: false,770771//772// This controls how wide the lines of mathematics can be773//774// Use an explicit width like "30em" for a fixed width.775// Use "container" to compute the size from the containing element.776// Use "nn% container" for a portion of the container.777// Use "nn%" for a portion of the window size.778//779// The container-based widths may be slower, and may not produce the780// expected results if the layout width changes due to the removal781// of previews or inclusion of mathematics during typesetting.782//783width: "container"784},785786//787// This allows you to define or modify the styles used to display788// various math elements created by MathJax.789//790// Example:791// styles: {792// ".MathJax .merror": {793// color: "#CC0000",794// border: "1px solid #CC0000"795// }796// }797//798styles: {},799800//801// Configuration for <maction> tooltips802// (see also the #MathJax_Tooltip CSS in MathJax/jax/output/HTML-CSS/config.js,803// which can be overridden using the styles values above).804//805tooltip: {806delayPost: 600, // milliseconds delay before tooltip is posted after mouseover807delayClear: 600, // milliseconds delay before tooltip is cleared after mouseout808offsetX: 10, offsetY: 5 // pixels to offset tooltip from mouse position809}810},811812//============================================================================813//814// These parameters control the NativeMML output jax.815//816NativeMML: {817818//819// This controls the global scaling of mathematics as compared to the820// surrounding text. Values between 100 and 133 are usually good choices.821//822scale: 100,823824//825// Don't allow the matching of math text to surrounding text to use a scaling826// factor smaller than this.827//828minScaleAdjust: 50,829830// This option indicates whether MathJax should try to correct the831// x-height of equations to match the size of the surrounding text.832matchFontHeight: true,833834//835// This allows you to define or modify the styles used to display836// various math elements created by MathJax.837//838// Example:839// styles: {840// ".MathJax_MathML": {841// color: "red" // MathML is in red842// }843// }844//845styles: {}846},847848//============================================================================849//850// These parameters control the SVG output jax.851//852"SVG": {853854//855// This controls the global scaling of mathematics as compared to the856// surrounding text. Values between 100 and 133 are usually good choices.857//858scale: 100,859860//861// Don't allow the matching of math text to surrounding text to use a scaling862// factor smaller than this.863//864minScaleAdjust: 50,865866//867// This specifies the font to use for SVG output (currently the only868// one available)869//870font: "TeX",871872//873// This is the stroke width to use for all character paths (1em = 1000874// units). This is a cheap way of getting slightly lighter or darker875// characters876//877blacker: 10,878879//880// This is the font-family CSS value used for characters that are not881// in the selected font. IE will stop looking after the first font882// that exists on the system (even if it doesn't contain the needed883// character), so order these carefully.884//885undefinedFamily: "STIXGeneral,'Arial Unicode MS',serif",886887//888// This setting controls whether <mtext> elements will be typeset889// using the math fonts or the font of the surrounding text. When890// false, the mathvariant="normal" font will be used; when true,891// the font will be inherited from the surrounding paragraph.892//893mtextFontInherit: false,894895//896// This controls whether the MathML structure is retained and CSS897// classes are added to mark the original MathML elements (as in the898// HTML-CSS output). By default, the SVG output jax removes unneeded899// nesting in order to produce a more efficient markup, but if you900// want to use CSS to style the elements as if they were MathML, you901// might need to set this to true.902//903addMMLclasses: false,904905//906// These values control how "chunky" the display of mathematical907// expressions will be.908//909// EqnChunk is the number of equations that will be typeset before910// they appear on screen. Larger values make for less visual flicker911// as the equations are drawn, but also mean longer delays before the912// reader sees anything.913//914// EqChunkFactor is the factor by which the EqnChunk will grow after each915// chunk is displayed.916//917// EqChunkDelay is the time (in milliseconds) to delay between chunks918// (to allow the browser to respond to other user interaction).919//920// Set EqnChunk to 1, EqnChunkFactor to 1, and EwnChunkDelay to 10 to get921// the behavior from MathJax v1.1 and below.922//923EqnChunk: 50,924EqnChunkFactor: 1.5,925EqnChunkDelay: 100,926927// This option indicates whether MathJax should try to correct the928// x-height of equations to match the size of the surrounding text.929matchFontHeight: true,930931//932// These settings control automatic line breaking. It is off by933// default, so only explicit line breaks are performed (via934// linebreak="newline" attributes on <mo> and <mspace> elements). To935// perform automatic line breaking on line expressions, set936// 'automatic' to 'true' below. The line breaks will be applied via a937// penalty-based heuristic, which does well, but isn't perfect. You938// might need to use linebreak="goodbreak" or linebreak="badbreak" by939// hand in order to get better effects. It is also possible to modify940// the penalty values; contact the MathJax user's forum for details.941//942linebreaks: {943944//945// This controls the automatic breaking of expressions:946// when false, only process linebreak="newline",947// when true, line breaks are inserted automatically in long expressions.948//949automatic: false,950951//952// This controls how wide the lines of mathematics can be953//954// Use an explicit width like "30em" for a fixed width.955// Use "container" to compute the size from the containing element.956// Use "nn% container" for a portion of the container.957// Use "nn%" for a portion of the window size.958//959// The container-based widths may be slower, and may not produce the960// expected results if the layout width changes due to the removal961// of previews or inclusion of mathematics during typesetting.962//963width: "container"964},965966//967// These are the styles used for merror elements in SVG output. Note968// that only a limited number of style attributes are supported by969// SVG, but you can at least change the colors and borders.970//971//972merrorStyle: {973fontSize:"90%", color:"#C00", background:"#FF8",974border: "1px solid #C00", padding:"3px"975},976977//978// This allows you to define or modify the styles used to display979// various math elements created by MathJax.980//981// Example:982// styles: {983// ".MathJax .merror": {984// color: "#CC0000",985// border: "1px solid #CC0000"986// }987// }988//989styles: {},990991//992// Configuration for <maction> tooltips993// (see also the #MathJax_Tooltip CSS in MathJax/jax/output/SVG/config.js,994// which can be overridden using the styles values above).995//996tooltip: {997delayPost: 600, // milliseconds delay before tooltip is posted after mouseover998delayClear: 600, // milliseconds delay before tooltip is cleared after mouseout999offsetX: 10, offsetY: 5 // pixels to offset tooltip from mouse position1000}1001},10021003//============================================================================1004//1005// These parameters control the contextual menus that are available on the1006// mathematics within the page (provided the showMathMenu value is true above).1007//1008MathMenu: {1009//1010// This is the hover delay for the display of submenus in the1011// contextual menu. When the mouse is still over a submenu label for1012// this long, the menu will appear. (The menu also will appear if you1013// click on the label.) It is in milliseconds.1014//1015delay: 150,10161017//1018// This is the URL for the MathJax Help menu item.1019//1020helpURL: "http://www.mathjax.org/help-v2/user/",10211022//1023// These control whether the "Math Renderer", "MathPlayer", "Font1024// Preferences", "Contextual Menu", and "Discoverable" menu items will1025// be displayed or not.1026//1027showRenderer: true,1028showMathPlayer: true,1029showFontMenu: false,1030showContext: false,1031showDiscoverable: false,10321033//1034// These are the settings for the Annotation menu. If the <math> root has1035// a <semantics> child that contains one of the following annotation1036// formats, the source will be available via the "Show Math As" menu.1037// Each format has a list of possible encodings.1038//1039semanticsAnnotations: {1040"TeX": ["TeX", "LaTeX", "application/x-tex"],1041"StarMath": ["StarMath 5.0"],1042"Maple": ["Maple"],1043"ContentMathML": ["MathML-Content", "application/mathml-content+xml"],1044"OpenMath": ["OpenMath"]1045},10461047//1048// These are the settings for the Show Source window. The initial1049// width and height will be reset after the source is shown in an1050// attempt to make the window fit the output better.1051//1052windowSettings: {1053status: "no", toolbar: "no", locationbar: "no", menubar: "no",1054directories: "no", personalbar: "no", resizable: "yes", scrollbars: "yes",1055width: 100, height: 501056},10571058//1059// This allows you to change the CSS that controls the menu1060// appearance. See the extensions/MathMenu.js file for details1061// of the default settings.1062//1063styles: {}10641065},10661067//============================================================================1068//1069// These parameters control the contextual menus that are available on the1070// mathematics within the page (provided the showMathMenu value is true above).1071//1072MathEvents: {1073//1074// This is the time required for the mouse to be held still over a1075// typeset equation in order for it to count as a hover (used when the1076// zoom trigger is "Hover"). It is in milliseconds.1077//1078hover: 5001079},10801081//============================================================================1082//1083// These parameters control the MMLorHTML configuration file.1084// NOTE: if you add MMLorHTML.js to the config array above,1085// you must REMOVE the output jax from the jax array.1086//1087MMLorHTML: {1088//1089// The output jax that is to be preferred when both are possible1090// (set to "MML" for native MathML, "HTML" for MathJax's HTML-CSS output jax).1091//1092prefer: {1093MSIE: "MML",1094Firefox: "HTML",1095Opera: "HTML",1096Safari: "HTML",1097Chrome: "HTML",1098other: "HTML"1099}1100}1101});11021103MathJax.Ajax.loadComplete("[MathJax]/config/default.js");110411051106