Why Isn't My LaTeX Code Displaying Formula?

  • Context: LaTeX 
  • Thread starter Thread starter swmmr1928
  • Start date Start date
  • Tags Tags
    Code Formula Latex
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
swmmr1928
Messages
55
Reaction score
0
in this post

Is there a problem with my code?
 
Physics news on Phys.org
Here is part of what you posted in the thread you linked to:
swmmr1928 said:

Homework Equations


[itеx]P=-\frac{\partial{U}} {\partial{V}}[/itеx]
[itеx]P=kT(\frac{\partial{ln Q}}{\partial V})[/itеx]
[itеx]U=kT^2(\frac{\partial{ln Q}}{\partial V})[/itеx]

The Attempt at a Solution


Code:
 [itеx]\overline{(E-U)(p-\overline{p})}=Cov(E,p)=\overline{E*p}-\overline{E}*\overline{p}=\overline{E*p}-U*\overline{p}[\itеx]

[itеx]\overline{E*p}=?[\itеx]

I think that a couple of your closing itex tags were not formed correctly (\itex instead of /itex), and that caused all of the LaTeX to not render correctly. I find it easier to use
Code:
##
tags for inline LaTeX, and
Code:
$$
for standalone LaTeX.

##P=-\frac{\partial{U}} {\partial{V}}##
##P=kT(\frac{\partial{ln Q}}{\partial V}) ##
## U=kT^2(\frac{\partial{ln Q}}{\partial V}) ##

[itex]\overline{(E-U)(p-\overline{p})}=Cov(E,p)=\overline{E*p}-\overline{E}*\overline{p}=\overline{E*p}-U*\overline{p}[/itex]
 
Last edited:
Thanks that fixed it