]> gitweb.michael.orlitzky.com - mjotex.git/blobdiff - examples.tex
Enable a bibliography by default.
[mjotex.git] / examples.tex
index 4005cdd984dfe9a46194751b97b1bea2b8679748..c1f3df1eb64e416fb00c52f809cdcfc562138324 100644 (file)
@@ -1,7 +1,17 @@
 \documentclass{report}
 
-% We have to load this before mjotex so that mjotex knows to define
-% its glossary entries.
+% Setting hypertexnames=false forces hyperref to use a consistent
+% internal counter for proposition/equation references rather than
+% being clever, which doesn't work after we reset those counters.
+\usepackage[hypertexnames=false]{hyperref}
+\hypersetup{
+  colorlinks=true,
+  linkcolor=blue,
+  citecolor=blue
+}
+
+% We have to load this after hyperref, so that links work, but before
+% mjotex so that mjotex knows to define its glossary entries.
 \usepackage[nonumberlist]{glossaries}
 \makenoidxglossaries
 
     $\boundedops[W]{V}$. If $W = V$, then we write $\boundedops{V}$
     instead.
 
+    If you want to solve a system of equations, try Cramer's
+    rule~\cite{ehrenborg}.
+
     The direct sum of $V$ and $W$ is $\directsum{V}{W}$, of course,
     but what if $W = V^{\perp}$? Then we wish to indicate that fact by
     writing $\directsumperp{V}{W}$. That operator should survive a
   \glsaddall
   \printnoidxglossaries
 
+  \bibliographystyle{mjo}
+  \bibliography{local-references}
+
   \printindex
 \end{document}