close
\documentclass{article}
\usepackage{subcaption}
\begin{document}
\begin{table}[!htb]
\caption{Global caption}
\begin{subtable}{.5\linewidth}
\centering
\caption{Left}
\begin{tabular}{ll}
1 & 2
\end{tabular}
\end{subtable}%
\begin{subtable}{.5\linewidth}
\centering
\caption{Right}
\begin{tabular}{ll}
3 & 4
\end{tabular}
\end{subtable}
\end{table}
\end{document}
全站熱搜