Jump to content

Recommended Posts

Posted (edited)

help button suggests these tags for LaTeX...

[latex...]

[latex]y = \sqrt{4x^2}[/latex]

 

a thread gives these tags...

[math...]

[math]y = \sqrt{4x^2} [/math]

 

edit: turns out both work

Edited by Blahah
Posted (edited)

Do we still have the two separate versions of LaTeX on the site? IIRC, we had the [math][/math] tags and another set for having equations inside blocks of text.

Edited by ydoaPs
Posted

Thanks. I have to say, the equations here look somehow nicer than the ones produced by my systems at home and at work. Perhaps it's an illusion, but they just look a bit nicer.

Posted

It took us a bit of cleverness to get to this point. Equations are generated in large font sizes at high resolution, converted into a high-quality PNG by dvipng, and then resampled to a smaller size with antialiasing by mogrify.

 

dave (one of our other admins) is responsible for most of it.

 

[math]C(\omega) = \frac{1}{2 \pi} \int_{-\infty}^{\infty} f(t) \cos (\omega t) \, dt[/math]

 

The PHP code for all of that is available:

 

http://blogs.science...asing-ipblatex/

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.