Commit 14dddfc9 authored by Roland Herzog's avatar Roland Herzog
Browse files

adds \protect command before every \GetTranslation

parent ae55a2a0
......@@ -62,25 +62,25 @@
\@ifclassloaded{svjour3}{\setboolean{nextbranch}{true}}{}
\ifthenelse{\boolean{nextbranch}}{%
\@ifclassloaded{numapde-thesis}{%
\newtheorem{theorem}{\GetTranslation{Theorem}}[chapter]
\newtheorem{theorem}{\protect\GetTranslation{Theorem}}[chapter]
}{%
\newtheorem{theorem}{\GetTranslation{Theorem}}[section]
\newtheorem{theorem}{\protect\GetTranslation{Theorem}}[section]
}
\newtheorem{assumption}[theorem]{\GetTranslation{Assumption}}
\newtheorem{corollary}[theorem]{\GetTranslation{Corollary}}
\newtheorem{assumption}[theorem]{\protect\GetTranslation{Assumption}}
\newtheorem{corollary}[theorem]{\protect\GetTranslation{Corollary}}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{example}[theorem]{\GetTranslation{Example}}
\newtheorem{example}[theorem]{\protect\GetTranslation{Example}}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{remark}[theorem]{\GetTranslation{Remark}}
\newtheorem*{theorem*}{\GetTranslation{Theorem}}
\newtheorem*{assumption*}{\GetTranslation{Assumption}}
\newtheorem*{corollary*}{\GetTranslation{Corollary}}
\newtheorem{remark}[theorem]{\protect\GetTranslation{Remark}}
\newtheorem*{theorem*}{\protect\GetTranslation{Theorem}}
\newtheorem*{assumption*}{\protect\GetTranslation{Assumption}}
\newtheorem*{corollary*}{\protect\GetTranslation{Corollary}}
\newtheorem*{definition*}{Definition}
\newtheorem*{example*}{\GetTranslation{Example}}
\newtheorem*{example*}{\protect\GetTranslation{Example}}
\newtheorem*{lemma*}{Lemma}
\newtheorem*{proposition*}{Proposition}
\newtheorem*{remark*}{\GetTranslation{Remark}}
\newtheorem*{remark*}{\protect\GetTranslation{Remark}}
}{}
% numapde-book.cls
......
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