Is There a New Code Format for Writing Equations on Physics Forums?

  • Thread starter Thread starter Diracobama2181
  • Start date Start date
  • Tags Tags
    Writing
AI Thread Summary
The discussion centers on the proper formatting for writing equations in a forum, specifically using LaTeX. Users initially express confusion over the effectiveness of the $$ and ## symbols for delineating code, noting that these formats seem to fail in preview mode but work correctly once posted. A key takeaway is that mistakes in LaTeX syntax prevent rendering, which can lead to frustration when previewing. One user confirms that the formatting issue is recognized and points to a related thread for further reference, indicating that this is a known problem within the forum's system.
Diracobama2181
Messages
70
Reaction score
3
Is there a new code format for writing equations here? I usually use $$ or ## to delineated code, but that doesn't seem to work anymore. Thanks.
 
Physics news on Phys.org
Well let's see:

Code:
## \left[i\hbar\partial_t - H\right]\Psi = 0## $$ \left[i\hbar\partial_t - H\right]\Psi = 0$$
... comes out as: ## \left[i\hbar\partial_t - H\right]\Psi = 0## $$ \left[i\hbar\partial_t - H\right]\Psi = 0$$
... looks OK in preview, now to post so you can see:

Note: if you make a mistake in the TeX, it won't render.
 
  • Like
Likes mcastillo356 and Diracobama2181
Simon Bridge said:
Well let's see:

Code:
## \left[i\hbar\partial_t - H\right]\Psi = 0## $$ \left[i\hbar\partial_t - H\right]\Psi = 0$$
... comes out as: ## \left[i\hbar\partial_t - H\right]\Psi = 0## $$ \left[i\hbar\partial_t - H\right]\Psi = 0$$
... looks OK in preview, now to post so you can see:

Note: if you make a mistake in the TeX, it won't render.
Thank you, this works. The math script just wasn't working when I tried previewing it in the homework forums, but worked when I actually posted it.
 
Thread 'RIP Chen Ning Yang (1922-2025)'
https://en.wikipedia.org/wiki/Yang_Chen-Ning ( photo from http://insti.physics.sunysb.edu/~yang/ ) https://www.nytimes.com/2025/10/18/science/chen-ning-yang-dead.html https://www.bbc.com/news/articles/cdxrzzk02plo https://www.cpr.cuhk.edu.hk/en/press/mourning-professor-yang-chen-ning/ https://www.stonybrook.edu/commcms/physics/about/awards_and_prizes/_nobel_and_breakthrough_prizes/_profiles/yangc https://www.stonybrook.edu/commcms/physics/people/_profiles/yangc...
"In 2013, after a series of hospitalizations due to magnets, New Zealand government officials permanently banned the sale of those made from neodymium-iron-boron (NIB)." https://www.sciencealert.com/new-zealand-teen-loses-part-of-his-bowel-after-swallowing-nearly-200-magnets "A 13-year-old boy in New Zealand has had part of his bowel surgically removed after he ingested nearly 200 high-powered magnets. (2025)" OK, this teen was a fool, but it is not always a teen, it is not always...

Similar threads

Replies
2
Views
1K
Replies
52
Views
1K
Replies
1
Views
1K
Replies
25
Views
2K
Replies
40
Views
480
Replies
5
Views
1K
Back
Top