TeX source:
n_{i}\sin \theta _{i}=n_{r}\sin \theta _{r}