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