123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>MathJax Equation Numbering</title>
- <!-- Copyright (c) 2012-2013 The MathJax Consortium -->
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
- <script type="text/x-mathjax-config">
- MathJax.Hub.Config({ TeX: { equationNumbers: {autoNumber: "AMS"} } });
- </script>
- <script type="text/javascript" src="../MathJax.js?config=TeX-AMS_HTML"></script>
- <style>
- h1 {
- background: #CCCCCC;
- padding: .2em 1em;
- border-top: 3px solid #666666;
- border-bottom: 3px solid #999999;
- }
- </style>
- </head>
- <body>
- <center>
- <h1>A test of Equation Numbering</h1>
- </center>
- <div style="padding:0 2em">
- <hr>
- Equation:
- \begin{equation}
- E = mc^2
- \end{equation}
- Equation*:
- \begin{equation*}
- E = mc^2
- \end{equation*}
- <hr>
- Brackets:
- \[E = mc^2\]
- Brackets tagged:
- \[E = mc^2\tag{x}\]
- <hr>
- Split:
- \begin{equation}
- \begin{split}
- a& =b+c-d\\
- & \quad +e-f\\
- & =g+h\\
- & =i
- \end{split}
- \end{equation}
- <hr>
- Multline:
- \begin{multline}
- a+b+c+d+e+f+g\\
- M+N+O+P+Q\\
- R+S+T\\
- u+v+w+x+y+z
- \end{multline}
- Multline*:
- \begin{multline*}
- a+b+c+d+e+f+g\\
- M+N+O+P+Q\\
- R+S+T\\
- u+v+w+x+y+z
- \end{multline*}
- <hr>
- Gather:
- \begin{gather}
- a_1=b_1+c_1\\
- a_2=b_2+c_2-d_2+e_2
- \end{gather}
- Gather*:
- \begin{gather*}
- a_1=b_1+c_1\\
- a_2=b_2+c_2-d_2+e_2
- \end{gather*}
- <hr>
- Align:
- \begin{align}
- a_1& =b_1+c_1\\
- a_2& =b_2+c_2-d_2+e_2
- \end{align}
- Align*:
- \begin{align*}
- a_1& =b_1+c_1\\
- a_2& =b_2+c_2-d_2+e_2
- \end{align*}
- Align:
- \begin{align}
- a_{11}& =b_{11}& a_{12}& =b_{12}\\
- a_{21}& =b_{21}& a_{22}& =b_{22}+c_{22}
- \end{align}
- Align with \notag and \tag:
- \begin{align}
- a_{11}& =b_{11}& a_{12}& =b_{12}\notag\\
- a_{21}& =b_{21}& a_{22}& =b_{22}+c_{22} \tag{y}
- \end{align}
- Align* with \tag:
- \begin{align*}
- a_1& =b_1+c_1\tag{z}\\
- a_2& =b_2+c_2-d_2+e_2
- \end{align*}
- </div>
- </body>
- </html>
|