Amend [6887bc5c/lyxgit]

Use a more specific storage command
This commit is contained in:
Juergen Spitzmueller 2021-01-08 09:22:55 +01:00
parent 5fb3171eeb
commit cc5718d1eb

View File

@ -12,18 +12,17 @@ SecNumDepth 3
TocDepth 3
AddToPreamble
% Save and disable \example as this might clash
% with theorems
\let\origexample\example
\let\endorigexample\endexample
\let\example\relax
% If theorems hasn't been loaded, restore example
\AtBeginDocument{%
\@ifundefined{example}{\let\example\origexample}{}
}
% Save and disable \example as this might
% clash with theorems
\let\paperclassexample\example
\let\endpaperclassexample\endexample
\let\example\relax
% If theorems hasn't been loaded, restore example
\AtBeginDocument{%
\@ifundefined{example}{\let\example\paperclassexample}{}
}
EndPreamble
Style Standard
Category MainText
Margin Static