MediaWiki:MathJax.js

MathJax.Ajax.config.path["Contrib"] = "/MathJaxExtensions/legacy";

MathJax.Hub.Config({   extensions: ["tex2jax.js"],    jax: ["input/TeX", "output/HTML-CSS"],    tex2jax: {        inlineMath: [ ['$','$'], ["\\(","\\)"] ],        displayMath: [ ['$$','$$'], ["\\[","\\]"] ],        processEscapes: false,        element: "content",        ignoreClass: "(tex2jax_ignore|mw-search-results|searchresults|mw-code)",        skipTags: ["script","noscript","style","textarea","code", "pre"]    },    TeX: {      extensions: [ "AMSmath.js", "AMSsymbols.js", "[Contrib]/xyjax/xypic.js" ],      Macros: {        /* Wikipedia compatibility: these macros are used on Wikipedia */        empty: '\\varnothing',    /* ProofWiki preference for this symbol */        P: '\\unicode{xb6}',        Alpha: '\\unicode{x391}',        Beta: '\\unicode{x392}',        Epsilon: '\\unicode{x395}',        Zeta: '\\unicode{x396}',        Eta: '\\unicode{x397}',        Iota: '\\unicode{x399}', Kappa: '\\unicode{x39a}', Mu: '\\unicode{x39c}', Nu: '\\unicode{x39d}', Pi: '\\unicode{x3a0}', Rho: '\\unicode{x3a1}', Sigma: '\\unicode{x3a3}', Tau: '\\unicode{x3a4}', Chi: '\\unicode{x3a7}', C: '\\mathbb{C}',       /* the complex numbers */ N: '\\mathbb{N}',       /* the natural numbers */ Q: '\\mathbb{Q}',       /* the rational numbers */ R: '\\mathbb{R}',       /* the real numbers */ Z: '\\mathbb{Z}',       /* the integer numbers */ O: '\\varnothing',      /* the empty set */

/* some extra macros for ease of use; these are non-standard! */       F: '\\mathbb{F}',        /* a finite field */ HH: '\\mathcal{H}',     /* a Hilbert space */ bszero: '\\boldsymbol{0}', /* vector of zeros */ bsone: '\\boldsymbol{1}', /* vector of ones */ bst: '\\boldsymbol{t}',   /* a vector 't' */ bsv: '\\boldsymbol{v}',   /* a vector 'v' */ bsw: '\\boldsymbol{w}',   /* a vector 'w' */ bsx: '\\boldsymbol{x}',   /* a vector 'x' */ bsy: '\\boldsymbol{y}',   /* a vector 'y' */ bsz: '\\boldsymbol{z}',   /* a vector 'z' */ bsDelta: '\\boldsymbol{\\Delta}', /* a vector '\Delta' */ E: '\\mathrm{e}',         /* the exponential */ rd: '\\,\\mathrm{d}',     /* roman d for use in integrals: $\int f(x) \rd x$ */ d: '\\mathrm{d}',         /* roman d for use in derivatives: $\dfrac \d {\d x}$ */ rdelta: '\\,\\delta',     /* delta operator for use in sums */ rD: '\\mathrm{D}',        /* differential operator D */

/* example from MathJax on how to define macros with parameters: */ /* bold: ['{\\bf #1}', 1] */

RR: '\\mathbb{R}', ZZ: '\\mathbb{Z}', NN: '\\mathbb{N}', QQ: '\\mathbb{Q}', CC: '\\mathbb{C}', FF: '\\mathbb{F}',

lcm: '\\operatorname {lcm}',

/* Otherwise undefined trigometrical and hyperbolic functions */ sech: '\\operatorname {sech}', csch: '\\operatorname {csch}', arccot: '\\operatorname {arccot}', arccsc: '\\operatorname {arccsc}', arcsec: '\\operatorname {arcsec}', Si: '\\operatorname {Si}',

/* Bracketing constructs */ paren: ['{\\left({#1}\\right)}', 1], sqbrk: ['{\\, \\left[{#1}\\right]}', 1],

set: ['{\\left\\lbrace{#1}\\right\\rbrace}', 1], cmod: ['{\\left\\lvert{#1}\\right\\rvert}', 1], polar: ['{\\left\\langle{#1}\\right\\rangle}', 1], norm: ['{\\left\\lVert{#1}\\right\\rVert}', 1], floor: ['{\\left\\lfloor{#1}\\right\\rfloor}', 1], ceiling: ['{\\left\\lceil{#1}\\right\\rceil}', 1],

closedint: ['{\\left[{#1 \\,.\\,.\\, #2}\\right]}', 2], openint: ['{\\paren {#1 \\,.\\,.\\, #2} }', 2], hointl: ['{\\left({#1 \\,.\\,.\\, #2}\\right]}', 2],       hointr: ['{\\left[{#1 \\,.\\,.\\, #2}\\right)}', 2],

tuple: ['{\\paren {#1} }', 1], struct: ['{\\paren {#1} }', 1], sequence: ['{\\left\\langle{#1}\\right\\rangle}', 1], family: ['{\\left\\langle{#1}\\right\\rangle}', 1], gen: ['{\\left\\langle{#1}\\right\\rangle}', 1], eqclass: ['{\\left[\\!\\left[{#1}\\right]\\!\\right]_{#2} }', 2], index: ['{\\left[{#1 : #2}\\right]}', 2], order: ['{\\left\\lvert{#1}\\right\\rvert}', 1], size: ['{\\left\\lvert{#1}\\right\\rvert}', 1], card: ['{\\left\\lvert{#1}\\right\\rvert}', 1], fractpart: ['{\\left\\lbrace{#1}\\right\\rbrace}', 1], map: ['{ {#1} \\, \\paren {#2} }', 2],

Syl: ['{\\operatorname {Syl}_{#1} \\paren {#2} }', 2], relcomp: ['{\\operatorname {\\complement}_{#1} \\paren {#2} }', 2], laptrans: ['{\\operatorname {\\mathcal L} \\set {#1} }', 1], powerset: ['{\\operatorname {\\mathcal P} \\paren {#1} }', 1],

/* Miscellaneous */ pr: '\\operatorname {pr}', tr: '\\operatorname {tr}', len: '\\operatorname {len}', sgn: '\\operatorname {sgn}', var: ['{\\operatorname {var} \\paren {#1} }', 1], expect: ['{\\operatorname {E} \\paren {#1} }', 1], Log: '\\operatorname {Log}', Ln: '\\operatorname {Ln}', On: '\\operatorname {On}', Area: '\\operatorname {Area}', Card: '\\operatorname {Card}', domain: ['{\\operatorname {Dom} \\paren {#1} }', 1], Dom: ['{\\operatorname {Dom} \\paren {#1} }', 1], Cdm: ['{\\operatorname {Cdm} \\paren {#1} }', 1], Rng: ['{\\operatorname {Rng} \\paren {#1} }', 1], Img: ['{\\operatorname {Img} \\paren {#1} }', 1], Preimg: ['{\\operatorname {Img}^{-1} \\paren {#1} }', 1], image: ['{\\operatorname {Im} \\paren {#1} }', 1], GL: ['{\\operatorname {GL} \\paren {#1} }', 1], Aut: ['{\\operatorname {Aut} \\paren {#1} }', 1], Inn: ['{\\operatorname {Inn} \\paren {#1} }', 1], Fix: ['{\\operatorname {Fix} \\paren {#1} }', 1], divides: '\\mathrel \\backslash', degrees: '^\\circ', cels: '\\, \\degrees \\mathrm C', fahr: '\\, \\degrees \\mathrm F', Re: '\\operatorname {\\mathfrak {Re} }', Im: '\\operatorname {\\mathfrak {Im} }' }   } });