LaTeX Is Mandatory LaTeX Implementation on PF Beneficial for Members?

  • Thread starter Thread starter Greg Bernhardt
  • Start date Start date
AI Thread Summary
The implementation of LaTeX on Physics Forums (PF) is nearing completion and is set for extensive testing, with a new bbcode format introduced for users. Mentors are encouraged to familiarize themselves with basic LaTeX to assist members as they navigate this new feature. Users can input LaTeX code between [tex] and [/tex] tags, with a popup feature allowing them to learn from previous equations. However, there are some initial issues, such as images not appearing in previews and problems with LaTeX compilation that need addressing. Overall, this enhancement is expected to significantly benefit the community by improving the presentation of mathematical expressions.
Messages
19,773
Reaction score
10,726
Ok folks, this is really really exciting. chroot for the last few days has been working very hard on implementing LaTeX on PF. We believe it is ready for extensive testing before we release it for community use. I also wouls like all the mentors to have atleast a basic grasp of how it all works and some basic equation code, because there will be a lot of questions and problems at first. It's really not that hard, just something new that can result in a lot of problems. Basicly we have added a new bbcode [ tex][ /tex] or [ latex][ /latex] either one works. Inside those tags you put in the latex code. An example of some latex code is this: a_n^2. That results in a_n^2. Another really cool feature chroot thought up was having the images onclick make a popup window that displays the code. This allows members to learn from past equations on how to make the different elements. So please experiement because I believe this feature is the one that will really set us apart from the others.

Here is some documentation to get you started:
http://computing.ee.ethz.ch/.soft/latex/green/ltx-2.html
https://www.physicsforums.com/misc/howtolatex.pdf
 
Last edited:
Physics news on Phys.org
cool!

let me try..

my_first^try
 
<br /> \left(<br /> \begin{array}{cc}<br /> a&amp;b\\c&amp;d<br /> \end{array}<br /> \right)<br />
 
Last edited:
Originally posted by Monique
cool!

let me try..

my_first^try
:( not what I expected :P
 
Originally posted by Monique
:( not what I expected :P
It looks like it did just what was expected.. :)

- Warren
 
my_{second}^{try}

:D I learn fast :P
 
Originally posted by Monique
:D I learn fast :P
You kick ass. :)

<br /> \begin{pmatrix} D_1t&amp;-a_{12}t_2&amp;\dots&amp;-a_{1n}t_n\\<br /> -a_{21}t_1&amp;D_2t&amp;\dots&amp;-a_{2n}t_n\\<br /> -a_{n1}t_1&amp;-a_{n2}t_2&amp;\dots&amp;D_nt<br /> \end{pmatrix}<br />
 
Last edited:
<br /> \int_{0}^{1} x dx = \left[ \frac{1}{2}x^2 \right]_{0}^{1} = \frac{1}{2}<br />

v(t) = v_0 + \frac{1}{2} a t^2
 
A little smaller maybe?

<br /> \int_{0}^{1} x dx = \left[ \frac{1}{2}x^2 \right]_{0}^{1} = \frac{1}{2}<br />

v(t) = v_0 + \frac{1}{2} a t^2
 
Last edited:
  • #10
<br /> \frac{\partialz(x,y)}{\partialx}<br /> <br /> \nabla^\phi=\rho<br />
 
  • #11
Originally posted by Tom
<br /> \frac{\partialz(x,y)}{\partialx}<br /> <br /> \nabla^\phi=\rho<br />

OK, that's not even close to what I posted. It was supposed to be:

&part;z(x,y)/&part;x

[nab]2&phi;=&rho;

[?]
 
  • #12
And now it comes up as yet a third thing when I quote it.

[?] [?] [?]
 
  • #13
Tom, your LaTeX is flaky. :) Try this code

<br /> \frac{<br /> \frac{\partial (x,y)}{\partial z}<br /> }{<br /> \frac{\partial}{\partial x}<br /> }<br />

<br /> \nabla^\phi=\mu<br />

- Warren
 
Last edited:
  • #14
There are some caveats:

1) Images will *not* show up in previews. Only when the posts are committed.

2) Images will *not* show up properly in topic reviews.

Whether or not these changes are worthwhile is an open question.

- Warren
 
  • #15
Originally posted by Ambitwistor
If you click on the source code for Tom's equations, you'll see that the source code is completely different from what is actually displayed.
One more caveat: right now, if the latex compilation fails, no image is generated at all.

When this happens, the server tries to substitute *someone else's* image, picking one based on a similar filename. I am working on correcting this.

- Warren
 
  • #16
I see the same problem as Tom and Ambitwistor. I noticed something similar when clicking on the test thread they worked on.

I'm using linux and mozilla to browse. Can this bo platform-dependent? Do you see the same problem chroot? Greg?
 
  • #17
<br /> \nabla^\phi=\mu<br />
 
Last edited:
  • #18
<br /> \psi<br />
 
Last edited:
  • #19
Hold on guys, working on stuff!

<br /> \frac{1}{2}<br />

- Warren
 
Last edited:
  • #20
<br /> <br /> /frac{<br /> T_o<br /> }{<br /> T}<br /> =1+ /frac{<br /> gamma-1<br /> }{<br /> 2}<br /> M^2<br /> <br />
 
Last edited:
  • #21
This latex is valid:

<br /> \nabla \times C<br />

This latex is not:

<br /> \yourmom<br />

- Warren
 
  • #22
enigma,

try \frac instead of /frac :)

- Warren
 
  • #23
Thanks Warren,

<br /> \frac{T_o}{T}=1+\frac{\gamma-1}{2}M^2<br /> <br />

Where is the list of the greek characters?

EDIT: found it
 
Last edited:
  • #24
<br /> <br /> a = \sqrt{\gamma \times R \times T}<br /> <br />
 
  • #25
<br /> A \alpha B \beta \Gamma \gamma \Delta \delta \dots \Phi \phi \Chi \chi \Psi \psi \Omega \omega<br />
 
Last edited:
  • #26
<br /> <br /> \Delta V = -I_{sp} g_0 \ln{\frac{M_L + M_i}{M_L + M_i + M_P}}<br /> <br />
 
Last edited:
  • #27
<br /> \delta V = - I_{sp} \times g_0 \times \ln{\frac{M_L + M_i}{M_L + M_i + M_P}}<br />
 
  • #28
<br /> <br /> \frac{p_0}{p} = (1+\frac{\gamma-1}{2}M^2)^{\frac{\gamma}{\gamma-1}}<br /> <br />
 
Last edited:
  • #29
Should we be worried if it gives the "Latex image is being generated, please reload" message?
 
  • #30
Hmm... image generation sure is being slow... ?

- Warren
 
  • #31
Originally posted by enigma
Should we be worried if it gives the "Latex image is being generated, please reload" message?
Perhaps... I'm not sure what's hanging it up. I'm trying to figure that out now... eek.

- Warren
 
  • #32
<br /> \frac{1}{2}<br />
 
  • #33
Argh... all of a sudden the server seems to be having a problem...

- Warren
 
  • #34
<br /> \frac{3}{4}<br />
 
  • #35
I just looked through the lists.

Are there commands for double and triple integral as well as surface and volume integral symbols?
 
  • #36
looks like we bogged the server down, once it's fixed we'll open up testing again.
 
  • #37
Woohoo... sorry about the mistake guys.

\gamma \equiv \frac{1}{\sqrt{1 - v^2/c^2}}

- Warren
 
Last edited:
  • #38
Do your worst, fellas... let's see if I forgot to do anything else.

- Warren
 
  • #39
\alpha

\beta

\gamma
 
  • #40
I tried this one as an edit to a previous post, and it did not work there upon reloading.

<br /> \psi<br />
 
  • #41
A psi doesn't work?

\psi
 
  • #42
What I typed up there was "\psi"; instead, I see what I would have expected afger typing "\alpha".

I guess I'll just have to wait a little longer.
 
  • #43
okay, let's try
<br /> $\Delta V_{(R_{1}\rightarrow R_{2})}= V_{R_{1}}\left[\sqrt{\frac{2R_{2}}{R_{1}+R_{2}}}-1 \right]$
 
Last edited:
  • #44
Originally posted by chroot
A psi doesn't work?

\psi

Apparently.
 
  • #45
Originally posted by ahrkron
What I typed up there was "\psi"; instead, I see what I would have expected afger typing "\alpha".

I guess I'll just have to wait a little longer.
Yeah something is weird...

this

<br /> \psi<br />

is different from this

\psi

and it shouldn't be.

- Warren
 
  • #46
There we go!

B_0 \rightarrow J\psi K^0_s
 
  • #47
The server is trying to confuse us all! :smile:

Now you see it, now you don't, now you complain, now it's ok, it looked different just a minute ago...
 
  • #48
Originally posted by ahrkron
The server is trying to confuse us all! :smile:

Now you see it, now you don't, now you complain, now it's ok, it looked different just a minute ago...

The reason is looks wacky is simple:

1) Some graphics take longer than others to create; they're all in background processes. Sometimes, you view the thread at first, but your graphics are not done yet.

2) When a graphic is not present (because it is not done being generated), the stupid webserver will try to help you out by sending you another graphic with a similar filename. It's supposed to help you avoid 404 errors for spelling mistakes. I really hate this "feature," because in this case, it results in your post showing someone else's graphics temporarily until yours are done!

I'm going to fix this in a few minutes.. hold on.

- Warren
 
  • #49
Okay, let's try this. This should fix the weirdness.

<br /> \Delta V = - I_{sp} \times g_0 \times \ln{\frac{M_L + M_i}{M_L + M_i + M_P}}<br />

- Warren
 
Last edited:
  • #50
This stuff looks GREAT! Let's have a go at it

\int_{-\infty}^{\infty}


\stackrel \cdot x

\ddot{x} = -g
\int \ddot{x}dt = \int -gdt
\dot{x} = -gt + C
\dot{x}(0)= V_0 \Rightarrow C = V_0
\int \dot{x}dt = \int -gt + V_0 dt
x(t)= - \frac {gt^2} {2} + V_0t + X_0


\mbox{ x=y} \mbox{\iff |x-y| &lt; \epsilon} \forall \mbox{ \epsilon \in \Re}

\ddot{x} = \frac {d^2x} {dt^2}
 
Last edited:

Similar threads

Replies
5
Views
3K
Replies
3
Views
2K
Replies
1
Views
3K
Replies
4
Views
4K
Replies
60
Views
188K
Replies
2
Views
3K
Replies
4
Views
3K
Replies
766
Views
737K
Replies
1
Views
3K
Replies
3
Views
3K
Back
Top