Blahah Posted February 13, 2011 Posted February 13, 2011 (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 February 13, 2011 by Blahah
Cap'n Refsmmat Posted February 13, 2011 Posted February 13, 2011 Yeah, they're aliases to each other.
Cap'n Refsmmat Posted February 14, 2011 Posted February 14, 2011 imath and ce trip different environments in LaTeX; imath does the inline environment, and ce uses mhchem.
ydoaPs Posted February 14, 2011 Posted February 14, 2011 (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 February 14, 2011 by ydoaPs
Cap'n Refsmmat Posted February 14, 2011 Posted February 14, 2011 Yes, imath is the inline math tag, for LaTeX inside blocks of text. The difference: imath: [imath]\frac{1}{a}[/imath] math: [math]\frac{1}{a}[/math]
Blahah Posted February 16, 2011 Author Posted February 16, 2011 Good to know about imath. What packages are used in the standard math environment? amsmath and amssymb?
Cap'n Refsmmat Posted February 16, 2011 Posted February 16, 2011 Looks like the current list is amsmath, amsfonts, amssymb, color, and slashed.
Blahah Posted February 16, 2011 Author Posted February 16, 2011 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.
Cap'n Refsmmat Posted February 16, 2011 Posted February 16, 2011 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/
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now