Linked Questions

26
votes
1answer
33k views

I can't figure out why my ref is displaying question marks instead of a figure number regarding a float [duplicate]

Please see figure \ref{loginMock}. \begin{figure}[H] \label{loginMock} \centering \includegraphics[width=7cm]{loginIdea} \caption{Landing/Login Page Example} \end{figure} I am using ...
13
votes
1answer
6k views

Where to put the \label on a figure environment? [duplicate]

Possible Duplicate: Why does an environment’s label have to appear after the caption? I noticed that when I put the \label command before the \caption command in a figure environment, I get wrong ...
8
votes
1answer
37k views

How to number figures continuously in documentclass{article} [duplicate]

Currently my document labels figures in a continuous manner (figure 1, figure 2, etc.) but references to these same figures have the section, subsection, etc. number in front of it (3.1.1 for a figure ...
4
votes
1answer
5k views

Wrong figure number at \ref [duplicate]

I'm writing a tex where I have several figures at my chapter 3, I guess it is 27 figures. after my section 3.3 my (figure \ref{fig:.......}) are giving me the wrong figure. when it should be giving ...
2
votes
1answer
13k views

How can I reference figure*'s subfigure? [duplicate]

I'm writing a paper to submit a conference. However, I am having some problems fixing non-resolved references in latex. \begin{figure*}[ht!] \begin{subfigure}[b]{0.3\linewidth} \...
6
votes
1answer
5k views

Why does ref link to section instead of label? [duplicate]

I want to refer to a figure within a section (say 1.2), using \ref{fig:xyz} Section: \section{XYZ} Figure: \begin{figure} \includegraphics[width=1\linewidth]{xyz.jpg} \label{fig:xyz} \...
4
votes
1answer
3k views

\ref not working with tikz and externalize lib [duplicate]

Possible Duplicate: Why does an environment's label have to appear after the caption? I am using tikz with its externalize library. I create figures with the following coding style: \begin{...
4
votes
1answer
3k views

label/reference isn't working properly [duplicate]

I am labelling my first table and then referencing it later, but the number that comes up when I reference it is completely different from the one in the caption. I am expecting Table 1, but I am ...
2
votes
1answer
1k views

Why are my reference numbers to labels disappearing? [duplicate]

Possible Duplicate: Why does an environment's label have to appear after the caption? In the following example, there are no reference numbers to the figures when I compile using pdflatex: \...
1
vote
2answers
1k views

Why table reference numbers are incorrect? [duplicate]

The code below shows in the caption "table 1", which is correct, but in the text reference, it shows "table 2". How can I fix that? \documentclass[]{article} \begin{document} \section{Description} \...
0
votes
1answer
2k views

Reference to listing not working [duplicate]

I have the following code: \documentclass{article} \usepackage{hyperref} \usepackage{minted} \begin{document} A nice paper has the following things: \begin{listing} \begin{minted}{haskell} ...
1
vote
1answer
2k views

RevTex4-1 figure reference wrong number? [duplicate]

I have included a graphic using \includegraphics into a \begin{figure} \end{figure} in revtex4-1. The figure appears in section II (i.e. 2) but the caption of the figure says Fig.1 (this is not a ...
3
votes
1answer
2k views

Latex: Reference label individual images within figure [duplicate]

Possible Duplicate: Why does an environment's label have to appear after the caption? I currently have: \begin{wrapfigure}{R}{0.3\textwidth} \vspace{-20pt} \begin{center} \...
1
vote
1answer
951 views

LaTeX missing reference [duplicate]

A weird, possibly trivial, problem is happening. After running pdflatex test with the following in the file test.tex % -*- coding: utf-8 -*- \documentclass[11pt]{article} \begin{document} \...
1
vote
1answer
815 views

Table number in ref inconsistent with actual table caption [duplicate]

Possible Duplicate: Why does an environment’s label have to appear after the caption? For convenience of readers, Table~\ref{table_abbreviation} lists the abbreviations and their full meaning, ...

15 30 50 per page