]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/aastex.layout
Fix #7495 by adding layouts for ctex document classes and
[lyx.git] / lib / layouts / aastex.layout
index 6a6bdb04217392e88724a0dfdafd04d4d30ec2e8..a433cef384a8197d566c8a2aa9d4a83d4752213a 100644 (file)
@@ -1,9 +1,8 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[aastex]{article (AASTeX)}
+#  \DeclareLaTeXClass[aastex,amssymb.sty,latexsym.sty,natbib.sty,verbatim.sty]{article (AASTeX)}
 #
-# Authors:
-#  Mike Ressler <mike.ressler@alum.mit.edu>
-#  Uwe Stöhr <uwestoehr@web.de>
+# Author: Mike Ressler <mike.ressler@alum.mit.edu>
+# Author: Uwe Stöhr <uwestoehr@web.de>
 #
 # Disclaimer: Though I am an astronomer at the Jet Propulsion Laboratory, this
 # package was prepared on my own time on my own machine. Neither the United
 # license which is found in the file COPYING in the root directory of the LyX
 # distribution.
 #
-# Version 0.0   5/27/99 - Initial submission, basic LaTeX equivalents
-# Version 0.1   6/04/99 - Most everything in sections 2.1-2.11 of AASTeX guide
-#                         works. References work with some ERT. Regular tables
-#                         (2.14) okay, deluxetable will never be supported.
-#                         Figures (2.13) not even attempted yet. Misc (2.15)
-#                         partially supported, but much will remain ERT.
-#                         Style options (section 3) can be typed into Extra
-#                         Document options.
-#                         Much cleaning of this file needs to be done.
-# Version 1.0   6/09/99 - Implemented remaining commands as well as possible.
-#                         There is little more I can do unless LyX source code
-#                         is changed. (Not by me!) Documentation, template, and
-#                         example files are available.
-# Version 1.1   7/25/99 - Changed \url to take advantage of new layout option.
-# Version 1.2   4/18/02 - Updated for natbib in 1.2.0
-# Version 1.3   5/7/04  - Updated for AASTeX 5.2
-# Version 1.4   26-10-2008  - new custom insets for \altaffilmark, \tablenotemark
-#                           - new environments for \altaffiltext and \tablenotetext
-
-
-Format 11
+# Version 0.0   5/27/99  - Initial submission, basic LaTeX equivalents
+# Version 0.1   6/04/99  - Most everything in sections 2.1-2.11 of AASTeX guide
+#                          works. References work with some ERT. Regular tables
+#                          (2.14) okay, deluxetable will never be supported.
+#                          Figures (2.13) not even attempted yet. Misc (2.15)
+#                          partially supported, but much will remain ERT.
+#                          Style options (section 3) can be typed into Extra
+#                          Document options.
+#                          Much cleaning of this file needs to be done.
+# Version 1.0   6/09/99  - Implemented remaining commands as well as possible.
+#                          There is little more I can do unless LyX source code
+#                          is changed. (Not by me!) Documentation, template, and
+#                          example files are available.
+# Version 1.1   7/25/99  - Changed \url to take advantage of new layout option.
+# Version 1.2   4/18/02  - Updated for natbib in 1.2.0
+# Version 1.3   5/7/04   - Updated for AASTeX 5.2
+# Version 1.4   26/10/08 - new custom insets for \altaffilmark, \tablenotemark
+#                        - new environments for \altaffiltext and \tablenotetext
+
+
+Format 35
 Columns                 1
 Sides                   1
 #SecNumDepth            3
@@ -66,15 +65,19 @@ End
 # Therefore I'll define the entries first, then fill them in
 
 Style Section
+       TocLevel 1
 End
 
 Style Subsection
+       TocLevel 2
 End
 
 Style Subsubsection
+       TocLevel 3
 End
 
 Style Paragraph
+       TocLevel 4
 End
 
 Style Itemize
@@ -162,8 +165,11 @@ Input stdfloats.inc
 Input stdcounters.inc
 
 NoStyle Part
+NoCounter part
 NoStyle Chapter
+NoCounter chapter
 NoStyle Subparagraph
+NoCounter subparagraph
 NoStyle List
 NoStyle Bibliography
 
@@ -177,6 +183,7 @@ Style Section
          Series              Bold
          Size                Normal
        EndFont
+       TocLevel 1
 End
 
 
@@ -189,6 +196,7 @@ Style Subsection
          Series              Bold
          Size                Normal
        EndFont
+       TocLevel 2
 End
 
 
@@ -202,6 +210,7 @@ Style Subsubsection
          Shape               Italic
          Size                Normal
        EndFont
+       TocLevel 3
 End
 
 
@@ -293,7 +302,7 @@ Style Altaffilation
 End
 
 
-InsetLayout altaffilmark
+InsetLayout "Flex:altaffilmark"
        LyxType                 custom
        LatexType               command
        LatexName               altaffilmark
@@ -576,7 +585,7 @@ Style "Table note"
 End
 
 
-InsetLayout tablenotemark
+InsetLayout "Flex:tablenotemark"
        LyxType                 custom
        LatexType               command
        LatexName               tablenotemark