Notes to Myself re: MathJax version 2

MathJax v3 is enabled for this page

See how all the MathJax code below works with MathJax v2 enabled

This page is configured as follows:

On this Page

Inline Delimiters

$\rm\LaTeX$-MathJax Code As Rendered by Browser
[text] $ y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890 $ [text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. $ y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890 $ Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
[text]$ \tag{inlineA} y = 1234x^4 + 5678x^3\\ - 9012x^2 + 3456x\\ - 7890 $[text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. $ \tag{inlineA} y = 1234x^4 + 5678x^3\\ - 9012x^2 + 3456x\\ - 7890 $ Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
[text]$ \tag{inlineB} \label{inlineB} y = 1234x^4 + 5678x^3\\ - 9012x^2 + 3456x\\ - 7890 $[text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. $ \tag{inlineB} \label{inlineB} y = 1234x^4 + 5678x^3\\ - 9012x^2 + 3456x\\ - 7890 $ Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
[text] $ y = 1234x^4 + 5678x^3\\ - 9012x^2 + 3456x\\ - 7890 $ [text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. $ y = 1234x^4 + 5678x^3\\ - 9012x^2 + 3456x\\ - 7890 $ Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
[text] $ y &= 1234x^4 + 5678x^3\\ &- 9012x^2 + 3456x\\ &- 7890 $ [text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. $ y &= 1234x^4 + 5678x^3\\ &- 9012x^2 + 3456x\\ &- 7890 $ Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
Equation \ref{inlineB} Equation \ref{inlineB}
Equation \eqref{inlineB} Equation \eqref{inlineB}

Block Delimiter (Displayed Mathematics)

$\rm\LaTeX$-MathJax Code As Rendered by Browser
[text] $$ y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890 $$ [text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. $$ y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890 $$ Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
[text] $$ y = 1234x^4 + 5678x^3\\ - 9012x^2 + 3456x\\ - 7890 \tag{blockA} $$ [text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. $$ y = 1234x^4 + 5678x^3\\ - 9012x^2 + 3456x\\ - 7890 \tag{blockA} $$ Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
[text] $$ y = 1234x^4 + 5678x^3\\ - 9012x^2 + 3456x\\ - 7890 \tag{blockB} \label{blockB} $$ [text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. $$ y = 1234x^4 + 5678x^3\\ - 9012x^2 + 3456x\\ - 7890 \tag{blockB} \label{blockB} $$ Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
[text] $$ y &= 1234x^4 + 5678x^3\\ &- 9012x^2 + 3456x\\ &- 7890 $$ [text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. $$ y &= 1234x^4 + 5678x^3\\ &- 9012x^2 + 3456x\\ &- 7890 $$ Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
Equation \ref{blockB} Equation \ref{blockB}
Equation \eqref{blockB} Equation \eqref{blockB}

Equation Environment and Automatic Equation Numbering

$\rm\LaTeX$-MathJax Code As Rendered by Browser
[text] \begin{equation} \label{equationA} y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890 \end{equation}[text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. \begin{equation} \label{equationA} y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890 \end{equation} Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
[text] \begin{equation*} y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890 \end{equation*} [text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. \begin{equation*} y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890 \end{equation*} Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
[text] \begin{equation} y = 1234x^4 + 5678x^3\\ - 9012x^2 + 3456x\\ - 7890 \label{equationB} \end{equation}[text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. \begin{equation} y = 1234x^4 + 5678x^3\\ - 9012x^2 + 3456x\\ - 7890 \label{equationB} \end{equation} Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
[text] \begin{equation} y &= 1234x^4 + 5678x^3\\ &- 9012x^2 + 3456x\\ &- 7890 \end{equation}[text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. \begin{equation} y &= 1234x^4 + 5678x^3\\ &- 9012x^2 + 3456x\\ &- 7890 \end{equation} Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
Equation \ref{equationA} Equation \ref{equationA}
Equation \eqref{equationA} Equation \eqref{equationA}
Equation \ref{equationB} Equation \ref{equationB}
Equation \eqref{equationB} Equation \eqref{equationB}

Gather Environment

$\rm\LaTeX$-MathJax Code As Rendered by Browser
[text] \begin{gather} y = 1234x^4 + 5678x^3 \label{gatherA} \\ - 9012x^2 + 3456x \label{gatherB} \\ - 7890 \label{gatherC} \end{gather}[text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. \begin{gather} y = 1234x^4 + 5678x^3 \label{gatherA} \\ - 9012x^2 + 3456x \label{gatherB} \\ - 7890 \label{gatherC} \end{gather} Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
[text] \begin{gather*} y = 1234x^4 + 5678x^3\\ - 9012x^2 + 3456x\\ - 7890 \end{gather*} [text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. \begin{gather*} y = 1234x^4 + 5678x^3\\ - 9012x^2 + 3456x\\ - 7890 \end{gather*} Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
[text] \begin{gather} y &= 1234x^4 + 5678x^3\\ &- 9012x^2 + 3456x\\ &- 7890 \end{gather}[text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. \begin{gather} y &= 1234x^4 + 5678x^3\\ &- 9012x^2 + 3456x\\ &- 7890 \end{gather} Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
Equation \eqref{gatherA} Equation \eqref{gatherA}
Equation \eqref{gatherB} Equation \eqref{gatherB}
Equation \eqref{gatherC} Equation \eqref{gatherC}

Split and Aligned Environments—An Equation Over Several Lines

$\rm\LaTeX$-MathJax Code As Rendered by Browser
[text] \begin{split} y = 1234x^4 + 5678x^3\\ - 9012x^2 + 3456x\\ - 7890 \end{split}[text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. \begin{split} y = 1234x^4 + 5678x^3\\ - 9012x^2 + 3456x\\ - 7890 \end{split} Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
[text] \begin{split} y &= 1234x^4 + 5678x^3\\ &- 9012x^2 + 3456x\\ &- 7890 \end{split}[text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. \begin{split} y &= 1234x^4 + 5678x^3\\ &- 9012x^2 + 3456x\\ &- 7890 \end{split} Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
[text]$ \begin{split} y &= 1234x^4 + 5678x^3\\ &- 9012x^2 + 3456x\\ &- 7890 \end{split} $[text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. $ \begin{split} y &= 1234x^4 + 5678x^3\\ &- 9012x^2 + 3456x\\ &- 7890 \end{split} $ Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
[text] \begin{equation} \begin{split} y &= 1234x^4 + 5678x^3\\ &- 9012x^2 + 3456x\\ &- 7890 \end{split} \label{splitA} \end{equation}[text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. \begin{equation} \begin{split} y &= 1234x^4 + 5678x^3\\ &- 9012x^2 + 3456x\\ &- 7890 \end{split} \label{splitA} \end{equation} Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
Equation \ref{splitA} Equation \ref{splitA}
Equation \eqref{splitA} Equation \eqref{splitA}
$\rm\LaTeX$-MathJax Code As Rendered by Browser
[text] \begin{aligned} y = 1234x^4 + 5678x^3\\ - 9012x^2 + 3456x\\ - 7890 \end{aligned}[text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. \begin{aligned} y = 1234x^4 + 5678x^3\\ - 9012x^2 + 3456x\\ - 7890 \end{aligned} Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
[text] \begin{aligned} y &= 1234x^4 + 5678x^3\\ &- 9012x^2 + 3456x\\ &- 7890 \end{aligned}[text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. \begin{aligned} y &= 1234x^4 + 5678x^3\\ &- 9012x^2 + 3456x\\ &- 7890 \end{aligned} Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
[text]$ \begin{aligned} y &= 1234x^4 + 5678x^3\\ &- 9012x^2 + 3456x\\ &- 7890 \end{aligned} $[text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. $ \begin{aligned} y &= 1234x^4 + 5678x^3\\ &- 9012x^2 + 3456x\\ &- 7890 \end{aligned} $ Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
[text] \begin{equation} \begin{aligned} y &= 1234x^4 + 5678x^3\\ &- 9012x^2 + 3456x\\ &- 7890 \end{aligned} \label{alignedA} \end{equation}[text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. \begin{equation} \begin{aligned} y &= 1234x^4 + 5678x^3\\ &- 9012x^2 + 3456x\\ &- 7890 \end{aligned} \label{alignedA} \end{equation} Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
Equation \ref{alignedA} Equation \ref{alignedA}
Equation \eqref{alignedA} Equation \eqref{alignedA}

Align Environment—Multiple Equations Over Several Lines

$\rm\LaTeX$-MathJax Code As Rendered by Browser
[text] \begin{align} y &= 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890 \label{alignA} \\ z &= 98x + 76 \label{alignB} \\ 5.4x^2 - 3x &= w - 21 \label{alignC} \end{align}[text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. \begin{align} y &= 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890 \label{alignA} \\ z &= 98x + 76 \label{alignB} \\ 5.4x^2 - 3x &= w - 21 \label{alignC} \end{align} Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
[text] \begin{align*} y &= 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890 \\ z &= 98x + 76 \\ 5.4x^2 - 3x &= w - 21 \end{align*}[text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. \begin{align*} y &= 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890 \\ z &= 98x + 76 \\ 5.4x^2 - 3x &= w - 21 \end{align*} Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
[text] $ \begin{align*} y &= 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890 \\ z &= 98x + 76 \\ 5.4x^2 - 3x &= w - 21 \end{align*} $[text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. $ \begin{align*} y &= 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890 \\ z &= 98x + 76 \\ 5.4x^2 - 3x &= w - 21 \end{align*} $ Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
Equation \eqref{alignA} Equation \eqref{alignA}
Equation \eqref{alignB} Equation \eqref{alignB}
Equation \eqref{alignC} Equation \eqref{alignC}

Adding and Reducing Spaces

$\rm\LaTeX$-MathJax Code As Rendered by Browser
$ y = 1234x^4 + 5678x^3\\ \ \ - 9012x^2 + 3456x\\ \ \ - 7890 $ $ y = 1234x^4 + 5678x^3\\ \ \ - 9012x^2 + 3456x\\ \ \ - 7890 $
$ y = 1234x^4 + 5678x^3\\ \quad - 9012x^2 + 3456x\\ \quad - 7890 $ $ y = 1234x^4 + 5678x^3\\ \quad - 9012x^2 + 3456x\\ \quad - 7890 $
$ y = 1234x^4 + 5678x^3\\ \qquad - 9012x^2 + 3456x\\ \qquad - 7890 $ $ y = 1234x^4 + 5678x^3\\ \qquad - 9012x^2 + 3456x\\ \qquad - 7890 $
$$ 6.0221409\times10^{23} \mathrm{mol}^{-1} $$ $$ 6.0221409\!\times\!10^{23} \ \mathrm{mol}^{-1} $$ $$ 6.0221409\times10^{23} \mathrm{mol}^{-1} $$ $$ 6.0221409\!\times\!10^{23} \ \mathrm{mol}^{-1} $$

Cancel Commands

$\rm\LaTeX$-MathJax Code As Rendered by Browser
$$ \cancel{y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890} $$ $$ \bcancel{y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890} $$ $$ \xcancel{y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890} $$ $$ \cancel{y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890} $$ $$ \bcancel{y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890} $$ $$ \xcancel{y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890} $$

Background Colors and Borders

$\rm\LaTeX$-MathJax Code As Rendered by Browser
[text] \begin{equation} \label{backgroundA} \bbox[#fd0,10px] { y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890} \end{equation}[text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. \begin{equation} \label{backgroundA} \bbox[#fd0,10px] { y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890} \end{equation} Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
[text] $ \bbox[lime,10px] {y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890} $ [text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. $ \bbox[lime,10px] {y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890} $ Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
[text] $$ \bbox[#a9c8d7,10px] {y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890} $$ [text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. $$ \bbox[#a9c8d7,10px] {y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890} $$ Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
[text] \begin{equation} \label{borderA} \bbox[border: 5px solid blue] { y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890} \end{equation}[text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. \begin{equation} \label{borderA} \bbox[border: 5px solid blue] { y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890} \end{equation} Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
[text] \begin{equation} \label{borderB} \bbox[10px, border: 5px solid blue] { y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890} \end{equation}[text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. \begin{equation} \label{borderB} \bbox[10px, border: 5px solid blue] { y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890} \end{equation} Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
[text] \begin{equation} \label{borderC} \bbox[#aaa, 10px, border: 5px solid blue] { y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890} \end{equation}[text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. \begin{equation} \label{borderC} \bbox[#aaa, 10px, border: 5px solid blue] { y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890} \end{equation} Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
Equation \ref{backgroundA} Equation \ref{backgroundA}
Equation \eqref{backgroundA} Equation \eqref{backgroundA}
Equation \ref{borderC} Equation \ref{borderC}
Equation \eqref{borderC} Equation \eqref{borderC}

Colors

$\rm\LaTeX$-MathJax Code As Rendered by Browser
[text] $ \color{red} {y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890} $ [text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. $ \color{red} {y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890} $ Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
[text] $$ \color{#567} {y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890} $$ [text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. $$ \color{#3a3} {y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890} $$ Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
[text] \begin{equation} \color{rgb(100,50,200)} { y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890 \label{colorA} } \end{equation}[text] Bacon ipsum dolor amet picanha bacon pig beef ribs. Pancetta ham prosciutto, fatback rump turkey pork loin meatball. \begin{equation} \color{rgb(100,50,200)} { y = 1234x^4 + 5678x^3 - 9012x^2 + 3456x - 7890} \label{colorA} \end{equation} Cow salami biltong pig t-bone tenderloin meatloaf beef ribs alcatra buffalo pastrami.
Equation \ref{colorA} Equation \ref{colorA}
Equation \eqref{colorA} Equation \eqref{colorA}

Styling Using CSS

$\rm\LaTeX$-MathJax Code As Rendered by Browser
<style> .cssByClass { border: 2px dashed #f00; padding: 1em 0.5em; color: blue; font-size: larger; } </style> $$ \class{cssByClass}{z = 98x + 76} $$ $$ \class{cssByClass}{z = 98x + 76} $$
<style> #cssById { border-top: 5px solid brown; border-bottom: 2px solid black; padding: 0.5rem 5rem; background: greenyellow; color: gray; } </style> $$ \cssId{cssById}{z = 98x + 76} $$ $$ \cssId{cssById}{z = 98x + 76} $$
$$ \style{color: green; background: tan; padding: 1rem}{z = 98x + 76} $$ $$ \style{color: green; background: tan; padding: 1rem}{z = 98x + 76} $$

"$ \rm\LaTeX $" typography in MathJax

$\rm\LaTeX$-MathJax Code As Rendered by Browser
$$ \LaTeX \\ \rm\LaTeX \\ \mathrm{\LaTeX} \\ \rm\large\LaTeX \\ \mathrm{\large\LaTeX} \\ \rm\Large\LaTeX \\ \mathrm{\Large\LaTeX} $$ \LaTeX \\ \rm\LaTeX \\ \mathrm{\LaTeX} \\ \rm\large\LaTeX \\ \mathrm{\large\LaTeX} \\ \rm\Large\LaTeX \\ \mathrm{\Large\LaTeX} $$
$$ \TeX \\ \rm\TeX \\ \mathrm{\TeX} \\ \rm\large\TeX \\ \mathrm{\large\TeX} \\ \rm\Large\TeX \\ \mathrm{\Large\TeX} $$ $$ \TeX \\ \rm\TeX \\ \mathrm{\TeX} \\ \rm\large\TeX \\ \mathrm{\large\TeX} \\ \rm\Large\TeX \\ \mathrm{\Large\TeX} $$