Posted By

deepsoul on 08/02/09


Tagged

LaTeX equations


Versions (?)

Put LaTeX equations into HTML


 / Published in: HTML
 

URL: http://folk.uio.no/martingu/gladtex/

The preprocessor gladtex allows you to put LaTeX equations into HTML files. I have found its output neater than that of other such formatters.

  1. <!-- displayed equation: -->
  2. <center><eq>
  3. U = \sum\limits_{s_1\in S_1} \sum\limits_{s_2\in S_2}
  4. \left\{ \begin{matrix} 1 & \hbox{if } s_1 > s_2 \cr
  5. 0 & \hbox{otherwise}\hfill\end{matrix} \right.
  6. </eq></center>
  7.  
  8. <!-- inline equation: -->
  9. <p>
  10. Consider the binomial coefficient <eq>\textstyle \left(2\;m \atop m\right)</eq>.
  11. </p>
  12.  
  13. <!-- running gladtex will render the equations as images and generate HTML to include them -->

Report this snippet  

You need to login to post a comment.