# Formula Generator

Test you LaTeX formula writing skills here! No images are saved on the server so your mistakes won't cruft-up the file system...
Type in your Expression here and then press the generate >

button:

**Click the button**... Now either copy the image returned above (right click in your browser to get the context menu etc.) — this is 100% safe as you have the image to do with what you want —

**or**if you don't want the

hassleof managing/uploading an image to your website just use the REST URL: (copy and paste the following URL into your

`<img src="......."/>`

element of your document). This is less reliable since
it requires our server to be up! (see also here where you get to keep your original (carefully crafted) latex.)
**Important note: if your latex code starts with**.

`\begin{`

then you will have to *either*prefix with an anodyne key such as`\quad \,`

or wrap everything with `\begin{equation*} ... \end{equation*}`

or whatever you require.### Notes

The latex system uses the American Mathematical Societies amsmath and amssymb. For a good introduction look here (PDF). If your equation starts with a`\begin{`

statement then the system assumes that you know what you are doing, otherwise it wraps your
code with
`\begin{equation*} ... \end{equation*}`

tags. You can get caught out with this: for example to
use the `\begin{split}...\end{split}`

you will have to either prefix the LaTeX with an anodyne keyword such
as `\quad`

**or**add your own

`\begin{equation*}.....\end{equation*}`

outer
wrapper!
To add a box around so part of a formula use `\fbox{\Large\thinlines$....$}`

. The fonts are not the same unfortunately, so
it probably better to use the CSS in the surrounding HTML to add borders etc.

The latex system is *very* verbose - if you hit a error the log file retured (try it!) will provide endless information.
I suppose this code was developed when computers were scary important things or it may have been designed on an old Digital VAX VMS. Boy they
were verbose!

### Links

- Cheat-sheet. Good! (PDF) (original is here)
- LaTeX mathematical symbols - Cheat sheet.
- Scott Pakin's Comprehensive set of symbols - Not all available! (4Mb)
- Wikipedia has a good description of latex
- WikiBook on Latex. (See the Advanced Mathematics Section)
- Math help
- Cambridge LaTex help
- MIT LateX answers
- American Mathematical Society
- dvipng: A DVI-to-PNG converter
- More info on how to add equations to a website
- more latex
- Page of commands
- ext arrows
- Chemical Equations