Introducing LaTeX Math Typesetting

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
766 replies · 754K views
Tzar said:
Can someone please tell me the latex code for the little circle which denotes composition of functions?
Do you mean this symbol?

[tex]\circ[/tex]

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

[tex]f \circ g[/tex]
 
Physics news on Phys.org
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:
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.
 
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 :)
 
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.
 
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.
[tex]\begin{array}{l} \mbox{Text 1} \\ \mbox{Text 2} \\ \frac{x}{2} = \frac{\gamma + \beta}{\varepsilon} \end{array}[/tex]
This is covered in 3 .PDF files in the first post of this thread.
 
wow i have to ask how do u do that ...(btw thanks a lot)
 
Is there a latex command for Feynman diagrams or contractions in QFT (the lines joining operators to denote propogators and things)?
 
Hmm...I usually just delete and repost should any
problems with [tex]\LaTeX[/tex] previewing occur :shy:

[tex]\mathop {\lim }\limits_{n \to \infty } \bigcup\limits_{i = 0}^{n!} {\left\{ {\frac{i}{{n!}}} \right\}} = \mathbb{Q} \cap \left[ {0,1} \right][/tex]
 
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.
 
[tex] \]<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 /> \[[/tex]
 
Last edited:
[tex] \]<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 /> \[[/tex]

Woo.. finally looks right :D

[tex]c^2 = a^2 + b^2[/tex]

Ignore this please, messing with the triangle above :D

Cheers,

Ryan Jone
 
Last edited:
[tex] \begin{tabular}[t]{|l|ccccc|c|}<br /> \multicolumn{7}{c}{USAMTS Scores Round 1}\\<br /> \hline<br /> Name & \# 1 & \# 2 & \# 3 & \# 4 & \# 5 & Total\\<br /> \hline<br /> John Doe & 5 & 5 & 3 & 2 & 1 & 16\\<br /> Jane Doe & 5 & 5 & 5 & 4 & 5 & 24\\<br /> Richard Feynman & 5 & 5 & 5 & 5 & 5 & 25\\<br /> \hline<br /> \end{tabular}[/tex]
 
[tex]v(w)=int^{+infty}^{-infty} v(t) \e^{-jwt}, \dt[/tex]
 
Last edited:
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: [tex]\large \oint[/tex].

-LD
 
[tex]\Phi_F = \oint \vec{\ F} \cdot \vec{dA}[/tex]

[tex]\oint \vec{\ F} \cdot \vec{ds} = \nu_0 m_c_e_n_c[/tex]

[tex]\oint \vec{\ G} \cdot \vec{dl} = - \frac{d \Phi _F}{dt}[/tex]



[tex]\Phi_G = \oint \vec{\ G} \cdot \vec{dA} = \frac{m_e_n_c}{\gamma _0}[/tex]

[tex]\vec{\ F _f} = m \vec{\ v} \times \vec{F}[/tex]

[tex]\vec{\ F _f} = m_c \vec{\ L} \times \vec{F}[/tex]

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

[tex]u_G = \frac{1}{2}\gamma _0 G^2[/tex]

[tex]u_F = \frac{F^2}{2\nu _0}[/tex]
 
Last edited:
[tex]0 < k \leq m < n,\ \ \gcd\left({{n}\choose{k}},{{n}\choose{m}}\right) > 1[/tex]

[tex]{{n}\choose{k}}{{n-k}\choose{m-k}} = {{n}\choose{m}}{{m}\choose{k}}[/tex]

[tex]{{n}\choose{k}} \left| {{n}\choose{m}}{{m}\choose{k}}[/tex]

[tex]\gcd\left({{n}\choose{k}},{{n}\choose{m}}\right) = 1[/tex]

[tex]{{n}\choose{k}} \left| {{m}\choose{k}}[/tex]

[tex]{{n}\choose{k}} > {{m}\choose{k}}[/tex]

[tex]\gcd\left({{n}\choose{k}},{{n}\choose{m}}\right) > 1[/tex]
 
Last edited:
robphy said:
[tex] \]<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 /> \[[/tex]


Let me try...

[tex] \]<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 /> \[[/tex]
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:
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.
 
[itex] \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} [/itex]

LaTeX is functional again.

- Warren
 
What's up with the white background?
 
[tex]\] \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} \[[/tex]

[tex]\mbox{transparency gone?}[/tex] with tex

[itex]\mbox{transparency gone?}[/itex] with latex

[itex]\mbox{transparency gone?}[/itex] with itex

preview working?:frown:
 
Last edited:
[tex] \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}[/tex]