Replaced mdframed with framed

This commit is contained in:
saundersp
2025-07-15 13:56:39 +02:00
parent 452c0bd235
commit 6f054ac4d9
3 changed files with 13 additions and 16 deletions

View File

@@ -5,6 +5,7 @@
\RequirePackage{amssymb} % for '\blacksquare' macro
\RequirePackage{amsthm} % for 'proof' environment
\RequirePackage{mathtools}
\RequirePackage{framed}
% Snippet to add dots to TOC
% Thanks to "user11232" at https://tex.stackexchange.com/questions/53898/how-to-get-lines-with-dots-in-the-table-of-contents-for-sections
@@ -47,14 +48,14 @@
\newtheorem{exercise}{\lang{Exercice}{Exercise}}
\newcommandx{\suite}[3][1=n,2=n]{$(#3_{#1})_{#2 \in \N}$}
\newcommand{\innerproduct}[2]{\langle #1, #2 \rangle}
\newenvironment{definition_sq}[1][]{\begin{mdframed}\begin{definition}[#1]}{\end{definition}\end{mdframed}}
\newenvironment{theorem_sq}[1][]{\begin{mdframed}\begin{theorem}[#1]}{\end{theorem}\end{mdframed}}
\newenvironment{lemme_sq}[1][]{\begin{mdframed}\begin{lemme}[#1]}{\end{lemme}\end{mdframed}}
\newenvironment{definition_sq}[1][]{\begin{framed}\begin{definition}[#1]}{\end{definition}\end{framed}}
\newenvironment{theorem_sq}[1][]{\begin{framed}\begin{theorem}[#1]}{\end{theorem}\end{framed}}
\newenvironment{lemme_sq}[1][]{\begin{framed}\begin{lemme}[#1]}{\end{lemme}\end{framed}}
\newtheorem{prop}{Proposition}
\newenvironment{prop_sq}[1][]{\begin{mdframed}\begin{prop}[#1]}{\end{prop}\end{mdframed}}
\newenvironment{prop_sq}[1][]{\begin{framed}\begin{prop}[#1]}{\end{prop}\end{framed}}
\newtheorem{corollary}{Corollaire}
\newenvironment{corollary_sq}[1][]{\begin{mdframed}\begin{corollary}[#1]}{\end{corollary}\end{mdframed}}
\newenvironment{exercise_sq}[1][]{\begin{mdframed}\begin{exercise}[#1]}{\end{exercise}\end{mdframed}}
\newenvironment{corollary_sq}[1][]{\begin{framed}\begin{corollary}[#1]}{\end{corollary}\end{framed}}
\newenvironment{exercise_sq}[1][]{\begin{framed}\begin{exercise}[#1]}{\end{exercise}\end{framed}}
\newcommand{\inv}[1]{#1^{-1}}
\DeclarePairedDelimiter{\generator}{\langle}{\rangle}
\DeclareMathOperator{\subgroup}{\leqslant}