diff options
author | Paul Duncan <pabs@pablotron.org> | 2017-11-07 23:36:30 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2017-11-07 23:36:30 -0500 |
commit | 9a98e13af98db2801430c5c4062a822b66ad74a2 (patch) | |
tree | 35384dcf2a8e82852a5e6b0ce937feffaee10b21 /htdocs/index.html | |
parent | 4a6ad960f36051d88cf7a9f7425eac8a7a85b39d (diff) | |
download | mathy-9a98e13af98db2801430c5c4062a822b66ad74a2.tar.bz2 mathy-9a98e13af98db2801430c5c4062a822b66ad74a2.zip |
render cleanup, move examples to data
Diffstat (limited to 'htdocs/index.html')
-rw-r--r-- | htdocs/index.html | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/htdocs/index.html b/htdocs/index.html index 866b2a7..f1327fc 100644 --- a/htdocs/index.html +++ b/htdocs/index.html @@ -12,8 +12,8 @@ <body> <div id='editor'>\text{add latex here}</div> <div id='math-wrap'> - <div id='MathPreview'></div> - <div id='MathBuffer' style='visibility:hidden; position:absolute; top:0; left: 0'></div> + <div id='math-preview'></div> + <div id='math-buffer' style='visibility:hidden; position:absolute; top:0; left: 0'></div> </div> <div id='buttons' class='btn-toolbar'> @@ -36,7 +36,7 @@ <div class='btn-group btn-group-sm'> <a href='#' - id='btn-save' + id='save' class='btn btn-default' title='save' > @@ -113,37 +113,37 @@ x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \vec{a} \times \vec{b} & = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ \vec{a}_x & \vec{a}_y & \vec{a}_z \\ - \vec{b}_x & \vec{b}_y & \vec{b}_z + \vec{b}_x & \vec{b}_y & \vec{b}_z \end{vmatrix} \\ - - & = + + & = \begin{vmatrix} \vec{a}_y & \vec{a}_z \\ \vec{b}_y & \vec{b}_z - \end{vmatrix} \hat{i} - - + \end{vmatrix} \hat{i} - + \begin{vmatrix} \vec{a}_x & \vec{a}_z \\ \vec{b}_x & \vec{b}_z \end{vmatrix} \hat{j} + - + \begin{vmatrix} \vec{a}_x & \vec{a}_y \\ \vec{b}_x & \vec{b}_y \end{vmatrix} \hat{k} \\ - - & = + + & = (\vec{a}_y\vec{b}_z - \vec{a}_z\vec{b}_y)\hat{i} - (\vec{a}_x\vec{b}_z - \vec{a}_z\vec{b}_x)\hat{j} + (\vec{a}_x\vec{b}_y - \vec{a}_x\vec{b}_y)\hat{k} \\ - + & = \langle - \vec{a}_y\vec{b}_z - \vec{a}_z\vec{b}_y\text{, } - \vec{a}_x\vec{b}_z - \vec{a}_z\vec{b}_x\text{, } + \vec{a}_y\vec{b}_z - \vec{a}_z\vec{b}_y\text{, } + \vec{a}_x\vec{b}_z - \vec{a}_z\vec{b}_x\text{, } \vec{a}_x\vec{b}_y - \vec{a}_y\vec{b}_z \rangle \\ - + \vec{a} & = \langle2, 1, -1\rangle \\ \vec{b} & = \langle-3, 4, 1\rangle \\ \vec{a} \times \vec{b} & = \langle @@ -151,7 +151,7 @@ x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} (2)(1) - (-1)(-3), (2)(4) - (1)(-3) \rangle \\ - + & = \langle 5, 5, 11 \rangle \\ @@ -350,13 +350,14 @@ x &= \sqrt[3]{ </a><!-- btn --> </div><!-- btn-group --> </div><!-- btn-toolbar --> - + <script type="text/x-mathjax-config"> MathJax.Hub.Config({ showProcessingMessages: false, tex2jax: { inlineMath: [['$','$'],['\\(','\\)']] } }); </script> + <script type='text/javascript' src='js/data.js'></script> <script type='text/javascript' src='js/jquery-3.1.1.min.js'></script> <script type='text/javascript' src='js/bootstrap-3.3.7/js/bootstrap.min.js'></script> <script type='text/javascript' src='js/ace/ace.js' charset='utf-8'></script> |