我正在使用 IEEE 软件包撰写一篇论文。这篇论文的格式为 2 列。我希望表格位于右列表格 1 的文本之后。最终发生的是表格弹出到新页面。下面是我的代码 + 其外观的屏幕截图。除了截取表格的屏幕截图并将其作为图形放入之外,还有其他方法吗?
\subsection{Supplemental Tables}
Supplemental Table 1. Primers used for qPCR
\begin{table*}[!htbp]
\begin{tabular}{|l| p{2.75cm}|p{2.75cm}|}
\hline
\textbf{Gene} & \textbf{Forward} & \textbf{Reverse} \\ \hline
\textit{RPL32} & 5’- CAA CAT TGG TTA TGG AAG CAA CA -3’ & 5’- TGA CGT TGT GGA CCA GGA ACT -3’ \\ \hline
\textit{COL1A1} & 5’- GCC AAG ACG AAG ACA TCC CA -3’ & 5’- GGC AGT TCT TGG TCT CGT CA -3’ \\ \hline
\textit{ASPN} & 5’- TGC GAA GGC TGT ATC TGT CC -3’ & 5’- GAA CAC CGT CAC CCC TTC AA-3’ \\ \hline
\textit{POSTN} & 5’- GGA GGC AAA CAG CTC AGA GT -3’ & 5’- AAT CGC ACC GTT TCT CCC TT -3’ \\ \hline
\textit{ALPL} & 5’- CAC GGG CAC CAT GAA GGA AAA G -3’ & 5’- TGG CGC AGG GGC ACA GGA GAC T -3’ \\ \hline
\textit{RUNX2} & 5’- ATG CTT CAT TCG CCT CAC AAA C -3’ & 5’- CCA AAA GAA GTT TTG CTG ACA TGG -3’ \\ \hline
\textit{CEMP1} & 5’- TGG TTC TTC CCT -GGC TGT TC -3’ & 5’- GGC TCT GCC ACT GTT CTC TT -3’ \\ \hline
\end{tabular}
\end{table*}
答案1
您的问题不太清楚。我猜您正在寻找以下解决方案之一:
\documentclass[twocolumn]{article}
\usepackage{booktabs, tabularx}
\usepackage{stfloats}
\usepackage{lipsum}
\begin{document}
\lipsum[1]
\subsection{Supplemental Tables (1. example)}
Supplemental Table 1. Primers used for qPCR
\begin{table*}[b]
\small
\setlength\tabcolsep{4pt}
\begin{tabularx}{\linewidth}{@{} >{\itshape}l X X @{}}
\toprule
\textbf{Gene} & \textbf{Forward} & \textbf{Reverse} \\
\midrule
RPL32 & 5’- CAA CAT TGG TTA TGG AAG CAA CA -3’ & 5’- TGA CGT TGT GGA CCA GGA ACT -3’ \\
COL1A1 & 5’- GCC AAG ACG AAG ACA TCC CA -3’ & 5’- GGC AGT TCT TGG TCT CGT CA -3’ \\
ASPN & 5’- TGC GAA GGC TGT ATC TGT CC -3’ & 5’- GAA CAC CGT CAC CCC TTC AA-3’ \\
POSTN & 5’- GGA GGC AAA CAG CTC AGA GT -3’ & 5’- AAT CGC ACC GTT TCT CCC TT -3’ \\
ALPL & 5’- CAC GGG CAC CAT GAA GGA AAA G -3’ & 5’- TGG CGC AGG GGC ACA GGA GAC T -3’ \\
RUNX2 & 5’- ATG CTT CAT TCG CCT CAC AAA C -3’ & 5’- CCA AAA GAA GTT TTG CTG ACA TGG -3’ \\
CEMP1 & 5’- TGG TTC TTC CCT -GGC TGT TC -3’ & 5’- GGC TCT GCC ACT GTT CTC TT -3’ \\
\bottomrule
\end{tabularx}
\end{table*}
\lipsum[2-6]
\subsection{Supplemental Tables (2. example}
Supplemental Table 1. Primers used for qPCR
\begin{table}[htb]
\small
\setlength\tabcolsep{4pt}
\begin{tabularx}{\linewidth}{|>{\itshape}l | X | X |}
\hline
\textbf{Gene} & \textbf{Forward} & \textbf{Reverse} \\
\hline
RPL32 & 5’- CAA CAT TGG TTA TGG AAG CAA CA -3’ & 5’- TGA CGT TGT GGA CCA GGA ACT -3’ \\ \hline
COL1A1 & 5’- GCC AAG ACG AAG ACA TCC CA -3’ & 5’- GGC AGT TCT TGG TCT CGT CA -3’ \\ \hline
ASPN & 5’- TGC GAA GGC TGT ATC TGT CC -3’ & 5’- GAA CAC CGT CAC CCC TTC AA-3’ \\ \hline
POSTN & 5’- GGA GGC AAA CAG CTC AGA GT -3’ & 5’- AAT CGC ACC GTT TCT CCC TT -3’ \\ \hline
ALPL & 5’- CAC GGG CAC CAT GAA GGA AAA G -3’ & 5’- TGG CGC AGG GGC ACA GGA GAC T -3’ \\ \hline
RUNX2 & 5’- ATG CTT CAT TCG CCT CAC AAA C -3’ & 5’- CCA AAA GAA GTT TTG CTG ACA TGG -3’ \\ \hline
CEMP1 & 5’- TGG TTC TTC CCT -GGC TGT TC -3’ & 5’- GGC TCT GCC ACT GTT CTC TT -3’ \\
\hline
\end{tabularx}
\end{table}
\lipsum[7-9]
\end{document}