]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/agu_stdclass.inc
New layout for aastex6.cls. Fixes #10027.
[lyx.git] / lib / layouts / agu_stdclass.inc
index 5a73fcfc83a9250a222bf10ebd842b246e57aada..abee68adb5f843218c45d008e1b4a992f17e4ce0 100644 (file)
@@ -1,11 +1,12 @@
 # Textclass definition file for AGU-Article.
-# Author : José Abílio Oliveira Matos <jamatos@lyx.org>
+# Author : José Abílio Oliveira Matos <jamatos@lyx.org>
 #          Martin Vermeer <martin.vermeer@hut.fi>
 
 # This file is the counterpart of stdclass.inc
 # It is desirable, as far as possible, to have the same look and feel for
 # related layouts in latex and docbook.
 
+Format 60
 OutputType              docbook
 
 Columns                 1
@@ -15,23 +16,25 @@ TocDepth                3
 DefaultStyle            Standard
 
 ClassOptions
-       Header              "<!DOCTYPE # PUBLIC &quot;-//AGU//DTD article American Geophysical Union DTD version 3.42//EN&quot; &quot;AGU-Article-3.42.dtd&quot; "
+       Header              "PUBLIC &quot;-//AGU//DTD article American Geophysical Union DTD version 3.42//EN&quot; &quot;AGU-Article-3.42.dtd&quot; "
 End
 
 Style Standard
+       Category              MainText
        Margin                Static
        LatexType             Paragraph
        LatexName             p
        ParIndent             MM
        ParSkip               0.4
        Align                 Block
-       AlignPossible         Block
        LabelType             No_Label
-       LatexParam            "para#"
+       LatexParam            "id=<para#>"
 End
 
 
-CharStyle Firstname
+InsetLayout Flex:Firstname
+       LyXType element
+       LabelString Firstname
        LatexType             Command
        LatexName             firstname
        Font
@@ -41,12 +44,30 @@ CharStyle Firstname
          Shape               Up
          Color               blue
        EndFont
+       ResetsFont true
+End
+
+InsetLayout Flex:Fname
+       LyXType element
+       LabelString Fname
+       LatexType             Command
+       LatexName             fname
+       Font
+         Shape               SmallCaps
+       EndFont
+       LabelFont
+         Shape               Up
+         Color               blue
+       EndFont
+       ResetsFont true
 End
 
 
-CharStyle Surname
+InsetLayout Flex:Surname
+       LyXType element
+       LabelString Surname
        LatexType             Command
-       LatexName             firstname
+       LatexName             surname
        Font
          Shape               SmallCaps
        EndFont
@@ -54,12 +75,15 @@ CharStyle Surname
          Shape               Up
          Color               blue
        EndFont
+       ResetsFont true
 End
 
 
-CharStyle Filename
+InsetLayout Flex:Filename
+       LyXType element
+       LabelString Filename
        LatexType             Command
-       LatexName             firstname
+       LatexName             filename
        Font
          Family              Typewriter
        EndFont
@@ -67,12 +91,15 @@ CharStyle Filename
          Family              Roman
          Color               blue
        EndFont
+       ResetsFont true
 End
 
 
-CharStyle Literal
+InsetLayout Flex:Literal
+       LyXType element
+       LabelString Literal
        LatexType             Command
-       LatexName             firstname
+       LatexName             literal
        Font
          Family              Typewriter
        EndFont
@@ -80,13 +107,16 @@ CharStyle Literal
          Family              Roman
          Color               blue
        EndFont
+       ResetsFont true
 End
 
 
-CharStyle Emph
+InsetLayout Flex:Emph
+       LyXType element
+       LabelString Emph
        LatexType             Command
        LatexName             emph
-       LatexParam            "type=&quot;italic&quot;"
+       LatexParam            "type=<italic>"
        Font
          Shape               Italic
        EndFont
@@ -94,13 +124,123 @@ CharStyle Emph
          Shape               Up
          Color               blue
        EndFont
+       ResetsFont true
+End
+
+
+InsetLayout Flex:Abbrev
+       LyXType element
+       LabelString Abbrev
+       LatexType             Command
+       LatexName             abbrev
+       LabelFont
+         Color               blue
+       EndFont
+       ResetsFont true
+End
+
+
+InsetLayout Flex:Citation-number
+       LyXType element
+       LabelString Citation-number
+       LatexType             Command
+       LatexName             citation-number
+       LabelFont
+         Color               blue
+       EndFont
+       ResetsFont true
+End
+
+
+InsetLayout Flex:Volume
+       LyXType element
+       LabelString Volume
+       LatexType             Command
+       LatexName             volume
+       LabelFont
+         Color               blue
+       EndFont
+       ResetsFont true
+End
+
+
+InsetLayout Flex:Day
+       LyXType element
+       LabelString Day
+       LatexType             Command
+       LatexName             day
+       LabelFont
+         Color               blue
+       EndFont
+       ResetsFont true
+End
+
+
+InsetLayout Flex:Month
+       LyXType element
+       LabelString Month
+       LatexType             Command
+       LatexName             month
+       LabelFont
+         Color               blue
+       EndFont
+       ResetsFont true
+End
+
+
+InsetLayout Flex:Year
+       LyXType element
+       LabelString Year
+       LatexType             Command
+       LatexName             year
+       LabelFont
+         Color               blue
+       EndFont
+       ResetsFont true
+End
+
+
+InsetLayout Flex:Issue-number
+       LyXType element
+       LabelString Issue-number
+       LatexType             Command
+       LatexName             issue-number
+       LabelFont
+         Color               blue
+       EndFont
+       ResetsFont true
+End
+
+
+InsetLayout Flex:Issue-day
+       LyXType element
+       LabelString Issue-day
+       LatexType             Command
+       LatexName             issue-day
+       LabelFont
+         Color               blue
+       EndFont
+       ResetsFont true
+End
+
+
+InsetLayout Flex:Issue-months
+       LyXType element
+       LabelString Issue-months
+       LatexType             Command
+       LatexName             issue-months
+       LabelFont
+         Color               blue
+       EndFont
+       ResetsFont true
 End
 
 
+Input stdinsets.inc
 Input agu_stdlists.inc
 Input agu_stdsections.inc
 Input db_stdstarsections.inc
-Input db_stdtitle.inc
+Input agu_stdtitle.inc
 Input db_stdstruct.inc
 Input db_lyxmacros.inc
 Input db_stdlayouts.inc