Experimenting with Latex

Nov 2013
552
30
New Zealand
Ok, if this works then this should produce an equation:



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



Ok, I am impressed. That looks quite cool :)
 
Jun 2010
425
35
NC
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?

Please visit my home page, follow links to the interior. See the scope of what I have.

Thank you, Jim Pohl http://www.thermospokenhere.com (home page)

Contact: [email protected]
 

ChipB

PHF Helper
Jun 2010
2,369
294
Morristown, NJ USA
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.
 
Nov 2013
552
30
New Zealand
To produce that output, in my initial post, I used a simple [ IMG ] tag insert as described here:

http://physicshelpforum.com/showthread.php?t=5757

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
Jun 2010
2,369
294
Morristown, NJ USA
So here's my test of that method:



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



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:
Jun 2010
425
35
NC
$$[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
Apr 2008
3,106
659
On the dance floor, baby!
$$[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