July 6th, 2011, 02:07 PM  #1 
Math Team Joined: Dec 2006 From: Lexington, MA Posts: 3,267 Thanks: 407  Some Latex Commands
In case the Latex tutorial doesn't have a list of commands, here are some of my favorites. 
July 6th, 2011, 02:24 PM  #2 
Senior Member Joined: Jul 2010 From: St. Augustine, FL., U.S.A.'s oldest city Posts: 12,155 Thanks: 463 Math Focus: Calculus/ODEs  Re: Some Latex Commands
Instead of {9 \choose 3} I've been using \binom{9}{3} and for \overline{x} I use \bar{x}. I wrote yours on the left and mine on the right: I prefer the output on the left! These look the same. Another one I use is \therefore I prefer exponents to be smaller using the \tiny{x} and \small{x} commands: \sin^{\tiny{1}}(x): \sin^{\small{1}}(x): \sin^{1}(x): However, sometimes and seemingly arbitrarily, this makes the rest of the expression smaller too, and I can't figure out why! Also, when enclosing a "tall" expression within parentheses (and other bracketing symbols), it doesn't look good with: (\frac{3x^2}{2y^3}): However, some sites will suggest: \left(\frac{3x^2}{2y^3}\right): But, I've found an alternative (I notice others use it as well) that I prefer: \(\frac{3x^2}{2y^3}\): (Notice it is almost as tall as the preceding, but not as dark) However, I've noticed when the expression is quite long, this shortcut doesn't always work, so then I put in the "left" and "right" and it works, although the bracketing symbols sometimes appear too dark or heavy. I use the \text{} command for units: 3\text{ km}: a = 3.4\text{ \frac{m}{s^2}}: soroban, I would be interesting in hearing about your use of spacing and alignment! 
July 7th, 2011, 12:17 AM  #3  
Senior Member Joined: Apr 2011 From: USA Posts: 782 Thanks: 1  Re: Some Latex Commands Quote:
 
July 7th, 2011, 12:28 AM  #4  
Senior Member Joined: Jul 2010 From: St. Augustine, FL., U.S.A.'s oldest city Posts: 12,155 Thanks: 463 Math Focus: Calculus/ODEs  Re: Some Latex Commands Quote:
I just always use the preview option to make sure everything looks right, and if it doesn't, then I scramble to make it right, whatever I have to do.  
July 7th, 2011, 12:44 AM  #5 
Senior Member Joined: Apr 2011 From: USA Posts: 782 Thanks: 1  Re: Some Latex Commands
Hmm, I don't think I've done any "tall" stuff (in my case, just fractions) that were that big, but it still didn't work. But I have trouble with \cdot sometimes too  I think especially when there's parenthesis or fractions involved. I forget cause I tend to avoid it. And yes, I preview everything. No way would I ever trust everything came out right. In fact, 95% of the time I manage to screw up at least one thing. 
July 7th, 2011, 12:49 AM  #6  
Senior Member Joined: Jul 2010 From: St. Augustine, FL., U.S.A.'s oldest city Posts: 12,155 Thanks: 463 Math Focus: Calculus/ODEs  Re: Some Latex Commands Quote:
I use the preview after just about every line so that I don't have a whole page of errors to correct at once!  
July 7th, 2011, 03:46 AM  #7 
Senior Member Joined: Sep 2010 Posts: 101 Thanks: 0  Re: Some Latex Commands
Now when there is LaTeX thread, how do you insert new lines in text or expression?

July 8th, 2011, 11:03 PM  #8 
Newbie Joined: Jul 2011 Posts: 17 Thanks: 0  Re: Some Latex Commands
^ I wonder that too. Also, how do you make it aligned? \begin{aligned} ... \end{aligned} didn't work for me earlier.

July 10th, 2011, 02:46 PM  #9 
Global Moderator Joined: Oct 2008 From: London, Ontario, Canada  The Forest City Posts: 7,664 Thanks: 965 Math Focus: Elementary mathematics and beyond  Re: Some Latex Commands
\begin{align*} . . . &= . . . \\ . . . &= . . . \end{align*} 
July 10th, 2011, 03:01 PM  #10  
Newbie Joined: Jul 2011 Posts: 17 Thanks: 0  Re: Some Latex Commands Quote:
 

Tags 
commands, latex 
Search tags for this page 
Click on a term to search for related topics.

Thread Tools  
Display Modes  

Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
show that [latex]\mu[/latex] is a measure  rayman  Real Analysis  2  October 14th, 2013 03:30 AM 
latex  mathkid  New Users  12  November 15th, 2012 09:01 PM 
Some unusual LaTeX commands  soroban  LaTex Help  1  June 27th, 2012 02:29 PM 
find [latex]/frac{dy}{dx}[/latex]  sivela  Calculus  1  April 26th, 2010 05:53 PM 
Latex?  Infinity  LaTex Help  15  January 13th, 2007 09:21 PM 