Introducing LaTeX Math Typesetting

Click For Summary
SUMMARY

The Physics Forums has integrated LaTeX mathematical typesetting into its platform, allowing users to create professional-grade mathematical expressions. Users can include LaTeX graphics in posts using the [tex] and [itex] tags for display and inline formats, respectively. A PDF guide detailing essential LaTeX commands and symbols is available, along with additional resources for the amsmath package. This feature enhances the forum's capability for mathematical discussions and presentations.

PREREQUISITES
  • Familiarity with LaTeX syntax and commands
  • Understanding of mathematical notation and typesetting
  • Basic knowledge of using forums and posting content online
  • Access to LaTeX resources and documentation
NEXT STEPS
  • Explore the PDF guide on LaTeX commands provided by Physics Forums
  • Learn about the amsmath package and its functionalities
  • Practice creating LaTeX graphics using the [tex] and [itex] tags
  • Investigate additional LaTeX resources for advanced typesetting techniques
USEFUL FOR

Mathematicians, educators, students, and anyone involved in scientific communication who seeks to enhance their ability to present mathematical content effectively on online platforms.

  • #571
Tzar said:
Can someone please tell me the latex code for the little circle which denotes composition of functions?
Do you mean this symbol?

\circ

Just click on my LaTeX code. Here's an example:

f \circ g
 
Physics news on Phys.org
  • #572
Could anyone suggest modern LaTeX to HTML utility for win32 system?
I imagine my visualization of documents as: in HTML there are LaTeX documents(or simply block of LaTeX code) and when displaying it will be transformed to HTML or image and will be visible as normal math (just as on this forum).
 
Last edited:
  • #573
Why is that every time I write a math equation and when I click preview, I can never see the equation. I always just see the message telling me that the graphic is being generated. I have to submit my message first before I can see it. Can anyone please explain.
 
  • #574
Corneo said:
Why is that every time I write a math equation and when I click preview, I can never see the equation. I always just see the message telling me that the graphic is being generated. I have to submit my message first before I can see it. Can anyone please explain.
That's an error with the update, and Greg is working on it.
You can read here :)
 
  • #575
How do I insert a line break?

How do I insert a line break? I have read the pdf file explaining the different commands. I have tried the following:

\\
\ \
\\
\ \
\linebreak
\linebreak[4]
\linebreak[0]

and many others. All help would be appreciated.
 
  • #576
Captain Zapp0 said:
How do I insert a line break? I have read the pdf file explaining the different commands. I have tried the following:

\\
\ \
\\
\ \
\linebreak
\linebreak[4]
\linebreak[0]

and many others. All help would be appreciated.
You may want to try \begin{array} and \end{array} commands.
Click on my LaTeX image to see the code.
\begin{array}{l} \mbox{Text 1} \\ \mbox{Text 2} \\ \frac{x}{2} = \frac{\gamma + \beta}{\varepsilon} \end{array}
This is covered in 3 .PDF files in the first post of this thread.
 
  • #577
wow i have to ask how do u do that ...(btw thanks a lot)
 
  • #578
Is there a latex command for Feynman diagrams or contractions in QFT (the lines joining operators to denote propogators and things)?
 
  • #579
Hmm...I usually just delete and repost should any
problems with \LaTeX previewing occur :shy:

\mathop {\lim }\limits_{n \to \infty } \bigcup\limits_{i = 0}^{n!} {\left\{ {\frac{i}{{n!}}} \right\}} = \mathbb{Q} \cap \left[ {0,1} \right]
 
  • #580
How do you write 3D column vectors in \LaTeX?
 
  • #582
electronic engineer said:
In my last post I've written:
v(w)=integral(v(t)*e^-jwt) ; - infinity<t<+infinity

how can i write it using latex?
Page through this thread and you'll find several examples of integrals that you can copy.
 
  • #583
<br /> \]<br /> <br /> \unitlength 1mm<br /> \begin{picture}(55,90)(0,0)<br /> \linethickness{0.3mm}<br /> \put(20,10){\line(0,1){80}}<br /> \linethickness{0.3mm}<br /> \multiput(20,90)(0.12,-0.12){250}{\line(1,0){0.12}}<br /> \linethickness{0.3mm}<br /> \multiput(20,30)(0.12,0.12){250}{\line(1,0){0.12}}<br /> \linethickness{0.3mm}<br /> \multiput(20,10)(0.12,0.2){250}{\line(0,1){0.2}}<br /> \put(15,30){\makebox(0,0)[cc]{t}}<br /> \put(15,60){\makebox(0,0)[cc]{\gamma t}}<br /> \put(15,90){\makebox(0,0)[cc]{k^2t}}<br /> <br /> \put(55,60){\makebox(0,0)[cc]{kt}}<br /> <br /> \end{picture}<br /> \[<br />
 
Last edited:
  • #584
<br /> \]<br /> \unitlength 1mm<br /> \begin{picture}(55, 90)(0, 0)<br /> \linethickness{0.3mm}<br /> \put(20, 10){\line(0,1){80}}<br /> \linethickness{0.3mm}<br /> \multiput(20, 90)(0.12,-0.12){250}{\line(1, 0){0.12}} <br /> \linethickness{0.3mm}<br /> \multiput(20, 10)(0.12,0.2){250}{\line(0, 1){0.2}}<br /> \put(15, 55){\makebox(0, 0)[cc]{c}}<br /> \put(40, 76){\makebox(0, 0)[cc]{a}}<br /> \put(42, 39){\makebox(0, 0)[cc]{b}}<br /> \end{picture}<br /> \[<br />

Woo.. finally looks right :D

c^2 = a^2 + b^2

Ignore this please, messing with the triangle above :D

Cheers,

Ryan Jone
 
Last edited:
  • #585
<br /> \begin{tabular}[t]{|l|ccccc|c|}<br /> \multicolumn{7}{c}{USAMTS Scores Round 1}\\<br /> \hline<br /> Name &amp; \# 1 &amp; \# 2 &amp; \# 3 &amp; \# 4 &amp; \# 5 &amp; Total\\<br /> \hline<br /> John Doe &amp; 5 &amp; 5 &amp; 3 &amp; 2 &amp; 1 &amp; 16\\<br /> Jane Doe &amp; 5 &amp; 5 &amp; 5 &amp; 4 &amp; 5 &amp; 24\\<br /> Richard Feynman &amp; 5 &amp; 5 &amp; 5 &amp; 5 &amp; 5 &amp; 25\\<br /> \hline<br /> \end{tabular}<br />
 
  • #586
v(w)=int^{+infty}^{-infty} v(t) \e^{-jwt}, \dt
 
Last edited:
  • #587
chroot said:
Hmmm well, I thought I knew how, but now I'm not so sure. I'll have to look around. Maybe Ambitwistor knows a trick to put a command that has been \renew'd back to its default behavior.

Also, I found this pdf of useful mathematical constructs, that goes a bit beyond what we already have:

http://amath.colorado.edu/documentation/LaTeX/Symbols.pdf

- Warren

Thank you!

I was looking for the integral over a closed surface symbol and the list had it: \large \oint.

-LD
 
  • #588
\Phi_F = \oint \vec{\ F} \cdot \vec{dA}

\oint \vec{\ F} \cdot \vec{ds} = \nu_0 m_c_e_n_c

\oint \vec{\ G} \cdot \vec{dl} = - \frac{d \Phi _F}{dt}



\Phi_G = \oint \vec{\ G} \cdot \vec{dA} = \frac{m_e_n_c}{\gamma _0}

\vec{\ F _f} = m \vec{\ v} \times \vec{F}

\vec{\ F _f} = m_c \vec{\ L} \times \vec{F}

d\vec{\ F} = \frac{\nu _0}{4\pi} \frac{m_c \vec{\ ds} \times \vec{r}}{r^3}

u_G = \frac{1}{2}\gamma _0 G^2

u_F = \frac{F^2}{2\nu _0}
 
Last edited:
  • #589
0 &lt; k \leq m &lt; n,\ \ \gcd\left({{n}\choose{k}},{{n}\choose{m}}\right) &gt; 1

{{n}\choose{k}}{{n-k}\choose{m-k}} = {{n}\choose{m}}{{m}\choose{k}}

{{n}\choose{k}} \left| {{n}\choose{m}}{{m}\choose{k}}

\gcd\left({{n}\choose{k}},{{n}\choose{m}}\right) = 1

{{n}\choose{k}} \left| {{m}\choose{k}}

{{n}\choose{k}} &gt; {{m}\choose{k}}

\gcd\left({{n}\choose{k}},{{n}\choose{m}}\right) &gt; 1
 
Last edited:
  • #591
robphy said:
<br /> \]<br /> <br /> \unitlength 1mm<br /> \begin{picture}(55,90)(0,0)<br /> \linethickness{0.3mm}<br /> \put(20,10){\line(0,1){80}}<br /> \linethickness{0.3mm}<br /> \multiput(20,90)(0.12,-0.12){250}{\line(1,0){0.12}}<br /> \linethickness{0.3mm}<br /> \multiput(20,30)(0.12,0.12){250}{\line(1,0){0.12}}<br /> \linethickness{0.3mm}<br /> \multiput(20,10)(0.12,0.2){250}{\line(0,1){0.2}}<br /> \put(15,30){\makebox(0,0)[cc]{t}}<br /> \put(15,60){\makebox(0,0)[cc]{\gamma t}}<br /> \put(15,90){\makebox(0,0)[cc]{k^2t}}<br /> <br /> \put(55,60){\makebox(0,0)[cc]{kt}}<br /> <br /> \end{picture}<br /> \[<br />


Let me try...

<br /> \]<br /> \usepackage{pstricks, pstcol, pst-text}<br /> <br /> \begin{pspicture}(-4, -3.2)(3, 0.2)<br /> \psset{linecolor=white} % hidden<br /> \pstextpath<br /> {\pscurve(-4, -2)(-2, 0)(0, -3)(2, -1)%<br /> (3, -2)(5, -3)}<br /> {\color{blue} % font color<br /> If you want to type<br /> $(a+b)^n=\sum_{k=0}^n {n\choose k}<br /> a^{n-k}b^k$ and let it follow along <br /> a curving line \ldots} <br /> \end{pspicture} <br /> \[<br />
I think the problem is that a line like
"\usepackage{pstricks, pstcol, pst-text}"
may call packages that are unavailable to this system... or maybe it's that this line must come before the \begin{document} line, which we wouldn't have access to.

I think you'll just have to make do with the picture environment.
But one can get it to do some interesting stuff...
for example, https://www.physicsforums.com/showpost.php?p=261562&postcount=300
 
Last edited:
  • #592
Perturbation said:
Is there a latex command for Feynman diagrams or contractions in QFT (the lines joining operators to denote propogators and things)?

Anyone? They would be kinda useful.
 
  • #595
E=mc^6

- Warren
 
Last edited:
  • #596
<br /> \begin{gathered}<br /> \varepsilon _x = \bar \varepsilon _x = \frac{{d^2 }}<br /> {{12}}\left( {M^2 - 1} \right) \hfill \\<br /> d = \sqrt {\frac{{12\bar \varepsilon _x }}<br /> {{M^2 - 1}}} \hfill \\<br /> M = \sqrt {\frac{{12\bar \varepsilon _x }}<br /> {{d^2 }} + 1} \hfill \\ <br /> \end{gathered} <br />

LaTeX is functional again.

- Warren
 
  • #597
What's up with the white background?
 
  • #598
\] \unitlength 1mm \begin{picture}(55,90)(0,0) \linethickness{0.3mm} \put(20,10){\line(0,1){80}} \linethickness{0.3mm} \multiput(20,90)(0.12,-0.12){250}{\line(1,0){0.12}} \linethickness{0.3mm} \multiput(20,30)(0.12,0.12){250}{\line(1,0){0.12}} \linethickness{0.3mm} \multiput(20,10)(0.12,0.2){250}{\line(0,1){0.2}} \put(15,30){\makebox(0,0)[cc]{t}} \put(15,60){\makebox(0,0)[cc]{\gamma t}} \put(15,90){\makebox(0,0)[cc]{k^2t}} \put(55,60){\makebox(0,0)[cc]{kt}} \end{picture} \[

\mbox{transparency gone?} with tex

\mbox{transparency gone?} with latex

\mbox{transparency gone?} with itex

preview working?:frown:
 
Last edited:
  • #599
<br /> \begin{gathered}<br /> {\text{CH}}_4 + 2{\text{O}}_2 \to {\text{CO}}_2 + 2{\text{H}}_2 {\text{O}} \hfill \\<br /> 2{\text{C}}_2 {\text{H}}_6 + 7{\text{O}}_2 \to 4{\text{CO}}_2 + 6{\text{H}}_2 {\text{O}} \hfill \\<br /> 2{\text{C}}_2 {\text{H}}_4 + 3{\text{O}}_2 \to 2{\text{CO}}_2 + 2{\text{H}}_2 {\text{O}} \hfill \\<br /> 2{\text{C}}_2 {\text{H}}_2 + 5{\text{O}}_2 \to 4{\text{CO}}_2 + 2{\text{H}}_2 {\text{O}} \hfill \\ <br /> \end{gathered}
 
  • #600
\LaTeX

-White Background ?
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K