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.
  • #351
Try this one \approx
 
Physics news on Phys.org
  • #353
Yes, I d/led that pdf but I was having some trouble with acrobat. I think it is better now though. Thanks.
 
  • #354
test

a= \fraq{b}{x}
 
Last edited:
  • #355
\frac{1}{5+2}
 
Last edited:
  • #356
Vosin45-gt=0

Vosin45=gt

t= \frac{Vosin45}{g}

since you need to muliply by 2
t= \frac {\frac{2\frac{2\sqrt{2}Vo}{2}\frac{2\sqrt{2}Vo}{2}\frac{2\sqrt{2}Vo}{2}\sqrt{2}Vo}{2}\frac{2\sqrt{2}Vo}{2}\frac{2\sqrt{2}Vo}{2}\frac{2\sqrt{2}Vo}{2} }{g}

t= \frac{Vo\sqrt{2}}{g}
 
Last edited:
  • #357
From now on, please use the "Post Preview" feature to test your LaTeX, rather than wasting server space by posting it here. Please post any additional questions about our LaTeX system to the Feedback forum. Please post any additional questions about LaTeX itself to the General Technology Forum.

- Warren
 
  • #358
testing...
<br /> \begin{array}{r l r l}<br /> u &amp;= \ln x \quad &amp; dv &amp;= x\,dx \\<br /> du &amp;= \frac{1}{x}\,dx &amp; v &amp;= \frac{1}{2} x^2<br /> \end{array}<br />



<br /> \begin{array}{r l r l}<br /> sqrt{a_A^2+b_B^2}<br /> \end{array}<br /> [\tex]
 
Last edited:
  • #359
\ddot{x}=-\omega^{2}{x}
T=\frac{2\pi}{\omega}
\ddot{x}
T
\omega
I=\frac{1}{2}MR^{2}
I
M
R
I=\frac{1}{2}MR^{2}+4mr^{2}
m
r
T_{v}=2\pi\sqrt{\frac{k}{m}}
T_{r}=2\pi\sqrt{\frac{I}{c}}
T
k
c
 
Last edited by a moderator:
  • #360
x^2\sqrt{x}\int
 
Last edited:
  • #361
T_{r}=10.8-8.1
T_{r}=2.7
T_{r}
T_{v}
T_{r}=T_{v}
T_{r}^{2}\propto{I}
 
  • #362
\langle p_1 | p_2 \rangle = \langle 0 | a(p_1) a^{\dagger} (p_2) | 0 \rangle = \delta (p_1 - p_2)
\langle x^1 | x^2 \rangle = \langle 0 | \varphi (x^1) \varphi ^{\dagger} (x^2) | 0 \rangle = \delta (x^1 - x^2)
T^{\mu \nu} = g^{\nu \sigma} {T^{\mu}}_{\sigma}
 
Last edited:
  • #363
Testing LaTex

This is just a test to see if it works.


A=[A\angle\theta_{A}]
 
  • #364
\sum_{n=1}^\infty \frac{1}{n}-\frac{1}{n+1}
 
Last edited:
  • #365
2 Li_(_s_) + 2 H_2O_(_l_) \xrightarrow~2 LiOH_(_a_q_) + H_2_(_g_)
2 K_(_s_) + 2 H_2O_(_l_) \xrightarrow~2 KOH_(_a_q_) + H_2_(_g_)
Ca_(_s_) + 2 H_2O_(_l_) \xrightarrow~Ca(OH)_2_(_s_) + H_2_(_g_)
Na_(_s_) + 2 H_2O_(_l_) \xrightarrow~2 NaOH_(_a_q_) + H_2_(_g_)
Mg_(_s_) + 2 H_2O_(_g_) \xrightarrow~Mg(OH)_2_(_s_) + H_2_(_g_)
2 Al_(_s_) + 6 H_2O_(_g_) \xrightarrow~2 Al(OH)_3_(_s_) + 3 H_2_(_g_)
Fe_(_s_) + CuSO_4_(_a_q_) \xrightarrow~FeSO_4_(_a_q_) + Cu_(_s_)\xleftarrow~
 
Last edited:
  • #366
\Gamma(z)=\int^{\infty}_0t^{z-1}e^{-t}dt
 
  • #367
test

Let me try

\xymatrix @=15mm {T \hspace{2mm} \ar@{&gt;-&gt;}[r]_{f}<br /> \ar[d]^{!} &amp; S \ar[d]_{\chi} \\ \{ \ast \} \ar[r]^{t} &amp; \{ 0,1 \}<br /> }

Oops. Can we have the xy package at some future date?

Cheers
Kea
 
Last edited:
  • #368
Test:

(AB)C=([a_{ij}]\times[b_{ij}])\times[c_{ij}]=[\sum_{k=1}^{n}a_{ik}b_{kj}]\times[c_{ij}]=[\sum_{l=1}^{p}(\sum_{k=1}^{n}a_{ik}b_{kl})c_{lj}]=[\sum_{l=1}^{p}(\sum_{k=1}^{n}a_{ik}b_{kl}c_{lj})]
=[\sum_{k=1}^{n}(\sum_{l=1}^{p}a_{ik}b_{kl}c_{lj})]=[\sum_{k=1}^{n}a_{ik}(\sum_{l=1}^{p}b_{kl}c_{lj})]=[a_{ik}]\times[\sum_{l=1}^{p}b_{kl}c_{lj}]=[a_{ik}]\times([b_{ik}]\times[c_{ik}])=A(BC)
 
  • #369
a test
\not G

how do you put a slash thru a letter? anybody?
I just want a distinguished G, slash isn't so good, so I will try some others

\widehat{G}

\tilde{G}

\overline{G}

\mathbb{G}
 
Last edited:
  • #370
I see Ambitwistor has made some slashes but it seems very involved so maybe let's forget about it and try something else
Ambitwistor said:
<br /> \def\pds{\kern+0.1em /\kern-0.55em \partial}<br /> \def\lts#1{\kern+0.1em /\kern-0.65em #1}<br /> {\cal L}_R = \sum_{i=1}^G<br /> \bar{E}^i_R(i\pds<br /> - g_1Y_E \lts{B})E^i_R +<br /> \bar{D}^i_R(i\lts{D}<br /> - g_1Y_D \lts{B})D^i_R +<br /> \bar{U}^i_R(i\lts{D}<br /> - g_1Y_U \lts{B})U^i_R)<br />

There's actually a whole 'slashed' package for this...

I want a distinguished G symbol. I'll try some more alternatives

\mathcal{G}

\mathbb{G}

\mathbf{G}

\mathsf{G}
 
  • #371
How come I when I try to edit my code, the changes don't show up in the post? In this post I wanted to change that \frac{dx}{d\tau} in the second line of the Brian Greene quote into dx/d\tau, so I changed the code in the edit window, but it still shows up like the first version on my screen.

edit: I checked back a few hours later, and now the edited version appears onscreen. But then I made another edit, and again the graphics were not updated, even if I hit "refresh" or quit my browser and returned to the page. Is there a delay in how quickly LaTeX graphics are updated or something?

edit 2: never mind, I figured out that if I clear my browser's disk cache before hitting "refresh", the graphic gets updated correctly, so that must have been the problem.
 
Last edited:
  • #372
a^n
:cry:

I would like to write equations too...am I missing something?
 
Last edited:
  • #373
clive:

Be careful. You need a a forward slash, not a backslash, in your closing [ tex ] tags.

Type this, but omit the spaces:

[ tex ] a^n [ /tex ]

- Warren
 
  • #374
I've wondered about slashes too...especially for symbols representing "not equal" (which can be got around), "not congruent" (need a slash through \equiv), "not divisible by" (or "does not divide" which is a slash across a vertical line).

Do these symbols exist (haven't seen them in any library, but I haven't looked carefully) or does it take some trick to generate them ?
 
  • #375
<br /> \def\lts#1{\kern+0.1em /\kern-0.65em #1}<br /> \lts{\equiv}~~~ \lts{=}~~~\lts{~|}~~~\lts{\vert}

Hmmm...That didn't work too well. Can I change the position of the slash ?
 
  • #376
Thanks chroot,

\bigtriangledown ^2 \phi=\sqrt{t^2+1}

What a wonderful world... :approve:
 
  • #377
This is very cool :smile: How can I put this new addition on my vBulletin forums as well?

Thanks in advance! :smile:
 
  • #378
Ten forward gears and a Georgia Overdrive

Let's see...

\pi * e \oint D^4 f \bigwedge F(\overline {\tau}) \approx \underbar {X}, whence

G_i \oplus G_j = \emptyset \bigcap \ker(\alpha) \longleftrightarrow \sigma ^i^j \in SU(4).
 
Last edited:
  • #379
Latex for Statistical Mechanics

I am trying to do a formula sheet for statistical mechanics. Our professor uses a dashed-d to represent a perfect differential, which I have had trouble making. I did overwrite a d with a ^{\smallsetminus}, but the construct I was using (copied from a website) caused problems. Anyone have a non-problematic overtype?

Also, his notation is to use a line at the end of a derivative with subscripts representing the variables held constant. I can't get |, \vert, \right|, or \mid to work correctly. Has anyone solved this?

Thanks so much for your help in advance.
 
Last edited:
  • #380
\int_{1}^{\sqrt[3]{3}}z^2dz \times \cos{\frac{3\pi}{9}}=\ln{\sqrt[3]{e}}

Integral z squared dz
from 1 to the cube root of 3
times the cosine of 3 pi over 9
equals the log of the cubes root of e


Whoever thought that up was a really clever math poet ;)
 
  • #381
quick q.

instead of having something like this

\int_{\|\vec{X}-\vec{Y}\|=\epsilon}

can i make the \|\vec{X}-\vec{Y}\|=\epsilon} right beneath the \int sign?

the same here, instead of

\nabla_X

i want the X beneath the nabla sign

thx :)
 
  • #382
Gary King said:
This is very cool :smile: How can I put this new addition on my vBulletin forums as well?

Thanks in advance! :smile:
Gary, this addition is not a standard addon for vBulletin. The administrators have added the LaTeX system themselves. More information on LaTeX, http://www.latex-project.org.
 
  • #383
\int \frac{3}{4+3x^2}dx=\frac{1}{2}\sqrt{3}\arctan(\frac{x\sqrt{3}}{2})+C
 
  • #384
Question:

Is it possible to make Venn Diagrams with LaTeX?
 
  • #385
Tom Mattson said:
Question:

Is it possible to make Venn Diagrams with LaTeX?
Yep, you can use the picture enviroment, like thus:

<br /> \begin{picture}(400,400)<br /> <br /> \put(80,80){\circle{40}}<br /> \put(100,80){\circle{40}}<br /> \put(90,100){\circle{40}}<br /> \put(65,70){A}<br /> \put(105,70){B}<br /> \put(85,105){C}<br /> \end{picture}<br />

Though the "oval" might be more versatile:

<br /> <br /> \begin{picture}(500,500)<br /> <br /> \put(290,260){\oval(100,100)}<br /> \put(330,280){\oval(100,100)}<br /> \put(280,310){\oval(100,100)}<br /> \put(260,240){A}<br /> \put(350,240){B}<br /> \put(260,330){C}<br /> \end{picture}<br />
 
Last edited:
  • #386
\int \atop \|\vec{X}-\vec{Y}\|=\epsilon

\nabla \atop X

there has to be a better way
 
  • #387
ReyChiquito said:
\int \atop \|\vec{X}-\vec{Y}\|=\epsilon

\nabla \atop X

there has to be a better way
You have the "stackrel" option
\stackrel{\nabla}{X}
 
  • #388
thx mate... I am still not convinced though... ill get it right someday :)
 
  • #389
anyone know how to do a contraction symbol from QFT (as in Wicks Theorem)? It is basically a square brace on top of the charecters connecting 2 charecters that are not necesarily next to each other?
 
  • #390
\iint\limits_\Omega

\int\limits_{\|\vec{X}-\vec{Y}\|=\epsilon}

\mathop{\nabla}\limits_X

all right! :approve:
 
Last edited:
  • #391
how do I set up a case-by-case function definition, i.e.
...{ a if y<1
x = { b if 1&le;y<2
...{ c otherwise

The \cases command doesn't seem to work here.
 
  • #392
x =\left\{\begin{array}{ccc}a&amp;\mbox{ if }<br /> x&lt;1\\b &amp;\mbox{ if }1\leq y &lt;2 \\c&amp;\mbox{ otherwise}\end{array}\right
 
  • #393
Thanks. Any way to get the "ifs" aligned?

edit: nm; I seem to have gotten it.
 
Last edited:
  • #394
Yes, I couldn't work it out at first (for info here it is:)
x =\left\{\begin{array}{lll}a&amp;\mbox{ if }<br /> x&lt;1\\b&amp;\mbox{ if }1\leq y &lt;2 \\c&amp;\mbox{ otherwise }\end{array}\right
 
  • #395
TexAide

This is copied (and edited) from TeXaide (which works exactly like Microsoft Equation Editor)

<br /> x\sum\limits_{i = 0}^\infty {\left( {\begin{array}{*{20}c}<br /> a &amp; b &amp; c \\<br /> {a \times a} &amp; {b \otimes b} &amp; {c\langle c^c \rangle } \\<br /> {a_{\aleph _0 } } &amp; {\wp \left( b \right)} &amp; {\bigcap\limits_c {\Re ^c } } \\<br /> \end{array}} \right)} \frac{\partial }{{\partial x}}\mathop \oplus \limits_x \bigcup + 6\mathop{\left){\vphantom{1{12}}}\right.<br /> \!\!\!\!\overline{\,\,\,\vphantom 1{{12}}}}<br /> \limits^{\displaystyle\hfill\,\,\, 2}<br /> \

Can't seem to figure out where that last "]" comes from at the end, but alas - it worked like a charm. Shame that all means nothing!
 
Last edited:
  • #396
\textrm{pwnz0rz}= \frac {-1337 \textrm{search engine}\pm \sqrt{(1337 \textrm{search engine})^2-4(1)(\textrm{gmail})}}{2}


Hmm, so you can mix words with numbers and pretty print in latex with \textrm.


...dont ask
 
  • #397
Testing
<br /> \begin{array}{ccccc}1&amp;2\\1&amp;2\\3&amp;2\\2&amp;4\\2&amp;5\\\end{array}<br />
<br /> \begin{array}{|c|c|c|c|c|}1&amp;2\\1&amp;2\\3&amp;2\\2&amp;4\\2&amp;5\\\end{array}<br />
<br /> \begin{array}{|c|c|c|c|c|}\hline1&amp;2\\\hline\hline1&amp;2\\\hline\hline3&amp;2\\\hline\<br /> \hline2&amp;4\\\hline\hline2&amp;5\\\hline\end{array}<br />
 
  • #398
bored and late

FBox[x_List] := StringJoin@ToString @@@ Flatten[
{
"\begin{array}\n",
"{", "|", Table["
c|", {n, 1, Length[x]}], "}", "\hline", Table[{Table[{ToString[x[[n1,
n2]]], If[n2 ≠ Dimensions[
x][[2]], "&", ""]}, {n2, 1, Dimensions[x][[2]]}], "\\\\", "\hline
"}, {n1, 1, Dimensions[x][[1]]}], "\n \end{array}"
}
]

FBox[{{1, 2}, {1, 2}, {3, 2}, {2, 4}, {2, 5}}]:
<br /> \begin{array}<br /> {|c|c|c|c|c|}\hline1&amp;2\\\hline1&amp;2\\\hline3&amp;2\\\hline2&amp;4\\\hline2&amp;5\\\hline<br /> \end{array}<br />
 
  • #399
F2[x_List] := StringJoin @@ ToString @@@ Flatten[
{
"\begin{array}",
"{", Table["c", {n, 1, Length[x]}], "}",
Table[
{Table[{ToString[x[[n1, n2]]], If[n2
≠ Dimensions[x][[2]], "&", ""]}, {n2, 1, Dimensions[x][[2]]}],
"\\\\"},
{n1, 1, Dimensions[x][[1]]}
],
"\end{array}"
}
]
F2[{{1, 2}, {1, 2}, {3, 2}, {2, 4}, {2, 5}}]:
<br /> \begin{array}{ccccc}1&amp;2\\1&amp;2\\3&amp;2\\2&amp;4\\2&amp;5\\\end{array}<br />
 
  • #400
The above code is for mathematica
 

Similar threads

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