Deyan Ginev edited section_Definitions_Theorems_Lemmas_and__.tex  almost 9 years ago

Commit id: b7f3d8d105119c34b9a3b476a64e087d36f4ef8d

deletions | additions      

       

\href{https://en.wikipedia.org/wiki/AMS-LaTeX}{AMS-flavored} \LaTeX introduces a flexible language for declaring custom types of environments. It has long been the weapon of choice for declaring mathematical statements, for example:  \begin{lstlisting}  % Declare in header.tex:  \newtheorem{theorem}{Theorem}  \newtheorem{proof}{Proof}  % ...  % And later use:  \begin{theorem}[Pythagoras] Suppose $a\leq b\leq c$ are the side-lengths of a right triangle.\\ Then $a^2+b^2=c^2$.\end{theorem}  \begin{proof}. . . \end{proof}  \end{lstlisting}