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.
  • #701
[tex] \hat{I}(k) = \int_{-\infty}^{\infty}{I(x)e^{-ikx} \ dx} [/tex]

Quick test
 
Physics news on Phys.org
  • #702
It looks like [itex]\LaTeX[/itex] backgrounds are clear again.

[tex]\mathbb{T}\mathbf{E}\mathcal{S}\mathfrak{T}^{ing}[/tex]
 
Last edited:
  • #703
AKG said:
It looks like [itex]\LaTeX[/itex] backgrounds are clear again.

[tex]\mathbb{T}\mathbf{E}\mathcal{S}\mathfrak{T}^{ing}[/tex]

for me...
in firefox, yes
in ie6, no
 
  • #704
[tex]
\frac{\partial^3 f}{\partial x \partial y^2}
[/tex]
 
  • #705
[tex] \]

\unitlength 1mm
\begin{picture}(87.5,85)(0,0)
\qbezier(46.88,14.38)(71.88,59.38)(71.88,59.38)
\qbezier(60,15)(85,60)(85,60)
\qbezier(37.5,20)(87.5,45)(87.5,45)
\qbezier(60,60)(85,15)(85,15)
\qbezier(60,6)(60,85)(60,85)
\qbezier(72.5,37.5)(60.12,37.5)(60.12,37.5)

\put(61.25,22.5){\makebox(0,0)[cc]{$\theta$}}
\put(65.62,40.62){\makebox(0,0)[cc]{5}}
\put(64.38,31.88){\makebox(0,0)[cc]{L}}
\put(64.38,31.88){\makebox(0,0)[cc]{}}
\put(57.5,13.75){\makebox(0,0)[cc]{A}}
\put(76.25,38.12){\makebox(0,0)[cc]{B}}
\put(55.62,38.75){\makebox(0,0)[cc]{D}}

\end{picture}
\] [/tex]
 
  • #706
Testing:
[tex]
\frac{180}{\pi}
[/tex]
[tex]
\mbox{thank you robphy}
[/tex]

http://www.equationsheet.com/entertex.php?SID=XXXXXBOT

Does this site work for you? I was hoping to generate some png files, but I can't. I've consulted the howtolatex pdf file. Thanks in advance.
 
Last edited:
  • #707
Use the other slash for closing the tex tag
[tex]
x^2
[/tex]

[ tex]
x^2
[ /tex] with spaces added to show the tag

The above site gave an error message that some feature was turned off for security reasons (it said "shell_exec() has been disabled for security reasons...").

Instead try:
http://hausheer.osola.com/latex2png
and
http://www.sciencesoft.at/index.jsp?link=latex&ochem=false#pic (here you have include the whole \documentclass... \begin{document}... \end{document} thing)
 
Last edited:
  • #708
[tex]a \\ b[/tex]

[tex]\ a \\ b \[/tex]

[tex] \] a \\ b \[ [/tex]
 
  • #709

robphy, would it be possible to install this 'latex2png' editor on physicsforums?

I noticed that the sourcecode was available:
http://hausheer.osola.com/software/latex2png.phps
http://hausheer.osola.com/latex2png

And I also noticed that 'ImageMagick' software was freeware:
http://www.imagemagick.org/script/index.php

I noticed that the 'preview changes' button regarding latex source code is still non-functional.

An editor similar to this on physicsforums would seem advantageous for testing latex sourcecode for posting on forums such as General Math, Calculus & Analysis, Differential Equations.
 
Last edited:
  • #710
Orion1,

I don't maintain this site... I am merely an active user in this [tex]\LaTeX[/tex] forum.

Your question should be directed to the
PF Lounge / Forum Feedback & Announcements section:
https://www.physicsforums.com/forumdisplay.php?f=19

I believe the entire ability to use [tex]\LaTeX[/tex] in a forum is a clever non-trivial hack of the forum software. Unfortunately, when changes are made somewhere [software upgrades], it's possible that something else (like the [tex]\LaTeX[/tex] preview) can be broken.
 
  • #711
[tex]x^3-2x^2-5x+6[/tex]
 
  • #712
Is is possible to change the colour of latex formulae?

~H
 
  • #713
[tex]x=\frac{-b \pm \sqrt{ {\color{red}b^2-4ac} }}{2a}[/tex]
 
  • #714
Thanks rob!

~H
 
  • #715
[tex]\Theta=15 \cdot \frac {\pi}{180}=\frac {3\pi}{16} [/tex]
 
Last edited:
  • #716
Testing;

[tex]{\color{red}\boxed{{\color{blue}\frac{dy}{dx} = \frac{\frac{dy}{dt}}{\frac{dx}{dt}}}}}[/tex]
 
Last edited:
  • #717
[tex]
\setlength{\unitlength}{1mm}
\begin{picture}(60, 40)
{\color{red}\put(30, 20){\vector(1, 0){30}}}
{\color{orange}\put(30, 20){\vector(4, 1){20}}}
{\color{yellow}\put(30, 20){\vector(3, 1){25}}}
{\color{green}\put(30, 20){\vector(2, 1){30}}}
{\color{blue}\put(30, 20){\vector(1, 2){10}}}
\thicklines
\put(30, 20){\vector(-4, 1){30}}
\put(30, 20){\vector(-1, 4){5}}
\thinlines
\put(30, 20){\vector(-1, -1){5}}
\put(30, 20){\vector(-1, -4){5}}
\end{picture}
[/tex]
 
Last edited:
  • #718
Does anyone know of any good tutorials for drawing vectors in latex?
 
  • #719
As you probably have realized by now, LaTeX's \vector and \line in the picture environment have a limited number of available slopes.

http://www.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html/ltx-43.html
http://www.ursoswald.ch/LaTeXGraphics/picture/picture.html [nice examples]

jpicedt for LaTeX, a drawing application in java, makes clever use of \multiput to emulate lines and vectors of any slope. Unfortunately, the resulting \multiput commands are [for me] not intuitively easy to modify. However, you can use jpicedt in eepic mode, which expresses a line in terms of endpoints, rather than "[some measure of] magnitude" and direction. Then, you have to edit those lines to use the \qbezier statement (since eepic is not available on PF).

simple examples:
https://www.physicsforums.com/showpost.php?p=996129&postcount=720
https://www.physicsforums.com/showpost.php?p=969925&postcount=695

fancy examples:
https://www.physicsforums.com/showpost.php?p=968227&postcount=689 [my first example with \qbezier]
https://www.physicsforums.com/showpost.php?p=968788&postcount=692

By the way, i would be nice if something like jpicedt (possibly modified for use at PF) were available here. A picture is worth a thousand words. [It need not be LaTeX-related... it could be another web-standard like SVG.]
 
Last edited by a moderator:
  • #720
Thanks Rob, I'll have a bash at that tonight. Btw, is there anyway to label the vector?
 
Last edited:
  • #721
[tex]
\dot{h} \hspace{.5 in} \dot{\theta}
[/tex]

[tex]
\large
\dot{h} \hspace{.5 in} \dot{\theta}
[/tex]

[tex]
\mathbf
\dot{h} \hspace{.5 in} \dot{\theta}
[/tex]

[tex]
\mathtt
\dot{h} \hspace{.5 in} \dot{\theta}
[/tex]

[tex]
\huge
\dot{h} \hspace{.5 in} \dot{\theta}
[/tex]

[tex]
\.{h} \hspace{.5 in} \.{\theta}
[/tex]

Is there anyway to make over-dots with the dot being more visible than a flyspeck?
 
Last edited:
  • #722
[tex]\stackrel{\centerdot}{\theta}\dot\theta[/tex]

[tex]\def\DOT#1{\stackrel{\centerdot}{#1}}
\DOT{\theta}[/tex]

[tex]\def\DOT#1{\stackrel{\mathbf\centerdot}{#1}}
\DOT{\theta}[/tex]


[tex]\def\DOT#1{\stackrel{\tiny\bullet}{#1}}
\DOT{\theta}[/tex]
 
Last edited:
  • #723
[tex]

\]
\begin{picture}(375,225)(0,0)

\put(100.0,82.0){\rule[-0.200pt]{4.818pt}{0.400pt}}
\put(80,82){\makebox(0,0)[r]{ 0}}
\put(294.0,82.0){\rule[-0.200pt]{4.818pt}{0.400pt}}
\put(100.0,103.0){\rule[-0.200pt]{4.818pt}{0.400pt}}
\put(80,103){\makebox(0,0)[r]{ 1}}
\put(294.0,103.0){\rule[-0.200pt]{4.818pt}{0.400pt}}
\put(100.0,123.0){\rule[-0.200pt]{4.818pt}{0.400pt}}
\put(80,123){\makebox(0,0)[r]{ 2}}
\put(294.0,123.0){\rule[-0.200pt]{4.818pt}{0.400pt}}
\put(100.0,144.0){\rule[-0.200pt]{4.818pt}{0.400pt}}
\put(80,144){\makebox(0,0)[r]{ 3}}
\put(294.0,144.0){\rule[-0.200pt]{4.818pt}{0.400pt}}
\put(100.0,164.0){\rule[-0.200pt]{4.818pt}{0.400pt}}
\put(80,164){\makebox(0,0)[r]{ 4}}
\put(294.0,164.0){\rule[-0.200pt]{4.818pt}{0.400pt}}
\put(100.0,185.0){\rule[-0.200pt]{4.818pt}{0.400pt}}
\put(80,185){\makebox(0,0)[r]{ 5}}
\put(294.0,185.0){\rule[-0.200pt]{4.818pt}{0.400pt}}
\put(100.0,82.0){\rule[-0.200pt]{0.400pt}{4.818pt}}
\put(100,41){\makebox(0,0){ 0}}
\put(100.0,165.0){\rule[-0.200pt]{0.400pt}{4.818pt}}
\put(143.0,82.0){\rule[-0.200pt]{0.400pt}{4.818pt}}
\put(143,41){\makebox(0,0){ 1}}
\put(143.0,165.0){\rule[-0.200pt]{0.400pt}{4.818pt}}
\put(186.0,82.0){\rule[-0.200pt]{0.400pt}{4.818pt}}
\put(186,41){\makebox(0,0){ 2}}
\put(186.0,165.0){\rule[-0.200pt]{0.400pt}{4.818pt}}
\put(228.0,82.0){\rule[-0.200pt]{0.400pt}{4.818pt}}
\put(228,41){\makebox(0,0){ 3}}
\put(228.0,165.0){\rule[-0.200pt]{0.400pt}{4.818pt}}
\put(271.0,82.0){\rule[-0.200pt]{0.400pt}{4.818pt}}
\put(271,41){\makebox(0,0){ 4}}
\put(271.0,165.0){\rule[-0.200pt]{0.400pt}{4.818pt}}
\put(314.0,82.0){\rule[-0.200pt]{0.400pt}{4.818pt}}
\put(314,41){\makebox(0,0){ 5}}
\put(314.0,165.0){\rule[-0.200pt]{0.400pt}{4.818pt}}
\put(100.0,82.0){\rule[-0.200pt]{51.553pt}{0.400pt}}
\put(314.0,82.0){\rule[-0.200pt]{0.400pt}{24.813pt}}
\put(100.0,185.0){\rule[-0.200pt]{51.553pt}{0.400pt}}
\put(100.0,82.0){\rule[-0.200pt]{0.400pt}{24.813pt}}
\put(-566,145){\makebox(0,0)[r]{sqrt(x*x-1)}}
\put(-546.0,145.0){\rule[-0.200pt]{24.090pt}{0.400pt}}
\put(145,88){\usebox{\plotpoint}}
\multiput(145.59,88.00)(0.488,0.560){13}{\rule{0.117pt}{0.550pt}}
\multiput(144.17,88.00)(8.000,7.858){2}{\rule{0.400pt}{0.275pt}}
\multiput(153.00,97.59)(0.645,0.485){11}{\rule{0.614pt}{0.117pt}}
\multiput(153.00,96.17)(7.725,7.000){2}{\rule{0.307pt}{0.400pt}}
\multiput(162.00,104.59)(0.933,0.477){7}{\rule{0.820pt}{0.115pt}}
\multiput(162.00,103.17)(7.298,5.000){2}{\rule{0.410pt}{0.400pt}}
\multiput(171.00,109.59)(0.762,0.482){9}{\rule{0.700pt}{0.116pt}}
\multiput(171.00,108.17)(7.547,6.000){2}{\rule{0.350pt}{0.400pt}}
\multiput(180.00,115.59)(0.933,0.477){7}{\rule{0.820pt}{0.115pt}}
\multiput(180.00,114.17)(7.298,5.000){2}{\rule{0.410pt}{0.400pt}}
\multiput(189.00,120.60)(1.212,0.468){5}{\rule{1.000pt}{0.113pt}}
\multiput(189.00,119.17)(6.924,4.000){2}{\rule{0.500pt}{0.400pt}}
\multiput(198.00,124.59)(0.933,0.477){7}{\rule{0.820pt}{0.115pt}}
\multiput(198.00,123.17)(7.298,5.000){2}{\rule{0.410pt}{0.400pt}}
\multiput(207.00,129.59)(0.933,0.477){7}{\rule{0.820pt}{0.115pt}}
\multiput(207.00,128.17)(7.298,5.000){2}{\rule{0.410pt}{0.400pt}}
\multiput(216.00,134.60)(1.212,0.468){5}{\rule{1.000pt}{0.113pt}}
\multiput(216.00,133.17)(6.924,4.000){2}{\rule{0.500pt}{0.400pt}}
\multiput(225.00,138.59)(0.933,0.477){7}{\rule{0.820pt}{0.115pt}}
\multiput(225.00,137.17)(7.298,5.000){2}{\rule{0.410pt}{0.400pt}}
\multiput(234.00,143.59)(0.933,0.477){7}{\rule{0.820pt}{0.115pt}}
\multiput(234.00,142.17)(7.298,5.000){2}{\rule{0.410pt}{0.400pt}}
\multiput(243.00,148.60)(1.212,0.468){5}{\rule{1.000pt}{0.113pt}}
\multiput(243.00,147.17)(6.924,4.000){2}{\rule{0.500pt}{0.400pt}}
\multiput(252.00,152.60)(1.066,0.468){5}{\rule{0.900pt}{0.113pt}}
\multiput(252.00,151.17)(6.132,4.000){2}{\rule{0.450pt}{0.400pt}}
\multiput(260.00,156.59)(0.933,0.477){7}{\rule{0.820pt}{0.115pt}}
\multiput(260.00,155.17)(7.298,5.000){2}{\rule{0.410pt}{0.400pt}}
\multiput(269.00,161.60)(1.212,0.468){5}{\rule{1.000pt}{0.113pt}}
\multiput(269.00,160.17)(6.924,4.000){2}{\rule{0.500pt}{0.400pt}}
\multiput(278.00,165.59)(0.933,0.477){7}{\rule{0.820pt}{0.115pt}}
\multiput(278.00,164.17)(7.298,5.000){2}{\rule{0.410pt}{0.400pt}}
\multiput(287.00,170.60)(1.212,0.468){5}{\rule{1.000pt}{0.113pt}}
\multiput(287.00,169.17)(6.924,4.000){2}{\rule{0.500pt}{0.400pt}}
\multiput(296.00,174.59)(0.933,0.477){7}{\rule{0.820pt}{0.115pt}}
\multiput(296.00,173.17)(7.298,5.000){2}{\rule{0.410pt}{0.400pt}}
\multiput(305.00,179.60)(1.212,0.468){5}{\rule{1.000pt}{0.113pt}}
\multiput(305.00,178.17)(6.924,4.000){2}{\rule{0.500pt}{0.400pt}}
\put(-206,145){\makebox(0,0)[r]{.866*x}}

\
\end{picture}
\[
[/tex]
 
Last edited:
  • #724
[tex]
\]
\\begin{picture}(750,450)(0,0)
\footnotesize
\qb(205,166)(246,166)
\qb(626,166)(585,166)
\put(164,166){\makebox(0,0)[r]{ 0}}
\qb(205,206)(246,206)
\qb(626,206)(585,206)
\put(164,206){\makebox(0,0)[r]{ 1}}
\qb(205,247)(246,247)
\qb(626,247)(585,247)
\put(164,247){\makebox(0,0)[r]{ 2}}
\qb(205,287)(246,287)
\qb(626,287)(585,287)
\put(164,287){\makebox(0,0)[r]{ 3}}
\qb(205,328)(246,328)
\qb(626,328)(585,328)
\put(164,328){\makebox(0,0)[r]{ 4}}
\qb(205,368)(246,368)
\qb(626,368)(585,368)
\put(164,368){\makebox(0,0)[r]{ 5}}
\qb(205,166)(205,207)
\qb(205,368)(205,327)
\put(205,83){\makebox(0,0){ 0}}
\qb(289,166)(289,207)
\qb(289,368)(289,327)
\put(289,83){\makebox(0,0){ 1}}
\qb(373,166)(373,207)
\qb(373,368)(373,327)
\put(373,83){\makebox(0,0){ 2}}
\qb(458,166)(458,207)
\qb(458,368)(458,327)
\put(458,83){\makebox(0,0){ 3}}
\qb(542,166)(542,207)
\qb(542,368)(542,327)
\put(542,83){\makebox(0,0){ 4}}
\qb(626,166)(626,207)
\qb(626,368)(626,327)
\put(626,83){\makebox(0,0){ 5}}
\qb(205,166)(626,166)(626,368)(205,368)(205,166)
\put(-1178,286){\makebox(0,0)[r]{sqrt(x*x-1)}}
\thinlines \path(4294966159,286)(4294966364,286)
\thinlines \path(293,178)(293,178)(310,196)(328,209)(345,220)(363,230)(380,240)(398,249)(416,259)(433,268)(451,277)(468,286)(486,294)(503,303)(521,312)(538,321)(556,329)(573,338)(591,347)(608,355)(626,364)
\put(-440,286){\makebox(0,0)[r]{.866*x}}
\qb(4294966897,286)(4294967102,286)
\qb(205,166)(205,166)(223,173)(240,181)(258,188)(275,195)(293,202)(310,210)(328,217)(345,224)(363,232)(380,239)(398,246)(416,253)(433,261)(451,268)(468,275)(486,283)(503,290)(521,297)(538,304)(556,312)(573,319)(591,326)(608,334)(626,341)
\put(298,286){\makebox(0,0)[r]{.866}}
\qb(339,286)(544,286)
\qb(205,201)(205,201)(223,201)(240,201)(258,201)(275,201)(293,201)(310,201)(328,201)(345,201)(363,201)(380,201)(398,201)(416,201)(433,201)(451,201)(468,201)(486,201)(503,201)(521,201)(538,201)(556,201)(573,201)(591,201)(608,201)(626,201)
\qb(205,166)(626,166)(626,368)(205,368)(205,166)
\end{picture}

\[
[/tex]
 
Last edited:
  • #725
Could someone please help me draw a digraph of 5 nodes with weights and loops included ? I just couldn't find out any articles out there in ctan that could help me accomplish this.
 
  • #726
latex help

friends, i have an equation which is to be typeset in latex. will anyone of you be kind enough to let me know how to do it in latex.
the equation is x=A.y where x and y are 3x1 vectors each (i.e. a column vector with 3 rows), A is a 3x3 square matrix (i.e., 3 rows and 3 columns). Can anyone help me
 
  • #727
A quick google search on typesetting matrices in latex will show you how to do it for any matrices. Go on, give it a go.
 
  • #728
GSampson said:
Let me try
[tex]\alpha^\gamma[\tex]

Change your last tag to (without the spaces);

[ /tex ]
 
  • #729
[tex] \stackrel{\to}{\to}[/tex]

[tex]\leftleftarrows[/tex]
 
  • #730
How do I get daggers for foonotes?

I have no idea how to make the dagger appear for the footnote..I've been looking online and all I come across are sites that say nothing how to do this. Any help would be appreciated.
 
  • #731
buddyholly9999 said:
I have no idea how to make the dagger appear for the footnote
footnote[itex]^\dagger[/itex]

[itex]^\dagger[/itex]Do you mean like this?
 
  • #732
figured it out...

I guess that's one way to do it...but I would rather not cheat and just let Latex automatically format my text...instead what I did was download the footmisc package and then use the 'symbol*' argument and when i typed \footnote...i had to do \footnote[2] since 1 = * and 2 = \dagger...
 
  • #733
test:

[tex](-\frac{1}{2}\ln{\sin{x}}+C)[/tex]

[tex]x^2\sqrt{x}[/tex]


NOTE:

the crash course has a major typo (if I'm not mistaken)

look at the 2 things I've encircled
 

Attachments

  • LaTeX.jpg
    LaTeX.jpg
    6.5 KB · Views: 512
Last edited:
  • #734
Does anyone know the fancy cursive way to denote a powerset.

I'm not talking about [tex]\mathcal{P} = \{A_j : j \in J \}[/tex]
 
  • #735
buddyholly9999 said:
Does anyone know the fancy cursive way to denote a powerset.

I'm not talking about [tex]\mathcal{P} = \{A_j : j \in J \}[/tex]

There is [tex]\mathfrak{P}[/tex]. if that is not it i think you will need another font package like fourier, and i do not think the forum supports those (does it?)

See page 6 in http://www.tex.ac.uk/tex-archive/fonts/fourier-GUT/doc/latex/fourier/fourier-doc-en.pdf to see how the fouier--calligraphic P looks like
 
Last edited by a moderator:

Similar threads

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