我正在尝试在下表中插入标题:
\newpage
\begin{tabularx}
{\textwidth}
{ | >{\raggedright\arraybackslash}p{2cm}
| >{\raggedright\arraybackslash}X| }
\hline
\textbf{Weak-Form Violations} & \\
\hline
Momentum Effect & One way of discerning trends in stock prices ... \\
\hline
Return Reversal & Although there is some evidence of momentum in ...\\
\hline
\textbf{Semi-strong Anomalies} & \\
\hline
出于某种原因,当我尝试插入标题时,它会严重破坏我的表格。我尝试了多个地方插入\caption
,这个地方对我的表格的破坏最小,其他地方则完全破坏了它的结构。有人能解释一下如何正确地给这个表格添加标题吗?
\newpage
\begin{tabularx}
{\textwidth}
{ | >{\raggedright\arraybackslash}p{2cm}
| >{\raggedright\arraybackslash}X| }
\caption{Table 1}
\hline
\textbf{Weak-Form Violations} & \\
\hline
Momentum Effect & One way of discerning trends in stock prices ... \\
\hline
Return Reversal & Although there is some evidence of momentum in ...\\
\hline
\textbf{Semi-strong Anomalies} & \\
\hline