mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Amend [6887bc5c/lyxgit]
Use a more specific storage command
This commit is contained in:
parent
5fb3171eeb
commit
cc5718d1eb
@ -12,18 +12,17 @@ SecNumDepth 3
|
|||||||
TocDepth 3
|
TocDepth 3
|
||||||
|
|
||||||
AddToPreamble
|
AddToPreamble
|
||||||
% Save and disable \example as this might clash
|
% Save and disable \example as this might
|
||||||
% with theorems
|
% clash with theorems
|
||||||
\let\origexample\example
|
\let\paperclassexample\example
|
||||||
\let\endorigexample\endexample
|
\let\endpaperclassexample\endexample
|
||||||
\let\example\relax
|
\let\example\relax
|
||||||
% If theorems hasn't been loaded, restore example
|
% If theorems hasn't been loaded, restore example
|
||||||
\AtBeginDocument{%
|
\AtBeginDocument{%
|
||||||
\@ifundefined{example}{\let\example\origexample}{}
|
\@ifundefined{example}{\let\example\paperclassexample}{}
|
||||||
}
|
}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
|
|
||||||
|
|
||||||
Style Standard
|
Style Standard
|
||||||
Category MainText
|
Category MainText
|
||||||
Margin Static
|
Margin Static
|
||||||
|
Loading…
Reference in New Issue
Block a user