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.
  • #456
Use \displaystyle

[tex]dt = \frac{da}{H_0 \left(\displaystyle\frac{\Omega_{m,0}}{a} + a^2 \Omega_{\Lambda,0}\right)^{\frac{1}{2}}} [/tex]
 
Physics news on Phys.org
  • #457
Yikes,i guess I'm still a rookie...:redface:

Daniel.
 
  • #458
[tex]
\begin{array}{l}
Would{\rm }it{\rm }be{\rm }O.K{\rm }to{\rm }write{\rm }complete{\rm }posts{\rm }in{\rm }LaTex, \\
without{\rm }math{\rm }in{\rm }them \ldots {\rm }just{\rm }writing? \\
\end{array} [/tex]

NOt that I can---but what if :smile: ?
 
Last edited:
  • #459
robphy said:
Use \displaystyle
Thank you!
 
  • #460
[tex]
v = 0.13
[/tex]

[tex]
P = \frac{1}{f}
[/tex]
 
Last edited:
  • #461
[tex]
/mean=\frac{\sum x}{n}
[/tex]
 
Last edited:
  • #462
bomba923 said:
[tex]
\begin{array}{l}
Would{\rm }it{\rm }be{\rm }O.K{\rm }to{\rm }write{\rm }complete{\rm }posts{\rm }in{\rm }LaTex, \\
without{\rm }math{\rm }in{\rm }them \ldots {\rm }just{\rm }writing? \\
\end{array} [/tex]

NOt that I can---but what if :smile: ?

You probably wanted to put the extra backslash to escape the space {\rm\ } to get
[tex]
\begin{array}{l}
Would{\rm\ }it{\rm\ }be{\rm\ }O.K{\rm\ }to{\rm\ }write{\rm\ }complete{\rm\ }posts{\rm\ }in{\rm\ }LaTex, \\
without{\rm\ }math{\rm\ }in{\rm\ }them \ldots {\rm\ }just{\rm\ }writing? \\
\end{array} [/tex]

You could just write it in an mbox
[tex]
\mbox{ Would it be O.K to write complete posts in \LaTeX, \\
without math in them \[\ldots\] just writing? }
[/tex]
or in a verbatim environment
[tex]
\begin{verbatim}
Would it be O.K to write complete posts in LaTeX,
without math in them... just writing?
\end{verbatim}
[/tex]

However, I think it is probably discouraged to post like this.
 
  • #463
The quadratic formula:

[tex] \begin{gathered}
ax^2 + bx + c = 0,\\
x = \frac{{ - b \pm \sqrt {b^2 - 4ac} }}
{{2a}} \hfill \\
\end{gathered} [/tex]
 
Last edited:
  • #464
Brachistochrone Equation:
[tex] {\left\{ \begin{gathered}
x = r\left( {\theta - \sin \theta } \right) \hfill \\
y = r\left( {1 - \cos \theta } \right) \hfill \\
\end{gathered} \right\}} [/tex]
 
  • #465
chroot said:
Whenever you want to include a graphic on the same line with your text, like [itex]C H_4[/itex] or [itex]G_\textrm{diffeo}[/itex] or [itex]y = mx + b[/itex], you should use [ itex ]...[ /itex ] instead of [ tex ]...[ /tex ]. The "i" means "inline."

Click on each of the examples above to "learn by example."

If you have questions or comments about this site addition, you are welcome to post them here!

Good luck, and enjoy the system.

- Warren

I came looking specifically because my "inlines" were not in line. Glad to find this, but even with the itex the graphic is still raised. Is there a trick for lowering it more if you want to?

Edit

I am on a different machine now, and things look different. The inline text here does look inline. It is some local setting on my computer making the difference.
 
Last edited:
  • #466
twoflower said:
[tex]
blablablah \\
newlineblabla
[/tex]

Why doesn't \\ insert a new line for me? :confused:
 
  • #467
Problems with brackets:

[tex] \left(\begin{array}{cc}\frac{\partial u}{\partial x}&\frac{\partial \nu}{\partial x}\\ \frac{\partial \nu}{\partial x}&\frac{\partial u}{\partial x}\end{array}\right) [/tex]

[tex] \phi(x,y) [/tex]

[tex] \frac{\partial^2 \phi}{\partial u^2} + \frac{\partial^2 \phi}{\partial \nu^2} = 0 [/tex]

[tex] w = u(x,y) + i\nu(x,y) [/tex]

[tex] \frac{\partial \phi}{\partial x} = \frac{\partial \phi}{\partial u} \frac{\partial u}{\partial x} + \frac{\partial \phi}{\partial \nu} \frac{\partial \nu}{\partial x} [/tex]

and

[tex] \frac{\partial \phi}{\partial y} = \frac{\partial \phi}{\partial u} \frac{\partial u}{\partial y} + \frac{\partial \phi}{\partial \nu} \frac{\partial \nu}{\partial y} [/tex]

A second differentiation of these yields the results:

[tex] \frac{\partial^2 \phi}{\partial x^2} = \frac{\partial \phi}{\partial u} \frac{\partial^2 u}{\partial x^2} + \left ( \frac{\partial^2 \phi}{\partial u^2} \frac{\partial u}{\partial x} + \frac{\partial^2 \phi}{\partial \nu \partial u} \frac{\partial \nu}{\partial x} \right ) \frac{\partial u}{\partial x} + \frac{\partial \phi}{\partial \nu} \frac{\partial^2 \nu}{\partial x^2} + \left ( \frac{\partial^2 \phi}{\partial u \partial \nu} \frac{\partial u}{\partial x} + \frac{\partial^2 \phi}{\partial \nu} \frac{\partial \nu}{\partial x} \right ) \frac{\partial \nu}{\partial x} [/tex]

Adding:

[tex] \frac{\partial^2 \phi}{\partial x^2} + \frac{\partial^2 \phi}{\partial y^2} = \frac{\partial \phi}{\partial u} \left ( \frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 u}{\partial y^2} \right ) + \frac{\partial^2 \phi}{\partial u^2} \left [ \left ( \frac{\partial u}{\partial x} \right )^2 + \left ( \frac{\partial u}{\partial y} \right )^2 \right ] + 2 \frac{\partial^2 \phi}{\partial u \partial \nu} \left ( \frac{\partial u}{\partial x} \frac{\partial \nu}{\partial y} \right ) + \frac{\partial \phi}{\partial \nu} \left ( \frac{\partial^2 \nu}{\partial x^2} + \frac{\partial^2 \nu}{\partial y^2} \right ) + \frac{\partial^2 \phi}{\partial \nu^2} \left [ \left ( \frac{\partial \nu}{\partial x} \right )^2 + \left ( \frac{\partial \nu}{\partial y} \right )^2 \right ] [/tex]

[tex] w = u + i\nu [/tex]

[tex] \frac{\partial^2 \phi}{\partial x^2} + \frac{\partial^2 \phi}{\partial y^2} = \frac{\partial^2 \phi}{\partial u^2} \left [ \left ( \frac{\partial \nu}{\partial x} \right )^2 + \left ( -\frac{\partial \nu}{\partial x} \right )^2 \right ] + \frac{\partial^2 \phi}{\partial \nu^2} \left [ \left ( \frac{\partial \nu}{\partial x} \right )^2 + \left ( \frac{\partial u}{\partial x} \right )^2 \right ] = \left [ \left ( \frac{\partial u}{\partial x} \right )^2 + \left ( \frac{\partial \nu}{\partial x} \right )^2 \right ] \left ( \frac{\partial^2 \phi}{\partial u^2} + \frac{\partial^2 \phi}{\partial \nu} \right ) = |f'(z)|^2 \left ( \frac{\partial^2 \phi}{\partial u^2} + \frac{\partial^2 \phi}{\partial \nu^2} \right ) [/tex]
 
Last edited:
  • #468
Just redefining an earlier problem I had (Do NOT pay attention to this! :smile:)

[tex] {\text{Let}} f_n \left( t \right) = \left\{ \begin{gathered} x_n \left( t \right) \hfill \\ y_n \left( t \right) \hfill \\ z_n \left( t \right) \hfill \\ \end{gathered} \right\} , {\text{ }} {\text{continuous}} {\text{ }} \forall t \in \left( {a,b} \right) [/tex]

At any moment [itex] t \in \left( {a,b} \right) [/itex], a triangle can be defined by the set of points [itex] \left\{ {f_1 \left( t \right),f_2 \left( t \right),f_3 \left( t \right)} \right\} [/itex].
Find the exact volume generated by this triangle from [itex] t = a [/itex] to [itex] t = b [/itex].

(Don't pay attention to this)
 
Last edited:
  • #469
[tex]a\xrightarrow{c}b[/tex]

I can display things on top of arrows, but is it possible to display text under them (preferrably both above and below at the same time, actually)?
 
  • #470
[tex] a \stackrel{c}{\longrightarrow} b[/tex]


[tex] a \overset{c}{\longrightarrow} b[/tex]

[tex] a \underset{d}{\longrightarrow} b[/tex]

[tex] a \underset{d}{\overset{c}{\longrightarrow}} b[/tex]
 
  • #471
Thankesy! :)
 
  • #472
[itex]

\sum

\int

\bigodot

[/itex]
 
  • #473
[tex]F=GmM_e/r^2[/tex]

Edit: You added an unnecessary "\" before the F and G, and left out the necessary "/" in your second bracket.
 
Last edited by a moderator:
  • #474
[tex] a^x_n [/tex] ...

Edit: You left spaces in your brackets.
 
Last edited by a moderator:
  • #475
hey how come i can't get it to work ??
 
  • #476
extreme_machinations said:
hey how come i can't get it to work ??
See my edits of your posts.
 
  • #477
[tex] \int_{0}^{\frac{\pi}{2}} \log \cos \kappa d \kappa [/tex]
 
  • #478
Just trying...

[tex] \int_{0}^{\frac{\pi}{2}} \log \cos \Omega \ d \Omega [/tex]

[tex] f(x) = \sin x, \mbox{if} \ x \ \epsilon \ (0, \frac{\pi}{2}) [/tex]
 
Last edited:
  • #479
[tex] f(x) = \left {\begin{array}{cc}\sin x,&\mbox{if} \ x \epsilon \ [0, \frac{\pi}{2})\\ \cos x, & \mbox{if} \ x \epsilon \ [\frac{\pi}{2}, \pi)\end {array}\right[/tex]
 
  • #480
[tex]F=GmM_e/r^2[/tex]
 
  • #481
aaahhaa! now that more like it
hey thanks doc
 
  • #482
[tex]f(x)=sinx^2[/tex]
 
  • #483
[tex]int_{0}^{1} sinlogx[/tex]
 
  • #484
[tex]\int_{0}^{1} sin^2logcosx dx[/tex]
 
  • #485
This is a test

[tex]
\begin{array}{1|c|c|c|c|c|}
\text{Fixed Point}&\text{Jacobian}&\text{Eigenvalues}&\text{Eigenvectors}&\text{type}\\
\hline
(0,0)&
\left(\begin{array}{cc}1.5 & 0 \\ 0 & 2 \end{array}\right)&
2,1.5 &
\left(\begin{array}{ca}0 \\ 1 \end{array}\right)
\left(\begin{array}{ca}1 \\ 0 \end{array}\right)&
\text{Source}\\
\hline

(0,2)&
\left(\begin{array}{cc}0.5 & 0 \\ -1.5 & -2 \end{array}\right)&
-2,0.5 &
\left(\begin{array}{ca}0 \\ 1 \end{array}\right)
\left(\begin{array}{ca}0.86 \\ -0.51 \end{array}\right)&
\text{Saddle}\\
\hline

(1.5,0)&
\left(\begin{array}{cc}-1.5 & -0.75 \\ 0 & 0.88 \end{array}\right)&
-1.5,0.88 &
\left(\begin{array}{ca}1 \\ 0 \end{array}\right)
\left(\begin{array}{ca}-0.3 \\ 0.95 \end{array}\right)&
\text{Saddle}\\
\hline

(4/5,7/5)&
\left(\begin{array}{cc}-0.8 & -0.4 \\ -1.05 & -1.4 \end{array}\right)&
-1.8,-0.38 &
\left(\begin{array}{ca}0.37 \\ 0.93 \end{array}\right)
\left(\begin{array}{ca}0.69 \\ -0.72 \end{array}\right)&
\text{Sink}\\
\hline

\end{array}
[/tex]

Slick!
 
  • #486
extreme_machinations said:
[tex]\int_{0}^{1} sin^2logcosx dx[/tex]


Doesn't look good.This one does.

[tex]\int_{0}^{1} \sin^{2}x \ln\cos x \ dx [/tex]


Daniel.
 
  • #487
please help, i cannot find the 'does not equal' latex equation
 
  • #489
[tex] a \neq b [/tex]

this should work
 
  • #490
next question, can i download this for my computer, i have a paper due when i return to school, and it will be a vast help to be able to type the symbols.
 

Similar threads

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