Go Back   Science Forums > Help and Advice > Tutorials and How To's
Reply
 
LinkBack Thread Tools
Old 05-04-2006   #1 (permalink)
Tormod's Avatar
Hypographer

Administrator
Senior Editor
Editor
Dev Team Member

Location:
Oslo, Norway
 
Tormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond repute
 



Not Ranked  0 score     
How to: use LaTeX for equations

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



----------------
Your Friendly Neighborhood Administrator

Want to lose the advertisements? Become a Sponsor!

Join our Facebook group or follow us on Twitter

Science is not only compatible with spirituality; it is a profound source of spirituality.
- Carl Sagan

Last edited by Tormod; 05-04-2006 at 02:44 PM..
Reply With Quote
Old 05-04-2006   #2 (permalink)
Tormod's Avatar
Hypographer

Administrator
Senior Editor
Editor
Dev Team Member

Location:
Oslo, Norway
 
Tormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond repute
 



Not Ranked  0 score     
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.


----------------
Your Friendly Neighborhood Administrator

Want to lose the advertisements? Become a Sponsor!

Join our Facebook group or follow us on Twitter

Science is not only compatible with spirituality; it is a profound source of spirituality.
- Carl Sagan

Last edited by Tormod; 05-04-2006 at 03:06 AM..
Reply With Quote
Old 05-04-2006   #3 (permalink)
Jay-qu's Avatar
Ancora Imparo

Moderator
Editor
Gallery Curator

Location:
Australia
 
Jay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond repute
 



Not Ranked  0 score     
Re: How to: use Latex for equations


now i can use sub/superscripts

and intergrals..



----------------
Jay-qu
::Hypography Moderator of..
Chemistry, Physics & Mathematics, Astronomy & Cosmology, Space and Technology & gadgets Forums

"I don't think much of a man who is not wiser today than he was yesterday."
-Abraham Lincoln

Physics Guides - Physics Resources and help

Last edited by Tormod; 05-04-2006 at 03:05 AM..
Reply With Quote
Old 05-04-2006   #4 (permalink)
Tormod's Avatar
Hypographer

Administrator
Senior Editor
Editor
Dev Team Member

Location:
Oslo, Norway
 
Tormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond repute
 



Not Ranked  0 score     
Re: How to: use Latex for equations



----------------
Your Friendly Neighborhood Administrator

Want to lose the advertisements? Become a Sponsor!

Join our Facebook group or follow us on Twitter

Science is not only compatible with spirituality; it is a profound source of spirituality.
- Carl Sagan
Reply With Quote
Old 05-04-2006   #5 (permalink)
C1ay's Avatar
¿42?

Administrator
Senior Editor
Editor

Location:
33.78N 84.66W
 
C1ay has a reputation beyond reputeC1ay has a reputation beyond reputeC1ay has a reputation beyond reputeC1ay has a reputation beyond reputeC1ay has a reputation beyond reputeC1ay has a reputation beyond reputeC1ay has a reputation beyond reputeC1ay has a reputation beyond reputeC1ay has a reputation beyond repute
 



Not Ranked  0 score     
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.


----------------
Clay

Editor and Forum Administrator
stego anyone?
Add yourself to Hypography's Frappr.
"There are only 10 kinds of people in the world --
.....Those who understand binary, and those who don't."
"Draw no conclusions before their time."

Last edited by C1ay; 05-04-2006 at 05:23 AM..
Reply With Quote
Old 05-04-2006   #6 (permalink)
Tormod's Avatar
Hypographer

Administrator
Senior Editor
Editor
Dev Team Member

Location:
Oslo, Norway
 
Tormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond repute
 



Not Ranked  0 score     
Re: How to: use LaTeX for equations

Yeah it's a little buggy apparently.


----------------
Your Friendly Neighborhood Administrator

Want to lose the advertisements? Become a Sponsor!

Join our Facebook group or follow us on Twitter

Science is not only compatible with spirituality; it is a profound source of spirituality.
- Carl Sagan
Reply With Quote
Old 05-04-2006   #7 (permalink)
alexander's Avatar
Dedicated Smart-ass

Senior Moderator
Gallery Curator
Dev Team Member

Location:
Just before 0xAA55
 
alexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond repute
Send a message via AIM to alexander
 



Not Ranked  0 score     
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


----------------
Microsoft, the leader in using innovative tactics to promote irksome experience, coupled with antiquated technology that's held together by a pyramid of makeshift afterthoughts.

Apple, the leader in using irksome tactics to promote innovative experience, coupled with an antiquated core that's enhanced by state-of-the-art afterthoughts.

Linux, the leader in not using any tactics to promote user-defined experience, coupled with state-of-the-art core enhanced by innovative afterthoughts.

Reply With Quote
Old 05-04-2006   #8 (permalink)
alexander's Avatar
Dedicated Smart-ass

Senior Moderator
Gallery Curator
Dev Team Member

Location:
Just before 0xAA55
 
alexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond repute
Send a message via AIM to alexander
 



Not Ranked  0 score     
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...


----------------
Microsoft, the leader in using innovative tactics to promote irksome experience, coupled with antiquated technology that's held together by a pyramid of makeshift afterthoughts.

Apple, the leader in using irksome tactics to promote innovative experience, coupled with an antiquated core that's enhanced by state-of-the-art afterthoughts.

Linux, the leader in not using any tactics to promote user-defined experience, coupled with state-of-the-art core enhanced by innovative afterthoughts.

Reply With Quote
Old 05-04-2006   #9 (permalink)
Buffy's Avatar
Resident Slayer

Administrator

Location:
Sunnydale, CA
 
Buffy has a reputation beyond reputeBuffy has a reputation beyond reputeBuffy has a reputation beyond reputeBuffy has a reputation beyond reputeBuffy has a reputation beyond reputeBuffy has a reputation beyond reputeBuffy has a reputation beyond reputeBuffy has a reputation beyond reputeBuffy has a reputation beyond reputeBuffy has a reputation beyond reputeBuffy has a reputation beyond repute
 



Not Ranked  0 score     
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


----------------
"If you do not agree with anything I say, I'll not only retract it, but deny under oath that I ever said it!"
__________________________________________________ ______________-- Tom Lehrer

"No Robbie, not Europe!"


Forum Administrator
Hypography Science Forums - Science for Boys and Girls! Its not for nothing that we hang out here.
Reply With Quote
Old 05-04-2006   #10 (permalink)
alexander's Avatar
Dedicated Smart-ass

Senior Moderator
Gallery Curator
Dev Team Member

Location:
Just before 0xAA55
 
alexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond repute
Send a message via AIM to alexander
 



Not Ranked  0 score     
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...


----------------
Microsoft, the leader in using innovative tactics to promote irksome experience, coupled with antiquated technology that's held together by a pyramid of makeshift afterthoughts.

Apple, the leader in using irksome tactics to promote innovative experience, coupled with an antiquated core that's enhanced by state-of-the-art afterthoughts.

Linux, the leader in not using any tactics to promote user-defined experience, coupled with state-of-the-art core enhanced by innovative afterthoughts.

Reply With Quote
Reply

Bookmarks


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Equations and constants Moonchild Physics and Mathematics 2 11-02-2004 12:43 PM
The next level of algebriac equations AGThePoet Physics and Mathematics 6 12-12-2003 02:11 AM

» Advertisement
» Current Poll
Who's the sexiest man alive? Johnny Depp or Robert Pattinson?
Johnny Depp - 30.00%
3 Votes
Robert Pattinson - 0%
0 Votes
Someone else (please specify) - 40.00%
4 Votes
I'm too macho to think a guy is sexy - 30.00%
3 Votes
Total Votes: 10
You may not vote on this poll.


All times are GMT -8. The time now is 05:11 PM.

Hypography?

Hypography [n.]: A combination of "hyperlink" and "bibliography" - ie, a list of links to electronic documents. Comparable to discography and bibliography, but not cartography.

We have been online since May 2000, and aim to be the best place to find and share science-related content of all kinds.

Share the love!

Please add more science to your life. Use our RSS feeds on your blog, your portal, or your favorite feedreader!


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
Copyright © 2000-2009 Hypography
Part of the Hypography - Science for Everyone Network