由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
TeX版 - help on subtable label
相关主题
add caption above floating table using floatflt怎么控制表格里行的高度?
新人提问,怎么把一个tabular左上角的那个cell删除?请教图片排版问题
Table 的黑粗线是怎么弄出来的?请教一个表格问题。
为什么我插入表格后,后面文字和表格间会留一大块空白?About table
请问tabular里面的一个格子里如何能够换行呢?谢谢!图表混排的问题
新手请教LNCS排版中表格问题请教高手:subfig 排三个图
怎么样让图片在固定的地方出现?latex 表格自动排版的问题
latex写信函(letters),无法做table写在文中的table怎么会跑到页首上去?
相关话题的讨论汇总
话题: subtable话题: table话题: tab话题: xxx话题: hline
进入TeX版参与讨论
1 (共1页)
c****d
发帖数: 116
1
When I refer the table with \ref{tab:something}, the number is correct, eg.
table 4. However, when I refer the subtable with \ref{tab:20}, the table
number becomes 5(b). What is wrong? Thanks for your help.
\begin{table}[hbt]
\centering
\caption {
XXXXXX
}
\subtable[X1]
{
\label{tab:10}
\begin{tabular}{lccc}\hline
& AAA & BB & CC \\
& & XXX & XXX \\ \hline
XXX & 5.35 & 5.44 & 5.15 \\ \hline
\end{tabular}
}\\
\subtable[X2]
{
c****d
发帖数: 116
2
斑竹,帮忙看看,谢谢

【在 c****d 的大作中提到】
: When I refer the table with \ref{tab:something}, the number is correct, eg.
: table 4. However, when I refer the subtable with \ref{tab:20}, the table
: number becomes 5(b). What is wrong? Thanks for your help.
: \begin{table}[hbt]
: \centering
: \caption {
: XXXXXX
: }
: \subtable[X1]
: {

T*******n
发帖数: 493
3
Try the following. You need the latest versions of subfig and caption from
ctan.org. Check the documentation subfig.pdf for more details. Don't use
subfigure.sty as it is obsolete and replaced by subfig.sty.
\documentclass{article}
\usepackage{subfig}
\captionsetup[table]{position=top}
\captionsetup[subtable]{position=top}
\begin{document}
See the two parts of Table~\ref{tab:something}, namely Table~\ref{tab:10}
and Table~\ref{tab:something}\subref{tab:20}.
\begin{table}[hbt]
\centering


【在 c****d 的大作中提到】
: 斑竹,帮忙看看,谢谢
c****d
发帖数: 116
4
斑竹,帮忙看看,谢谢

【在 c****d 的大作中提到】
: When I refer the table with \ref{tab:something}, the number is correct, eg.
: table 4. However, when I refer the subtable with \ref{tab:20}, the table
: number becomes 5(b). What is wrong? Thanks for your help.
: \begin{table}[hbt]
: \centering
: \caption {
: XXXXXX
: }
: \subtable[X1]
: {

1 (共1页)
进入TeX版参与讨论
相关主题
写在文中的table怎么会跑到页首上去?请问tabular里面的一个格子里如何能够换行呢?谢谢!
怎么改变table的大小?新手请教LNCS排版中表格问题
如何让一个table和picture永远在一起怎么样让图片在固定的地方出现?
latex单栏文档中如何双栏显示图片latex写信函(letters),无法做table
add caption above floating table using floatflt怎么控制表格里行的高度?
新人提问,怎么把一个tabular左上角的那个cell删除?请教图片排版问题
Table 的黑粗线是怎么弄出来的?请教一个表格问题。
为什么我插入表格后,后面文字和表格间会留一大块空白?About table
相关话题的讨论汇总
话题: subtable话题: table话题: tab话题: xxx话题: hline