This is LaTeX code:

[latex]
f(x;\theta)=\frac{1}{\theta^n}I_{\{ X_1<\theta,\dots,X_n<\theta\}}=\frac{1}{\theta^n}I_{\{X_{(n)}<\theta\}}
[/latex]