Physics Help Forum LaTeX Basics
 User Name Remember Me? Password

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

 Apr 16th 2008, 05:41 PM #1 Forum Admin     Join Date: Apr 2008 Location: On the dance floor, baby! Posts: 2,857 LaTeX Basics Here is a good starting point to learn how to use LaTeX on PHF. Wrap the tags [ math ] ... [ /math ] around your code. For example, the code $\frac{1}{\sqrt{1 - \frac{v^2}{c^2}}}$ produces $\displaystyle \frac{1}{\sqrt{1 - \frac{v^2}{c^2}}}$ And note that you can left click on the script and a new box will pop up, giving you the code. -Dan Attached Thumbnails   __________________ Do not meddle in the affairs of dragons for you are crunchy and taste good with ketchup. See the forum rules here.
 Jun 24th 2017, 02:23 PM #2 Senior Member   Join Date: Nov 2013 Location: New Zealand Posts: 552 Testing $\displaystyle \frac{1}{\sqrt{1 - \frac{v^2}{c^2}}}$ Hmmm, doesn't work for me. Edit: Oh, it does now on page refresh, initially it just showed me the same expression surrounded by dollar signs mash likes this. Last edited by kiwiheretic; Jun 24th 2017 at 02:30 PM.
 Jan 8th 2018, 02:10 PM #3 Senior Member   Join Date: Nov 2013 Location: New Zealand Posts: 552 test $\displaystyle \frac{g}{h} \sqrt{x}$ __________________ Burn those raisin muffins. Burn 'em all I say.
 Sep 1st 2018, 06:30 PM #4 Junior Member   Join Date: Aug 2016 Posts: 20 $\displaystyle \frac{1}{\sqrt{1 - \frac{v^2}{c^2}}}$
Sep 1st 2018, 07:28 PM   #5

Join Date: Apr 2008
Location: On the dance floor, baby!
Posts: 2,857
 Originally Posted by Liuxinhua $\displaystyle \frac{1}{\sqrt{1 - \frac{v^2}{c^2}}}$
When you "stack" fractions like this the font size gets a little small. Personally I'd prefer something like this:
$\displaystyle \frac{1}{\sqrt{1 - (v/c)^2 }}$

There is also a way to force the LaTeX into changing the font size inside the bottom fraction. I don't recall if it was simply resizing the letters or if there was another command involved.

-Dan
__________________
Do not meddle in the affairs of dragons for you are crunchy and taste good with ketchup.

See the forum rules here.

 Tags basics, latex

« Cant post in Latex | - »

 Thread Tools Display Modes Linear Mode

 Similar Physics Forum Discussions Thread Thread Starter Forum Replies Last Post johnsy123 Kinematics and Dynamics 5 Jan 31st 2011 04:10 AM Light Advanced Electricity and Magnetism 3 May 30th 2010 12:37 AM koustubh Kinematics and Dynamics 0 Feb 6th 2010 09:08 PM nikhil Advanced Electricity and Magnetism 11 Jan 24th 2009 03:26 AM sean_feely LateX Help 4 Apr 20th 2008 03:56 AM