Although I use LaTeX a lot, I still have a lot to learn about it, and I still have many questions which remain unanswered. One in particular bothers me: when and why must I use curly brackets when giving arguments to a function like \cos
or \sin
?
I tend to use curly brackets everywhere and write \cos{x}
, because that's how it was written on documents I used to teach myself. However, I see a lot of LaTeX documents where the syntax is simply \cos x
.
Does it have any importance? Maybe when writing a lot of these functions at a time, like r\sin \theta d\phi
?
Thanks for your help!
$\cos = 3$
produces different spacing than$\cos {= 3}$
. But that is not an issue unless you are using very strange notation.$\cos(\phi+\theta)$
is adversely affected if you do$\cos{(\phi+\theta)}$