mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Adjust subfigure and subcaption options
This commit is contained in:
parent
935646bf91
commit
b1bfbfb3f9
@ -641,8 +641,9 @@ $$
|
|||||||
\stepcounter{}
|
\stepcounter{}
|
||||||
\stretch{}
|
\stretch{}
|
||||||
%\subitem{} % unsupported theindex environment
|
%\subitem{} % unsupported theindex environment
|
||||||
|
\subcaption[translate]{translate}
|
||||||
\subjectname
|
\subjectname
|
||||||
\subfigure[]{translate}
|
\subfigure[translate][translate]{translate} % obsolete subfigure.sty
|
||||||
\subparagraph[]{} % These "sub" versions of the sectioning commands weren't
|
\subparagraph[]{} % These "sub" versions of the sectioning commands weren't
|
||||||
\subparagraph*{} % in the original commandlist for some reason (adk)
|
\subparagraph*{} % in the original commandlist for some reason (adk)
|
||||||
\subsection[]{} %
|
\subsection[]{} %
|
||||||
@ -650,6 +651,7 @@ $$
|
|||||||
\subsubsection[]{} %
|
\subsubsection[]{} %
|
||||||
\subsubsection*{} %
|
\subsubsection*{} %
|
||||||
%\subsubitem{} % unsupported theindex environment
|
%\subsubitem{} % unsupported theindex environment
|
||||||
|
\subtable[translate][translate]{translate} % obsolete subfigure.sty
|
||||||
\suppressfloats[]
|
\suppressfloats[]
|
||||||
\symbol{}
|
\symbol{}
|
||||||
\tablename
|
\tablename
|
||||||
|
@ -2813,8 +2813,9 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
|
|||||||
}
|
}
|
||||||
|
|
||||||
else if (t.cs() == "subfloat") {
|
else if (t.cs() == "subfloat") {
|
||||||
// the syntax is \subfloat[caption]{content}
|
// the syntax is \subfloat[list entry][sub caption]{content}
|
||||||
// if it is a table of figure depends on the surrounding float
|
// if it is a table of figure depends on the surrounding float
|
||||||
|
// FIXME: second optional argument is not parsed
|
||||||
bool has_caption = false;
|
bool has_caption = false;
|
||||||
p.skip_spaces();
|
p.skip_spaces();
|
||||||
// do nothing if there is no outer float
|
// do nothing if there is no outer float
|
||||||
|
Loading…
Reference in New Issue
Block a user