Diff: [root] @ 8405d88c2d2 | faq | css

mathtex

File created: howto/mathtex [Diff]

-- /dev/null++ b/howto/mathtex
@@ -1 +1,15 @@
!http://dump.bitcheese.net/mtexi.cgi?M%20=%20%5Cbegin%7Bbmatrix%7D%20%5Cvec%7Bi%7D%20&%20%5Cvec%7Bj%7D%20&%20%5Cvec%7Bk%7D%5C%5C%20P_m_x%20&%20P_m_y%20&%20P_m_z%5C%5C%20B_x%20&%20B_y%20&%20B_z%20%5Cend%7Bbmatrix%7D

h1. Howto: Get nicely rendered LaTeX images online

I decided to use "mathtex":http://www.forkosh.dreamhost.com/source_mathtex.html. It's a nice program indeed, but it needed some tuning for my needs:

# By default, LaTeX does not play nice with non-english letters. I fixed that by throwing in a pile of \usepackages.

# I hate black-on-white scheme, so I made a modification to source code to allow changing color of rendered formulas on compilation.

You can see the results here: [http://dump.bitcheese.net/xet/mtex.cgi?yourformulahere]. Change mtex to mtexi for inverted output.

"Modified Mathtex source":http://dump.bitcheese.net/files/nasukux/mathtexi.c.gz ["Patch":http://dump.bitcheese.net/files/mewazol/color.diff]
"Makefile":http://dump.bitcheese.net/files/walevaz/Makefile used to build two versions of mathtex used on site

By Voker57 on 2010-01-06 22:20:21 +0000