Automatic Theorem Numbering

Can now refer to numbered theorems by \ref{...}, as in LaTeX
This commit is contained in:
Jacques Distler 2008-10-20 00:24:22 -05:00
parent da81a2fbdb
commit 2fb41f12ce
7 changed files with 72 additions and 14 deletions

View file

@ -904,7 +904,6 @@ class WikiControllerTest < Test::Unit::TestCase
\newcommand{\quadrupleintegral}{\iiiint}
\newcommand{\conint}{\oint}
\newcommand{\contourintegral}{\oint}
\newcommand{\qed}{\blacksquare}
\newcommand{\infinity}{\infty}
\renewcommand{\empty}{\emptyset}
\newcommand{\bottom}{\bot}
@ -935,9 +934,9 @@ class WikiControllerTest < Test::Unit::TestCase
\newtheorem*{uprop}{Proposition}
\newtheorem*{ucor}{Corollary}
\theoremstyle{definition}
\newtheorem{def}{Definition}
\newtheorem{defn}{Definition}
\newtheorem{example}{Example}
\newtheorem*{udef}{Definition}
\newtheorem*{udefn}{Definition}
\newtheorem*{uexample}{Example}
\theoremstyle{remark}
\newtheorem{remark}{Remark}