Jump to content

Two sets of LaTeX tags?

Featured Replies

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

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

  • Author

Good to know about imath. What packages are used in the standard math environment? amsmath and amssymb?

  • Author

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.

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/

Archived

This topic is now archived and is closed to further replies.

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.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.