]> git.lyx.org Git - features.git/blobdiff - lib/layouts/amsdefs.inc
Change name and email in layout files
[features.git] / lib / layouts / amsdefs.inc
index 3b3fe9110403a4cd8bda7127fea983666f1188a7..4b412de38b73c2676cd0611dee2126e1261f79e8 100644 (file)
@@ -2,10 +2,13 @@
 # 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>
+# Modularized Jan '08 by Richard Kimberly Heck <rikiheck@lyx.org>
 
 # Including the maths stuff
-Format 40
+Format 89
+
+# By default AMS articles & books use leqno option (as SIAM journals).
+Provides leqno 1
 
 # the environments copied from the old amsart.layout are:
 # - Bibliography
@@ -34,10 +37,10 @@ Style Title
        ParSep                1
        Align                 Center
        LabelType             No_Label
-       Argument shorttitle
-               LabelString   "Short Title"
-               Shortcut      S
+       Argument 1
+               LabelString   "Short Title|S"
                Tooltip       "Short title which appears in the running headers"
+               InsertCotext  1
        EndArgument
        Font
          Shape               Smallcaps
@@ -45,6 +48,9 @@ Style Title
          Size                Larger
        EndFont
        HTMLTitle             true
+       DocBookTag            title
+       DocBookTagType        paragraph
+       DocBookInInfo         maybe
 End
 
 
@@ -65,6 +71,11 @@ Style Author
          Size                Large
          Shape               Smallcaps
        EndFont
+       DocBookTag            personname
+       DocBookTagType        paragraph
+       DocBookWrapperTag     author
+       DocBookWrapperMergeWithPrevious true
+       DocBookInInfo         always
 End
 
 
@@ -89,6 +100,9 @@ Style Date
          Shape               Italic
          Size                Large
        EndFont
+       DocBookTag            date
+       DocBookTagType        paragraph
+       DocBookInInfo         always
 End
 
 
@@ -114,6 +128,10 @@ Style Abstract
        LabelFont
          Shape               Smallcaps
        EndFont
+       DocBookTag            para
+       DocBookWrapperTag     abstract
+       DocBookWrapperMergeWithPrevious true
+       DocBookInInfo         always
 End
 
 # Clear Address definition from lyxmacros
@@ -136,6 +154,11 @@ Style Address
        LabelFont
          Shape               Italic
        EndFont
+       DocBookTag            address
+       DocBookTagType        paragraph
+       DocBookWrapperTag     author
+       DocBookWrapperMergeWithPrevious true
+       DocBookInInfo         always
 End
 
 
@@ -143,6 +166,10 @@ Style Current_Address
        CopyStyle             Address
        LatexName             curraddr
        LabelString           "Current address:"
+       DocBookTag            address
+       DocBookTagType        paragraph
+       DocBookInInfo         always
+       DocBookAttr           role='current'
 End
 
 
@@ -151,6 +178,11 @@ Style Email
        Margin                First_Dynamic
        LatexName             email
        LabelString           "E-mail address:"
+       DocBookTag            email
+       DocBookTagType        paragraph
+       DocBookWrapperTag     author
+       DocBookWrapperMergeWithPrevious true
+       DocBookInInfo         always
 End
 
 
@@ -159,6 +191,11 @@ Style URL
        Margin                First_Dynamic
        LatexName             urladdr
        LabelString           "URL:"
+       DocBookTag            uri
+       DocBookTagType        paragraph
+       DocBookWrapperTag     author
+       DocBookWrapperMergeWithPrevious true
+       DocBookInInfo         always
 End
 
 
@@ -166,6 +203,11 @@ Style Keywords
        CopyStyle             Address
        LatexName             keywords
        LabelString           "Key words and phrases:"
+       DocBookTag            keyword
+       DocBookTagType        paragraph
+       DocBookWrapperTag     keywordset
+       DocBookWrapperMergeWithPrevious true
+       DocBookInInfo         always
 End
 
 
@@ -173,6 +215,11 @@ Style Thanks
        CopyStyle             Address
        LatexName             thanks
        LabelString           "Thanks:"
+       DocBookTag            personname
+       DocBookTagType        paragraph
+       DocBookWrapperTag     othercredit
+       DocBookWrapperMergeWithPrevious true
+       DocBookInInfo         always
 End
 
 
@@ -180,6 +227,10 @@ Style Dedicatory
        CopyStyle             Address
        LatexName             dedicatory
        LabelString           "Dedication:"
+       DocBookTag            para
+       DocBookWrapperTag     dedication
+       DocBookWrapperMergeWithPrevious true
+       DocBookInInfo         never
 End
 
 
@@ -187,6 +238,12 @@ Style Translator
        CopyStyle             Address
        LatexName             translator
        LabelString           "Translator:"
+       DocBookTag            personname
+       DocBookTagType        paragraph
+       DocBookWrapperTag     othercredit
+       DocBookWrapperAttr    role='translator'
+       DocBookWrapperMergeWithPrevious true
+       DocBookInInfo         always
 End
 
 
@@ -194,14 +251,23 @@ Style Subjectclass
        CopyStyle             Address
        LatexName             subjclass[2000]
        LabelString           "2000 Mathematics Subject Classification:"
+       DocBookItemTag        subjectterm
+       DocBookItemTagType    inline
+       DocBookTag            subject
+       DocBookTagType        paragraph
+       DocBookWrapperTag     subjectset
+       DocBookWrapperMergeWithPrevious true
+       DocBookInInfo         always
 End
 
 
 Style Bibliography
+       Category              BackMatter
        Margin                First_Dynamic
        LatexType             Bib_Environment
        LatexName             thebibliography
        NextNoIndent          1
+       ToggleIndent          Never
        LeftMargin            MM
        ParSkip               0.4
        ItemSep               0
@@ -220,4 +286,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