我怎样才能将表格和语句的位置从上图调整到下图?

我怎样才能将表格和语句的位置从上图调整到下图?
\begin{table}[h!]
\begin{minipage}{1\linewidth}
\begin{raggedleft}
\begin{tabular}{c| c c c}
      a&b&c&d\\
   \midrule
      a&b&c&d\\
      a&b&c&d\\
      a&b&c&d   
\end{tabular}
\end{raggedleft}
\end{minipage}
\hfill
\begin{minipage}{.5\linewidth}
\begin{raggedright}
The table is used..............\\
and then we need to .........\\
Hence................
\end{raggedright}
\end{minipage}
\end{table}

在此处输入图片描述

答案1

您的例子需要booktabs但您没有说......

在此处输入图片描述

\begin{table}[htp]%no[h!]
%no\begin{minipage}{1\linewidth}
%no\begin{raggedleft}
\begin{tabular}{c| c c c}
      a&b&c&d\\
   \midrule
      a&b&c&d\\
      a&b&c&d\\
      a&b&c&d   
\end{tabular}
%no\end{raggedleft}
%no\end{minipage}
\hfill
\begin{minipage}{.5\linewidth}
%no\begin{raggedright}
\raggedright
The table is used..............\\
and then we need to .........\\
Hence................
%no\end{raggedright}
\end{minipage}
\end{table}

相关内容