Skip to content

子表标题没有括号 #32

Answered by note286
severous asked this question in Q&A
Jan 16, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

之前没有对subcaption包的子表样式做适配,刚刚已适配完成。

请使用不低于v4.1.1.0版本的xduts,比较推荐使用subcaption包。

subcaption

\documentclass{xdupgthesis}
\usepackage{subcaption}
\begin{document}
\chapter{title}
\ref{tab}
\ref{tabi}
\ref{tabii}
\begin{table}[h]
\centering
\caption{Two tables}
\label{tab}
\subcaptionbox{Table one\label{tabi}}[.5\textwidth][c]{
\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}
}%
\subcaptionbox{Table two\label{tabii}}[.5\textwidth][c]{
\begin{tabular}{l|l|l}
D…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@severous
Comment options

Answer selected by note286
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants