Introducing LaTeX Math Typesetting

In summary, Physicsforums.com has introduced the addition of LaTeX mathematical typesetting to their forum software. This professional-grade typesetting system allows for pleasing mathematical presentation and can be included in any post on the forum. Users can include LaTeX graphics by using the [ tex ]...[ /tex ] or [ itex ]...[ /itex ] tags, with the latter being used for inline graphics. The forum provides a pdf file and symbol reference for the most useful LaTeX commands, symbols, and constructs. The amsmath package is also available for more information. Examples of various techniques are provided, including subscripts, superscripts, and equations. Users can also use the [ tex usepackage= ] tag to include additional packages.
  • #176
And this never used to happen in PF2? Does clicking on a latex image still bring up the little code dialog?

- Warren
 
Physics news on Phys.org
  • #177
Never happened before the upgrade. And yes, I can still get the code popup.
 
  • #178
Test... [tex]\beta[/tex]
 
  • #179
And there still be a dash. It's low.
 
  • #180
Test... [itex]\sqrt{x}[/itex] [itex]\{sqrt}{x}[/itex]
 
  • #181
Testing... [tex]E = -grad\Phi[/tex]
 
  • #182
Testing... [tex]E = \grad\Phi[/tex]
 
  • #183
Testing... [itex]E = mc^2
E = -grad\Phi[/itex]
 
  • #184
Testing.. [itex]\sqrt x[/itex]
 
  • #185
still dashes. All low.
 
  • #186
Hurkyl,

I'm afraid it really may just be a bug in your browser.

- Warren
 
  • #187
The dash goes away if I take out the anchor tag.

Oddly, if I change "<a href..." to "<b href..." it shows up fine.
 
  • #188
Right, your browser is not obeying the border=0 attribute on the images for some reason -- likely because of a style sheet or other bug.

- Warren
 
  • #189
Test... [itex]\infty[/itex]
 
  • #190
I am just testing the new LateX engine.

[itex] x = \int_\infty^0 \sin(\cos(\theta)) \,dx \frac{e^x}{\log(x)}[/itex]
 
  • #191
[tex]e=mc^2[/tex]
[tex]f=ma[/tex]

Blah, blah, blah
 
Last edited:
  • #192
Hey, I don't see the dashes today. Woohoo! (I wonder how long it's been?)
 
  • #193
latex display size

Is there a way to force this to be displayed bigger:

[tex]{ a^{log_cb} = b^{log_ca} [/tex]

and is there a way to make it clearer that c is a base?
 
  • #194
Use an \mbox{} to step out of the default format, then use one of the font size commands to set the desired size.

[tex]\mbox{\large a^{\log_cb} = b^{\log_ca}}[/tex]
[tex]\mbox{\Large a^{\log_cb} = b^{\log_ca}}[/tex]
[tex]\mbox{\LARGE a^{\log_cb} = b^{\log_ca}}[/tex]
[tex]\mbox{\huge a^{\log_cb} = b^{\log_ca}}[/tex]
[tex]\mbox{\Huge a^{\log_cb} = b^{\log_ca}}[/tex]

- Warren
 
  • #195
Hurkyl said:
Hey, I don't see the dashes today. Woohoo! (I wonder how long it's been?)
Whoops, I forgot to tell you I fixed that... :redface:

- Warren
 
  • #196
Wow, I'd like to be involved in this but all those formulas are greek to me, the symbols.
I can't handle stuff like that, throughout school I was always daydreaming. I did well on the tests because I understood not because I studied. Eventually that was way to much for me though. But I never gave up on physics. I stuck to the theoretical side, there are many things left to prove. My mind always focused on the vastness of space, it's intricisies(sp?) It's explained and it's not. Since I heard E=mc2 I never doubted it. I took it as fact and thought about what it could mean. Where it's explanation stopped, and it's implications began.

So, Sorry I can't give any cool input on your thread chroot :) :P

I really appreciate your thought into mine though. Because like I said my math isn't as advanced as yours. I would never be able to prove anything if I can't get someone to help me.
 
  • #197
We're not discussing anything in this thread, PRyckman. It started as a tutorial of PF's LaTeX math typesetting, and turned into a test thread. People are just posting random equations to learn how the typesetting works.

- Warren
 
  • #198
yes i read the first 20 posts or so only and last 5 or 10
 
  • #199
Why is this fraction not displaying correctly?

[tex]\mbox{\Huge B = \frac{1}{15} } [/tex]
 
  • #200
[tex]
\newcount\n
\n=1
\def\abc#1{
\ifnum\n<#1
\the\n \par
\advance\n by 1
\abc{#1}
\fi
}
\abc{10}
[/tex]
 
  • #201
gnome said:
Why is this fraction not displaying correctly?

[tex]\mbox{\Huge B = \frac{1}{15} } [/tex]


[tex]\Huge B = \frac{1}{15} [/tex]
 
  • #202
gnome said:
Why is this fraction not displaying correctly?

[tex]\mbox{\Huge B = \frac{1}{15} } [/tex]

[tex]\mbox{\Huge B = $\frac{1}{15}$ } [/tex]
 
  • #203
Ehehehe.

[tex]\mbox{\Huge \frac{U_4^{T_1}}{\frac {M_0}{P_v(M_4)}}}[/tex]
 
Last edited:
  • #204
textogif

This is my first attempt to use tex locally.
I'm trying to produce a .gif or .png image of a tex-formatted equation.

I created this file, named logic1.tex:
Code:
\documentclass{article}
\begin{document}
\begin{flushleft}
\begin{displaymath}
\pi \models \phi \Rightarrow \psi \:\textrm{iff}\:\pi \not\models \phi \:\textrm{or}\:\pi \models \psi 
\end{displaymath}
\end{flushleft}
\end{document}

When I run
>latex logic1.tex
it produces logic1.dvi which I can view with the kdvi viewer & it appears to be correct. But when I run
>textogif logic1.tex
or
>textogif -png logic1.tex
the resulting image file has the equation superimposed over a checkerboard-pattern background which makes it virtually impossible to read.

What am I doing wrong?

How about my logic1.tex file: is anything missing or extraneous?
 
  • #205
The checkerboard pattern is the "standard" way to show that parts of an image are transparent. Try including the image in a web page to see how it looks.

- Warren
 
  • #206
Thanks Warren.

But then, how can I make a png or gif image with a plain white background that I can send someone, to be opened with an ordinary viewer (not on a web page)?
 
  • #207
Use one of the many utilities available for changing gif (or png) color tables.

- Warren
 
  • #208
[tex]V_e = \frac{c[v_1 - (v_1 - x)]}{v_1 + (v_1 - x)} [/tex]



[tex]V_e = \frac{c[v_1 - (v_1 - x)]}{v_1 + (v_1 - x)} [/tex]

[tex]V_e^2 \equiv \frac{c^2x^2}{(2v_1-x)(2v_1-x)}[/tex]



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

[tex]V_e=v[\tex]

[tex]\gamma \equiv \frac{1}{\sqrt{1- \frac{c^2x^2}{(2v_1-x)(2v_1-x}}/c^2[/tex]

[tex]\gamma \equiv \frac{1}{\sqrt{1- \frac{x^2}{(2v_1-x)(2v_1-x)}}}[/tex]

[tex]\gamma \equiv \frac{1}{\sqrt{1- \frac{x^2}{(2v_1-x)(2v_1-x)}}}[/tex]
 
Last edited:
  • #210
[tex]V_e = \frac{c[v_1 - (v_1 - x)]}{v_1 + (v_1 - x)} [/tex]



[tex]V_e = \frac{c[v_1 - (v_1 - x)]}{v_1 + (v_1 - x)} [/tex]

[tex]V_e^2 \equiv \frac{c^2x^2}{(2v_1-x)(2v_1-x)}[/tex]



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

[tex]V_e=v[\tex]

[tex]\gamma \equiv \frac{1}{\sqrt{1- \frac{c^2x^2}{(2v_1-x)(2v_1-x}}/c^2[/tex]

[tex]\gamma \equiv \frac{1}{\sqrt{1- \frac{x^2}{(2v_1-x)(2v_1-x)}}}[/tex]

[tex]\gamma \equiv \frac{1}{\sqrt{1- \frac{x^2}{(2v_1-x)(2v_1-x)}}}[/tex]
 

Similar threads

  • MATLAB, Maple, Mathematica, LaTeX
Replies
3
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
3K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
4
Views
921
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
926
  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
5
Views
340
  • MATLAB, Maple, Mathematica, LaTeX
Replies
8
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
3
Views
257
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
9
Views
3K
Back
Top