Hello,
In Mathematica,
ArcTan[Tan[Pi/6]]
will produce Pi/6.
Pi/6
But
FullSimplify@ArcTan[Tan[\[Theta]]]
only produces
ArcTan[Tan[\[Theta]]]
What is the problem of the latter?
Try
ArcTan[Tan[Pi/6 + Pi]]
May you tell why this works?