![两列文章未与横向表格调整](https://linux22.com/image/329277/%E4%B8%A4%E5%88%97%E6%96%87%E7%AB%A0%E6%9C%AA%E4%B8%8E%E6%A8%AA%E5%90%91%E8%A1%A8%E6%A0%BC%E8%B0%83%E6%95%B4.png)
我有一篇带有横向表格的两列文章。以下是该文章的一个工作示例。
\documentclass[10pt,twocolumn]{article}
\usepackage{lipsum}
\usepackage{lscape}
\usepackage{afterpage}
\begin{document}
\section{Heading}
\lipsum[1-8]
\afterpage{
\begin{landscape}
\begin{table}
\centering
\setlength{\tabcolsep}{6pt}
\caption{ Some Caption.}
\begin{tabular}{p{3cm}p{1.2cm}p{1.2cm}p{1.2cm}p{1.2cm}p{1.2cm}p{1.2cm}p{1.2cm}p{1.2cm}p{1.2cm}p{1.2cm}}
\hline
Title & Bond & Mission & MIB & Jonny & Nemo & Disney & Princess & Romoe & Juliet & Rocky \\
\hline
Author & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & 10\\
Writer & Woody Allen & Woody Allen & Yes & Woody Allen & Woody Allen & Woody Allen & Woody Allen & Yes & Woody Allen & Yes\\
Actor & Smart & Smart & Smart & Smart & Smart & Smart & Smart & Smart & Smart & Smart \\
Actress & No & Bambi& Bambi & Bambi & NO & Women & Women & Women & Women & Women \\
Director & HA,FA & NO & Women & Women & Women & Women& Women & Women & Women & Women\\
Genre & Action & Action & Romance & Comedy & Comedy & Comedy & Comedy & Comedy & Romance & Romance \\
Oscar & Yes & Yes & No & No & Yes & No & No & No & No & No\\
Budget & No & Yes & 1.5 million & 1.5 million & Yes & 1.5 million & 1.5 million & 1.5 million & 1.5 million & 1.5 million \\
Release & 2015 & 2014 & N/A & 2014 & 2015 & 2015 & 2015& 2014 & 2015 & 2015 \\
Running time & 2 Hours & 2 Hours & 2 Hours & 2 Hours & 2 Hours & 1.5 Hours & 1.5 Hours & 1.5 Hours & 1.5 Hours & 1.5 Hours \\
International Release & Yes & Yes & Yes & Yes & No & No & No & No & No & No\\
\hline
\end{tabular}
\end{table}
\end{landscape}}
\section{Heading}
\lipsum[1-10]
\end{document}
我也尝试过使用afterpage
但得到的是以下结果。
如您所见,下一列为空,其余文本在表格后继续。我该如何解决这个问题?
答案1
我会使用 sidewaystable*:
\documentclass[10pt,twocolumn]{article}
\usepackage{lipsum}
\usepackage{rotating}
\begin{document}
\section{Heading}
\lipsum[1-8]
\begin{sidewaystable*}
\centering
\setlength{\tabcolsep}{6pt}
\caption{Some Caption.}
\begin{tabular}{p{3cm}p{1.2cm}p{1.2cm}p{1.2cm}p{1.2cm}p{1.2cm}p{1.2cm}p{1.2cm}p{1.2cm}p{1.2cm}p{1.2cm}}
\hline
Title & Bond & Mission & MIB & Jonny & Nemo & Disney & Princess & Romoe & Juliet & Rocky \\
\hline
Author & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & 10\\
Writer & No & No & Yes & No & No & No & No & Yes & No & Yes\\
Actor & Reactive & Reactive & Reactive / Proactive & Reactive & Reactive & Reactive & Reactive & Reactive & Reactive & Reactive \\
Actress & No & Yes (partial)& Yes (partial) & Yes (partial) & NO & Yes & Yes & Yes & Yes & Yes \\
Director & HA,FA & NO & Yes & Yes & Yes & Yes& Yes & Yes & Yes & Yes\\
Genre & Global & Global & Global / Local & Local & Local & Local & Local & Local & Global / Local & Global / Local \\
Oscar & Long & Long & Moderate & Moderate & Long & Moderate & Moderate & Moderate & Moderate & Moderate\\
Budget & No & Yes & Limited & Limited & Yes & limited & limited & limited & limited & limited \\
Release & Not-support & Support & N/A & support & Not-support & Not-support & Not-support& Intra-domain support & Not-support & Not-support \\
Running time & Host-based & Host-based & Host-based & Host-based & Host-based & Network-based & Network-based & Network-based & Network-based & Network-based \\
International Release & Yes & Yes & Yes & Yes & No & No & No & No & No & No\\
\hline
\end{tabular}
\end{sidewaystable*}
\section{Heading}
\lipsum[1-10]
\end{document}