Jump to content
Science Forums

How to: use LaTeX for equations


Tormod

Recommended Posts

[ 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

[math]f(x)=int_{-\infty}^x e^{-t^2}dt[/math]. Perhaps someone will find this useful :)

 

OTOH, there appear to be some hiccups because it should be able to parse [math]f(x)=1[/math] and the parantheses seem to be hanging up. Maybe it's a syntax problem with this version though.

Link to comment
Share on other sites

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:

[math]\int_{a}^bf(x)dt=\sum_{i=1}^n f(\overline{x_i})\Delta x[/math]

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:

[math]\sum_{i=1}^n f(\overline{x_i})\Delta x=\int_{a}^bf(x)dt[/math]

 

similarly:

x=f\left(x\right) works

[math]x=f\left(x\right)[/math]

while the opposite f\left(x\right)=x does not

[math]f\left(x\right)=x[/math]

Link to comment
Share on other sites

ok, i think that this thread needs a little pointing, for those who are interested, i just finished a tutorial on Latex in the math section (sort of where its needed a bit more) so please dont hesitate and visit:

http://hypography.com/forums/physics-mathematics/6576-latex-fomulas-math-v2-0-a.html

 

there is also a link to latex practice grounds thread, and if you have any questions, please, please post them in the linked stickey, i want people to be able to refer to a single thread for guidance... I dunno whether i should block this thread or something, but please go to the Physics and Math section for the latex stuff...

Link to comment
Share on other sites

  • 5 months later...
I understand how to show sqrt-root but how do I show cube-root or evern higher powers of this function?

 

\sqrt[3]{X} renders as [math]\sqrt[3]{X}[/math]

 

Though there are many excellent LaTeX references, I usually refer to http://meta.wikimedia.org/wiki/Help:Formula . I don’t think it’s complete, but it’s yet to fail to answer any of my questions.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...