]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/apa.layout
Merge remote-tracking branch 'origin/master' into features/latexargs
[lyx.git] / lib / layouts / apa.layout
index 541796894851ad78cd5acd46c3af91fe9df44821..76c24f53784374abec7dcb476884c04e7f6fa334 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 4
+Format 40
 Columns                 1
 Sides                   1
 PageStyle               Headers
@@ -44,6 +45,7 @@ Style Title
          Size                Huge
        EndFont
        Align                 Center
+       HTMLTitle             true
 End
 
 
@@ -63,7 +65,6 @@ Style RightHeader
          Size                Small
        EndFont
        Align                 Right
-       AlignPossible         Right
 End
 
 
@@ -189,13 +190,6 @@ Style FourAffiliations
 End
 
 
-Style Journal
-       LatexName             journal
-       LatexType             Command
-       InTitle               1
-End
-
-
 Style Copyright
        LatexName             ccoppy
        LatexType             Command
@@ -203,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
@@ -264,16 +242,18 @@ Style CenteredCaption
        ParSkip               0.4
        TopSep                0.5
        Align                 Center
-       AlignPossible         Center
        LabelType             Sensitive
        LabelString           "Senseless!"
-       OptionalArgs          1
+       Argument 1
+               LabelString   "Short Title"
+               Shortcut      S
+               Tooltip       "The Caption as it appears in the List of Figures/Tables"
+       EndArgument
        LabelFont
          Series              Bold
        EndFont
        LatexName             centeredcaption
        Align                 Center
-       AlignPossible         Center
 End
 
 
@@ -291,13 +271,16 @@ End
 
 Input stdsections.inc
 Input stdstarsections.inc
+Input stdinsets.inc
 
 Input stdfloats.inc
 Input stdcounters.inc
 
 NoStyle Part
+NoCounter part
 NoStyle Part*
 NoStyle Chapter
+NoCounter chapter
 NoStyle Chapter*
 NoStyle Section*
 NoStyle Subsection*
@@ -313,6 +296,7 @@ Style Section
          Series              Bold
          Size                Huge
        EndFont
+               TocLevel 1
 End
 
 
@@ -322,6 +306,7 @@ Style Subsection
          Series              Bold
          Size                Larger
        EndFont
+               TocLevel 2
 End
 
 
@@ -331,6 +316,7 @@ Style Subsubsection
          Series              Bold
          Size                Large
        EndFont
+               TocLevel 3
 End
 
 
@@ -340,6 +326,7 @@ Style Paragraph
          Series              Bold
          Size                Normal
        EndFont
+               TocLevel 4
 End
 
 
@@ -350,6 +337,7 @@ Style Subparagraph
          Size                Normal
          Shape               Italic
        EndFont
+               TocLevel 5
 End
 
 
@@ -366,8 +354,7 @@ Style Itemize
        ParSep                0.3
        Align                 Block
        AlignPossible         Block, Left
-       LabelType             Static
-       LabelString           "*"
+       LabelType             Itemize
 End
 
 
@@ -386,6 +373,7 @@ Style Enumerate
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Enumerate
+       RefPrefix             enu
 End
 
 
@@ -407,5 +395,6 @@ Style Seriate
        LabelCounter          enumii
        LabelString           "(\alph{enumii})"
        LabelStringAppendix   "(\alph{enumii})"
+       RefPrefix             ser
 End