LaTeX Introducing LaTeX Math Typesetting

AI Thread 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.
  • #601
Testing...

\vec{F} = m \vec{a}

white background? Blech!
 
Physics news on Phys.org
  • #602
In line testing \vec{F} = m \vec{a}
 
  • #603
re-test of an old example

robphy said:
\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}

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 /> \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 /> \newcommand{\VARTEXT}[2][\scriptsize]{\left(\mbox{#1\begin{tabular}{c}#2\end{tabular}}\right)}<br /> \VARTEXT[\large]{net-work done \\ on the object }<br /> =<br /> \VARTEXT[\large]{change in \\ the kinetic energy \\ of the object }
Transparency broken?
 
  • #604
I am not familiar with drawing in LaTeX, and I just wonder where I can find a short tutorial on this topic.
I think it should also be added to the first page of this thread, so that someone new to LaTeX can learn how to draw.
It's just my $0.02.
 
  • #605
I don't know of anyone else who uses this \picture environment here at PF. For general (i.e. not-necessarily PF) LaTeX, you might look at http://www.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html/ltx-43.html

Here what I use sometimes http://jpicedt.sourceforge.net/
With some effort (see example below [click on image for source]) and some manual tweaks, you can get its output into a PF post.

<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 /> \put(55,60){\makebox(0,0)[cc]{kt}} <br /> \end{picture} <br /> \[ <br />
 
Last edited by a moderator:
  • #606
robphy said:
<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 /> \put(55,60){\makebox(0,0)[cc]{kt}} <br /> \end{picture} <br /> \[ <br />

Testing transparency.. 13

- Warren
 
Last edited:
  • #607
robphy said:
<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 /> \put(55,60){\makebox(0,0)[cc]{kt}} <br /> \end{picture} <br /> \[ <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 /> \put(55,60){\makebox(0,0)[cc]{kt}} <br /> \end{picture} <br /> \[ <br />

Testing transparency.. 53

- Warren
 
Last edited:
  • #608
Are you setting a transparency flag?
Or are you trying to explicitly match the current skin background (for Prime, apparently, RGB: 233,233,233), which is different from the quote background (for Prime, apparently, RGB 216,233,228)?
 
Last edited:
  • #609
I'm calling pnmtopng with -transparency =rgb:ff/ff/ff, which should turn all the white pixels transparent (and the latex itself forces an #black background). It works if I don't use antialiasing when calling ghostscript, but, for some reason, turning antialiasing on screws pnmtopng up. It didn't do this in previous versions, so it's likely a bug in the newest versions. (We're on a brand new server now). I'm working on finding a workaround.

- Warren
 
  • #610
AKG said:
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

Another test...

- Warren
 
  • #611
Another test of aliasing... 8

<br /> e^x = \sum_{n=0}^\infty \frac{x^n}{n!} = \lim_{n\rightarrow\infty} (1+x/n)^n<br />

- Warren
 
Last edited:
  • #612
Transparency's fixed (found a workaround) but the antialiasing routine used by ghostscript is different now, and, in my opinion, not as nice looking. I'm going to have to keep playing with that.

- Warren
 
  • #614
chroot said:
Transparency's fixed (found a workaround) but the antialiasing routine used by ghostscript is different now, and, in my opinion, not as nice looking. I'm going to have to keep playing with that.

- Warren
Why doesn't the old tex work?
 
  • #615
We're on a new server with an entirely different Linux distribution. Apparently, people have made a lot of (annoying) changes to some of the basic image-manipulation programs in the last year or so, and I'm having to figure out how to get around them. Apparently the transparency is still not working in IE.

- Warren
 
  • #616
I wonder if that IE problem has anything to do with
http://entropymine.com/jason/testbed/pngtrans/ (try viewing in IE and FF)
By the way, the images "copied" off the webpage (via right-click) differ between doing that in IE and in FF.

The new images have fonts that seem a little thinner (compared to the earlier version)... as if more pixels were selected for transparency than before.
 
  • #617
robphy,

As I mentioned, the antialiasing done by ghostscript appears to be different now than it used to be. As I said, I prefer the old look, and am going to try to make it look a little better soon. Apparently quite a bit of stuff was changed. :frown:

- Warren
 
  • #618
robphy said:
I wonder if that IE problem has anything to do with
http://entropymine.com/jason/testbed/pngtrans/ (try viewing in IE and FF)

Yeah, that's a good page. IE certainly does have lots of problems with PNG transparency, but my images here used to work just fine under both browsers. This is going to drive me insane.

- Warren
 
  • #619
chroot said:
Another test of aliasing... 9

<br /> e^x = \sum_{n=0}^\infty \frac{x^n}{n!} = \lim_{n\rightarrow\infty} (1+x/n)^n<br />

- Warren

<br /> e^x = \sum_{n=0}^\infty \frac{x^n}{n!} = \lim_{n\rightarrow\infty} (1+x/n)^n<br />- Warren
 
Last edited:
  • #620
<br /> \mathop {\lim }\limits_{n \to \infty } \bigcup\limits_{i = 0}^{n!} {\left\{ {\frac{i}{{n!}}} \right\}} = \mathbb{Q} \cap \left[ {0,1} \right]
 
  • #621
Testing...

<br /> E_n = /frac{n^2/pi^2}{(L+2/delta)^2}<br />

Hmm, does anyone know why I can view Latex graphics in other peoples posts, but I can never view them in my own. I always get the please wait the graphic is being generated message.
 
Last edited:
  • #622
<br /> E_n = \frac{n^2\pi^2}{(L+2\delta)^2}.<br />

Your slashes are backwards.
And I believe the tags have to be lowercase.

Kazza_765 said:
Testing...

<br /> E_n = /frac{n^2/pi^2}{(L+2/delta)^2}<br />

Hmm, does anyone know why I can view Latex graphics in other peoples posts, but I can never view them in my own. I always get
the please wait the graphic is being generated message.
 
Last edited:
  • #623
lemme try:

<br /> E_n = \frac{n^2 \pi^2}{(L + 2 \delta)^2}<br />
 
  • #624
<br /> E_n = \frac{n^2 \pi^2}{(L + 2 \delta)^2}<br />
Yes, a slight improvement. (The gamma modification?)
 
  • #625
robphy said:
<br /> E_n = \frac{n^2 \pi^2}{(L + 2 \delta)^2}<br />
Testing \vec{F} = m \vec{a}

Yikes... worse than ever. :cry:
 
  • #626
Doc Al said:
Testing \vec{F} = m \vec{a}

Yikes... worse than ever. :cry:

Using IE?
Transparency seems okay in Firefox (1.0.7).
 
  • #627
\fbox{\LaTeX}
 
  • #628
Doc Al said:
Testing \vec{F} = m \vec{a}

Yikes... worse than ever. :cry:
Seems to be working now; it wasn't yesterday when I posted that.

Yes, I'm using IE.
 
  • #629
Somethings wrong with the AA again :frown:

V = \int \pi \left[ f(x) \right]^2

I'm using firefox.
 
  • #630
I've had trouble with .png transparency in IE before. The only way i got around that was by using transparent .gifs. I know http://www.forkosh.dreamhost.com/source_mimetex.html#introduction converts to .gif, but it's not my favorite converter as it doesn't use very smooth (vector?) characters but it takes in Latex at the command line directly, rather than reading from a file which i found very useful. An alternative would be to set the background color to the background color of these forums, but since you have different styles for the PF layout that might not work. Sounds like a pain. :smile:

Actually, i just found out http://www.forkosh.dreamhost.com/source_mimetex.html#introduction can be compiled with anti-aliasing on.
 
Last edited by a moderator:
  • #631
chroot said:
robphy,

As I mentioned, the antialiasing done by ghostscript appears to be different now than it used to be. As I said, I prefer the old look, and am going to try to make it look a little better soon. Apparently quite a bit of stuff was changed. :frown:

- Warren

What version of Ghostscript? What version and distro of linux?
From googling, these commandline options might worth playing with:

-dTextAlphaBits=4 -dGraphicsAlphaBits=4 -dNOPLATFONTS

...just a thought.
 
  • #632
<br /> \[<br /> <br /> \unitlength 1mm<br /> \begin{picture}(85.00,95.00)(0,0)<br /> <br /> \linethickness{0.15mm}<br /> \put(20.00,0.00){\line(0,1){90.00}}\linethickness{0.15mm}<br /> \put(20.00,90.00){\line(0,1){0.12}}<br /> <br /> \linethickness{0.15mm}<br /> \put(20.00,90.12){\line(0,1){0.12}}<br /> \put(20.00,90.24){\vector(0,1){0.12}}<br /> <br /> \linethickness{0.15mm}<br /> \multiput(65.12,90.24)(0.12,0.24){1}{\line(0,1){0.24}}<br /> \put(65.24,90.48){\vector(1,2){0.12}}<br /> <br /> \linethickness{0.15mm}<br /> \multiput(40.12,40.12)(0.12,0.12){1}{\line(1,0){0.12}}<br /> \put(40.24,40.24){\vector(1,1){0.12}}<br /> <br /> \linethickness{0.15mm}<br /> \multiput(60.12,80.12)(0.12,0.12){1}{\line(0,1){0.12}}<br /> \put(60.24,80.24){\vector(1,1){0.12}}\linethickness{0.15mm}<br /> \multiput(20.00,0.00)(0.12,0.24){375}{\line(0,1){0.24}}<br /> \put(65.00,90.00){\vector(1,2){0.12}}\linethickness{0.15mm}<br /> \multiput(20.00,20.00)(0.12,0.12){167}{\line(1,0){0.12}}<br /> \put(40.00,40.00){\vector(1,1){0.12}}<br /> <br /> \linethickness{0.15mm}<br /> \multiput(20.00,40.00)(0.12,0.12){333}{\line(1,0){0.12}}<br /> \put(60.00,80.00){\vector(1,1){0.12}}<br /> <br /> \put(20.00,0.00){\makebox(0,0)[cr]{O\,}}<br /> <br /> \put(20.00,20.00){\makebox(0,0)[cr]{A\,}}<br /> <br /> \put(40.00,40.00){\makebox(0,0)[cl]{\,B}}<br /> <br /> \put(20.00,40.00){\makebox(0,0)[cr]{C\,}}<br /> <br /> \put(60.00,80.00){\makebox(0,0)[cl]{\,D}}<br /> <br /> \put(20.00,92.00){\makebox(0,0)[bc]{T axis}}<br /> <br /> \put(65.00,92.00){\makebox(0,0)[bc]{T&#039; axis}}<br /> <br /> \put(20.00,20.00){\makebox(0,0)[tl]{\beta}}<br /> <br /> \put(20.00,40.00){\makebox(0,0)[tl]{\beta}}<br /> <br /> \end{picture}<br /> <br /> \]<br /> <br />
 
Last edited:
  • #633
<br /> \[<br /> <br /> \unitlength 1mm<br /> \begin{picture}(85.00,95.00)(0,0)<br /> <br /> \linethickness{0.15mm}<br /> \put(20.00,0.00){\line(0,1){90.00}}\linethickness{0.15mm}<br /> \put(20.00,90.00){\line(0,1){0.12}}<br /> <br /> \linethickness{0.15mm}<br /> \put(20.00,90.12){\line(0,1){0.12}}<br /> \put(20.00,90.24){\vector(0,1){0.12}}<br /> <br /> \linethickness{0.15mm}<br /> \multiput(65.12,90.24)(0.12,0.24){1}{\line(0,1){0.24}}<br /> \put(65.24,90.48){\vector(1,2){0.12}}<br /> <br /> \linethickness{0.15mm}<br /> \multiput(40.12,40.12)(0.12,0.12){1}{\line(1,0){0.12}}<br /> \put(40.24,40.24){\vector(1,1){0.12}}<br /> <br /> \linethickness{0.15mm}<br /> \multiput(60.12,80.12)(0.12,0.12){1}{\line(0,1){0.12}}<br /> \put(60.24,80.24){\vector(1,1){0.12}}\linethickness{0.15mm}<br /> \multiput(20.00,0.00)(0.12,0.24){375}{\line(0,1){0.24}}<br /> \put(65.00,90.00){\vector(1,2){0.12}}\linethickness{0.15mm}<br /> \multiput(20.00,20.00)(0.12,0.12){167}{\line(1,0){0.12}}<br /> \put(40.00,40.00){\vector(1,1){0.12}}<br /> <br /> \linethickness{0.15mm}<br /> \multiput(20.00,40.00)(0.12,0.12){333}{\line(1,0){0.12}}<br /> \put(60.00,80.00){\vector(1,1){0.12}}<br /> <br /> \put(20.00,0.00){\makebox(0,0)[cr]{O\,}}<br /> <br /> \put(20.00,20.00){\makebox(0,0)[cr]{A\,}}<br /> <br /> \put(40.00,40.00){\makebox(0,0)[cl]{\,B}}<br /> <br /> \put(20.00,40.00){\makebox(0,0)[cr]{C\,}}<br /> <br /> \put(60.00,80.00){\makebox(0,0)[cl]{\,D}}<br /> <br /> \put(20.00,92.00){\makebox(0,0)[bc]{T axis}}<br /> <br /> \put(65.00,92.00){\makebox(0,0)[bc]{T&#039; axis}}<br /> <br /> \put(20.00,20.00){\makebox(0,0)[tl]{\beta}}<br /> <br /> \put(20.00,40.00){\makebox(0,0)[tl]{\beta}}<br /> <br /> \put(20.00,7.00){\makebox(0,0)[bl]{$\alpha$}}<br /> <br /> \end{picture}<br /> <br /> \]<br /> <br />
 
Last edited:
  • #634
So, I just want to stick an "alpha" in the angle by the point marked O, why is the Latex source for this image invalid?
 
  • #635
Is there something I'm doing with wrong trying to get a line break?

<br /> a \\ b<br />

<br /> a \ \ b

a \ \<br /> b<br />

Obviously the following works but it can get annoying

a
b
 
  • #636
pervect said:
<br /> \[<br /> <br /> \unitlength 1mm<br /> \begin{picture}(85.00,95.00)(0,0)<br /> <br /> \linethickness{0.15mm}<br /> \put(20.00,0.00){\line(0,1){90.00}}\linethickness{0.15mm}<br /> \put(20.00,90.00){\line(0,1){0.12}}<br /> <br /> \linethickness{0.15mm}<br /> \put(20.00,90.12){\line(0,1){0.12}}<br /> \put(20.00,90.24){\vector(0,1){0.12}}<br /> <br /> \linethickness{0.15mm}<br /> \multiput(65.12,90.24)(0.12,0.24){1}{\line(0,1){0.24}}<br /> \put(65.24,90.48){\vector(1,2){0.12}}<br /> <br /> \linethickness{0.15mm}<br /> \multiput(40.12,40.12)(0.12,0.12){1}{\line(1,0){0.12}}<br /> \put(40.24,40.24){\vector(1,1){0.12}}<br /> <br /> \linethickness{0.15mm}<br /> \multiput(60.12,80.12)(0.12,0.12){1}{\line(0,1){0.12}}<br /> \put(60.24,80.24){\vector(1,1){0.12}}\linethickness{0.15mm}<br /> \multiput(20.00,0.00)(0.12,0.24){375}{\line(0,1){0.24}}<br /> \put(65.00,90.00){\vector(1,2){0.12}}\linethickness{0.15mm}<br /> \multiput(20.00,20.00)(0.12,0.12){167}{\line(1,0){0.12}}<br /> \put(40.00,40.00){\vector(1,1){0.12}}<br /> <br /> \linethickness{0.15mm}<br /> \multiput(20.00,40.00)(0.12,0.12){333}{\line(1,0){0.12}}<br /> \put(60.00,80.00){\vector(1,1){0.12}}<br /> <br /> \put(20.00,0.00){\makebox(0,0)[cr]{O\,}}<br /> <br /> \put(20.00,20.00){\makebox(0,0)[cr]{A\,}}<br /> <br /> \put(40.00,40.00){\makebox(0,0)[cl]{\,B}}<br /> <br /> \put(20.00,40.00){\makebox(0,0)[cr]{C\,}}<br /> <br /> \put(60.00,80.00){\makebox(0,0)[cl]{\,D}}<br /> <br /> \put(20.00,92.00){\makebox(0,0)[bc]{T axis}}<br /> <br /> \put(65.00,92.00){\makebox(0,0)[bc]{T&#039; axis}}<br /> <br /> \put(20.00,20.00){\makebox(0,0)[tl]{\beta}}<br /> <br /> \put(20.00,40.00){\makebox(0,0)[tl]{\beta}}<br /> <br /> \put(0.00,5.00){\makebox(0,0)[bl]{\alpha}}<br /> <br /> \end{picture}<br /> <br /> \]<br /> <br />
<br /> \[<br /> <br /> \unitlength 1mm<br /> \begin{picture}(85.00,95.00)(0,0)<br /> <br /> \linethickness{0.15mm}<br /> \put(20.00,0.00){\line(0,1){90.00}}\linethickness{0.15mm}<br /> \put(20.00,90.00){\line(0,1){0.12}}<br /> <br /> \linethickness{0.15mm}<br /> \put(20.00,90.12){\line(0,1){0.12}}<br /> \put(20.00,90.24){\vector(0,1){0.12}}<br /> <br /> \linethickness{0.15mm}<br /> \multiput(65.12,90.24)(0.12,0.24){1}{\line(0,1){0.24}}<br /> \put(65.24,90.48){\vector(1,2){0.12}}<br /> <br /> \linethickness{0.15mm}<br /> \multiput(40.12,40.12)(0.12,0.12){1}{\line(1,0){0.12}}<br /> \put(40.24,40.24){\vector(1,1){0.12}}<br /> <br /> \linethickness{0.15mm}<br /> \multiput(60.12,80.12)(0.12,0.12){1}{\line(0,1){0.12}}<br /> \put(60.24,80.24){\vector(1,1){0.12}}\linethickness{0.15mm}<br /> \multiput(20.00,0.00)(0.12,0.24){375}{\line(0,1){0.24}}<br /> \put(65.00,90.00){\vector(1,2){0.12}}\linethickness{0.15mm}<br /> \multiput(20.00,20.00)(0.12,0.12){167}{\line(1,0){0.12}}<br /> \put(40.00,40.00){\vector(1,1){0.12}}<br /> <br /> \linethickness{0.15mm}<br /> \multiput(20.00,40.00)(0.12,0.12){333}{\line(1,0){0.12}}<br /> \put(60.00,80.00){\vector(1,1){0.12}}<br /> <br /> \put(20.00,0.00){\makebox(0,0)[cr]{O\,}}<br /> <br /> \put(20.00,20.00){\makebox(0,0)[cr]{A\,}}<br /> <br /> \put(40.00,40.00){\makebox(0,0)[cl]{\,B}}<br /> <br /> \put(20.00,40.00){\makebox(0,0)[cr]{C\,}}<br /> <br /> \put(60.00,80.00){\makebox(0,0)[cl]{\,D}}<br /> <br /> \put(20.00,92.00){\makebox(0,0)[bc]{T axis}}<br /> <br /> \put(65.00,92.00){\makebox(0,0)[bc]{T&#039; axis}}<br /> <br /> \put(20.00,20.00){\makebox(0,0)[tl]{$\beta$}}<br /> <br /> \put(20.00,40.00){\makebox(0,0)[tl]{$\beta$}}<br /> <br /> \put(0.00,5.00){\makebox(0,0)[bl]{$\alpha$}}<br /> <br /> \end{picture}<br /> <br /> \]<br /> <br />

The use of \[ and \] I've always used in the \picture environment here
let me use the standard tags $\alpha$ for math symbols. I found this out by trial and error.
 
  • #637
dav2008 said:
Is there something I'm doing with wrong trying to get a line break?

<br /> a \\ b<br />

<br /> a \ \ b

a \ \<br /> b<br />

maybe we're in an mbox?
\begin{align*} a \\ b \end{align*}

\] a \\ b \[

\] $ a \\ b $ \[

From these last two posts, it seems one has more familiar control using
[ tex ] \] a \\ b \[ [ /tex ]
instead of the usual
[ tex ] a \\ b [ /tex ]

Did I mention that I really like \LaTeX? :-p
(That's why I'm saddened :cry: that the preview mode is broken o:) .)
 
Last edited:
  • #638
LaTeX

Just an aside, for those who'd like to have LaTeX on their computer http://http://www.artofproblemsolving.com/LaTeX/AoPS_L_Downloads.php" is the place to get it! The whole package is about 400MB.
 
Last edited by a moderator:
  • #639
0&lt;|x-x_0| &lt;\delta =&gt; |sin(x) - sin(x_0)|&lt; \epsilon
|sin(x)| - |sin(x_0)|&lt;|sin(x) - sin(x_0)|&lt;\epsilon
|sin(x)| - |x| &lt; |sin(x)| - |sin(x_0)|&lt; \epsilon
 
  • #640
Fixed link: http://www.artofproblemsolving.com/LaTeX/AoPS_L_Downloads.php
robphy said:
maybe we're in an mbox?
\begin{align*} a \\ b \end{align*}

\] a \\ b \[

\] $ a \\ b $ \[

From these last two posts, it seems one has more familiar control using
[ tex ] \] a \\ b \[ [ /tex ]
instead of the usual
[ tex ] a \\ b [ /tex ]

Did I mention that I really like \LaTeX? :-p
(That's why I'm saddened :cry: that the preview mode is broken o:) .)
hmm ok thanks.
 
Last edited by a moderator:
  • #641
d\vec{B} = \frac{\mu_0}{4\pi}(\frac{Id\vec{s}\times\hat{r}}{r^2})

\int B \cdot ds = \mu_0 I

B = \frac {\mu_0 * 2A}{4 * 2 \pi * .08 m }

F = \frac {2 k_m I_1 I_2 l}{d}
 
Last edited:
  • #642
Miktex has all kinds of packages available for download. In order to use these packages must i specifically indicate which to use in the latex code or is there an option to just use all available?
 
  • #643
You won't want to use all available. It is unnecessary and there are package conflicts. You cannot use xypic with Paul Taylor's diagrams package for instance. Plus there are some packages that require their own
\usepackage

command and yet others must appear after other packages in the preamble as well.
 
  • #644
T_1 - T_2 = 2k(r\theta -1)
 
  • #645
T_1 - T_2 = m \frac{d^2}{dt^2} y
 
  • #646
T_1-T_2=m \frac{d^2 y}{dt^2}
T_m=\frac{K_mv_2}{R}
T_m=J\frac{d^2\theta}{dt^2}+b\frac{d\theta}{dt}+r(T_1 - T_2)
state variables are
4=\frac{dy}{dt}x_1=\theta , x_2=y , x_3=\frac{d\theta}{dt} , x_
 
Last edited:
  • #647
I installed miketex and TeXnicCenter. How do I have to format the new entry in TeXnicCenter to get it to work? On the forums it's just [tex]asadasda[/tex].

Edit: NM found the short tutorial on that webpage.

Is there a way to export to jpg?
 
Last edited:
  • #648
Dav, for that you might need some other tool. I know you can convert to PNG and GIF, but neither through TeXnic Center. To convert to png i first convert to dvi and then use the dvipng.exe tool to convert the dvi to a png. To convert to .gif there is a tool called MimeTex. This whole LateX scene is very confusing i think. That's why I'm doing a web based editor that can export/preview as a png, gif, or html.
It's still under construction but it's already usable:
http://www.bloo.us/academic/latex/

I'm actually having some issues implementing the formatting tags in my program. Maybe someone experienced can tell me why the tags:
\tiny
\scriptsize
\footnotesize
\small
\normalsize
\large
\Large
\LARGE
\huge
\Huge
... are not parsed correctly with latex.exe (generate an error). Do i need to use a specific package? Which one?
 
Last edited by a moderator:
  • #649
-Job- said:
Dav, for that you might need some other tool. I know you can convert to PNG and GIF, but neither through TeXnic Center. To convert to png i first convert to dvi and then use the dvipng.exe tool to convert the dvi to a png. To convert to .gif there is a tool called MimeTex. This whole LateX scene is very confusing i think. That's why I'm doing a web based editor that can export/preview as a png, gif, or html.
It's still under construction but it's already usable:
http://www.bloo.us/academic/latex/
Thanks I'll check out that link.

I mean what I do now is just preview the file, screen capture, paste into PS, crop and save as jpg. I think that web-utility might be a bit more useful for my purposes, if I just want to make a quick jpg.
 
Last edited by a moderator:
  • #650
There are solutions, depending on your OS, to these problems.

1. If in OS X you have latexit.
2. Use latex2html in any system.
3. Stop using anything but a text editor for latex and buy yourself a copy of Kopka and Daly, you'll be far more productive.
 
Last edited:

Similar threads

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