{"id":377,"date":"2024-09-12T16:53:23","date_gmt":"2024-09-12T16:53:23","guid":{"rendered":"https:\/\/integrations.pressbooks.network\/steel\/?post_type=chapter&#038;p=377"},"modified":"2025-02-13T21:21:11","modified_gmt":"2025-02-13T21:21:11","slug":"mathjax-testing","status":"publish","type":"chapter","link":"https:\/\/integrations.pressbooks.network\/steel\/chapter\/mathjax-testing\/","title":{"raw":"MathJax testing","rendered":"MathJax testing"},"content":{"raw":"Gonna try a few things\r\n<h2>LaTeX delimiters<\/h2>\r\n\\( alpha A \\chi X\\)\r\n\r\n\\[sum_{i=0}^n i^2 = \\frac{(n^2+n)(2n+1)}{6}\\]\r\n<h2>Dollar signs<\/h2>\r\n$\\alpha A \\chi X $\r\n\r\n$\\sum_{i=0}^n i^2 = \\frac{(n^2+n)(2n+1)}{6}$\r\n<h2>Latex shortcodes<\/h2>\r\n[latex]alpha A \\chi X[\/latex]\r\n\r\n[latex]sum_{i=0}^n i^2 = \\frac{(n^2+n)(2n+1)}{6}[\/latex]\r\n<h2>Advanced packages<\/h2>\r\n<h3>ams<\/h3>\r\n\\[\r\n\\begin{align}\r\nE &amp;= mc^2 \\\\\r\nF &amp;= ma\r\n\\end{align}\r\n\\]\r\n<h3>mathtools<\/h3>\r\n\\[\r\n\\begin{gathered}\r\na \\coloneqq b + c \\\\\r\nx \\iff y\r\n\\end{gathered}\r\n\\]\r\n<h3>boldsymbol<\/h3>\r\n\\[\r\n\\boldsymbol{\\alpha + \\beta = \\gamma}\r\n\\]\r\n<h3>physics<\/h3>\r\n\\[\r\n\\dv{f}{x}, \\pdv{f}{x}, \\expval{A}, \\ket{\\psi}\r\n\\]\r\n<h3>braket<\/h3>\r\n\\[\r\n\\bra{\\psi} H \\ket{\\phi} = E \\braket{\\psi | \\phi}\r\n\\]\r\n<h3>mhchem<\/h3>\r\n\\[\r\n\\ce{2H2 + O2 -&gt; 2H2O}\r\n\\]\r\n<h3>textmacros<\/h3>\r\n\\[\r\n\\textbf{Bold} \\textit{Italic} \\textsc{SmallCaps} \\texttt{Monospace}\r\n\\]\r\n<h3>autobold<\/h3>\r\n\\[\r\n\\mathbf{A} + \\mathbf{B} = \\mathbf{C}\r\n\\]\r\n<h3>color<\/h3>\r\n\\[\r\n\\textcolor{red}{This is red text} \\quad \\color{blue}This is blue text\r\n\\]\r\n<h3>bbox<\/h3>\r\n\\[\r\n\\bbox[5px,border:1px solid red]{E=mc^2}\r\n\\]\r\n<h3>gensymb<\/h3>\r\n\\[\r\n90^\\circ, 100\\ohm, 5\\perthousand\r\n\\]\r\n<h3>unicode<\/h3>\r\n\\[\r\n\ud835\udc9c \u2286 \ud835\udd39, \ud835\udccd\u00b2 + \ud835\udcce\u00b2 = \ud835\udccf\u00b2\r\n\\]\r\n<h3>cancel<\/h3>\r\n\\[\r\n\\cancel{x} + 5 = 10\r\n\\]\r\n<h3>enclose<\/h3>\r\n\\[\r\n\\enclose{circle}{x}, \\enclose{box}{y}, \\enclose{updiagonalstrike}{z}\r\n\\]\r\n<h3>noerrors<\/h3>\r\n\\[\r\n\\text{If } x \\text{ is undefined, this will not break: } x_?\r\n\\]\r\n<h3>noundefined<\/h3>\r\n\\[\r\n\\text{Missing symbol: } \\undefinedsymbol\r\n\\]\r\n<h3>require<\/h3>\r\n\\[\r\n\\require{mhchem}\r\n\\ce{H2O}\r\n\\]\r\n<h3>tagformat<\/h3>\r\n\\[\r\n\\begin{equation}\r\nE = mc^2 \\tag{Einstein}\r\n\\end{equation}\r\n\\]\r\n<h2>Inline<\/h2>\r\n<h3>ams<\/h3>\r\n\\( \r\n\\begin{align}\r\n  E &= mc^2 \\\\\r\n  F &= ma\r\n\\end{align}\r\n\\)\r\n\r\n<h3>mathtools<\/h3>\r\n\\( \r\n\\begin{gathered}\r\n  a \\coloneqq b + c \\\\\r\n  x \\iff y\r\n\\end{gathered}\r\n\\)\r\n\r\n<h3>boldsymbol<\/h3>\r\n\\( \\boldsymbol{\\alpha + \\beta = \\gamma} \\)\r\n\r\n<h3>physics<\/h3>\r\n\\( \\dv{f}{x}, \\pdv{f}{x}, \\expval{A}, \\ket{\\psi} \\)\r\n\r\n<h3>braket<\/h3>\r\n\\( \\bra{\\psi} H \\ket{\\phi} = E \\braket{\\psi | \\phi} \\)\r\n\r\n<h3>mhchem<\/h3>\r\n\\( \\ce{2H2 + O2 -> 2H2O} \\)\r\n\r\n<h3>textmacros<\/h3>\r\n\\( \\textbf{Bold} \\textit{Italic} \\textsc{SmallCaps} \\texttt{Monospace} \\)\r\n\r\n<h3>autobold<\/h3>\r\n\\( \\mathbf{A} + \\mathbf{B} = \\mathbf{C} \\)\r\n\r\n<h3>color<\/h3>\r\n\\( \\textcolor{red}{This is red text} \\quad \\color{blue}This is blue text \\)\r\n\r\n<h3>bbox<\/h3>\r\n\\( \\bbox[5px,border:1px solid red]{E=mc^2} \\)\r\n\r\n<h3>gensymb<\/h3>\r\n\\( 90^\\circ, 100\\ohm, 5\\perthousand \\)\r\n\r\n<h3>unicode<\/h3>\r\n\\( \ud835\udc9c \u2286 \ud835\udd39, \ud835\udccd\u00b2 + \ud835\udcce\u00b2 = \ud835\udccf\u00b2 \\)\r\n\r\n<h3>cancel<\/h3>\r\n\\( \\cancel{x} + 5 = 10 \\)\r\n\r\n<h3>enclose<\/h3>\r\n\\( \\enclose{circle}{x}, \\enclose{box}{y}, \\enclose{updiagonalstrike}{z} \\)\r\n\r\n<h3>noerrors<\/h3>\r\n\\( \\text{If } x \\text{ is undefined, this will not break: } x_? \\)\r\n\r\n<h3>noundefined<\/h3>\r\n\\( \\text{Missing symbol: } \\undefinedsymbol \\)\r\n\r\n<h3>require<\/h3>\r\n\\( \\require{mhchem} \\ce{H2O} \\)\r\n\r\n<h3>tagformat<\/h3>\r\n\\( \r\n\\begin{equation}\r\n  E = mc^2 \\tag{Einstein}\r\n\\end{equation}\r\n\\)\r\n\r\n","rendered":"<p>Gonna try a few things<\/p>\n<h2>LaTeX delimiters<\/h2>\n<p>\\( alpha A \\chi X\\)<\/p>\n<p>\\[sum_{i=0}^n i^2 = \\frac{(n^2+n)(2n+1)}{6}\\]<\/p>\n<h2>Dollar signs<\/h2>\n<p>$\\alpha A \\chi X $<\/p>\n<p>$\\sum_{i=0}^n i^2 = \\frac{(n^2+n)(2n+1)}{6}$<\/p>\n<h2>Latex shortcodes<\/h2>\n<p>[latex]alpha A \\chi X[\/latex]<\/p>\n<p>[latex]sum_{i=0}^n i^2 = \\frac{(n^2+n)(2n+1)}{6}[\/latex]<\/p>\n<h2>Advanced packages<\/h2>\n<h3>ams<\/h3>\n<p>\\[<br \/>\n\\begin{align}<br \/>\nE &amp;= mc^2 \\\\<br \/>\nF &amp;= ma<br \/>\n\\end{align}<br \/>\n\\]<\/p>\n<h3>mathtools<\/h3>\n<p>\\[<br \/>\n\\begin{gathered}<br \/>\na \\coloneqq b + c \\\\<br \/>\nx \\iff y<br \/>\n\\end{gathered}<br \/>\n\\]<\/p>\n<h3>boldsymbol<\/h3>\n<p>\\[<br \/>\n\\boldsymbol{\\alpha + \\beta = \\gamma}<br \/>\n\\]<\/p>\n<h3>physics<\/h3>\n<p>\\[<br \/>\n\\dv{f}{x}, \\pdv{f}{x}, \\expval{A}, \\ket{\\psi}<br \/>\n\\]<\/p>\n<h3>braket<\/h3>\n<p>\\[<br \/>\n\\bra{\\psi} H \\ket{\\phi} = E \\braket{\\psi | \\phi}<br \/>\n\\]<\/p>\n<h3>mhchem<\/h3>\n<p>\\[<br \/>\n\\ce{2H2 + O2 -&gt; 2H2O}<br \/>\n\\]<\/p>\n<h3>textmacros<\/h3>\n<p>\\[<br \/>\n\\textbf{Bold} \\textit{Italic} \\textsc{SmallCaps} \\texttt{Monospace}<br \/>\n\\]<\/p>\n<h3>autobold<\/h3>\n<p>\\[<br \/>\n\\mathbf{A} + \\mathbf{B} = \\mathbf{C}<br \/>\n\\]<\/p>\n<h3>color<\/h3>\n<p>\\[<br \/>\n\\textcolor{red}{This is red text} \\quad \\color{blue}This is blue text<br \/>\n\\]<\/p>\n<h3>bbox<\/h3>\n<p>\\[<br \/>\n\\bbox[5px,border:1px solid red]{E=mc^2}<br \/>\n\\]<\/p>\n<h3>gensymb<\/h3>\n<p>\\[<br \/>\n90^\\circ, 100\\ohm, 5\\perthousand<br \/>\n\\]<\/p>\n<h3>unicode<\/h3>\n<p>\\[<br \/>\n\ud835\udc9c \u2286 \ud835\udd39, \ud835\udccd\u00b2 + \ud835\udcce\u00b2 = \ud835\udccf\u00b2<br \/>\n\\]<\/p>\n<h3>cancel<\/h3>\n<p>\\[<br \/>\n\\cancel{x} + 5 = 10<br \/>\n\\]<\/p>\n<h3>enclose<\/h3>\n<p>\\[<br \/>\n\\enclose{circle}{x}, \\enclose{box}{y}, \\enclose{updiagonalstrike}{z}<br \/>\n\\]<\/p>\n<h3>noerrors<\/h3>\n<p>\\[<br \/>\n\\text{If } x \\text{ is undefined, this will not break: } x_?<br \/>\n\\]<\/p>\n<h3>noundefined<\/h3>\n<p>\\[<br \/>\n\\text{Missing symbol: } \\undefinedsymbol<br \/>\n\\]<\/p>\n<h3>require<\/h3>\n<p>\\[<br \/>\n\\require{mhchem}<br \/>\n\\ce{H2O}<br \/>\n\\]<\/p>\n<h3>tagformat<\/h3>\n<p>\\[<br \/>\n\\begin{equation}<br \/>\nE = mc^2 \\tag{Einstein}<br \/>\n\\end{equation}<br \/>\n\\]<\/p>\n<h2>Inline<\/h2>\n<h3>ams<\/h3>\n<p>\\(<br \/>\n\\begin{align}<br \/>\n  E &#38;= mc^2 \\\\<br \/>\n  F &#38;= ma<br \/>\n\\end{align}<br \/>\n\\)<\/p>\n<h3>mathtools<\/h3>\n<p>\\(<br \/>\n\\begin{gathered}<br \/>\n  a \\coloneqq b + c \\\\<br \/>\n  x \\iff y<br \/>\n\\end{gathered}<br \/>\n\\)<\/p>\n<h3>boldsymbol<\/h3>\n<p>\\( \\boldsymbol{\\alpha + \\beta = \\gamma} \\)<\/p>\n<h3>physics<\/h3>\n<p>\\( \\dv{f}{x}, \\pdv{f}{x}, \\expval{A}, \\ket{\\psi} \\)<\/p>\n<h3>braket<\/h3>\n<p>\\( \\bra{\\psi} H \\ket{\\phi} = E \\braket{\\psi | \\phi} \\)<\/p>\n<h3>mhchem<\/h3>\n<p>\\( \\ce{2H2 + O2 -&gt; 2H2O} \\)<\/p>\n<h3>textmacros<\/h3>\n<p>\\( \\textbf{Bold} \\textit{Italic} \\textsc{SmallCaps} \\texttt{Monospace} \\)<\/p>\n<h3>autobold<\/h3>\n<p>\\( \\mathbf{A} + \\mathbf{B} = \\mathbf{C} \\)<\/p>\n<h3>color<\/h3>\n<p>\\( \\textcolor{red}{This is red text} \\quad \\color{blue}This is blue text \\)<\/p>\n<h3>bbox<\/h3>\n<p>\\( \\bbox[5px,border:1px solid red]{E=mc^2} \\)<\/p>\n<h3>gensymb<\/h3>\n<p>\\( 90^\\circ, 100\\ohm, 5\\perthousand \\)<\/p>\n<h3>unicode<\/h3>\n<p>\\( \ud835\udc9c \u2286 \ud835\udd39, \ud835\udccd\u00b2 + \ud835\udcce\u00b2 = \ud835\udccf\u00b2 \\)<\/p>\n<h3>cancel<\/h3>\n<p>\\( \\cancel{x} + 5 = 10 \\)<\/p>\n<h3>enclose<\/h3>\n<p>\\( \\enclose{circle}{x}, \\enclose{box}{y}, \\enclose{updiagonalstrike}{z} \\)<\/p>\n<h3>noerrors<\/h3>\n<p>\\( \\text{If } x \\text{ is undefined, this will not break: } x_? \\)<\/p>\n<h3>noundefined<\/h3>\n<p>\\( \\text{Missing symbol: } \\undefinedsymbol \\)<\/p>\n<h3>require<\/h3>\n<p>\\( \\require{mhchem} \\ce{H2O} \\)<\/p>\n<h3>tagformat<\/h3>\n<p>\\(<br \/>\n\\begin{equation}<br \/>\n  E = mc^2 \\tag{Einstein}<br \/>\n\\end{equation}<br \/>\n\\)<\/p>\n","protected":false},"author":14,"menu_order":32,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":"","_candela_citation":"[]"},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-377","chapter","type-chapter","status-publish","hentry"],"part":3,"_links":{"self":[{"href":"https:\/\/integrations.pressbooks.network\/steel\/wp-json\/pressbooks\/v2\/chapters\/377","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/integrations.pressbooks.network\/steel\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/integrations.pressbooks.network\/steel\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/integrations.pressbooks.network\/steel\/wp-json\/wp\/v2\/users\/14"}],"version-history":[{"count":12,"href":"https:\/\/integrations.pressbooks.network\/steel\/wp-json\/pressbooks\/v2\/chapters\/377\/revisions"}],"predecessor-version":[{"id":398,"href":"https:\/\/integrations.pressbooks.network\/steel\/wp-json\/pressbooks\/v2\/chapters\/377\/revisions\/398"}],"part":[{"href":"https:\/\/integrations.pressbooks.network\/steel\/wp-json\/pressbooks\/v2\/parts\/3"}],"metadata":[{"href":"https:\/\/integrations.pressbooks.network\/steel\/wp-json\/pressbooks\/v2\/chapters\/377\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/integrations.pressbooks.network\/steel\/wp-json\/wp\/v2\/media?parent=377"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/integrations.pressbooks.network\/steel\/wp-json\/pressbooks\/v2\/chapter-type?post=377"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/integrations.pressbooks.network\/steel\/wp-json\/wp\/v2\/contributor?post=377"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/integrations.pressbooks.network\/steel\/wp-json\/wp\/v2\/license?post=377"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}