LaTeX Introducing LaTeX Math Typesetting

Click For Summary
Physics Forums has integrated LaTeX mathematical typesetting into its platform, allowing users to create visually appealing mathematical expressions using markup similar to HTML. Users can include LaTeX graphics in posts by wrapping their code in [tex] or [itex] tags for display or inline formatting, respectively. A PDF guide with essential LaTeX commands and symbols is available, along with links to additional resources. The community is encouraged to experiment with the system and share examples, while also being mindful of server load when generating graphics. This addition aims to enhance the clarity and professionalism of mathematical discussions on the forum.
  • #271
<br /> <br /> <br /> \begin{align}<br /> x&amp; = y &amp;&amp; \text{def}\\<br /> &amp; = y+\textcolor{blue}{(y-y)} &amp;&amp; \text{add \textcolor{blue}{zero}}\\<br /> &amp; = 2y-y &amp;&amp; \text {\textcolor{red}{algebra}}<br /> \end{align}<br /> <br /> <br />

very plain text, slightlyfanciertext, loud text

<br /> \]<br /> <br /> \begin{picture}(200,200)(0,0)\multiput(0,0)(40,10){5}{\line(1,4){40}}\multiput( 0,0)(10,40){5}{\line(4,1){160}}<br /> \put(0,0){\vector(1,4){170}}<br /> \put(50,50){\circle*{10}} <br /> <br /> <br /> <br /> \put(160,40){\framebox(80,40)[r]{ \textcolor{blue}{\bf \[ x_{Bob} \] } } }<br /> \put(40,160){\textcolor{yellow}{\dashbox(80,40)[t]{ \textcolor{red}{ \[ t_{Bob} \] } } }}<br /> <br /> \qbezier(100,100)(200,100)(200,200)<br /> \linethickness{8pt} <br /> \textcolor{green}{\qbezier(0,0)(0,100)(100,100)}<br /> \linethickness{1pt} <br /> \qbezier(0,0)(0,100)(100,100)<br /> <br /> \end{picture}<br /> \[<br /> <br /> <br />

<br /> \newcommand{\VARTEXT}[2][\scriptsize]{\left(\mbox{#1\begin{tabular}{c}#2\end{tabular}}\right)}<br /> <br /> <br /> <br /> \VARTEXT[\large]{net-work done \\ on the object }<br /> =<br /> \VARTEXT[\large]{change in \\ the kinetic energy \\ of the object }<br /> <br /> <br />
 
Physics news on Phys.org
  • #272
Cool examples robphy!

- Warren
 
  • #273
this is wisky40 I'm not sure about this, but I'm going to try to write something using
Latex...E=K\lambda\int_{-a}^a \frac{dx_1}{x_1+x_2+b}
 
  • #274
How do I make this look better

<br /> a_0 (t)<br />

where a0 is supposed to be a function of t and not a0 times t.
 
Last edited:
  • #275
ExtravagentDreams,

It looks fine to me as it is... what do you think is wrong with it?

- Warren
 
  • #276
<br /> a_0 (t) \partial a_0 = t^2 \partial t<br />
I don't know. I just think it could sometimes be difficult to read and understand if it is ment to be a multiplication or a function of this variable.

I wonder if it would be better to use these {}


such as
<br /> F_g \{s,t\} = ...<br />

Does that conflict with anything else? I don't think I have used any sets in this manner, then again there is much math I have still to see. But I think it would be a little more obvious that it isn't a set instead of it not being multiplication

<br /> F_g^{ \{s,t\} } = ...<br />

<br /> F_g^{ (s,t) } = ...<br />

<br /> F_g (s,t) = ...<br />

<br /> F_g \{s\} = ...<br />

<br /> F_g (s) = ...<br />

try a font size change


<br /> F_g \mbox{\Large (s,t)}<br />

<br /> F_g \mbox{\large (s,t)}<br />

<br /> F_g^{\mbox{\HUGE (s,t) }} = ...<br />
 
Last edited:
  • #277
The parentheses are standard notation...

a_0 (t) is a function, a_0 t is a multiplication.

- Warren
 
  • #278
I suppose that is a good point. Now I am having trouble getting the font size to work though
 
  • #279
\mbox{\Huge a_0 t}

\mbox{\LARGE a_0 t}

\mbox{\Large a_0 t}

\mbox{\large a_0 t}

- Warren
 
Last edited:
  • #280
All four of those a0t's are formatted to the same size on my screen.

EDIT: The sizes are fixed now.
 
Last edited:
  • #281
If you overload your post with too much latex math writing? Will it come out as errors?

Since, I think I may be doing so. As I was trying to verify in my post how I implicitly differentiated this equation, I used a lot of Latex Math writing to show my work. Then I preview it and it comes out with unsuccessful results.

EDIT MESSAGE: Nevermind, I found a couple of errors in my latex math writing. I fixed them and it came out great.
 
Last edited:
  • #282
<br /> v = A\sin(\omega t + \epsilon + \phi) <br /> + \sum

k = \sqrt{\omega\kappa}
 
  • #283
This is just a test.
 

Attachments

  • #284
Hello everybody!
Do you know how to write in Latex a big square cap with underlying text like formulas in display math style?
 
  • #285
\frac{1}{2}sqrt5+1
 
Last edited:
  • #286
1-(v^2 / c^2)
 
  • #287
Tesing for 3.0.3 upgrade:

q^2

- Warren
 
  • #288
Another 3.0.3 test

r^2
 
  • #289
Another 3.0.3 test

m^2
 
  • #290
Another 3.03 test

n^2
 
  • #291
Just trying to figure out if there's anything in particular screwing things up:

blah blah blah xy=z blah blah
 
Last edited:
  • #292
Test 3.03:

a^2 and a^3

- Warren
 
  • #293
This is a test of the new latex hierarchy:

\vec v \cdot \vec u = 100

- Warren
 
Last edited:
  • #294
This is a test of the new latex hierarchy:

\vec v \cdot \vec u = 20
 
  • #295
Test

<br /> \mbox{\Huge \[<br /> e^{jz} = cosz + jsinz\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\left( {e^{jz} } \right)^\nu = e^{j\nu z} = cos\nu z + jsin\nu z<br /> \]}<br />

.
 
  • #296
Testing...

Testing...

<br /> \newcommand{\uE}{\mathrm{e}}<br /> \newcommand{\uI}{\mathrm{i}}<br /> \uE^{\uI\pi}+1 = 0<br />


<br /> \newcommand{\uE}{\mathrm{e}}<br /> \newcommand{\uI}{\mathrm{i}}<br /> \uE^{\uI{}x} = \cos{}x+\uI\sin{}x<br />



:smile:
 
Last edited:
  • #297
Testing 2

Testing . . .

QED Lagrangian Density

<br /> \newcommand{\uI}{\mathrm{i}}<br /> \newcommand{\commute}[2]{\left[{#1}\!<br /> \mathrel{\vphantom{{#1}},\vphantom{{#2}}<br /> \kern-\nulldelimiterspace}\!{#2}\right]}<br /> \newcommand{\anticommute}[2]{\left\{{#1}\!<br /> \mathrel{\vphantom{{#1}},\vphantom{{#2}}<br /> \kern-\nulldelimiterspace}\!{#2}\right\}}<br /> <br /> \begin{align*}<br /> \mathcal{L}_{\text{QED}}(x) =&amp; -\frac{1}{4}F_{\mu\nu}(x)F^{\mu\nu}(x)-\frac{1}{4}\left(\commute{\overline{\psi}(x)\gamma^{\mu}}{\frac{\partial_\mu}{\uI}\psi(x)}-\commute{\frac{\partial_\mu}{\uI}\overline{\psi}(x)\gamma^{\mu}}{\psi(x)}\right) \\<br /> &amp;\quad{} -\frac{1}{2}m_{0}\commute{\overline{\psi}(x)}{\psi(x)}+\frac{1}{4}e_{0}\anticommute{\commute{\overline{\psi}(x)\gamma_{\mu}}{\psi(x)}}{A^{\mu}(x)}<br /> \end{align*}<br />

:zzz:
 
  • #298
test...
\sqrt{4}=2
 
  • #299
LaTeX

Created in \LaTeX
 
  • #300
Can you tell me how I can create a dvi file with images/pictures included ?
Thanks
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
5K
  • · 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
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K