General

Chat

How to write LaTeX code on basil

[header]What is LaTeX[/header]
http://en.wikipedia.org/wiki/LaTeX

Basically it's used to write nice equations.

[url=http://oi54.tinypic.com/dwqcuc.jpg]This is what the thread looks like with the addon installed.[/url]

[header]Installation and usage[/header]
I'll just list the chrome version for now, there is a script for greasemonkey for FF users though.
[url=http://chrome.google.com/webstore/detail/mbfninnbhfepghkkcgdnmfmhhbjmhggn#]Install addon here[/url]

[b]Usage[/b]
To write equations, wrap them in the following brackets: [; code here ;]

Example equations: (users with the addon installed will see the functions, other users will just see the code)
[; int_a^{b+1} frac{dx}{1+x^2} = left [ arctan{x} right ]_a^{b+1} ;]

and

[; e^x=1+frac{x}{1!}+frac{x^2}{2!}+frac{x^3}{3!}+. .. ;]

[b]WYSIWG (=what you see is what you get) editor[/b]
Don't worry, you don't have to know how to write LaTeX code, there is code generators.

Link: http://www.codecogs.com/latex/eqneditor.php

(don't forget to wrap the code in the brackets!)

[header][/header]

That's it, great for homework threads, will reduce confusion.

Post any questions below!

May 28, 2011

5 Comments • Newest first

jonatan

@CygnusBabii:
Remember that basil strips backslashes so you gotta write fractions like:
(a/b)

Subscripts works excelent though:
[;X_{X_{X_{X_{a}}}}^{X^{X^{X^{X^{X}}}}};]

Reply May 28, 2011 - edited
CygnusBabii

oh, thats cool

Reply May 28, 2011 - edited
jonatan

@ChickenOnRice:
Yep, will clear up some confusion in math threads also.

[i]Feel free to write some test code in this thread[/i]

Reply May 28, 2011 - edited
jonatan

@touma:
Check: http://oi54.tinypic.com/dwqcuc.jpg

It's used to write beautiful math equations, for example fractions, integrals etc.

Reply May 28, 2011 - edited
touma

What?

Reply May 28, 2011 - edited