
LaTex Help Help with LaTex and writing math equations 
 LinkBack  Thread Tools  Display Modes 
February 21st, 2015, 02:07 AM  #1 
Newbie Joined: Dec 2014 From: Singapore Posts: 23 Thanks: 0  Align equals signs
Hi I know this has been mentioned many times but I'm still not clear: What is the exact code for: If $f(x)=x^{3}$, then $f'(x)=3x^{2}$ $=600$ but with all 3 equals signs aligned? 
February 21st, 2015, 02:55 AM  #2 
Global Moderator Joined: Dec 2006 Posts: 16,389 Thanks: 1176 
If $f(x)=x^{3}$, then $\,\,\ f'(x)=3x^{2}$ $\,\,\,\ \ \ \ \ \ \ \ \ =600$ 
February 21st, 2015, 11:20 AM  #3 
Math Team Joined: May 2013 From: The Astral plane Posts: 1,493 Thanks: 561 Math Focus: Wibbly wobbly timeywimey stuff. 
It spreads out a bit, but you could also try this: $\displaystyle \begin{matrix} f(x) & = & x^3 \\ f'(x) & = & 3x^2 \\ ~ & = & 600 \end{matrix} $ Dan 
February 21st, 2015, 10:21 PM  #4 
Newbie Joined: Dec 2014 From: Singapore Posts: 23 Thanks: 0 
What's the code? As in what you typed to get the aligned equals signs?

February 22nd, 2015, 02:10 AM  #5 
Senior Member Joined: Nov 2010 From: Indonesia Posts: 1,161 Thanks: 110 
Looks like he means the Latex code, guys. To be honest, I also don't know. But Chris A, you can quote topsquark's post to see what codes he used.

February 22nd, 2015, 02:13 AM  #6 
Senior Member Joined: Apr 2014 From: Greater London, England, UK Posts: 320 Thanks: 155 Math Focus: Abstract algebra  Code: \begin{array}{rcl} \text{If}\ f(x) & = & x^3,\ \text{then} \\ f'(x) & = & 3x^2 \\ & = & 600 \end{array} $\displaystyle \begin{array}{rcl} \text{If}\ f(x) & = & x^3,\ \text{then} \\ f'(x) & = & 3x^2 \\ & = & 600 \end{array}$ 
February 22nd, 2015, 03:35 AM  #7 
Global Moderator Joined: Dec 2006 Posts: 16,389 Thanks: 1176 
You can click on the Quote button of an earlier post to find out what code was used. Below is another method that works (and I recommend) if you don't want to mix normal text and latex code. Click on the Quote button for this post to see the code I've used. $\displaystyle \begin{align*}\text{If }f(x) &= x^3,\text{ then} \\ f\,'(x) &= 3x^2 \\ &= 600 \end{align*}$ 
February 22nd, 2015, 11:13 AM  #8 
Senior Member Joined: Jul 2010 From: St. Augustine, FL., U.S.A.'s oldest city Posts: 12,131 Thanks: 440 Math Focus: Calculus/ODEs 
Another alternative is to use: $\displaystyle \begin{array}{rl}f(x)\hspace{12px}&=x^3\\f'(x)\hspace{12px}&=3x^2\\&=600\end{array}$ And another way to view the code people are using is to rightclick any expression and follow: Show Math As ► TeX Commands And a popup will display the code used. Note: This only works with MathJax rendered $\LaTeX$, but the vast majority here are using it rather than mimetex. Last edited by MarkFL; February 22nd, 2015 at 11:16 AM. 

Tags 
align, alignment, equals, latex, signs 
Thread Tools  
Display Modes  

Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
inequalities < Signs>  SMARTYPANTS  Algebra  8  July 28th, 2014 01:08 PM 
How do I align equation or simplification?  Chikis  LaTex Help  3  July 11th, 2014 01:54 AM 
Descartes's Rule of Signs  Dan154  Algebra  1  October 4th, 2012 07:30 AM 
Help understanding signs of fractions  Angus147  Linear Algebra  2  November 1st, 2009 07:21 PM 