This is LaTeX code:
[latex]
\theta \in [0, \frac{\pi}{6}]
[/latex]