TeX source:
\sin{\theta_r}=\frac{n_i\sin{\theta_i}}{n_r}