Commit cab48dd1 authored by Roland Herzog's avatar Roland Herzog

adds support for OJMO

parent e987abd5
......@@ -45,6 +45,11 @@
\setboolean{useamsthm}{false}
\setboolean{useBibLaTeX}{false}
}{}
\@ifclassloaded{cedram}{%
\setboolean{useamsthm}{false}
\setboolean{useBibLaTeX}{false}
\setboolean{usecleveref}{false}
}{}
\@ifclassloaded{cocv}{%
\setboolean{useBibLaTeX}{false}
}{}
......@@ -107,7 +112,7 @@
% Packages related to referencing
\ifthenelse{\boolean{useBibLaTeX}}{\RequirePackage[style=authoryear-comp,backend=biber]{biblatex}}{}
\ifthenelse{\boolean{usehyperref}}{\RequirePackage{hyperref}}{}
\ifthenelse{\boolean{usecleveref}}{\RequirePackage[nameinlink,capitalize]{cleveref}}{}
\ifthenelse{\boolean{usecleveref}}{\RequirePackage[nameinlink,capitalize]{cleveref}}{\IfFileExists{numapde-wrapCleveref.sty}{\RequirePackage{numapde-wrapCleveref}}{}}
% Packages related to changes tracking
\RequirePackage[ulem=normalem,truncate=fit]{changes}
......
......@@ -298,6 +298,31 @@
\@ifundefined{assumption*} {\newtheorem*{assumption*}{Assumption}}{}
}{}
% cedram.cls
% uses its own implementation (a mixture of amsthm and smfthm)
% and makes use of various \theoremstyle:s
\@ifclassloaded{cedram}{%
\theoremstyle{plain}
\@ifundefined{theorem} {\newtheorem{theorem}{Theorem}[section]}{}
\@ifundefined{theorem*} {\newtheorem*{theorem*}{Theorem}}{}
\@ifundefined{lemma} {\newtheorem{lemma}[theorem]{Lemma}}{}
\@ifundefined{lemma*} {\newtheorem*{lemma*}{Lemma}}{}
\@ifundefined{proposition} {\newtheorem{proposition}[theorem]{Proposition}}{}
\@ifundefined{proposition*}{\newtheorem*{proposition*}{Proposition}}{}
\@ifundefined{corollary} {\newtheorem{corollary}[theorem]{Corollary}}{}
\@ifundefined{corollary*} {\newtheorem*{corollary*}{Corollary}}{}
\theoremstyle{definition}
\@ifundefined{definition} {\newtheorem{definition}[theorem]{Definition}}{}
\@ifundefined{definition*} {\newtheorem*{definition*}{Definition}}{}
\theoremstyle{remark}
\@ifundefined{remark} {\newtheorem{remark}[theorem]{Remark}}{}
\@ifundefined{remark*} {\newtheorem*{remark*}{Remark}}{}
\@ifundefined{example} {\newtheorem{example}[theorem]{Example}}{}
\@ifundefined{example*} {\newtheorem*{example*}{Example}}{}
\@ifundefined{assumption} {\newtheorem{assumption}[theorem]{Assumption}}{}
\@ifundefined{assumption*} {\newtheorem*{assumption*}{Assumption}}{}
}{}
% ifacconf.cls
% uses theorem.sty and makes use of various \theoremstyle:s
% For lack of support of unnumbered, \newtheorem*-like environments,
......
......@@ -318,7 +318,7 @@
\newcommand{\mE}{m.\,E.\xspace}
\newcommand{\oBdA}{o.\,B.\,d.\,A.\xspace}
\newcommand{\OBdA}{O.\,B.\,d.\,A.\xspace}
\newcommand{\og}{o.\,g.\xspace}
\let\og\undefined \newcommand{\og}{o.\,g.\xspace} % cedram.cls
\newcommand{\oae}{o.\,ä.\xspace}
\newcommand{\pa}{p.\,a.\xspace}
\newcommand{\spd}{s.\,p.\,d.\xspace}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment