]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/apa.layout
DocBook: implement Hollywood layout.
[lyx.git] / lib / layouts / apa.layout
index c2551bf0ff054a1d104b44a07f966e2430f49f93..ad794e5c59a508f73c019f2484b312c28f670b79 100644 (file)
@@ -3,7 +3,7 @@
 #  \DeclareCategory{Articles}
 # Author: Randy Gobbel <gobbel@andrew.cmu.edu>
 
-Format 43
+Format 85
 Columns                 1
 Sides                   1
 PageStyle               Headers
@@ -35,6 +35,7 @@ Style Standard
        Align                 Block
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
+       DocBookTag            para
 End
 
 
@@ -48,6 +49,9 @@ Style Title
        EndFont
        Align                 Center
        HTMLTitle             true
+       DocBookTag            title
+       DocBookTagType        paragraph
+       DocBookInInfo         maybe
 End
 
 
@@ -90,6 +94,11 @@ Style Abstract
          Series              Bold
          Size                Small
        EndFont
+       DocBookAbstract       true
+       DocBookInInfo         always
+       DocBookWrapperTag     abstract
+       DocBookWrapperMergeWithPrevious    true
+       DocBookTag            para
 End
 
 
@@ -113,6 +122,9 @@ Style ShortTitle
          Size                Small
          Shape               Up
        EndFont
+       DocBookTag            titleabbrev
+       DocBookTagType        paragraph
+       DocBookInInfo         maybe
 End
 
 
@@ -129,10 +141,16 @@ Style Author
          Shape               Italic
          Size                Small
        EndFont
+       DocBookTag            personname
+       DocBookTagType        paragraph
+       DocBookWrapperTag     author
+       DocBookWrapperTagType inline
+       DocBookInInfo         always
 End
 
 
 Style TwoAuthors
+       Category              FrontMatter
        LatexName             twoauthors
        LatexType             Command
        InTitle               1
@@ -140,6 +158,7 @@ End
 
 
 Style ThreeAuthors
+       Category              FrontMatter
        LatexName             threeauthors
        LatexType             Command
        InTitle               1
@@ -173,10 +192,17 @@ Style Affiliation
          Series              Bold
          Size                Small
        EndFont
+       DocBookTag                        affiliation
+       DocBookWrapperTag                 author
+       DocBookWrapperMergeWithPrevious   true
+       DocBookItemTag                    orgname
+       DocBookItemTagType                paragraph
+       DocBookInInfo                     always
 End
 
 
 Style TwoAffiliations
+       Category              FrontMatter
        LatexName             twoaffiliations
        LatexType             Command
        InTitle               1
@@ -184,6 +210,7 @@ End
 
 
 Style ThreeAffiliations
+       Category              FrontMatter
        LatexName             threeaffiliations
        LatexType             Command
        InTitle               1
@@ -224,6 +251,8 @@ Style Acknowledgements
          Series              Bold
          Size                Small
        EndFont
+       DocBookTag            para
+       DocBookWrapperTag     acknowledgements
 End
 
 
@@ -247,9 +276,12 @@ InsetLayout Caption:Centered
        LabelString          standard
        LaTeXType            command
        LatexName            centeredcaption
+       NeedProtect          1
+       MultiPar             false
        Argument 1
                LabelString   "Short Title|S"
                Tooltip       "The caption as it appears in the list of figures/tables"
+               InsertCotext  1
        EndArgument
        HTMLStyle
                div.float-caption {
@@ -259,6 +291,7 @@ InsetLayout Caption:Centered
                        margin: 1ex;
                }
        EndHTMLStyle
+       HTMLAttr "class='float-caption float-caption-centered'"
 End
 
 
@@ -301,7 +334,7 @@ Style Section
          Series              Bold
          Size                Huge
        EndFont
-               TocLevel 1
+       TocLevel              1
 End
 
 
@@ -311,7 +344,7 @@ Style Subsection
          Series              Bold
          Size                Larger
        EndFont
-               TocLevel 2
+       TocLevel              2
 End
 
 
@@ -321,7 +354,7 @@ Style Subsubsection
          Series              Bold
          Size                Large
        EndFont
-               TocLevel 3
+       TocLevel              3
 End
 
 
@@ -331,7 +364,7 @@ Style Paragraph
          Series              Bold
          Size                Normal
        EndFont
-               TocLevel 4
+       TocLevel              4
 End
 
 
@@ -342,7 +375,7 @@ Style Subparagraph
          Size                Normal
          Shape               Italic
        EndFont
-               TocLevel 5
+       TocLevel 5
 End
 
 
@@ -352,6 +385,7 @@ Style Itemize
        LatexType             Item_Environment
        LatexName             APAitemize
        NextNoIndent          1
+       ToggleIndent          Never
        LeftMargin            MMN
        LabelSep              xx
        ItemSep               0.2
@@ -365,6 +399,19 @@ Style Itemize
                LabelString   "Custom Item|s"
                Tooltip       "A customized item string"
        EndArgument
+       Argument listpreamble:1
+               LabelString    "List preamble"
+               MenuString     "List Preamble"
+               Tooltip        "LaTeX code to be inserted before the first item"
+               PassThru       1
+               Font
+                       Family typewriter
+                       Color latex
+               EndFont
+       EndArgument
+       DocBookTag            itemizedlist
+       DocBookItemTag        listitem
+       DocBookItemInnerTag   para
 End
 
 
@@ -374,6 +421,7 @@ Style Enumerate
        LatexType             Item_Environment
        LatexName             APAenumerate
        NextNoIndent          1
+       ToggleIndent          Never
        LeftMargin            MMN
        LabelSep              xx
        ParSkip               0.0
@@ -389,6 +437,19 @@ Style Enumerate
                LabelString   "Custom Item|s"
                Tooltip       "A customized item string"
        EndArgument
+       Argument listpreamble:1
+               LabelString    "List preamble"
+               MenuString     "List Preamble"
+               Tooltip        "LaTeX code to be inserted before the first item"
+               PassThru       1
+               Font
+                       Family typewriter
+                       Color latex
+               EndFont
+       EndArgument
+       DocBookTag            orderedlist
+       DocBookItemTag        listitem
+       DocBookItemInnerTag   para
 End
 
 
@@ -407,10 +468,20 @@ Style Seriate
        ParSep                0.0
        Align                 Block
        AlignPossible         Block, Left
-       LabelType             Counter
+       LabelType             Static
        LabelCounter          enumii
        LabelString           "(\alph{enumii})"
        LabelStringAppendix   "(\alph{enumii})"
        RefPrefix             ser
+       Argument listpreamble:1
+               LabelString    "List preamble"
+               MenuString     "List Preamble"
+               Tooltip        "LaTeX code to be inserted before the first item"
+               PassThru       1
+               Font
+                       Family typewriter
+                       Color latex
+               EndFont
+       EndArgument
 End