Experimenting with Latex

kiwiheretic

Ok, if this works then this should produce an equation:

$image=http://latex.codecogs.com/png.latex?\frac{1}{2}+\left(t+++\frac{v_{0}}{a}\right)+\sqrt{-+a^{2}+\left(t+++\frac{v_{0}}{a}\right)^{2}+++c^{2}}+++\frac{c^{2}}{2+a}+\operatorname{asin}{\left+(\frac{a}{c}+\left(t+++\frac{v_{0}}{a}\right)+\right+)}&hash=3d942bf61f11600f420db1e057d0dd1b$

ok, that doesn't look too bad. I wonder if I get complicated like with:

$image=http://latex.codecogs.com/png.latex?\begin{cases}+\frac{i+a^{2}+\left(t+++\frac{v_{0}}{a}\right)^{3}}{2+\sqrt{a^{2}+\left(t+++\frac{v_{0}}{a}\right)^{2}+-+c^{2}}}+-+\frac{i+c^{2}+\left(t+++\frac{v_{0}}{a}\right)}{2+\sqrt{a^{2}+\left(t+++\frac{v_{0}}{a}\right)^{2}+-+c^{2}}}+-+\frac{i+c^{2}}{2+a}+\operatorname{acosh}{\left+(\frac{a}{c}+\left(t+++\frac{v_{0}}{a}\right)+\right+)}+&+\text{for}\:+\frac{a^{2}}{c^{2}}+\left(t+++\frac{v_{0}}{a}\right)^{2}+>+1+\\\frac{1}{2}+\left(t+++\frac{v_{0}}{a}\right)+\sqrt{-+a^{2}+\left(t+++\frac{v_{0}}{a}\right)^{2}+++c^{2}}+++\frac{c^{2}}{2+a}+\operatorname{asin}{\left+(\frac{a}{c}+\left(t+++\frac{v_{0}}{a}\right)+\right+)}+&+\text{otherwise}+\end{cases}&hash=a515e91e27cfa07dc183075ff948da5a$

Ok, I am impressed. That looks quite cool

THERMO Spoken Here

Hello Kiwiheritic...

Sir,

I have used MathType (15 years now). I need a Latex capability. I need it to use at PHF and I need it at my site. Please look at my site. The platform is html pages, driven via a php database. Might you be hired to advise me how to get some beginning equations up at PHF and on my pages?

Contact: [email protected]

ChipB

PHF Helper
Thermo: as noted in other threads PHF does not have LaTeX capability. Use texify.com, and copy and paste it's output into your posts here on PHF. This same technique may work for your site as well as long as you allow embedded images.

kiwiheretic

To produce that output, in my initial post, I used a simple [ IMG ] tag insert as described here:

To generate the Latex code I used sympy. An online version can be found here: http://live.sympy.org/

After sympy generates the fancy styled equation I right click on it then select "Show Math as" and then "TeX commands" from the submenu. I then copy and paste that into PHF as per the first link.

ChipB

PHF Helper
So here's my test of that method:

$image=http://latex.codecogs.com/png.latex?x+=+\frac+{-b+\pm+\sqrt+{b^2-4ac}}+{2a}&hash=3265285c3f2f695d7449451951b52e01$

Yep, works. Nice that you don't have to copy from texify, but you do have to memorize the secret command:

$image=http://latex.codecogs.com/png.latex?*LaTeX+commands+go+here*&hash=70e6cbe5256a830601ae35101c648a98$

I didn't use simpy - I simply placed the LaTeX commands as instructed - in this case: \frac {-b \pm \sqrt {b^2-4ac}}{2a}

Last edited:

THERMO Spoken Here

$$[r cos \; 45-|\overline{BC}|cos \; a]\overline{I}+[|\overline{AB}|-r sin \; 45]\overline{J}+ [|\overline{BC}|sin \; a-r]\overline{K}=0$$

topsquark

Forum Staff
$$[r cos \; 45-|\overline{BC}|cos \; a]\overline{I}+[|\overline{AB}|-r sin \; 45]\overline{J}+ [|\overline{BC}|sin \; a-r]\overline{K}=0$$
Yours is the way I would code it, but some others prefer the following:
$$[r \cos \; 45-|\overline{BC}| \cos \; a]\overline{I}+[|\overline{AB}|-r \sin \; 45]\overline{J}+ [|\overline{BC}| \sin \; a-r]\overline{K}=0$$

It's not much different, just use \sin and \cos.

-Dan

Similar Physics Discussions Physics Forum Date
LaTeX
LaTeX
LaTeX
LaTeX