+ thmtools for restatable theorems and cleveref

This commit is contained in:
Fabrice Mouhartem 2018-02-28 18:01:36 +01:00
parent df47d3b441
commit 106498a095

View File

@ -36,16 +36,18 @@
\usepackage{enumerate} \usepackage{enumerate}
\usepackage{amsmath, amssymb, mathrsfs} \usepackage{amsmath, amssymb, mathrsfs}
\usepackage{amsthm} \usepackage{amsthm} % For theorem style
\usepackage{thmtools}
\usepackage{thm-restate}
\usepackage[capitalise]{cleveref}
\usepackage{comment} \usepackage{comment}
\usepackage{tikz} \usepackage{tikz}
\usetikzlibrary{positioning,patterns,shapes} \usetikzlibrary{positioning,patterns,shapes}
% theorems, definitions % theorems, definitions
\newtheorem{theorem}{Theorem}[chapter] \declaretheorem[numberwithin=chapter]{theorem}
\newtheorem{lemma}{Lemma}[chapter] \declaretheorem[sibling=theorem]{lemma}
\theoremstyle{definition} \declaretheorem[numberwithin=chapter,style=definition]{definition}
\newtheorem{definition}{Definition}[chapter]
\usepackage{pdfpages} \usepackage{pdfpages}
\usepackage{xspace} \usepackage{xspace}