]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/paper.layout
Make continuous spellcheck the default.
[lyx.git] / lib / layouts / paper.layout
index 7de415c922659ea7ef993c8b0dfaabb1e296b860..71f9d559975080ee189f337276da4047c2a8c699 100644 (file)
@@ -5,25 +5,24 @@
 # Created by Jean-Marc Lasgouttes (Jean-Marc.Lasgouttes@inria.fr)
 
 
-Format 90
+Format 93
 Columns                 1
 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}{}
-       }
+  % 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