Created a LaTeX template and reworked the domain dictionary into LaTeX.