]> git.lyx.org Git - features.git/blobdiff - lib/layouts/apa.layout
Bump layout format
[features.git] / lib / layouts / apa.layout
index 2db4f1c991b38516fb90be03c9fd2fafadcda767..b4eb952e28e0f89125b57e1932bd6bbe48e1e3e2 100644 (file)
@@ -1,8 +1,9 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[apa,apacite.sty]{article (APA)}
+#  \DeclareLaTeXClass[apa,apacite.sty,endfloat.sty,endnotes.sty,flushend.sty,txfonts.sty]{American Psychological Association (APA)}
+#  \DeclareCategory{Articles}
 # Author: Randy Gobbel <gobbel@andrew.cmu.edu>
 
-Format 7
+Format 42
 Columns                 1
 Sides                   1
 PageStyle               Headers
@@ -44,6 +45,7 @@ Style Title
          Size                Huge
        EndFont
        Align                 Center
+       HTMLTitle             true
 End
 
 
@@ -188,13 +190,6 @@ Style FourAffiliations
 End
 
 
-Style Journal
-       LatexName             journal
-       LatexType             Command
-       InTitle               1
-End
-
-
 Style Copyright
        LatexName             ccoppy
        LatexType             Command
@@ -202,22 +197,6 @@ Style Copyright
 End
 
 
-Style CopNum
-       LatexName             copnum
-       LatexType             Command
-       InTitle               1
-End
-
-
-Style Note
-       LatexName             note
-       LatexType             Command
-       Font
-         Size                Small
-       EndFont
-End
-
-
 Style Acknowledgements
        LatexName             acknowledgements
        LatexType             Command
@@ -265,7 +244,10 @@ Style CenteredCaption
        Align                 Center
        LabelType             Sensitive
        LabelString           "Senseless!"
-       OptionalArgs          1
+       Argument 1
+               LabelString   "Short Title|S"
+               Tooltip       "The caption as it appears in the list of figures/tables"
+       EndArgument
        LabelFont
          Series              Bold
        EndFont
@@ -289,17 +271,73 @@ End
 Input stdsections.inc
 Input stdstarsections.inc
 Input stdinsets.inc
+
 Input stdfloats.inc
 Input stdcounters.inc
 
 NoStyle Part
-NoStyle Section
-NoStyle Subsection
-NoStyle Subsubsection
+NoCounter part
+NoStyle Part*
 NoStyle Chapter
-NoStyle Paragraph
-NoStyle Subparagraph
+NoCounter chapter
 NoStyle Chapter*
+NoStyle Section*
+NoStyle Subsection*
+NoStyle Subsubsection*
+NoStyle Paragraph*
+NoStyle Subparagraph*
+
+
+Style Section
+       LabelType             No_Label
+       Align                 Center
+       Font
+         Series              Bold
+         Size                Huge
+       EndFont
+               TocLevel 1
+End
+
+
+Style Subsection
+       LabelType             No_Label
+       Font
+         Series              Bold
+         Size                Larger
+       EndFont
+               TocLevel 2
+End
+
+
+Style Subsubsection
+       LabelType             No_Label
+       Font
+         Series              Bold
+         Size                Large
+       EndFont
+               TocLevel 3
+End
+
+
+Style Paragraph
+       LabelType             No_Label
+       Font
+         Series              Bold
+         Size                Normal
+       EndFont
+               TocLevel 4
+End
+
+
+Style Subparagraph
+       LabelType             No_Label
+       Font
+         Series              Bold
+         Size                Normal
+         Shape               Italic
+       EndFont
+               TocLevel 5
+End
 
 
 Style Itemize
@@ -315,8 +353,11 @@ Style Itemize
        ParSep                0.3
        Align                 Block
        AlignPossible         Block, Left
-       LabelType             Static
-       LabelString           "*"
+       LabelType             Itemize
+       Argument item:1
+               LabelString   "Custom Item|s"
+               Tooltip       "A customized item string"
+       EndArgument
 End
 
 
@@ -335,6 +376,11 @@ Style Enumerate
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Enumerate
+       RefPrefix             enu
+       Argument item:1
+               LabelString   "Custom Item|s"
+               Tooltip       "A customized item string"
+       EndArgument
 End
 
 
@@ -356,5 +402,6 @@ Style Seriate
        LabelCounter          enumii
        LabelString           "(\alph{enumii})"
        LabelStringAppendix   "(\alph{enumii})"
+       RefPrefix             ser
 End