0
votes
0answers
29 views

figure reference links go just below the figure [duplicate]

Is it common that when you click the reference it takes you just below the figure? If I scroll up, the figure is right there. I am using the standard procedure \begin{figure}[H] \centering ...
0
votes
0answers
15 views

Different number in image caption and in ref to figure [duplicate]

I have figure with image like this: \begin{figure}[h!] \centering \label{fig:controlsOpacity} \includegraphics[width=120mm]{img/image_01.png} \caption{some text} \end{figure} then I am referencing ...
0
votes
0answers
32 views

LaTeX numbering one figure incorrectly (Figure 2 instead of Figure 2.1) [duplicate]

All of my figures seem to be referencing correctly except for one. I have Text text text \ref{fig:label}. \begin{figure} \begin{center} <TikZ Drawing> \end{center} ...
1
vote
2answers
68 views

Get a table and figure on the same page with captions & labels

Here's what I'm looking for: I need a table and a figure to stay on the same page, while keeping captions & labels fully functional. Both the table and the figure need their own caption and their ...
1
vote
1answer
66 views

Captioning a figure with multiple subfigures all at once

I want to create a figure with subfigures, and then reference them from the caption of the main figure: \begin{figure} \begin{subfigure} A figure \caption{} \label{a} ...
0
votes
0answers
16 views

\ref{figures} goes to the part, not the figure [duplicate]

I'm using Latex for a Report about signal processing and I've a lot of figures. SoI putted them into minipages to display them side by side. It's fine but the references doesn't work. Here is an ...
0
votes
0answers
40 views

Figure 2 is referred to as Figure 3 [duplicate]

The caption of Figure 2 (label: F:mnDiagram) is printed correctly, but when I use \ref{F:mnDiagram}, the output I get is 3 (instead 2). What could be wrong?
2
votes
1answer
126 views

LaTeX - Standalone - figure reference in nested subfile error

for a few days I've been stacked with a problem which no manual or documentation resolved, please help: I have my 'main.tex' report document file, where I use the 'standalone' package to load the ...
3
votes
1answer
88 views

Labeling and adding caption inside a figure

Seems like this question is rather closed. However, I feel that something is missing there. Inside a figure environment, the \caption alone is nice, but its real power comes from the combination with ...
1
vote
1answer
99 views

error in \ref-numbering for figures in tufte-latex [closed]

please run this mini-example: \documentclass[]{tufte-book} \begin{document} \begin{figure*} \rule{1in}{1in} \caption{Figure 1} \label{fig:f1} \end{figure*} \begin{marginfigure} ...
0
votes
0answers
59 views

Mistakes in the figure numeration [duplicate]

Possible Duplicate: Figure numbers using the section number Why does an environment’s label have to appear after the caption? I have two figures in my document. Figure 1 is correctly ...
6
votes
1answer
111 views

Change caption of figure for references

I changed the caption of my figures running the following command (I'm using the babel package): \addto\captionsngerman{\renewcommand{\figurename}{Abb.}} If I use \autoref{$LABEL} to reference to ...
1
vote
0answers
114 views

How to move a figure to an other page? [closed]

I make two pictures with TikZ in two figures at top of each secion. I refer their position at the end of each section. Can you suggest a way to move them arbitrarily? My problem is lables They ...
1
vote
1answer
49 views

subfigure correct labeling

I use the label command to get a) and b) next to my pictures. AucTeX claims these are all duplicate global labels. I guess I misunderstood the subfigure. \subfigure[][]{% \label{a} }% % later in ...
4
votes
0answers
158 views

Float reference only appears when using [h] here float placement [closed]

I'm typesetting an article using PNAS' template for two-column articles: http://www.pnas.org/misc/PNASTWO.CLS My problem is that if I include a figure or table: \begin{figure} \caption{my figure} ...
3
votes
3answers
178 views

Memoir sub table numbering wrong

I am using sub tables and it seems because I but the table caption above I get the wrong number in the sub table references. How can I fix this? I am pretty sure it is related to the package float ...
8
votes
3answers
130 views

Changing the number of figure or equation automatically in text by changing the places of figures and equations

Is it possible to automatically reference a figure and equations in text? I meant sth like bibliography references. Moreover, by changing the place of the figures or equations relevant figure or ...
9
votes
1answer
127 views

Negative numbers being assigned to figures

I am using pdflatex distribution. I have many figures in the my latex document. For some reason the numbering stars from Figure 1 ,then Figure 2. It then goes to Figure 0, -1, -2 and so on. The ...
4
votes
2answers
203 views

Reference to figure label in adjustbox

\begin{figure} \begin{adjustbox}{addcode={\begin{minipage}{\width}}{\caption[bla] {% bla ..., fig. \protect\ref{fig:fig1}, ...bla. } \end{minipage}}} \includegraphics[scale=1]{figure.png} ...
2
votes
2answers
298 views

referencing a table vs. a figure in lyx, format

Currently, when I reference things using labels I have setup Lyx simply inserts the table number. I would like it to insert Table N where N is the table number. Similarly, I would like it to insert ...
4
votes
1answer
204 views

Shortcut commands for referencing floats

I always include the following commands in the preamble of my latex documents to make sure I refer to floats consistently in the text. I was wondering if the community had any thoughts about this, is ...
1
vote
1answer
95 views

Properly reference figure? [duplicate]

Possible Duplicate: Figure numbers using the section number I have a figure inside a section, like: \subsection{Something} \begin{figure}[htbp] \centering ...
2
votes
1answer
174 views

Error when setting a label in an alignat-environment which is embedded in a figure-environment

I want to label equations in a alignat-environment which is embedded in a figure-environment and it won't compile. Example: \documentclass[11pt,a4paper,twoside,openright]{book} \usepackage{amsmath} ...
0
votes
1answer
46 views

More than one table per subsubsection is referred to by section number [duplicate]

Possible Duplicate: Table reference Why does an environment's label have to appear after the caption? If you compile the LaTeX below, you get section numbers for some references ...
1
vote
0answers
42 views

\ref{} does not find my \label in LaTeX [duplicate]

Possible Duplicate: Why does an environment's label have to appear after the caption? I have a problem using \ref{} to reference table floating object. In my document, I have a table ...
1
vote
1answer
260 views

autoref with the float package

I would like to use \autoref{fig:subfig:a}, but I don't get the figure number by simply typing this. My code is: \documentclass{article} \usepackage{amssymb,amstext,amsmath,latexsym,mathtools} ...
9
votes
1answer
167 views

Numbering a figure with a symbol in a way that is compatible with \label and \ref

In a long paper, full of figures labeled as usual, there are two figures which I would like to single out and label with symbols. For instance, I would like to have them labeled Figure $\dag$ and ...
4
votes
1answer
468 views

Numbers of figure references

I use enumerating of figures within the section \renewcommand{\thefigure}{\arabic{section}.\arabic{figure}} however, when I use a reference to subfigure, instead of 1.1 (a) I get 1(a). How should I ...
14
votes
1answer
110 views

Floats shortly after they have been \ref-erenced; Warn otherwise

In my thesis I have a many floating figures which I then reference using \ref. I use flafter to ensure that they do not appear before they are defined in the source code (See Force floats to be ...
1
vote
1answer
149 views

Problem in referring to figures

I'm preparing a paper for submission to a journal. The journal submission system (Elsevier) requires me to load the EPS files (I convert my figures to EPS using gnuplot) separately. But if I do not ...
4
votes
1answer
229 views

Reference a table by caption created by ctable

Fixed in the new version of ctable ctan-ann: CTAN Update: ctable 26 May 2012 Might be a stupid question, but is there a way to reference, that means print, the caption of a ctable? hyperref ...
1
vote
1answer
126 views

How to refer to a figure created by tikzpicture in paper body?

I am relatively new with LaTeX. I created an image by \begin{figure} \begin{tikzpicture} .... \end{figure} \end{tikzpicture} I just don't know how to refer it in paper body by \ref{compression}, ...
0
votes
1answer
105 views

Using \label within a figure float [duplicate]

Possible Duplicate: Where to put the \label on a figure environment? My question is rather simple. I have noticed that when I use \label like this \begin{figure}[h] \centering ...
0
votes
0answers
39 views

Why am I getting errors about defined references? [duplicate]

Possible Duplicate: Why does an algorithm's label have to appear after the caption? I have the following in a paper: See~\ref{fig:quicksort}. \begin{figure} \label{fig:quicksort} ...
4
votes
2answers
711 views

Hypcap not working with custom figure environment

I'm trying to use caption with hypcap=true so that cross-reference hyperlinks will go to the figure instead of the figure caption. However, I'm using a multicol environment with a custom figure ...
4
votes
2answers
419 views

Hyperlink to figure (reference) in PDF links to incorrect figure

I have a document with a few sections, I'm new to LaTeX so I'm just using the article class. I want the figure numbers to restart in each section. I did this with \setcounter{figure}{0} at the start ...
3
votes
1answer
138 views

Figure refs stop working after I added a new counter

I was using the amspset document class for generating exam practice problems. I had wanted to add some referencing to the problems so I started a new counter like this (adapted from some Tex Exchange ...
7
votes
1answer
155 views

Ensuring that floats are displayed in order of first reference

There are many questions on this web site and elsewhere about ensuring that floats are displayed in the order in which they are placed in the source. What I want is different—I have all my ...
1
vote
1answer
1k views

Referencing figures doesn't work [duplicate]

Possible Duplicate: Where to put the \label on a figure environment? I'm having a problem with referencing figures in LaTeX. I have the following text: \begin{figure}[H] \center ...
0
votes
1answer
107 views

Referring a series of figures [closed]

When I run the add file, I get: Chapter 1 chap 1.1 sec figures 1.1 - 1.1. Just a figure 1.1 Just b figure 1.1 Clearly this is wrong but does it happen? \documentclass{report} ...
11
votes
1answer
185 views

\ref, make figure/table reference automatically toggle between “above” or “below”

Is it possible to automatically include a reference to the position of a labeled object (Table, Figure) in text? By this I mean the following: Say I have labeled a figure in chapter 1: ...
5
votes
3answers
280 views

Re-use code like figures and paragraphs in other documents

I was wondering if there is a way in which I can reuse the code, for example one figure, that is written in one file into another file. I want to use something similar to xr package that allows you ...
1
vote
1answer
795 views

Multiple captions for a single figure

How do I get subfig-like captions for a single figure? I've got images that have multiple panels each, and I'd like to make a caption for all the sub-panels, as well as be able to reference each ...
6
votes
1answer
6k views

Article appendix with sections and toc entries in the form “Appendix A”

I have been trying to get the appendix for my thesis done. I've read a lot about it and as always you can chose between a fiddly way and a magic package that doas the job to solve a problem (I usually ...
4
votes
2answers
1k views

Table numbering mismatch in caption and in text

I have created 2 tables in my LaTeX document \begin{table}[hb] \centering \begin{tabular}{|c|c|r|} \hline ... not important... \end{tabular} \label{tab:2} \caption{Določanje prioritet mojstrov ...
10
votes
3answers
503 views

Extended draft mode which includes source information for manual print-out to source synchronisation

I'm looking for a kind of extended draft mode which places the source code position of paragraphs, sectioning commands and figures etc. as marginpars or similar in the PDF, so that they appear on a ...
6
votes
1answer
494 views

Figure numbers using the section number

One of my sections seems to be using the section number rather than the appropriate figure number for \ref's that point to figures. (Theorems and the like work fine.) As far as I can tell, there's ...
3
votes
1answer
674 views

Undefined reference: autoref points to section instead of figure or table

Here is a minimum working example (an image 'test.png' needs to be in the working directory. I used this one.) % Created 2011-05-23 Mon 15:21 \documentclass[11pt]{article} \usepackage{graphicx} ...
2
votes
1answer
256 views

Lineno \internallinenumbers - how to make a line number label within a figure?

This concerns the "lineno" package. The \linelabel directive works within the ordinary linenumbers environment. How to create a line number label within a internallinenumbers environment to be able to ...
37
votes
3answers
9k views

subcaption vs. subfig: Best package for referencing a subfigure

On this question a comment by Martin H says, that one should forget about the subfigure and subfig packages and use subcaption. As subfig replaces subfigure, no argument there. I am currently using ...

1 2