How to: use LaTeX for equations

Comment
 
LinkBack Tutorial Tools
Published by Tormod 05-04-2006
Alexander has written a hack that lets us use Latex to write equations.

Usage is fairly complex but there is a nice tutorial here:

http://www.forkosh.com/mimetextutorial.html

Use the following syntax:

Code:
[latex]f(x)=int_{-\infty}^x e^{-t^2}dt[/latex]
...which yields

  #1  
By Tormod on 05-04-2006
Re: How to: use Latex for equations

I am actually having some problems with this.

We may be seeing some sort of caching problem.

I'm sure Alex will figure it out.
Last edited by Tormod; 05-04-2006 at 02:06 AM.
Reply With Quote
  #2  
By Jay-qu on 05-04-2006
Re: How to: use Latex for equations


now i can use sub/superscripts

and intergrals..

Last edited by Tormod; 05-04-2006 at 02:05 AM.
Reply With Quote
  #3  
By Tormod on 05-04-2006
Re: How to: use Latex for equations

Reply With Quote
  #4  
By C1ay on 05-04-2006
Re: How to: use LaTeX for equations

Quote:
Originally Posted by Tormod
[ latex ]f(x)=int_{-\infty}^x e^{-t^2}dt[ /latex ]
As a side note I'll mention that the forum also supports a [noparse][/noparse] tag so that example BBCode can be posted. This allows you to actually post BBCode code that can literally be copy and pasted like
[latex]f(x)=int_{-\infty}^x e^{-t^2}dt[/latex]. Perhaps someone will find this useful

OTOH, there appear to be some hiccups because it should be able to parse [latex]f(x)=1[/latex] and the parantheses seem to be hanging up. Maybe it's a syntax problem with this version though.
Last edited by C1ay; 05-04-2006 at 04:23 AM.
Reply With Quote
  #5  
By Tormod on 05-04-2006
Re: How to: use LaTeX for equations

Yeah it's a little buggy apparently.
Reply With Quote
  #6  
By alexander on 05-04-2006
Re: How to: use LaTeX for equations

ok, so there is no workaround for this yet, so i will warn people and explain what is going on.

the mimetex plugin works very beautifuly, the problem is when it touches vbulletin, something crazy happens and this extremely weird issue comes up:
so apparently there is a problem with parsing bbcode, and for some reason or another, a parenthesie before the first equal sign it screws stuff up and breaks some links that does not allow the images to render at all...

so a workaround, not a solution, still working on that one:
\int_{a}^bf(x)dt=\sum_{i=1}^n f(\overline{x_i})\Delta x
does not work as demonstrated here:

but you can use the same equation and write it as:
\sum_{i=1}^n f(\overline{x_i})\Delta x=\int_{a}^bf(x)dt
as i demonstrate here:


similarly:
x=f\left(x\right) works

while the opposite f\left(x\right)=x does not
Reply With Quote
  #7  
By alexander on 05-04-2006
Re: How to: use LaTeX for equations

P.S. Reimann's sum demonstrates most crazy good effects of latex. if you want some code for matixees or complex fractions to refer to, i'll be more then delighted to write a tutorial for the math forum... that is if anyone needs it...
Reply With Quote
  #8  
By Buffy on 05-04-2006
Re: How to: use LaTeX for equations

So now Q can do his sig with:



{with the extra "Qfwfq=" stuck in as a workaround for alex's bug...}

Qool!
Buffy
Reply With Quote
  #9  
By alexander on 05-04-2006
Re: How to: use LaTeX for equations

it is a workaround, but i want it to work like it is supposed to, but that would work buffy...
Reply With Quote
Comment

Bookmarks


Currently Active Users Viewing This Tutorial: 1 (0 members and 1 guests)
 
Tutorial Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Tutorial Tutorial Starter Category Comments Last Post
Equations and constants Moonchild Physics and Mathematics 2 11-02-2004
The next level of algebriac equations AGThePoet Physics and Mathematics 6 12-12-2003

» Current Poll
Do you read popular science books?
Yes, a few each year - 60.00%
6 Votes
Yes, but very rarely - 10.00%
1 Vote
Yes, most of the time - 20.00%
2 Votes
No - 10.00%
1 Vote
Total Votes: 10
You may not vote on this poll.

All times are GMT -8. The time now is 08:47 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Copyright © 2000-2008 Hypography
Part of the Hypography - Science for Everyone Network
Powered by GARS © 2005-2008