]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/amsdefs.inc
Implement IsTocCaption for normal layouts.
[lyx.git] / lib / layouts / amsdefs.inc
index b9b0e6f988aea0e04fcb60e187942a0bb498b57d..0744ecdd061a10eebbef1a828d9e5b8397d89796 100644 (file)
@@ -2,19 +2,15 @@
 # Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
 # modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr>
 # Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
+# Modularized Jan '08 by Richard Heck <rgheck@brown.edu>
 
 # Including the maths stuff
-Format 5
-Input amsmaths.inc
-
-# 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:
-# - Proof
 # - Bibliography
 # - Title
 # - Author
@@ -26,39 +22,10 @@ Provides makeidx         1
 # - Subjectclass
 
 
-Style Proof
-       Margin                First_Dynamic
-       LatexType             Environment
-       LatexName             proof
-       NextNoIndent          1
-       LabelSep              xx
-       ParIndent             MMM
-       ParSkip               0.4
-       ItemSep               0.2
-       TopSep                0.7
-       BottomSep             0.7
-       ParSep                0.3
-       Align                 Block
-       AlignPossible         Block, Left
-       LabelType             Static
-       LabelString           "Proof."
-       EndLabelType          Box
-       Font
-         Shape               Up
-         Size                Normal
-       EndFont
-       LabelFont
-         Shape               Italic
-       EndFont
-       # We don't want the preamble from Theorem
-       Preamble
-       EndPreamble
-End
-
-
 ### 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
@@ -70,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
@@ -99,6 +72,7 @@ End
 
 
 Style Date
+       Category              FrontMatter
        Margin                Dynamic
        LatexType             Command
        InTitle               1
@@ -122,6 +96,7 @@ End
 
 
 Style Abstract
+       Category              FrontMatter
        Margin                First_Dynamic
        LatexType             Environment
        InTitle               1
@@ -148,6 +123,7 @@ End
 NoStyle Address
 
 Style Address
+       Category              FrontMatter
        Margin                Dynamic
        LatexType             Command
        InTitle               1
@@ -225,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
@@ -247,4 +225,6 @@ Style Bibliography
          Size                Normal
          Shape               Smallcaps
        EndFont
+       TocLevel             1
+       IsTocCaption         0
 End