Physics Help Forum Experimenting with Latex

 LateX Help LateX Help - Test your LaTex skills and get help with using LaTex

 Jan 20th 2014, 08:52 PM #1 Senior Member   Join Date: Nov 2013 Location: New Zealand Posts: 552 Experimenting with Latex Ok, if this works then this should produce an equation: $\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 )}$ ok, that doesn't look too bad. I wonder if I get complicated like with: $\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}$ Ok, I am impressed. That looks quite cool
 Jan 21st 2014, 08:41 AM #2 Senior Member   Join Date: Jun 2010 Location: NC Posts: 417 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: soq84jim@comporium.net
 Jan 21st 2014, 09:48 AM #3 Physics Team     Join Date: Jun 2010 Location: Morristown, NJ USA Posts: 2,347 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.
 Jan 21st 2014, 12:37 PM #4 Senior Member   Join Date: Nov 2013 Location: New Zealand Posts: 552 To produce that output, in my initial post, I used a simple [ IMG ] tag insert as described here: LaTeX editor (hopefully temporary!) 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.
 Jan 21st 2014, 04:00 PM #5 Physics Team     Join Date: Jun 2010 Location: Morristown, NJ USA Posts: 2,347 So here's my test of that method: $x = \frac {-b \pm \sqrt {b^2-4ac}} {2a}$ Yep, works. Nice that you don't have to copy from texify, but you do have to memorize the secret command: [img]http://latex.codecogs.com/png.latex?*LaTeX commands go here*[/img] 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 by ChipB; Jan 21st 2014 at 04:17 PM.
 Apr 28th 2018, 11:38 AM #6 Senior Member   Join Date: Jun 2010 Location: NC Posts: 417 $$[r cos \; 45-|\overline{BC}|cos \; a]\overline{I}+[|\overline{AB}|-r sin \; 45]\overline{J}+ [|\overline{BC}|sin \; a-r]\overline{K}=0$$
Apr 28th 2018, 02:28 PM   #7

Join Date: Apr 2008
Location: On the dance floor, baby!
Posts: 2,730
 Originally Posted by 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$$
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
__________________
Do not meddle in the affairs of dragons for you are crunchy and taste good with ketchup.

See the forum rules here.

 Tags experimenting, latex

 Thread Tools Display Modes Linear Mode

 Similar Physics Forum Discussions Thread Thread Starter Forum Replies Last Post kiwiheretic LateX Help 3 Jul 14th 2016 05:52 AM DrPhil LateX Help 7 Mar 4th 2013 02:41 PM yungman LateX Help 1 Apr 24th 2011 06:45 AM Lil_Aziz1 LateX Help 6 Feb 25th 2011 09:52 AM MathGuru LateX Help 35 Feb 21st 2010 05:55 PM