]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/amsdefs.inc
Implement IsTocCaption for normal layouts.
[lyx.git] / lib / layouts / amsdefs.inc
index ffa2a268b440dab621d8812411ebd9f94e63f1e7..0744ecdd061a10eebbef1a828d9e5b8397d89796 100644 (file)
@@ -5,13 +5,10 @@
 # Modularized Jan '08 by Richard Heck <rgheck@brown.edu>
 
 # Including the maths stuff
-Format 27
-
-# The AMS documentclasses use the package amsmath and provide the
-# functionality of makeidx.sty.
-Provides amsmath         1
-Provides makeidx         1
+Format 66
 
+# By default AMS articles & books use leqno option (as SIAM journals).
+Provides leqno 1
 
 # the environments copied from the old amsart.layout are:
 # - Bibliography
@@ -40,7 +37,11 @@ Style Title
        ParSep                1
        Align                 Center
        LabelType             No_Label
-       OptionalArgs          1
+       Argument 1
+               LabelString   "Short Title|S"
+               Tooltip       "Short title which appears in the running headers"
+               InsertCotext  1
+       EndArgument
        Font
          Shape               Smallcaps
          Series              Bold
@@ -200,10 +201,12 @@ End
 
 
 Style Bibliography
+       Category              BackMatter
        Margin                First_Dynamic
        LatexType             Bib_Environment
        LatexName             thebibliography
        NextNoIndent          1
+       ToggleIndent          Never
        LeftMargin            MM
        ParSkip               0.4
        ItemSep               0
@@ -222,4 +225,6 @@ Style Bibliography
          Size                Normal
          Shape               Smallcaps
        EndFont
+       TocLevel             1
+       IsTocCaption         0
 End