]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/amsdefs.inc
lib/ui/stdmenus.inc: change 'Clipboard as xxx' to 'Plain Text as xxx'. I still think...
[lyx.git] / lib / layouts / amsdefs.inc
index eb97c183b84ece78aa8fdf9276a09b13fb48f256..327ab258084d07b98ecbf0f6d90dfd976d4fab8f 100644 (file)
@@ -3,6 +3,7 @@
 # modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr>
 
 # Including the maths stuff
+Format 2
 Input amsmaths.inc
 
 # The AMS documentclasses use the package amsmath and provide the
@@ -11,8 +12,8 @@ ProvidesAmsmath         1
 ProvidesMakeidx         1
 
 
-# the environnements copied from the old amsart.layout are :
-# - Proof
+# the environments copied from the old amsart.layout are:
+# - Proof
 # - Bibliography
 # - Title
 # - Author
@@ -23,14 +24,14 @@ ProvidesMakeidx         1
 # - Keywords
 # - Subjectclass
 
-# Proof style declaration
+
 Style Proof
        Margin                First_Dynamic
        LatexType             Environment
        LatexName             proof
        NextNoIndent          1
        LabelSep              xx
-       ParIndent             MMM  
+       ParIndent             MMM
        ParSkip               0.4
        ItemSep               0.2
        TopSep                0.7
@@ -41,27 +42,21 @@ Style Proof
        LabelType             Static
        LabelString           "Proof."
        EndLabelType          Box
-       
-       # standard font definition
        Font
          Shape               Up
          Size                Normal
        EndFont
-
-       # label font definition
        LabelFont
          Shape               Italic
        EndFont
-
        # We don't want the preamble from Theorem
        Preamble
-       EndPreamble 
-End  
+       EndPreamble
+End
+
 
 ### Now the title stuff. We copy do not use stdstruct.inc to keep
 ### things in the right order
-
-# Title style definition
 Style Title
        Margin                Static
        LatexType             Command
@@ -75,8 +70,6 @@ Style Title
        Align                 Center
        AlignPossible         Center
        LabelType             No_Label
-
-       # standard font definition
        Font
          Shape               Smallcaps
          Series              Bold
@@ -84,7 +77,7 @@ Style Title
        EndFont
 End
 
-# Author style definition
+
 Style Author
        Margin                Static
        LatexType             Command
@@ -98,16 +91,13 @@ Style Author
        Align                 Center
        AlignPossible         Center
        LabelType             No_Label
-
-       # standard font definition
        Font
          Size                Large
          Shape               Smallcaps
        EndFont
-
 End
 
-# Date style definition
+
 Style Date
        Margin                Dynamic
        LatexType             Command
@@ -121,21 +111,18 @@ Style Date
        Align                 Center
        AlignPossible         Center
        LabelType             Static
-       LabelString           "Date: "
-
-       # standard font definition
-       Font 
+       LabelString           "Date:"
+       Font
          Size                Large
        EndFont
-
        LabelFont
          Shape               Italic
          Size                Large
        EndFont
 End
 
-# Abstract style definition
-Style Abstract 
+
+Style Abstract
        Margin                First_Dynamic
        LatexType             Environment
        InTitle               1
@@ -149,21 +136,19 @@ Style Abstract
        Align                 Block
        AlignPossible         Block
        LabelType             Static
-       LabelString           Abstract.
+       LabelString           "Abstract."
        LabelSep              M
-
-       # standard font definition
-       Font 
+       Font
          Size                Small
        EndFont
-
-       # label font definition
        LabelFont
          Shape               Smallcaps
        EndFont
-End 
+End
+
+# Clear Address definition from lyxmacros
+NoStyle Address
 
-# Address style definition
 Style Address
        Margin                Dynamic
        LatexType             Command
@@ -175,166 +160,72 @@ Style Address
        Align                 Left
        AlignPossible         Block, Left, Right, Center
        LabelType             Static
-       LabelString           "Address: "
-       # label font definition
+       LabelString           "Address:"
+       LabelSep              M
        LabelFont
          Shape               Italic
        EndFont
-End  
+End
+
 
-# Current Address style definition
 Style Current_Address
-       Margin                Dynamic
-       LatexType             Command
-       InTitle               1
+       CopyStyle             Address
        LatexName             curraddr
-       ParSkip               0.4
-       BottomSep             1.5
-       ParSep                1.5
-       Align                 Left
-       AlignPossible         Block, Left, Right, Center
-       LabelType             Static
-       LabelString           "Current address: "
-       # label font definition
-       LabelFont
-         Shape               Italic
-       EndFont
-End  
+       LabelString           "Current address:"
+End
+
 
-# Email style definition
 Style Email
+       CopyStyle             Address
        Margin                First_Dynamic
-       LatexType             Command
-       InTitle               1
        LatexName             email
-       ParSkip               0.4
-       BottomSep             1.5
-       ParSep                1.5
-       Align                 Left
-       AlignPossible         Block, Left, Right, Center
-       LabelType             Static
-       labelString           "E-mail address: "
-       LabelFont
-         Shape               Italic
-       EndFont
+       LabelString           "E-mail address:"
 End
 
-# URL style definition
+
 Style URL
+       CopyStyle             Address
        Margin                First_Dynamic
-       LatexType             Command
-       InTitle               1
        LatexName             urladdr
-       ParSkip               0.4
-       BottomSep             1.5
-       ParSep                1.5
-       Align                 Left
-       AlignPossible         Block, Left, Right, Center
-       LabelType             Static
-       labelString           "URL: "
-       LabelFont
-         Shape               Italic
-       EndFont
+       LabelString           "URL:"
 End
 
-# Keywords style definition
+
 Style Keywords
-       Margin                Dynamic
-       LatexType             Command
-       InTitle               1
+       CopyStyle             Address
        LatexName             keywords
-       ParSkip               0.4
-       BottomSep             1.5
-       ParSep                1.5
-       Align                 Left
-       AlignPossible         Block, Left, Right, Center
-       LabelType             Static
-       LabelString           "Key words and phrases: "
-       # label font definition
-       LabelFont
-         Shape               Italic
-       EndFont
-End  
+       LabelString           "Key words and phrases:"
+End
+
 
-# Thanks style definition
 Style Thanks
-       Margin                Dynamic
-       LatexType             Command
-       InTitle               1
+       CopyStyle             Address
        LatexName             thanks
-       ParSkip               0.4
-       BottomSep             1.5
-       ParSep                1.5
-       Align                 Left
-       AlignPossible         Block, Left, Right, Center
-       LabelType             Static
-       LabelString           "Thanks: "
-       # label font definition
-       LabelFont
-         Shape               Italic
-       EndFont
-End  
+       LabelString           "Thanks:"
+End
+
 
-# Dedicatory style definition
 Style Dedicatory
-       Margin                Dynamic
-       LatexType             Command
-       InTitle               1
+       CopyStyle             Address
        LatexName             dedicatory
-       ParSkip               0.4
-       BottomSep             1.5
-       ParSep                1.5
-       Align                 Left
-       AlignPossible         Block, Left, Right, Center
-       LabelType             Static
-       LabelString           "Dedication: "
-       # label font definition
-       LabelFont
-         Shape               Italic
-       EndFont
-End  
+       LabelString           "Dedication:"
+End
 
 
-# Translator style definition
 Style Translator
-       Margin                Dynamic
-       LatexType             Command
-       InTitle               1
+       CopyStyle             Address
        LatexName             translator
-       ParSkip               0.4
-       BottomSep             1.5
-       ParSep                1.5
-       Align                 Left
-       AlignPossible         Block, Left, Right, Center
-       LabelType             Static
-       LabelString           "Translator: "
-       # label font definition
-       LabelFont
-         Shape               Italic
-       EndFont
-End  
+       LabelString           "Translator:"
+End
+
 
-# Subjectclass style definition
 Style Subjectclass
-       Margin                Dynamic
-       LatexType             Command
-       InTitle               1
+       CopyStyle             Address
        LatexName             subjclass
-       ParSkip               0.4
-       BottomSep             1.5
-       ParSep                1.5
-       Align                 Left
-       AlignPossible         Block, Left, Right, Center
-       LabelType             Static
-       LabelString           "1991 Mathematics Subject Classification: "
-       # label font definition
-       LabelFont
-         Shape               Italic
-       EndFont
-End 
+       LabelString           "1991 Mathematics Subject Classification:"
+End
 
 
-# Bibliography style definition
 Style Bibliography
        Margin                First_Dynamic
        LatexType             Bib_Environment
@@ -349,18 +240,13 @@ Style Bibliography
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Bibliography
-       LabelString           References
-       LabelBottomSep    0.7
-
-       # standard font definition
+       LabelString           "References"
+       LabelBottomSep        0.7
        Font
          Size                Small
        EndFont
-
-       # label font definition
        LabelFont
          Size                Normal
          Shape               Smallcaps
        EndFont
 End
-