Learn Mandatory LaTeX with PF: A Step-by-Step Guide

  • LaTeX
  • Thread starter Greg Bernhardt
  • Start date
In summary: WarrenIs it working now?- Warren\psilooks like it works; good job!- WarrenIn summary, PF is implementing LaTeX on PF with the use of a new bbcode [ tex][ /tex] or [ latex][ /latex], allowing members to use LaTeX code within the tags to display equations. Additional features include a popup window for displaying code, and the ability to use macros. However, there may be some issues with image generation and server speed.
  • #71
Hah! Missing terminator

The third Pauli matrix is

[tex]/sigma_{3} = \left(\begin{array}{cc}1&0\\0&-1\end{array}\right}[/tex]
 
Physics news on Phys.org
  • #72
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]

 
  • #73
Once more

The third Pauli matrix is

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

The third Pauli matrix is

[tex]\sigma_{3} = \left(\begin{array}{cc}1&0\\0&-1\end{array}\right)[/tex]
 
  • #75
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:
  • #76
[tex]
\begin{array}{| c | c |}1&0\\0&-1\end{array}
[/tex]

[tex]
\begin{array}
{| c | c |}\hline 1&0\\ \hline 0&-1\\ \hline \end{array}
[/tex]
 
Last edited:
  • #77
[tex] \phi [/tex]

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

[tex]{\it Let \phi denote the angle between ...}[/tex]
 
  • #78
[tex]
\begin{array}{|c|c|}1&0\\0&-1\end{array}
[/tex]
 
  • #79
uh...i am not sure what i am supposed to do?
 
  • #80
[tex]What_sort of ^crazy stuff i_s th^is ?[/tex]
 
  • #81
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]
 
  • #82
[tex]well_k^o then[/tex]

This is going to take some practice.
 
Last edited:
  • #83
i am unsure of how to use the latex script?
 
  • #84
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.
 
  • #85
More trials:

[tex]
\begin{array}{| c | c |}1&0\\0&-1\end{array}
[/tex]
 
Last edited:
  • #86
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.
 
  • #87
Last edited by a moderator:
  • #88
Improperly aligned tensor indices:

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

Properly aligned tensor indices:

[tex]R^a{}_{bcd}[/tex]
 
  • #89
[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:
  • #90
Trying spacers:

[tex]Great_{\it I\ was}{}^{\it wondering}{}_{\it how~to~do}{}^{\it that!}[/tex]
 
  • #91
Non-italicized super/subscripts:

[tex]v^{\rm top}[/tex], [tex]v_{\rm bottom}[/tex]
 
  • #92
So when are we letting this go mainstream?
 
  • #93
Wishlist

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?

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.
 
  • #94


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
 
  • #95
Originally posted by Ambitwistor
Improperly aligned tensor indices:

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

Properly aligned tensor indices:

[tex]R^a{}_{bcd}[/tex]
 
  • #96


[tex]
\overline{x}
\hat{x}
\check{x}
\tilde{x}
\acute{x}
\grave{x}
\dot{x}
\ddot{x}
\breve{x}
\bar{x}
\vec{x}
\underline{x}
[/tex]

[tex]
A\xleftarrow{n+\mu-1}B \xrightarrow[T]{n\pm i-1}C
[/tex]
 
Last edited:
  • #97
Originally posted by Ambitwistor
Improperly aligned tensor indices:

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

Properly aligned tensor indices:

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

- Warren
 
  • #99


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

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


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

[tex]
A\yleftarrow{n+\mu-1}B \yrightarrow[T]{n\pm i-1}C
[/tex]
 
  • #101
[tex]
\overline{y}
\hat{y}
\check{y}
\tilde{y}
\acute{y}
\grave{y}
\dot{y}
\ddot{y}
\breve{y}
\bar{y}
\vec{y}
\underline{y}
[/tex]

[tex]
A\yleftarrow{n+\mu-1}B \yrightarrow[T]{n\pm i-1}C
[/tex]
 
  • #102
OMG, I'm a moron! newrepy.php should work now.

- Warren
 
  • #103
Originally posted by chroot
[tex]
\overline{y}
\hat{y}
\check{y}
\tilde{y}
\acute{y}
\grave{y}
\dot{y}
\ddot{y}
\breve{y}
\bar{y}
\vec{y}
\underline{y}
[/tex]

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

Maybe overzealous on the search-and-replace on those x's, eh?

[tex]
A\xleftarrow{n+\mu-1}B \xrightarrow[T]{n\pm i-1}C
[/tex]
 
  • #105
Originally posted by Ambitwistor
Maybe overzealous on the search-and-replace on those x's, eh?

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

Okay.. new replies should work. The post preview and topic reviews now show a better message:

LaTeX image not viewable here.

This should mean the end of the dreaded "LaTeX image being generated." message.

- Warren
 

Similar threads

  • MATLAB, Maple, Mathematica, LaTeX
Replies
3
Views
257
  • MATLAB, Maple, Mathematica, LaTeX
Replies
18
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
3K
  • STEM Academic Advising
Replies
10
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
4
Views
3K
  • Feedback and Announcements
Replies
1
Views
373
  • Sticky
  • MATLAB, Maple, Mathematica, LaTeX
2
Replies
64
Views
183K
Replies
7
Views
182
  • Feedback and Announcements
Replies
24
Views
4K
Back
Top