mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Fix bug #8921
This commit is contained in:
parent
f2e49938f3
commit
6887bc5c1d
@ -11,6 +11,19 @@ Sides 1
|
||||
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}{}
|
||||
}
|
||||
EndPreamble
|
||||
|
||||
|
||||
Style Standard
|
||||
Category MainText
|
||||
Margin Static
|
||||
|
Loading…
Reference in New Issue
Block a user