LaTeX Introducing LaTeX Math Typesetting

AI Thread Summary
Physics Forums has integrated LaTeX mathematical typesetting into its platform, allowing users to create visually appealing mathematical expressions using markup similar to HTML. Users can include LaTeX graphics in posts by wrapping their code in [tex] or [itex] tags for display or inline formatting, respectively. A PDF guide with essential LaTeX commands and symbols is available, along with links to additional resources. The community is encouraged to experiment with the system and share examples, while also being mindful of server load when generating graphics. This addition aims to enhance the clarity and professionalism of mathematical discussions on the forum.
  • #151
Hmmmmm. What browser are you using?

- Warren
 
Physics news on Phys.org
  • #152
Opera 7.23

Sometimes they appear high like that, and sometimes they appear low.


Oh, and I get them in Netscape 7.0 too. (appearing low for the image I posted)
 
Last edited:
  • #153
And this never used to happen in PF2? Does clicking on a latex image still bring up the little code dialog?

- Warren
 
  • #154
Never happened before the upgrade. And yes, I can still get the code popup.
 
  • #155
Test... \beta
 
  • #156
And there still be a dash. It's low.
 
  • #157
Test... \sqrt{x} \{sqrt}{x}
 
  • #158
Testing... E = -grad\Phi
 
  • #159
Testing... E = \grad\Phi
 
  • #160
Testing... E = mc^2<br /> E = -grad\Phi
 
  • #161
Testing.. \sqrt x
 
  • #162
still dashes. All low.
 
  • #163
Hurkyl,

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

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

Oddly, if I change "<a href..." to "<b href..." it shows up fine.
 
  • #165
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
 
  • #166
Test... \infty
 
  • #167
I am just testing the new LateX engine.

x = \int_\infty^0 \sin(\cos(\theta)) \,dx \frac{e^x}{\log(x)}
 
  • #168
e=mc^2
f=ma

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

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

{ a^{log_cb} = b^{log_ca}

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

\mbox{\large a^{\log_cb} = b^{\log_ca}}
\mbox{\Large a^{\log_cb} = b^{\log_ca}}
\mbox{\LARGE a^{\log_cb} = b^{\log_ca}}
\mbox{\huge a^{\log_cb} = b^{\log_ca}}
\mbox{\Huge a^{\log_cb} = b^{\log_ca}}

- Warren
 
  • #172
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
 
  • #173
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.
 
  • #174
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
 
  • #175
yes i read the first 20 posts or so only and last 5 or 10
 
  • #176
Why is this fraction not displaying correctly?

\mbox{\Huge B = \frac{1}{15} }
 
  • #177
<br /> \newcount\n<br /> \n=1<br /> \def\abc#1{<br /> \ifnum\n&lt;#1<br /> \the\n \par<br /> \advance\n by 1<br /> \abc{#1}<br /> \fi<br /> }<br /> \abc{10}<br />
 
  • #178
gnome said:
Why is this fraction not displaying correctly?

\mbox{\Huge B = \frac{1}{15} }


\Huge B = \frac{1}{15}
 
  • #179
gnome said:
Why is this fraction not displaying correctly?

\mbox{\Huge B = \frac{1}{15} }

\mbox{\Huge B = $\frac{1}{15}$ }
 
  • #180
Ehehehe.

\mbox{\Huge \frac{U_4^{T_1}}{\frac {M_0}{P_v(M_4)}}}
 
Last edited:
  • #181
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?
 
  • #182
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
 
  • #183
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)?
 
  • #184
Use one of the many utilities available for changing gif (or png) color tables.

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



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

V_e^2 \equiv \frac{c^2x^2}{(2v_1-x)(2v_1-x)}



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

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



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

V_e^2 \equiv \frac{c^2x^2}{(2v_1-x)(2v_1-x)}



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

V_e=v[\tex]<br /> <br /> \gamma \equiv \frac{1}{\sqrt{1- \frac{c^2x^2}{(2v_1-x)(2v_1-x}}/c^2 <br /> <br /> \gamma \equiv \frac{1}{\sqrt{1- \frac{x^2}{(2v_1-x)(2v_1-x)}}}<br /> <br /> \gamma \equiv \frac{1}{\sqrt{1- \frac{x^2}{(2v_1-x)(2v_1-x)}}}
 
  • #188
tell me what I should have done to make the line spacing and font size more consistent.

Believe it or not, the font size is consistent.

If you want better spacing, maybe you could put all of the equations in a single tex tag. Check the first page for an example.
 
  • #189
Edwin,

Since you seem to be addicted to nesting pieces of TeX inside other pieces of TeX, I will advise you that you can use whitespace inside the [ tex ] tags to make your code easier to write (and read). In other words, code like this is fine (click the image to see the code):

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

- Warren
 
  • #190
Thanks Warren! That was a helpful bit of information :)


Best Regards,

Edwin
 
  • #191
If you're still working on your TeX identifier for the newsgroups, here's a good one to tweak it on:

https://www.physicsforums.com/showthread.php?t=24389
 
  • #192
let me have a try!
a=b^3
 
  • #193
We'll give it a try (doesn't look to promising in preview mode) But it almost works once posted.


\ddot\lambda + \omega^2_E \left(\frac{R_E}{a}\right)^2

Now, that's what we're looking for. Takes a little time to get the feel for the order and size, etc.
 
Last edited:
  • #194
Bob:

It should work just fine in preview mode. Some browsers may cache images, and you may have to force them not to.

- Warren
 
  • #195
Hi, I have a question concerning the following Latex/(Tex?) commands:
I tried to make a listing with the following command structure (within the environment delimited by the tex-brackets):
\begin{enumerate}
\item ...
\item ...
\end{enumerate}
This has for me always produced a numbered list for each \item included,
but when I tried it on PF, the numbers failed to appear, and the items did not appear on separate lines
(A similar result was with "itemize" rather than "enumerate", which usually have produced dots rather than numbers in front of the items included)

So, what's the listing commands I should use here?
 
Last edited:
  • #196
\ddot\lambda + \omega^2_E \left(\frac{R_E}{a}\right)^2
 
  • #197
Copy and paste works fine
 
  • #198
I would like to make a question:
I know of Latex when using Linux system of my school, but there isnot Latex for Windows, right ? If I would like to practise learning Latex but in Windows, that is impossible right ?

Please help me, please forgive my newie question because I am actually a newie...Please...
:)
Thanks in advance
 
  • #199
Look into a package called MikTeX for windows.

- Warren
 
  • #200
chroot said:
Look into a package called MikTeX for windows.

- Warren
Thanks Warren a lot...

lol...
Regards
 

Similar threads

Replies
5
Views
3K
Replies
3
Views
2K
Replies
4
Views
3K
Replies
8
Views
3K
Replies
3
Views
2K
Back
Top