- aastex.layout: fix name and hint of \figcaption
- aastex.lyx: improved template file
# 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.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
InsetLayout Caption:FigCaption
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
- 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 {
EndArgument
HTMLStyle
div.float-caption {
-#LyX 2.1 created this file. For more info see http://www.lyx.org/
-\lyxformat 474
+#LyX 2.2 created this file. For more info see http://www.lyx.org/
+\lyxformat 481
\begin_document
\begin_header
\textclass aastex
\begin_document
\begin_header
\textclass aastex
<results text; refer to Figure
\begin_inset CommandInset ref
LatexCommand ref
<results text; refer to Figure
\begin_inset CommandInset ref
LatexCommand ref
status open
\begin_layout Plain Layout
status open
\begin_layout Plain Layout
-\begin_inset Caption FigCaption
+\begin_inset Caption Standard
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float figure
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption FigCaption
+
+\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+filename
+\end_layout
+
+\end_inset
+
+This is the second figure where the image filename is referenced via a FigCaptio
+n.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+