HTML/CSS Mastering Equation Insertion for HTML Webpages

  • Thread starter Thread starter cire
  • Start date Start date
AI Thread Summary
Inserting equations into web pages can be accomplished using LaTeX or by saving equations as images. For LaTeX integration, users need to ensure their web server supports LaTeX capabilities, which may require technical assistance from technology forums. If LaTeX is not an option, equations can be rendered as images and embedded in HTML, although this method is less desirable. A specific resource was mentioned for adding LaTeX rendering using PHP, which can facilitate the process for those looking to implement it on their own sites. The discussion also referenced a link that provides guidance on inserting equations on a specific platform.
cire
1. How to insert equations?
2. How to make a html web page with equations?
 
Technology news on Phys.org
Gokul's link show how to insert equations on this website.

In order to include equations on your own website, you need to provide a Latex capability or resort to saving each equation as an image and then inserting into your html page as an image (this sucks!).
 
how to resort Latex capabilities?
 
how to insert latex equations in a web page?
 
You're probably best to ask this in one of the technology subforms if you want Latex capabilities on you're webserver. Otherwise, resort to what BobG said about saving the Latex as images and inserting them in your page with HTML. I think Greg stated that he wouldn't like you generating personal Latex images using this site (check Gokul's link.)
 
Last edited:
this is a test

<br /> <br /> documentclass[a4paper,11pt]{article}<br /> \usepackage{latexsym} <br /> \usepackage{sparticles} %Package for displaying sparticle names. <br /> \usepackage{feynmf} %Package for feynman diagrams. <br /> \author{William Ruddick}<br /> \title{Example Selectron Feynman Diagrams}<br /> \begin{document}<br /> \maketitle<br /> <br /> \begin{figure}[!htb]<br /> \begin{center}<br /> \begin{tabular}{cccccccccccccccc} %Adds several centered Columns<br /> <br /> \begin{fmffile}{one} %one.mf will be created for this feynman diagram <br /> \fmfframe(1,7)(1,7){ %Sets dimension of Diagram<br /> \begin{fmfgraph*}(110,62) %Sets size of Diagram<br /> \fmfleft{i1,i2} %Sets there to be 2 sources <br /> \fmfright{o1,o2} %Sets there to be 2 outputs<br /> \fmflabel{$e^-$}{i1} %Labels one of the left sources<br /> \fmflabel{$e^+$}{i2} %Labels one of the left sources<br /> \fmflabel{${\ensuremath{\erlpm}}$}{o1} %Labels one of the right outputs<br /> \fmflabel{${\ensuremath{\erlpm}}$}{o2} %Labels one of the right outputs<br /> \fmf{fermion}{i1,v1,i2} %Connects the sources with a vertex.<br /> \fmf{fermion}{o1,v2,o2} %Connects the outputs with a vertex.<br /> \fmf{photon,label=$\gamma/Z^0$}{v1,v2} %Labels the conneting line.<br /> \end{fmfgraph*}<br /> }<br /> \end{fmffile}<br /> &amp;&amp;&amp;&amp;<br /> <br />
 

Similar threads

Replies
9
Views
2K
Replies
10
Views
2K
Replies
14
Views
3K
Replies
7
Views
2K
Replies
3
Views
2K
Replies
2
Views
1K
Replies
8
Views
3K
Replies
3
Views
2K
Back
Top