# test

• November 6th 2010, 04:43 AM
arccos
test
$\frac {\sinA + \cos^2B} {\csc3A}$
• November 6th 2010, 05:11 AM
Opalg
Quote:

Originally Posted by arccos
$\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 $$\frac {\sin A + \cos^2B} {\csc 3A}$$ will result in $\frac {\sin A + \cos^2B} {\csc 3A}$.