Latex图表并列

参考:

  1. Latex图表并列
  2. LaTeX 中图和表如何并排?
\makeatletter
\newcommand\figcaption{\def\@captype{figure}\caption}
\newcommand\tabcaption{\def\@captype{table}\caption}
\makeatother

\begin{figure}[tb]
	\centering
	\begin{minipage}{0.45\textwidth}
		\centering
%		\tabcaption{Ablation study of XXX.}
%		\label{tab:ablation}
		\begin{tabular}{|l|rl|}
			\hline
			\bf Model & \bf $F_1$ &  \\ 
			\hline
			\quad-- CCCC    & 70 &  \\
			\quad-- DDDD     & 72 &  \\			
			\quad-- AAAA        & 71 &  \\
			\quad-- BBBB     & 68  &  \\
			\hline
		\end{tabular}
	\end{minipage}
%	\hspace{0.5in}
	\begin{minipage}[h]{0.45\textwidth}
		\centering
		\includegraphics[width=0.97\linewidth]{Figures/First/method18}
		\figcaption{$F_1$ variation with XXX}
		\label{fig:layers}
	\end{minipage}%
\end{figure}

上一篇:latex插图\begin{minipage}强制左移\hspace命令


下一篇:LaTeX之表格中多列合并时表格竖线不显示的解决方法