]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/amsdefs.inc
Introduce listpreamble argument type
[lyx.git] / lib / layouts / amsdefs.inc
index 3fac031b809af127b88f7838636104088fbdf8af..c04bd9fd6145128de00483606edd3ca431a0a254 100644 (file)
@@ -5,13 +5,10 @@
 # Modularized Jan '08 by Richard Heck <rgheck@brown.edu>
 
 # Including the maths stuff
-Format 29
-
-# The AMS documentclasses use the package amsmath and provide the
-# functionality of makeidx.sty.
-Provides amsmath         1
-Provides makeidx         1
+Format 69
 
+# 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,16 @@ Style Bibliography
          Size                Normal
          Shape               Smallcaps
        EndFont
+       TocLevel             1
+       IsTocCaption         0
+       Argument listpreamble:1
+         LabelString    "Bib preamble"
+         MenuString     "Bibiography Preamble"
+         Tooltip        "LaTeX code to be inserted before the first bibliography item"
+         PassThru           1
+         Font
+           Family           typewriter
+           Color            latex
+         EndFont
+       EndArgument
 End