-
子图标题可以正确显示出括号 \begin{table}[h]
\begin{subtable}[h]{0.45\textwidth}
\centering
\begin{tabular}{l | l | l}
Day & Max Temp & Min Temp \\
\hline \hline
Mon & 20 & 13\\
Tue & 22 & 14\\
Wed & 23 & 12\\
Thurs & 25 & 13\\
Fri & 18 & 7\\
Sat & 15 & 13\\
Sun & 20 & 13
\end{tabular}
\caption{First Week}
\label{tab:week1}
\end{subtable}
\hfill
\begin{subtable}[h]{0.45\textwidth}
\centering
\begin{tabular}{l | l | l}
Day & Max Temp & Min Temp \\
\hline \hline
Mon & 17 & 11\\
Tue & 16 & 10\\
Wed & 14 & 8\\
Thurs & 12 & 5\\
Fri & 15 & 7\\
Sat & 16 & 12\\
Sun & 15 & 9
\end{tabular}
\caption{Second Week}
\label{tab:week2}
\end{subtable}
\caption{Max and min temps recorded in the first two weeks of July}
\label{tab:temps}
\end{table} |
Beta Was this translation helpful? Give feedback.
Answered by
note286
Jan 16, 2023
Replies: 1 comment 1 reply
-
之前没有对 请使用不低于
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
note286
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
之前没有对
subcaption
包的子表样式做适配,刚刚已适配完成。请使用不低于
v4.1.1.0
版本的xduts,比较推荐使用subcaption
包。subcaption
包