amsthm to build consistent theorem, lemma, and proof sections.
Setup
amsthm-setup.tex
Usage
theorem-usage.tex
Define theorem-like environments in LaTeX with amsthm and create clean proof structures for academic writing.
amsthm to build consistent theorem, lemma, and proof sections.
\usepackage{amsthm}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{corollary}[theorem]{Corollary}
\theoremstyle{definition}
\newtheorem{definition}[theorem]{Definition}
\theoremstyle{remark}
\newtheorem{remark}[theorem]{Remark}
\begin{theorem}[Convergence]
Let $f_n$ be a Cauchy sequence in a complete normed space. Then $f_n$ converges.
\end{theorem}
\begin{proof}
Apply completeness and standard norm arguments.
\end{proof}
Was this page helpful?