LaTeX implementation ready for testing on Physics Forums

  • Context: LaTeX 
  • Thread starter Thread starter Greg Bernhardt
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
161 replies · 8K views
Originally posted by chroot
[tex] \int_{0}^{1} x dx = \left[ \frac{1}{2}x^2 \right]_{0}^{1} = \frac{1}{2}[/tex]

[tex]v(t) = v_0 + \frac{1}{2} a t^2[/tex]

[tex] \int_{0}^{1} y dy = \left[ \frac{1}{2}y^2 \right]_{0}^{1} = \frac{1}{2}[/tex]

[tex]v(t) = v_0 + \frac{1}{2} a t^2[/tex]

[tex] \int_{0}^{1} z dz = \left[ \frac{1}{2}z^2 \right]_{0}^{1} = \frac{1}{2}[/tex]

[tex]v(t) = v_0 + \frac{1}{2} a t^2[/tex]
 
Physics news on Phys.org
Originally posted by chroot
[tex]g_{\mu\nu}[/tex]

[tex]g_{\mu\nu}[/tex]

[tex]g_{\mu\nu}[/tex]

[tex]g_{\mu\nu}[/tex]

[tex]g_{\mu\nu}[/tex]

[tex]g_{\mu\nu}[/tex]

[tex]g_{\mu\nu}[/tex]

[tex]g_{\mu\nu}[/tex]
 
Okay guys...

Keep playing with the LaTeX stuff.

At the moment, it seems like newreply.php sometimes doesn't work quite right, but I can't identify the situations where it fails just yet.

If you post a new reply and something doesn't work right, hit edit, then save, and it should be fine. I'm going to look into the problem soon.

In the meantime, practice LaTeX and let me know what you find.

- Warren
 
Let's see,

The third Pauli matrix is

[tex]/sigma_{3} = \left(\begin{array}{cc}1&0\\0&-1\end{array}\right}[/tex]
 
Hah! Missing terminator

The third Pauli matrix is

[tex]/sigma_{3} = \left(\begin{array}{cc}1&0\\0&-1\end{array}\right}[/tex]
 
I think you forgot a [ /tex]:

Originally posted by selfAdjoint
Let's see,

The third Pauli matrix is

[tex]\sigma_{3} = \left(\begin{array}{cc}1&0\\0&-1\end{array}\right)[/tex]

 
Once more

The third Pauli matrix is

[tex]\sigma_{3} = \left(\begin{array}{cc}1&0\\0&-1\end{array}\right}[/tex]
 
Hah! Missing terminator

The third Pauli matrix is

[tex]\sigma_{3} = \left(\begin{array}{cc}1&0\\0&-1\end{array}\right)[/tex]
 
Huh, That stuff before wasn't what I entered. Let's see if this one works
[tex] g_{c}(A^{k}) = k_{s(e)}^{-1}g_{e}(A)k_{t(e)}[/tex]

Okay! Wahooo!
 
Last edited:
[tex] \begin{array}{| c | c |}1&0\\0&-1\end{array}[/tex]

[tex] \begin{array}<br /> {| c | c |}\hline 1&0\\ \hline 0&-1\\ \hline \end{array}[/tex]
 
Last edited:
[tex]\phi[/tex]

[tex]{\color{red} \phi}[/tex]

[tex]{\it Let \phi denote the angle between ...}[/tex]
 
[tex] \begin{array}{|c|c|}1&0\\0&-1\end{array}[/tex]
 
uh...i am not sure what i am supposed to do?
 
Originally posted by Zero
[tex]What_sort of ^crazy stuff i_s th^is ?[/tex]
Nooo!

[tex]what^{\it sort}_{\it of}crazy^{\it stuff}_{\it is}this?[/tex]
 
[tex]well_k^o then[/tex]

This is going to take some practice.
 
Last edited:
i am unsure of how to use the latex script?
 
You basically just type some latex code between [ tex] and [ /tex].

It allows math symbols and notation to be displayed neatly. You just need to learn how to code in tex:

"\alpha" results in [tex]\alpha[/tex]
"g_{\mu \nu} --> [tex]g_{\mu \nu}[/tex]

It will be a BIG plus for the science forums at PF.
 
More trials:

[tex] \begin{array}{| c | c |}1&0\\0&-1\end{array}[/tex]
 
Last edited:
I'm getting the impresion that, if I get the message "Latex graphic is being generated, reload in a moment" the very first time I submit, the graphic never gets to be there... can that be the case?

There are a couple posts I made last night that are still in that state.
 
[tex]Great_{\it I was}{}^{\it wondering}{}_{\it how to do}{}^{\it that!}[/tex]

[tex]Great_{\it I {}was}{}^{\it wondering}{}_{\it how {}to{} do}{}^{\it that!}[/tex]
 
Last edited:
Trying spacers:

[tex]Great_{\it I\ was}{}^{\it wondering}{}_{\it how~to~do}{}^{\it that!}[/tex]
 
So when are we letting this go mainstream?
 


Originally posted by Ambitwistor
For light-gray post backgrounds, the TeX images look okay, but their borders don't look so good against the posts with dark-gray backgrounds. Is there any way to get it to antialias to different background colors depending on which post it's in?
This kind of bugs me too -- but there's no way to determine exactly what background color to antialias to. I think the best solution to it might actually be to change the default color scheme for the site -- but I don't know what to do about that yet. It would look a little prettier if the antialiasing were exactly correct, I know.
It might be nice to supplement the default installation with some extra packages and fonts, like amsmath (amsfonts, amssymb), wasysym, marvosym, etc. Maybe we could even add some forum-specific user-defined macros of our own.
amsmath, amsfonts, and amssymb are already included -- give 'em a try. As far as the others, sure -- we can add them. Let me know.

- Warren
 
Originally posted by Ambitwistor
Improperly aligned tensor indices:

[tex]R^a_{bcd}[/tex]

Properly aligned tensor indices:

[tex]R^a{}_{bcd}[/tex]
 
Originally posted by Ambitwistor
Improperly aligned tensor indices:

[tex]R^a_{bcd}[/tex]

Properly aligned tensor indices:

[tex]R^a{}_{bcd}[/tex]
 
Ambi, you're still having the problem where new replies not working, but edits working? Hold on just a sec...

- Warren
 


Originally posted by Ambitwistor
[tex] \overline{x} <br /> \hat{x}<br /> \check{x} <br /> \tilde{x} <br /> \acute{x} <br /> \grave{x} <br /> \dot{x} <br /> \ddot{x} <br /> \breve{x} <br /> \bar{x} <br /> \vec{x}<br /> \underline{x}[/tex]

[tex] A\xleftarrow{n+\mu-1}B \xrightarrow[T]{n\pm i-1}C[/tex]
 


Originally posted by Ambitwistor
[tex] \overline{y} <br /> \hat{y}<br /> \check{y} <br /> \tilde{y} <br /> \acute{y} <br /> \grave{y} <br /> \dot{y} <br /> \ddot{y} <br /> \breve{y} <br /> \bar{y} <br /> \vec{y}<br /> \underline{y}[/tex]

[tex] A\yleftarrow{n+\mu-1}B \yrightarrow[T]{n\pm i-1}C[/tex]