由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
TeX版 - section number interferes with fig label?
相关主题
figure caption 的冒号?用listing引入C代码,怎么让关键字BOLD?
怎么指定top, bottom和左右的margins?请问tabular里面的一个格子里如何能够换行呢?谢谢!
A question about footnote如何去掉Chapter之间的空白页?
what is the problem?Question about latex.
how to put a footnote on a chapter title?A quick question about page margin
怎么控制表格里行的高度?latex里面怎样才能用小于10pt的字体啊?
a problem of page layoutlatex letter的问题
如何实现这个公式Footnote in latex
相关话题的讨论汇总
话题: fig话题: section话题: label话题: figure话题: interferes
进入TeX版参与讨论
1 (共1页)
c****s
发帖数: 2487
1
There are two figures in one article and they both
are numbered as 1 and 2 respectively. However, the two
references turn out to be 2 and 3, which are actually
the numbers of the sections where the figures are
included. WHYYYYYYYYY? /bow....
hope the following explanation could be clear enough...
%%%%%%%%%%%%%%
\documentclass{article}
...
\section{sec1}
...
Fig.~\ref{fig1}
...
\section{sec2}
\begin{figure} \label{fig1}
...
\section{sec3}
\begin{figure} \label{fig2}
...
Fig.~\ref{
H****n
发帖数: 125
2
The \label of figure should be right after the \caption{}
of the figure.
Try to fix this first, and see what'll happen

【在 c****s 的大作中提到】
: There are two figures in one article and they both
: are numbered as 1 and 2 respectively. However, the two
: references turn out to be 2 and 3, which are actually
: the numbers of the sections where the figures are
: included. WHYYYYYYYYY? /bow....
: hope the following explanation could be clear enough...
: %%%%%%%%%%%%%%
: \documentclass{article}
: ...
: \section{sec1}

c****s
发帖数: 2487
3
haha, that's exactly the reason!
I put the labels right behind \begin{figure}
many sanx!

【在 H****n 的大作中提到】
: The \label of figure should be right after the \caption{}
: of the figure.
: Try to fix this first, and see what'll happen

1 (共1页)
进入TeX版参与讨论
相关主题
Footnote in latexhow to put a footnote on a chapter title?
怎么生成 landscape 的 pdf?怎么控制表格里行的高度?
请教如何用beamer把slides做成handout以便打印?a problem of page layout
新手问题:为什么纸张大小不对如何实现这个公式
figure caption 的冒号?用listing引入C代码,怎么让关键字BOLD?
怎么指定top, bottom和左右的margins?请问tabular里面的一个格子里如何能够换行呢?谢谢!
A question about footnote如何去掉Chapter之间的空白页?
what is the problem?Question about latex.
相关话题的讨论汇总
话题: fig话题: section话题: label话题: figure话题: interferes