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.
  • #386
Testing LaTex

This is just a test to see if it works.


[tex]A=[A\angle\theta_{A}][/tex]
 
Physics news on Phys.org
  • #387
[tex]\sum_{n=1}^\infty \frac{1}{n}-\frac{1}{n+1}[/tex]
 
Last edited:
  • #388
[tex]2 Li_(_s_) + 2 H_2O_(_l_) \xrightarrow~2 LiOH_(_a_q_) + H_2_(_g_)[/tex]
[tex]2 K_(_s_) + 2 H_2O_(_l_) \xrightarrow~2 KOH_(_a_q_) + H_2_(_g_)[/tex]
[tex]Ca_(_s_) + 2 H_2O_(_l_) \xrightarrow~Ca(OH)_2_(_s_) + H_2_(_g_)[/tex]
[tex]Na_(_s_) + 2 H_2O_(_l_) \xrightarrow~2 NaOH_(_a_q_) + H_2_(_g_)[/tex]
[tex]Mg_(_s_) + 2 H_2O_(_g_) \xrightarrow~Mg(OH)_2_(_s_) + H_2_(_g_)[/tex]
[tex]2 Al_(_s_) + 6 H_2O_(_g_) \xrightarrow~2 Al(OH)_3_(_s_) + 3 H_2_(_g_)[/tex]
[tex]Fe_(_s_) + CuSO_4_(_a_q_) \xrightarrow~FeSO_4_(_a_q_) + Cu_(_s_)\xleftarrow~[/tex]
 
Last edited:
  • #389
[tex]\Gamma(z)=\int^{\infty}_0t^{z-1}e^{-t}dt[/tex]
 
  • #390
test

Let me try

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

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

Cheers
Kea
 
Last edited:
  • #391
Test:

[tex](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})][/tex]
[tex]=[\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)[/tex]
 
  • #392
a test
[tex]\not G[/tex]

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

[tex]\widehat{G}[/tex]

[tex]\tilde{G}[/tex]

[tex]\overline{G}[/tex]

[tex]\mathbb{G}[/tex]
 
Last edited:
  • #393
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:
[tex]
\def\pds{\kern+0.1em /\kern-0.55em \partial}
\def\lts#1{\kern+0.1em /\kern-0.65em #1}
{\cal L}_R = \sum_{i=1}^G
\bar{E}^i_R(i\pds
- g_1Y_E \lts{B})E^i_R +
\bar{D}^i_R(i\lts{D}
- g_1Y_D \lts{B})D^i_R +
\bar{U}^i_R(i\lts{D}
- g_1Y_U \lts{B})U^i_R)
[/tex]

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

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

[tex]\mathcal{G}[/tex]

[tex]\mathbb{G}[/tex]

[tex]\mathbf{G}[/tex]

[tex]\mathsf{G}[/tex]
 
  • #394
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 [tex]\frac{dx}{d\tau}[/tex] in the second line of the Brian Greene quote into [tex]dx/d\tau[/tex], 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:
  • #395
[tex] a^n [/tex]
:cry:

I would like to write equations too...am I missing something?
 
Last edited:
  • #396
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
 
  • #397
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 ?
 
  • #398
[tex]
\def\lts#1{\kern+0.1em /\kern-0.65em #1}
\lts{\equiv}~~~ \lts{=}~~~\lts{~|}~~~\lts{\vert}[/tex]

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

[tex] \bigtriangledown ^2 \phi=\sqrt{t^2+1} [/tex]

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

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

Let's see...

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

[tex] G_i \oplus G_j = \emptyset \bigcap \ker(\alpha) \longleftrightarrow \sigma ^i^j \in SU(4)[/tex].
 
Last edited:
  • #402
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:
  • #403
[tex]\int_{1}^{\sqrt[3]{3}}z^2dz \times \cos{\frac{3\pi}{9}}=\ln{\sqrt[3]{e}}[/tex]

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 ;)
 
  • #404
quick q.

instead of having something like this

[tex]\int_{\|\vec{X}-\vec{Y}\|=\epsilon}[/tex]

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

the same here, instead of

[tex]\nabla_X[/tex]

i want the X beneath the nabla sign

thx :)
 
  • #405
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.
 
  • #406
[tex]\int \frac{3}{4+3x^2}dx=\frac{1}{2}\sqrt{3}\arctan(\frac{x\sqrt{3}}{2})+C[/tex]
 
  • #407
Question:

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

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

[tex]
\begin{picture}(400,400)

\put(80,80){\circle{40}}
\put(100,80){\circle{40}}
\put(90,100){\circle{40}}
\put(65,70){A}
\put(105,70){B}
\put(85,105){C}
\end{picture}
[/tex]

Though the "oval" might be more versatile:

[tex]

\begin{picture}(500,500)

\put(290,260){\oval(100,100)}
\put(330,280){\oval(100,100)}
\put(280,310){\oval(100,100)}
\put(260,240){A}
\put(350,240){B}
\put(260,330){C}
\end{picture}
[/tex]
 
Last edited:
  • #409
[tex]\int \atop \|\vec{X}-\vec{Y}\|=\epsilon[/tex]

[tex]\nabla \atop X[/tex]

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

[tex]\nabla \atop X[/tex]

there has to be a better way
You have the "stackrel" option
[tex]\stackrel{\nabla}{X}[/tex]
 
  • #411
thx mate... I am still not convinced though... ill get it right someday :)
 
  • #412
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?
 
  • #413
[tex]\iint\limits_\Omega [/tex]

[tex]\int\limits_{\|\vec{X}-\vec{Y}\|=\epsilon}[/tex]

[tex]\mathop{\nabla}\limits_X[/tex]

all right! :approve:
 
Last edited:
  • #414
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.
 
  • #415
[tex]x =\left\{\begin{array}{ccc}a&\mbox{ if }
x<1\\b &\mbox{ if }1\leq y <2 \\c&\mbox{ otherwise}\end{array}\right[/tex]
 
  • #416
Thanks. Any way to get the "ifs" aligned?

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

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

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

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:
  • #419
[tex]\textrm{pwnz0rz}= \frac {-1337 \textrm{search engine}\pm \sqrt{(1337 \textrm{search engine})^2-4(1)(\textrm{gmail})}}{2}[/tex]


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


...dont ask
 
  • #420
Testing
[tex]
\begin{array}{ccccc}1&2\\1&2\\3&2\\2&4\\2&5\\\end{array}
[/tex]
[tex]
\begin{array}{|c|c|c|c|c|}1&2\\1&2\\3&2\\2&4\\2&5\\\end{array}
[/tex]
[tex]
\begin{array}{|c|c|c|c|c|}\hline1&2\\\hline\hline1&2\\\hline\hline3&2\\\hline\
\hline2&4\\\hline\hline2&5\\\hline\end{array}
[/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
947
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
955
  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
5
Views
352
  • MATLAB, Maple, Mathematica, LaTeX
Replies
8
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
3
Views
275
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
9
Views
3K
Back
Top