Put LaTeX equations into HTML


/ Published in: HTML
Save to your folder(s)

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


Copy this code and paste it in your HTML
  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 -->

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.