我正在使用此代码来生成宽表,但顶部的标题仍然是两列格式。我使用了 \caption 包,但它影响了我所有的图形标题并且从未解决问题。
\documentclass[prb,twocolumn,preprintnumbers,amsmath,amssymb]{revtex4}
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{enumitem}
\usepackage{tabularx}
\usepackage{epsfig}
\usepackage{amsmath,amscd}
\usepackage{psfrag}
\setlength\paperheight{11in}
\usepackage[dvipdfm]{hyperref}
\usepackage{amsmath,amscd}
\usepackage{psfrag}
\begin{table}[p]
\caption{Plots of average power dissipated $\overline P$ vs the amplitude of second harmonic $H_{ac2}$ for different values of the relative phase $\theta$, while $m=3$, $\alpha=0.05$ and $H_{ac1}=2 H_1$.}
\centering
\begin{tabularx}{\textwidth}{|X|X|X|}
\multicolumn{3}{>{\centering\setlength\hsize{3\hsize} }X}{\boldmath$m=3$\unboldmath , \boldmath$\alpha=0.05$\unboldmath , \boldmath$H_{ac1}=2H_1$\unboldmath}\\ \hline
\includegraphics[height=1.7 in,width=2.3 in]{t21.eps} & \includegraphics[height=1.7 in,width=2.3 in]{t22.eps} & \includegraphics[height=1.7 in,width=2.3 in]{t23.eps}\\ \hline
\includegraphics[height=1.7 in,width=2.3 in]{t24.eps} & \includegraphics[height=1.7 in,width=2.3 in]{t25.eps} & \includegraphics[height=1.7 in,width=2.3 in]{t26.eps}\\ \hline
\end{tabularx}
\end{table}
答案1
在双列文本中,默认情况下, table
(和figure
)环境仅覆盖一列。带星号的版本table*
和figure*
覆盖两列,因此您需要
\begin{table*}
..
\end{table*}