MMO News and theorycrafting for advanced MMO gamers. News and articles that relate to your gameplay. World of Warcraft, SWTOR, Guild Wars 2, Rift, TERA, Eve Online, Star Wars the Old Republic, Diablo3, The Secret World and all Western AAA MMOs

Your login from any MMO-Mechanics forum or site will work here.

Hello There, Guest! Register

 Writing math using mimeTeX
08-11-2011, 06:58 AM
Post: #1
 Anubis Black Banned Posts: 239 Joined: Jun 2011
Writing math using mimeTeX
MK just installed a new tool for writing math equations, symbols and formulae and I had a go with it here

It's called mimeTeX and is based on the TeX distribution, much like LaTeX. A guide can be found here

http://www.sciencechatforum.com/documents/

and it shows the most important syntax. You end every block with [/math] and you begin it with . To put a space between words and/or numbers, use "\:", "\," or other options stated in the guide. To write equations that are aligned, use \begin{eqnarray} and \end{eqnarray}. The aligned parts on every line have to have "&" and a symbol for a line break is "\\". E.g. Code: [math]\begin{eqnarray}Aff &=& {7*(0.8*67.57 + 0.2*135)} = 567.392\\CD &=& {0.8*198 + 0.2*297 + 6*(0.8*67.5 + 0.2*101.25)} = 663.3\\TB &=& 342.38\\LBFL &=& {4*(0.8*207.9 + 0.2*311.85)} = 914.76\\LSmCL &=& {0.7*(0.8*214.12 + 0.2*428.24) + 0.3*(0.8*278.36 + 0.2*556.7)} = 280\\LS &=& {0.7*(0.8*377.36 + 0.2*566) + 0.3*(0.8*490.57 + 0.2*735.85)} = 452.45\end{eqnarray}

results in

$\begin{eqnarray}Aff &=& {7*(0.8*67.57 + 0.2*135)} = 567.392\\CD &=& {0.8*198 + 0.2*297 + 6*(0.8*67.5 + 0.2*101.25)} = 663.3\\TB &=& 342.38\\LBFL &=& {4*(0.8*207.9 + 0.2*311.85)} = 914.76\\LSmCL &=& {0.7*(0.8*214.12 + 0.2*428.24) + 0.3*(0.8*278.36 + 0.2*556.7)} = 280\\LS &=& {0.7*(0.8*377.36 + 0.2*566) + 0.3*(0.8*490.57 + 0.2*735.85)} = 452.45\end{eqnarray}$

Use the above linked post to check a sample code and have a look at the manual. Post here any questions you have and we will try to figure it out. Have fun using mimeTeX.
08-11-2011, 07:51 AM
Post: #2
 Kaladris Moderator Posts: 90 Joined: Aug 2011 Reputation: 2
RE: Writing math using mimeTeX
Hey Anubis,

first of all, thanks to MK for installing and you for introducing!
As i do not have any experience with LaTeX, i would have to invest some (surely interesting and stimulating) time getting into this.
But before doing so, would you or MK be so kind to point out what is the big advantage of posting formular & stuff with mimeTeX.
Actually, i am ( as you could predict) pretty used to spreadsheets, although i could imagine that using mimeTeX could be quite superior, judging from my little knowledge about LaTeX.

Thanks & greetings,
08-11-2011, 09:21 AM (This post was last modified: 09-06-2011 10:06 PM by Anubis Black.)
Post: #3
 Anubis Black Banned Posts: 239 Joined: Jun 2011
RE: Writing math using mimeTeX

The advantage is presentation. It's the difference between 5*x^2, "integral (beta to +infinity) x^(-pi)", "sum (i) 1/i^2" and

$5x^2 \\ \int_{\beta}^\infty x^{-\pi} \\ \sum_{i=1}^\infty {1 \over i^2}$

This does not interfere with creating spreadsheets. It's just a better visualisation of mathematics, the way you would write it for example on a paper.
 « Next Oldest | Next Newest »

Forum Jump:

User(s) browsing this thread: 1 Guest(s)