]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/amsdefs.inc
Add Eugene (Yu Jin) to the credits
[lyx.git] / lib / layouts / amsdefs.inc
index c4ed89a1d4f9c99a50444eb558ad5a6eecc7545d..9fc907e42e9b9dd02fb2c66c27167417ff1408f4 100644 (file)
@@ -5,13 +5,10 @@
 # Modularized Jan '08 by Richard Heck <rgheck@brown.edu>
 
 # Including the maths stuff
-Format 6
-
-# The AMS documentclasses use the package amsmath and provide the
-# functionality of makeidx.sty.
-Provides amsmath         1
-Provides makeidx         1
+Format 80
 
+# By default AMS articles & books use leqno option (as SIAM journals).
+Provides leqno 1
 
 # the environments copied from the old amsart.layout are:
 # - Bibliography
@@ -28,6 +25,7 @@ Provides makeidx         1
 ### Now the title stuff. We copy do not use stdstruct.inc to keep
 ### things in the right order
 Style Title
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        InTitle               1
@@ -39,16 +37,22 @@ 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
          Size                Larger
        EndFont
+       HTMLTitle             true
 End
 
 
 Style Author
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        InTitle               1
@@ -68,6 +72,7 @@ End
 
 
 Style Date
+       Category              FrontMatter
        Margin                Dynamic
        LatexType             Command
        InTitle               1
@@ -91,6 +96,7 @@ End
 
 
 Style Abstract
+       Category              FrontMatter
        Margin                First_Dynamic
        LatexType             Environment
        InTitle               1
@@ -117,6 +123,7 @@ End
 NoStyle Address
 
 Style Address
+       Category              FrontMatter
        Margin                Dynamic
        LatexType             Command
        InTitle               1
@@ -194,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
@@ -216,4 +225,16 @@ Style Bibliography
          Size                Normal
          Shape               Smallcaps
        EndFont
+       TocLevel             1
+       IsTocCaption         0
+       Argument listpreamble:1
+         LabelString    "Bib preamble"
+         MenuString     "Bibliography Preamble"
+         Tooltip        "LaTeX code to be inserted before the first bibliography item"
+         PassThru           1
+         Font
+           Family           typewriter
+           Color            latex
+         EndFont
+       EndArgument
 End