\documentclass{article}
\usepackage{amsmath}
\title{Complete Optics: Snell Law}
\begin{document}
\maketitle

\section{Snell Law}

At an interface between refractive indices $n_1$ and $n_2$, transmitted rays
obey

$$
n_1\sin\theta_1=n_2\sin\theta_2.
$$

This follows from phase matching along the boundary.

\end{document}
