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]
{
|
|
T*******n 发帖数: 493 | 2 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
|
|
|
|
k*****c 发帖数: 1670 | 5 首先的感觉就是:
真是太难用了!
虽然出来的文章好看,但是,太多太复杂的设定,不是WYSIWG,太多的东西需要手动设定.
如果只是用来写一些文字和公式多些的东西,用Latex可能还是一个比较好的选择.
但是,如果要放很多图,subfigure, subtable之类的,就太烦了.
昨天试了一个晚上,最终还是不行.
唉,还是回到word好了.等以后Latex的界面更fridendly了,再尝试吧. |
|
b*********e 发帖数: 18 | 6 you may try \subtable in package subfigure? |
|
x*****i 发帖数: 112 | 7 Sorry, I cannot type Chinese using this computer.
-------------------------------------------------
Suppose I have a table with three columns
1st column is the date, for example 20150903, 20150904, 20150910, ......
2nd column is the name of stocks, for example, AAPL, IBM, FB, ......
3rd column is the daily return of the stock
The table is used to record 1200 most active stocks' return on each day (no
holiday, no weekend).In the first column, the date is from 20130101 to
20150831 ( each date will... 阅读全帖 |
|
|
|