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 'In the early days of electricity, they didn't have wall plugs'
Hello scientists, engineers, etc. I have not had any questions for you recently, so have not participated here. I was scanning some material and ran across these 2 ads. I had posted them at another forum, and I thought you may be interested in them as well. History is fascinating stuff! Some houses may have had plugs, but many homes just screwed the appliance into the light socket overhead. Does anyone know when electric wall plugs were in widespread use? 1906 ad DDTJRAC Even big...
https://unionrayo.com/en/traffic-lights-color-white-autonomous-cars/ In this article, traffic researchers looking to improve traffic flow via autonomous cars and a 4th white light on the traffic light to signal that autonomous cars are controlling the light please follow their lead. Cue the Outer Limits theme song: “Do not attempt to control your television. We control the horizontal. We control the vertical. …”

Similar threads

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