]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/aa.layout
* UserGuide.lyx
[lyx.git] / lib / layouts / aa.layout
index 1b2f534b9591658588eb7a6421438d723d69f87c..792bef10bb6279ccbca8d3c1a62560ec79f81443 100644 (file)
@@ -1,7 +1,8 @@
 #% Do not delete the line below; configure depends on this
 #  \DeclareLaTeXClass[aa]{article (A&A)}
 #
-# Author: Peter Sütterlin <pit@uni-sw.gwdg.de>
+# Author: Peter Sütterlin <pit@uni-sw.gwdg.de>
+# Author: Jürgen Spitzmüller <spitz@lyx.org>
 #
 # 2001-05-17  take out include of stdlayouts; merge aapaper.inc
 #             remove LaTeX style, rename to aa
@@ -9,9 +10,11 @@
 #             take out thesaurus, email -> mail
 #             change layout of title
 #             abstract is command
+# 2008-06-09  Implement \inst and \email as char styles,
+#             implement paragraph style keywords
 
 
-Format 2
+Format 8
 Columns                 2
 Sides                   2
 SecNumDepth             3
@@ -55,8 +58,6 @@ End
 Style List
 End
 
-Style Caption
-End
 
 Style Title
 End
@@ -92,9 +93,9 @@ End
 # OK, now we have a more or less consistent Ordering. Now fill the
 # definitions.  First, the standard includes
 
+Input stdinsets.inc
 Input stdlists.inc
 Input stdsections.inc
-Input numarticle.inc
 Input stdtitle.inc
 Input stdstruct.inc
 Input stdfloats.inc
@@ -150,7 +151,6 @@ Style Offprint
        InTitle               1
        LatexName             offprints
        Align                 Left
-       AlignPossible         Left
        LeftMargin            "Offprint Requests to:M"
        LabelType             Static
        LabelString           "Offprint Requests to:"
@@ -173,7 +173,6 @@ Style Mail
        InTitle               1
        LatexName             mail
        Align                 Left
-       AlignPossible         Left
        LeftMargin            "Correspondence to:M"
        LabelType             Static
        LabelString           "Correspondence to:"
@@ -200,7 +199,6 @@ Style Acknowledgement
        BottomSep             0
        ParSep                0
        Align                 Block
-       AlignPossible         Block
        LabelType             Static
        LabelString           "Acknowledgements."
        LabelSep              M
@@ -214,22 +212,6 @@ Style Acknowledgement
 End
 
 
-Style Caption
-       Margin                First_Dynamic
-       LatexType             Command
-       LatexName             caption
-       NeedProtect           1
-       LabelSep              xx
-       ParSkip               0.4
-       TopSep                0.5
-       Align                 Center
-       AlignPossible         Center
-       LabelType             Sensitive
-       LabelString           "Caption"
-       LabelFont
-         Series              Bold
-       EndFont
-End
 
 
 Style Section
@@ -278,7 +260,6 @@ End
 
 Style Author
        Align                 Center
-       AlignPossible         Center
        LabelType             No_Label
        BottomSep             1.5
        Font
@@ -293,7 +274,6 @@ Style Date
        LabelSep              ""
        TopSep                1.2
        Align                 Left
-       AlignPossible         Left
        Font
          Size                Small
        EndFont
@@ -314,7 +294,6 @@ Style Abstract
        BottomSep             0.7
        ParSep                0
        Align                 Block
-       AlignPossible         Block
        LabelType             static
        LabelString           "Abstract"
        LabelSep              M
@@ -330,10 +309,59 @@ Style Abstract
 End
 
 
+Style Keywords
+       Margin                First_Dynamic
+       LatexType             Command
+       LatexName             keywords
+       InTitle               1
+       NextNoIndent          1
+       LeftMargin            MMM
+       RightMargin           MMM
+       ParIndent             ""
+       ItemSep               0
+       TopSep                1.2
+       BottomSep             0.7
+       ParSep                0
+       Align                 Block
+       LabelType             static
+       LabelString           "Key words."
+       LabelSep              M
+       LabelBottomSep        0
+       Font
+         Size                Small
+       EndFont
+       LabelFont
+         Family              Sans
+         Series              Bold
+         Size                Small
+       EndFont
+End
+
+
 Style Bibliography
        Align                 Left
-       AlignPossible         Left
        LabelFont
          Series              Bold
        EndFont
 End
+
+
+InsetLayout CharStyle:Institute
+  LyXType          charstyle
+  LatexType        command
+  LatexName        inst
+  Font
+    Color          blue
+  EndFont
+End
+
+
+InsetLayout CharStyle:E-Mail
+  LyXType          charstyle
+  LatexType        command
+  LatexName        email
+  Font
+    Family         Typewriter
+    Color          blue
+  EndFont
+End