www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

sample-eqnum.html (1978B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <title>MathJax Equation Numbering</title>
      5 <!-- Copyright (c) 2012-2015 The MathJax Consortium -->
      6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
      7 <meta http-equiv="X-UA-Compatible" content="IE=edge" />
      8 <meta name="viewport" content="width=device-width, initial-scale=1">
      9 
     10 <script type="text/x-mathjax-config">
     11   MathJax.Hub.Config({ TeX: { equationNumbers: {autoNumber: "AMS"} } });
     12 </script>
     13 <script type="text/javascript" src="../MathJax.js?config=TeX-AMS_HTML"></script>
     14 
     15 <style>
     16 h1 {
     17   background: #CCCCCC;
     18   padding: .2em 1em;
     19   border-top: 3px solid #666666;
     20   border-bottom: 3px solid #999999;
     21 }
     22 </style>
     23 
     24 </head>
     25 <body>
     26 
     27 <center>
     28 <h1>A test of Equation Numbering</h1>
     29 </center>
     30 
     31 <div style="padding:0 2em">
     32 <hr>
     33 Equation:
     34 
     35 \begin{equation}
     36 E = mc^2
     37 \end{equation}
     38 
     39 Equation*:
     40 
     41 \begin{equation*}
     42 E = mc^2
     43 \end{equation*}
     44 
     45 <hr>
     46 Brackets:
     47 
     48 \[E = mc^2\]
     49 
     50 Brackets tagged:
     51 
     52 \[E = mc^2\tag{x}\]
     53 
     54 <hr>
     55 Split:
     56 
     57 \begin{equation}
     58 \begin{split} 
     59 a& =b+c-d\\ 
     60 & \quad +e-f\\ 
     61 & =g+h\\ 
     62 & =i 
     63 \end{split} 
     64 \end{equation} 
     65 
     66 <hr>
     67 Multline:
     68 
     69 \begin{multline}
     70   a+b+c+d+e+f+g\\
     71   M+N+O+P+Q\\
     72   R+S+T\\
     73   u+v+w+x+y+z
     74 \end{multline}
     75 
     76 Multline*:
     77 
     78 \begin{multline*}
     79   a+b+c+d+e+f+g\\
     80   M+N+O+P+Q\\
     81   R+S+T\\
     82   u+v+w+x+y+z
     83 \end{multline*}
     84 
     85 <hr>
     86 Gather:
     87 
     88 \begin{gather} 
     89 a_1=b_1+c_1\\ 
     90 a_2=b_2+c_2-d_2+e_2 
     91 \end{gather} 
     92 
     93 Gather*:
     94 
     95 \begin{gather*} 
     96 a_1=b_1+c_1\\ 
     97 a_2=b_2+c_2-d_2+e_2 
     98 \end{gather*} 
     99 
    100 <hr>
    101 Align:
    102 
    103 \begin{align} 
    104 a_1& =b_1+c_1\\ 
    105 a_2& =b_2+c_2-d_2+e_2 
    106 \end{align}
    107 
    108 Align*:
    109 
    110 \begin{align*} 
    111 a_1& =b_1+c_1\\ 
    112 a_2& =b_2+c_2-d_2+e_2 
    113 \end{align*}
    114 
    115 Align:
    116 
    117 \begin{align} 
    118 a_{11}& =b_{11}& a_{12}& =b_{12}\\ 
    119 a_{21}& =b_{21}& a_{22}& =b_{22}+c_{22} 
    120 \end{align}
    121 
    122 Align with \notag and \tag:
    123 
    124 \begin{align} 
    125 a_{11}& =b_{11}& a_{12}& =b_{12}\notag\\ 
    126 a_{21}& =b_{21}& a_{22}& =b_{22}+c_{22} \tag{y}
    127 \end{align}
    128 
    129 Align* with \tag:
    130 
    131 \begin{align*} 
    132 a_1& =b_1+c_1\tag{z}\\ 
    133 a_2& =b_2+c_2-d_2+e_2 
    134 \end{align*}
    135 
    136 </div>
    137 
    138 </body>
    139 </html>