mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 05:01:49 +00:00
aastex: fix optional argument of a command
- aastex.layout: fix name and hint of \figcaption - aastex.lyx: improved template file
This commit is contained in:
parent
7021f4c342
commit
6594289d3d
@ -33,6 +33,7 @@
|
|||||||
# Version 1.4 26/10/08 - new custom insets for \altaffilmark, \tablenotemark
|
# Version 1.4 26/10/08 - new custom insets for \altaffilmark, \tablenotemark
|
||||||
# - new environments for \altaffiltext and \tablenotetext
|
# - new environments for \altaffiltext and \tablenotetext
|
||||||
# Version 1.5 26/11/12 - added mandatory argument for \altaffiltext
|
# Version 1.5 26/11/12 - added mandatory argument for \altaffiltext
|
||||||
|
# Version 1.6 23/01/15 - fix for the optional argument of \figcaption
|
||||||
|
|
||||||
|
|
||||||
Format 54
|
Format 54
|
||||||
@ -526,13 +527,12 @@ End
|
|||||||
|
|
||||||
|
|
||||||
InsetLayout Caption:FigCaption
|
InsetLayout Caption:FigCaption
|
||||||
LabelString fig.
|
LabelString fig.
|
||||||
LaTeXType command
|
LaTeXType command
|
||||||
LatexName figcaption
|
LatexName figcaption
|
||||||
# FIXME: it seems that the optional argument is actually a file name
|
|
||||||
Argument 1
|
Argument 1
|
||||||
LabelString "Short Title|S"
|
LabelString "Filename"
|
||||||
Tooltip "The caption as it appears in the list of figures"
|
Tooltip "Filename to identify the corresponding figure file"
|
||||||
EndArgument
|
EndArgument
|
||||||
HTMLStyle
|
HTMLStyle
|
||||||
div.float-caption {
|
div.float-caption {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#LyX 2.1 created this file. For more info see http://www.lyx.org/
|
#LyX 2.2 created this file. For more info see http://www.lyx.org/
|
||||||
\lyxformat 474
|
\lyxformat 481
|
||||||
\begin_document
|
\begin_document
|
||||||
\begin_header
|
\begin_header
|
||||||
\textclass aastex
|
\textclass aastex
|
||||||
@ -212,7 +212,7 @@ Results
|
|||||||
<results text; refer to Figure
|
<results text; refer to Figure
|
||||||
\begin_inset CommandInset ref
|
\begin_inset CommandInset ref
|
||||||
LatexCommand ref
|
LatexCommand ref
|
||||||
reference "fig1"
|
reference "fig:fig1"
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
@ -296,12 +296,12 @@ sideways false
|
|||||||
status open
|
status open
|
||||||
|
|
||||||
\begin_layout Plain Layout
|
\begin_layout Plain Layout
|
||||||
\begin_inset Caption FigCaption
|
\begin_inset Caption Standard
|
||||||
|
|
||||||
\begin_layout Plain Layout
|
\begin_layout Plain Layout
|
||||||
\begin_inset CommandInset label
|
\begin_inset CommandInset label
|
||||||
LatexCommand label
|
LatexCommand label
|
||||||
name "fig1"
|
name "fig:fig1"
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
@ -317,6 +317,39 @@ This is the first figure.
|
|||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
|
|
||||||
|
\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
|
||||||
|
|
||||||
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\end_body
|
\end_body
|
||||||
|
Loading…
Reference in New Issue
Block a user