Results 1 to 2 of 2

Thread: test

  1. #1
    Junior Member
    Nov 2010


    $\displaystyle \frac {\sinA + \cos^2B} {\csc3A} $
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    Opalg's Avatar
    Aug 2007
    Leeds, UK
    Quote Originally Posted by arccos View Post
    $\displaystyle \frac {\sinA + \cos^2B} {\csc3A} $
    Leave a space between the \sin and the A. Without the space, the LaTeX compiler will interpret "\sinA" as being the name of some unknown control sequence and will therefore ignore it.

    On the other hand, "\csc3A" compiles correctly, because only alphabetical letters are allowed in the names of control sequences. When the compiler reaches the "3", it knows that the control sequence "\csc" had finished with the second "c", because that was followed by a number, not a letter.

    In general, it is good practice to leave a space after every control sequence name. So for example [tex]\frac {\sin A + \cos^2B} {\csc 3A} [/tex] will result in $\displaystyle \frac {\sin A + \cos^2B} {\csc 3A} $.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 2
    Last Post: May 21st 2010, 09:56 AM
  2. Replies: 8
    Last Post: Mar 28th 2010, 05:45 PM
  3. Replies: 7
    Last Post: Jun 4th 2009, 09:33 PM
  4. Huh? Ratio test contradicts root test?
    Posted in the Calculus Forum
    Replies: 4
    Last Post: Mar 25th 2009, 12:07 PM
  5. ratio test (series) urgent test tommorow!
    Posted in the Calculus Forum
    Replies: 3
    Last Post: Dec 2nd 2008, 03:27 PM

Search Tags

/mathhelpforum @mathhelpforum