Jump to content
Science Forums

How to: use LaTeX for equations


Tormod

Recommended Posts

So posting an equation within a quote or other tag just doesn't work (like this)?

[math] sum_q frac{partial}{partial x_q}vec{psi} = 0[/math]

 

...but putting it out in the open is the only way to have the tags work?

[math] \sum_q \frac{\partial}{\partial x_q}\vec{\psi} = 0[/math]

 

Is that correct, or is there a way to have equations display within quotes?

 

p.p.s.

Thanks for the answer; I never would'a guessed that....

:)

Link to comment
Share on other sites

...but putting it out in the open is the only way to have the tags work?

[math]\sum_q \frac{\partial}{\partial x_q}\vec{\psi} = 0[/math]

 

Is that correct, or is there a way to have equations display within quotes?

 

The backslashes get stripped when quoted. Instead of using one backslash, use two - one will be stripped, the other will remain. So, it will look like this:

\sum_q \frac{\partial}{\partial x_q}\vec{\psi} = 0 normally and

 

\\sum_q \\frac{\\partial}{\\partial x_q}\\vec{\\psi} = 0 in quotes. Also, if you preview your post you'll have to re-double-up the backslashes before submitting.

 

-modest

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...