
我似乎無法使用浮動頂部功能。
\documentclass[letterpaper]{article}
\usepackage{tabularx}
\begin{document}
\subsection{Experimental Results}
\begin{table*}[t!]
\begin{tabularx}
\end{tabularx}
\end{table*}
\end{document}
答案1
如果您在表格中插入一些文本,則程式碼將起作用並且表格將放置在頂部。當然,你應該考慮 Schweinebacke 的評論。此table*
環境用於在 的兩列上製作表格twocolumn
article
。
\documentclass[letterpaper]{article}
\usepackage{tabularx}
\begin{document}
\subsection{Experimental Results}
\begin{table}[t!]
\begin{tabularx}{\textwidth}{|X|X|}
\hline
a & b\\
\hline
\end{tabularx}
\end{table}
\end{document}