]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/aastex.layout
Packaging for acmart
[lyx.git] / lib / layouts / aastex.layout
index 9a93bd102e23f16345f3fe2dd2bd8d6838948f0a..654d5920fe231e80a3328687e226a2a9990fd754 100644 (file)
@@ -1,7 +1,9 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[aastex,amssymb.sty,latexsym.sty,natbib.sty,verbatim.sty]{American Astronomical Society (AASTeX)}
+#  \DeclareLaTeXClass[aastex,amssymb.sty,latexsym.sty,natbib.sty,verbatim.sty]{American Astronomical Society (AASTeX v. 5)}
 #  \DeclareCategory{Articles}
 #
+# LyX support for the AAS TeX package http://www.ctan.org/pkg/aastex
+#
 # Author: Mike Ressler <mike.ressler@alum.mit.edu>
 # Author: Uwe Stöhr <uwestoehr@web.de>
 #
 # Version 1.4   26/10/08 - new custom insets for \altaffilmark, \tablenotemark
 #                        - new environments for \altaffiltext and \tablenotetext
 # Version 1.5   26/11/12 - added mandatory argument for \altaffiltext
+# Version 1.6   23/01/15 - fix for the optional argument of \figcaption
 
+# Note: aastex.cls was replaced by aastex6.cls (v.1 2016/02/16)
+#      in the CTAN and TeXLive "aastex" package in march 2016.
+#      The new "aastex6.layout" depends on aastex6.cls but inputs this
+#       file for the definitions (cf. LyX ticket #10027)
 
-Format 53
+Format 63
 Columns                        1
 Sides                  1
 #SecNumDepth           3
@@ -177,6 +184,7 @@ Style Altaffilation
          Mandatory     1
          LabelString   "Number"
          Tooltip       "Consecutive number for the alternative affiliations"
+         PassThru      1
        EndArgument
        LabelSep        xx
        LabelType       Static
@@ -526,13 +534,13 @@ End
 
 
 InsetLayout Caption:FigCaption
-       LabelString          fig.
-       LaTeXType            command
-       LatexName            figcaption
-       # FIXME: it seems that the optional argument is actually a file name
+       LabelString     fig.
+       LaTeXType       command
+       LatexName       figcaption
+       MultiPar        false
        Argument 1
-           LabelString   "Short Title|S"
-           Tooltip       "The caption as it appears in the list of figures"
+         LabelString   "Filename"
+         Tooltip       "Filename to identify the corresponding figure file"
        EndArgument
        HTMLStyle
                div.float-caption {