我equation*
里面有一个,如下所示caption*
。table
\documentclass{article}
\usepackage{amsmath,caption}
\begin{document}
\begin{table}
\center
\caption{This is a sentence.}
\caption*{This is a sentence. This is a sentence. This is a sentence. This is a sentence. This is a sentence.}
\begin{equation*}
THISEQUATION=THISEQUATION.
\end{equation*}
\caption*{This is a sentence. This is a sentence. This is a sentence. This is a sentence. This is a sentence.}
\begin{tabular}{cc}\hline
1&2\\
3&4\\\hline
\end{tabular}
\end{table}
\end{document}
我把caption*
上面的部分分开了,因为它不能包括equation*
里面,所以得到的间距equation*
是不正确的。可以让里面caption*
有吗equation*
?
答案1
如果您不需要获取List of Tables
,请尝试以下步骤MWE
:
\documentclass{article}
\usepackage{amsmath,caption}
\begin{document}
\begin{table}
\center
\captionsetup{singlelinecheck=off}
\caption[.]{This is a sentence.
This is a sentence. This is a sentence. This is a sentence. This is a sentence. This is a sentence.
\begin{equation*}
THISEQUATION=THISEQUATION.
\end{equation*}
This is a sentence. This is a sentence. This is a sentence. This is a sentence. This is a sentence.}
\begin{tabular}{cc}\hline
1&2\\
3&4\\\hline
\end{tabular}
\end{table}
\end{document}