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}', cis: '\\operatorname {cis}', Si: '\\operatorname {Si}', Li: '\\operatorname {Li}', Sinh: '\\operatorname {Sinh}', Cosh: '\\operatorname {Cosh}', Sech: '\\operatorname {Sech}', Csch: '\\operatorname {Csch}', Tanh: '\\operatorname {Tanh}', Coth: '\\operatorname {Coth}',

/* 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], ideal: ['{\\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 */ hcf: '\\operatorname {hcf}', rem: '\\, \\operatorname {rem} \\,', pr: '\\operatorname {pr}', tr: '\\operatorname {tr}', len: '\\operatorname {len}', sgn: '\\operatorname {sgn}', grad: '\\operatorname {grad}', dr: ['{\\operatorname {dr} \\paren {#1} }', 1], cl: ['{\\operatorname {cl} \\paren {#1} }', 1], var: ['{\\operatorname {var} \\paren {#1} }', 1], expect: ['{\\operatorname {E} \\paren {#1} }', 1], conjclass: ['{\\operatorname {C}_{#1} }', 1], Log: '\\operatorname {Log}', Ln: '\\operatorname {Ln}', On: '\\operatorname {On}', Area: '\\operatorname {Area}', Card: '\\operatorname {Card}', Poisson: ['{\\operatorname {Poisson} \\paren {#1} }', 1], Arg: ['{\\operatorname {Arg} \\paren {#1} }', 1], domain: ['{\\operatorname {Dom} \\paren {#1} }', 1], cont: ['{\\, \\operatorname {cont} \\paren {#1} }', 1], Dom: ['{\\operatorname {Dom} \\paren {#1} }', 1], Cdm: ['{\\operatorname {Cdm} \\paren {#1} }', 1], Rng: ['{\\operatorname {Rng} \\paren {#1} }', 1], adj: ['{\\operatorname {adj} \\paren {#1} }', 1], Img: ['{\\operatorname {Img} \\paren {#1} }', 1], Preimg: ['{\\operatorname {Img}^{-1} \\paren {#1} }', 1], image: ['{\\operatorname {Im} \\paren {#1} }', 1], Orb: ['{\\operatorname {Orb} \\paren {#1} }', 1], Stab: ['{\\operatorname {Stab} \\paren {#1} }', 1], Dic: ['{\\operatorname {Dic}_{#1} }', 1], GL: ['{\\operatorname {GL} \\paren {#1} }', 1], SL: ['{\\operatorname {SL} \\paren {#1} }', 1], Aut: ['{\\operatorname {Aut} \\paren {#1} }', 1], Gal: ['{\\operatorname {Gal} \\paren {#1} }', 1], Inn: ['{\\operatorname {Inn} \\paren {#1} }', 1], Fix: ['{\\operatorname {Fix} \\paren {#1} }', 1], Char: ['{\\operatorname {Char} \\paren {#1} }', 1], Res: ['{\\operatorname {Res} \\paren {#1, #2} }', 2], divides: '\\mathrel \\backslash', leadstoandfrom: '\\mathrel \\leftrightsquigarrow', degrees: '^\\circ', radians: '\\, \\mathrm {rad}', cels: '\\, \\degrees \\mathrm C', fahr: '\\, \\degrees \\mathrm F', Re: '\\operatorname {\\mathfrak {Re} }', Im: '\\operatorname {\\mathfrak {Im} }' }   } });