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.
  • #201
With MikTeX installed, look at a Windows gui called TeXnic Center, which may indeed have MikTeX along with it. The link on tug.org was broken when I looked last, but I have been extrememly happy with it. I have also used WinEdit.
 
Physics news on Phys.org
  • #202
Testing:

<br /> \mathcal{L}\{y\}=Y<br />
<br /> \mathcal{L}\{y&#039;\}=sY-y(0)<br />
<br /> \mathcal{L}\{y&#039;&#039;\}=s^2Y-sy(0) -y&#039;(0)<br />
 
Last edited:
  • #203
Just testing

\int f(x)dx , x^2+y^2+z^2=1
 
Last edited:
  • #204
Te sientas entre la gente
Cierras tu ojos
Y suenas que soy tuyo
Pero yo no siquiera se que estas ahi
Me gustaria tenerte entre mis brazos amor​
 
  • #205
Oh it can be centered...:sm:
 
  • #206
Testing

\tau/=E/m
 
  • #207
How can I do a VECTOR?

Hi,

I need a BIG VECTOR. Something like that

------->
<a,b,c,d>

How can I do this? I tried \vec but does not fires. Tnx for any help
 
  • #208
undersun said:
Hi,

I need a BIG VECTOR. Something like that

------->
<a,b,c,d>

How can I do this? I tried \vec but does not fires. Tnx for any help

Use \overrightarrow{ ... vector goes here ... }
 
  • #209
\omega=\sqrt\frac{GM}{r^3}

x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}

f(x)=f(0)+f&#039;(0)x+\frac{f&#039;&#039;(0)x^2}{2!}+\frac{f&#039;&#039;&#039;(o)x^3}{3!}

\int{u\frac{dv}{dx}}=uv-\int{\frac{du}{dx}v}

\int{\frac{2x+1}{x^2-x-6}}=\int{\frac{A}{x+2}+\frac{B}{x-3}}=\frac{1}{2}A\ln{(x+2)} - \frac{1}{3}B\ln{(x-3)}

\frac{dy}{dx}=\lambda y\Rightarrow\frac{dx}{dy}=\frac{1}{\lambda y}\Rightarrow x=\frac{1}{\lambda}\int{\frac{1}{y}dy}\Rightarrow x=\frac{1}{\lambda}\ln{(y)}+C

\Rightarrow\lambda x-C=\ln{y}\Rightarrow e^{\lambda x}\times e^{-C}=y\Rightarrow y=Ae^{\lambda x}

y=\sin^{-1}\frac{1}{6}x\Rightarrow \sin y=\frac{1}{6}x\Rightarrow 6\sin y=x\Rightarrow \frac{dx}{dy}=6\cos y

\Rightarrow \frac{dy}{dx} = \frac{1}{6 \cos y}

\Rightarrow = \frac{1}{6 \sqrt{1-\sin^{2}y}}

\Rightarrow = \frac{1}{6\sqrt{1-\frac{1}{36}x^2}}

\Rightarrow = \frac{1}{ \sqrt { 36 - x^2 }}

\int{x^3 \sqrt{3x^{4}-2} dx}
 
Last edited:
  • #210
\overrightarrow{(S,U,N,N,I,E)}
 
  • #211
picture example

<br /> \begin{picture}(100,100)(0,0)<br /> \put(0,0){\circle{3}}<br /> \put(0,0){\line(1,0){100}}<br /> \put(0,0){\line(0,1){100}}<br /> \put(100,100){\circle{3}}<br /> \put(50,10){\circle{3}}<br /> \put(55,15){{\bf test} label}<br /> \end{picture}<br />

<br /> \begin{picture}(200,200)(0,0)<br /> \multiput(0,0)(50,0){5}{\line(0,1){200}}\multiput(0,0)(0,50){5}{\line(1,0){200}}<br /> \end{picture}<br />

<br /> \begin{picture}(200,200)(0,0)<br /> \multiput(0,0)(40,10){5}{\line(1,4){40}}\multiput(0,0)(10,40){5}{\line(4,1){160}}<br /> \end{picture}<br />
 
Last edited:
  • #212
\left[x^2 -5x -6\right]_{0}^{1}

---------
 
Last edited:
  • #213
I have not read the whole thread ( I apologize) and I am totally new to Latex.
Typing the latex and memorizing the language sounds like a lot of work. I wonder if there is any shareware or freeware program with which I can write the equations by drag and drop and have the program write the latex for me.
I'll appreciate your help.
--Alex--
 
  • #214
It's not really a whole lot of work. Start small and learn as you go. There are really only a handful of structures you need to know in order to get started. Learn by example: you can click on any equation posted in any thread and see what the person typed to create that image.
 
  • #215
alexepascual said:
I have not read the whole thread ( I apologize) and I am totally new to Latex.
Typing the latex and memorizing the language sounds like a lot of work. I wonder if there is any shareware or freeware program with which I can write the equations by drag and drop and have the program write the latex for me.
I'll appreciate your help.
--Alex--
Another option I think may be the Equation Object included in WinWord which can also be somewhat similar help for you...(smiling)
 
  • #216
Last edited by a moderator:
  • #217
Thanks guys for your information,
MathType sounds interesting. But as it costs $119, I downloaded TeXaid (form the same company). I'll explore the other products when I have the time.
I am a little confused by the statement on some of these products that they are not a LaTex system. It appears that you need two pieces of software that will work in conjucntion but I still don't understand what each one does.
I think TexAid should allow me to produce LaTex code to paste into the forum.
When I register for classes in fall, I'll buy Mathematica at academic price.
Thanks again,
--Alex--
 
  • #218
Before buying Mathematica, ask in your University about it. Many universities have campus-wide licenses that allow students to use Mathematica from the University's network, and it is often the case that such benefits are not "common knowledge" among students.
 
  • #219
Greek letters

garamond ( greek)undefinedundefined

This is just a trial Ραυ , αβψδεφγηιξκλμνοπ;ρστθωςχυζ

Ραυξοην01
 
  • #220
Thanks for your information ahrkron.
 
  • #221
[text]
\int_{2}^{3} \frac{\arctan}{\sqrt{a^2 + x^2}}dx
[/text]
 
Last edited:
  • #222
why the hell won't it work?
 
  • #223
...
 
  • #224
<br /> \int_{2}^{3} \frac{\arctan}{\sqrt{a^2 + x^2}}dx<br />...lol...Thanks jcsd...that was a really dumb mistake :smile:
 
Last edited:
  • #225
You need to produce your equation you need to write:

\int_{2}^{3} \frac{\arctan}{\sqrt{a^2 + x^2}}dx<br />
 
  • #226
yeah i got it...thanks a million...that was going to drive me crazy :smile: :smile: :smile: :smile:
 
  • #227
<br /> \lim_{x\rightarrow \0} \sumf(x)\Delta = \int_{a}^{b}f(x) dx<br />
 
Last edited:
  • #228
Does anyone know how I can get this to work locally with windows. I downloaded a couple of programs and I didn't really get any of them to actually show the fomulas.

<br /> \int_{0}^{h} \frac{1}{2\sqrt{hx}} dx = <br /> \frac{1}{2\sqrt{h}}(2x^\frac{1}{2}) \vert_{0}^{h} = 1
 
Last edited:
  • #229
You'll need a LaTeX distribution (for example, www.miktex.org).
Basically, you take the latex file (file.tex) and run latex on it.
You get file.dvi, which can be viewed in a dvi viewer (called yap in miktex).
 
  • #230
integral as an exponent

Hi, I am trying to use latex to display a math problem but I am having a little trouble getting started, and the function I want to display is a little bit weird.

I(x) = e^ (the integral of -tan x dx)

I am not even sure it can display an integral as an exponent, but I seem to be having plenty of trouble just getting it to display e!

Thanks in advance for your help! :smile:
 
  • #231
Math Is Hard said:
Hi, I am trying to use latex to display a math problem but I am having a little trouble getting started, and the function I want to display is a little bit weird.

I(x) = e^ (the integral of -tan x dx)

I am not even sure it can display an integral as an exponent, but I seem to be having plenty of trouble just getting it to display e!

Thanks in advance for your help! :smile:

I(x)=e^{-\int tanx\:dx}
 
  • #232
woo hoo! muchas gracias, master coda!
 
  • #233
Or even better, use \tan to make the tangent function to appear in upright letters:

e^{- \int \tan x \, dx}
 
  • #234
I knew it didn't quite look right. And I was looking so smart, too. :-p
 
  • #235
They both look lovely. And it helped me get my math question answered. Thanks!
 
  • #236
This is a test. I am pasting LaTex code from TexAide. Let's see if it works.
% MathType!MTEF!2!1!+-
% feqaeaartrvr0aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn
% hiov2DGi1BTfMBaeXatLxBI9gBaebbnrfifHhDYfgasaacH8srps0l
% bbf9q8WrFfeuY-Hhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0-yr0R
% Yxir-Jbba9q8aq0-yq-He9q8qqQ8frFve9Fve9Ff0dmeaabaqaciGa
% caGaaeqabaaaamaaaOqaamaaEmaabaGaeqOXdygabaGaeuiQdKfaca
% GLPmIaay5bSlaawQYiaiabg2da9maapeaabaGaeqOXdy2aaWbaaSqa
% beaacqGHxiIkaaaabeqab0Gaey4kIipakmaabmaabaGaamiEaaGaay
% jkaiaawMcaaiabeI8a5naabmaabaGaamiEaaGaayjkaiaawMcaaiaa
% dsgacaWG4baaaa!46FB!
<br /> \left\langle {\phi }<br /> \mathrel{\left | {\vphantom {\phi \Psi }}<br /> \right. \kern-\nulldelimiterspace}<br /> {\Psi } \right\rangle = \int {\phi ^ * } \left( x \right)\psi \left( x \right)dx<br /> [\latex]
 
  • #237
OK, It didn't work.
I believe the text with percent signs at the beginning should be comments. I hope that is not interfeering.
But I do have the Latex code enclosed in the Latex delimiters. So, what's wrong?
I'll appreciate your help.
I'll next post just the LaTex part (to reduce the number of variables) and see what happens.
 
Last edited:
  • #238
Second trial:
<br /> \left\langle {\phi }<br /> \mathrel{\left | {\vphantom {\phi \Psi }}<br /> \right. \kern-\nulldelimiterspace}<br /> {\Psi } \right\rangle = \int {\phi ^ * } \left( x \right)\psi \left( x \right)dx<br /> [\latex]<br /> <br /> \alpha[\tex]&lt;br /&gt; x^2\sqrt{x}[\tex]
 
Last edited:
  • #239
Alex,

The tags are [ tex ] and [ /tex ], not [ tex ] and [ \tex ]. Forward slash, not backslash.

- Warren
 
  • #240
Thanks, Warren
Let's see:
<br /> \left\langle {\phi }<br /> \mathrel{\left | {\vphantom {\phi \Psi }}<br /> \right. \kern-\nulldelimiterspace}<br /> {\Psi } \right\rangle = \int {\phi ^ * } \left( x \right)\psi \left( x \right)dx<br />
Great!
 
Last edited:
  • #241
When I "preview post" to check my code, I am only allowed to preview once. Otherwise, the preview does not change. Because of this, I have been reverting to "post" all over again. What can I do?
 
  • #242
It's your browser, not the site. Tell it to stop caching images that way.

- Warren
 
  • #243
This is a test

[ tex ]
\nabla \times A = \left( {{{\partial A_z } \over {\partial y}} - {{\partial A_y } \over {\partial z}}} \right)i + \left( {{{\partial A_x } \over {\partial z}} - {{\partial A_z } \over {\partial x}}} \right)j + \left( {{{\partial A_y } \over {\partial x}} - {{\partial A_x } \over {\partial y}}} \right)k
[ /tex ]
 
  • #244
Another, cause it sure isn't working yet from MathType:
<br /> \[<br /> \nabla \times A = \left( {\frac{{\partial A_z }}{{\partial y}} - \frac{{\partial A_y }}{{\partial z}}} \right)i + \left( {\frac{{\partial A_x }}{{\partial z}} - \frac{{\partial A_z }}{{\partial x}}} \right)j + \left( {\frac{{\partial A_y }}{{\partial x}} - \frac{{\partial A_x }}{{\partial y}}} \right)k<br /> \]<br />

Maybe i got it !

<br /> \[<br /> \nabla \times \,A = \frac{1}{{rsin\theta }}\left[ {\frac{{\partial (A_\phi sin\theta )}}{{\partial \theta }} - \frac{{\partial A_\theta }}{{\partial \phi }}} \right]\hat r + \frac{1}{r}\left[ {\frac{1}{{sin\theta }}\frac{{\partial A_r }}{{\partial \phi }} - \frac{{\partial (rA_\phi )}}{{\partial r}}} \right]\hat \theta + \frac{1}{r}\left[ {\frac{{\partial (rA_\theta )}}{{\partial r}} - \frac{{\partial A_r }}{{\partial \theta }}} \right]\hat \phi <br /> \]<br />

Cool ! But there seems to be a limit on width. I just type it into MathType
and choose the LaTeX 2 translator, then add latex in front and /latex
after (both in []), it works ! kinda.
 
Last edited:
  • #245
Loren Booda said:
When I "preview post" to check my code, I am only allowed to preview once. Otherwise, the preview does not change. Because of this, I have been reverting to "post" all over again. What can I do?

To preview beyond the first time, [on IE6] I do a "refresh". It tells me that it has to resend information in the forms. When I say okay, the images are refreshed to reflect the latest TeX-rendering changes.
 
  • #246
<br /> \eq x = \frac{-b \pm \sqrt{b^2-4ac} } {2a}<br />

...wow - cool!
 
Last edited:
  • #247
Just out of curiosity...whats the backend for conversion? Is it open source (I haven't seen the documentation in detail)?

Cheers
Vivek
 
  • #248
We have color?

<br /> \textcolor{red}{Test}<br /> \begin{picture}(200,200)(0,0)<br /> \put(50,50){\textcolor{green}{\line(1,1){50}}}<br /> \end{picture}<br />
 
  • #249
<br /> \begin{picture}(130,90)<br /> \put(0,5){\epsfxsize=12cm \epsfbox{11.eps}}<br /> \put(0,90){$\tau_{B_c} $, ps}<br /> \put(123,7){$\mu$, GeV}<br /> \end{picture}<br />
 
  • #250
This is a test.
This is not Latex. Just trying to see how to do greek letters and subscripts in regular html.
α<sub>i</sub>
Let's see how it looks.

Well, it didn't work. I have seen other people typing formulas without latex and I wonder how they do it.
What shows as "a" above I typed concatenating "&" "alpha" ";"
Does anybody know how to do this? I know how to do it in latex, I just want to know how to do it without latex.
I'll appreciate your help.
 
Last edited:

Similar threads

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