1
vote
1answer
67 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} ...
4
votes
2answers
102 views

Reference to my subfloats always reference to Fig 1a, 1b or 1c

I have a document where multiple figures with subfloats are included, like this one: \documentclass[pdftex, a4paper, oneside]{scrartcl} \usepackage[lofdepth,lotdepth]{subfig} \usepackage{graphicx} ...
10
votes
5answers
143 views

Wrong reference number for subfloat

I am trying to reference a subfigure in my text but it is numbered incorrectly. Here is a minimal working example: \documentclass{scrartcl} \usepackage[demo]{graphicx} \usepackage{subfig} ...
2
votes
1answer
189 views

Problem with algorithm(ic) and hyperref

The following code works ... fine! \documentclass{book} % \usepackage{subfig} % \usepackage{subcaption} \usepackage[colorlinks]{hyperref} \usepackage{algorithm} \usepackage[noend]{algorithmic} ...
10
votes
1answer
198 views

Change format of reference to a subfigure

In my current document, I'm working with many subfigures. Normally, I like to refer to them using a style like Figure 1 b) where the space should be a halfspace, hence \, in the code. That's nice not ...
5
votes
1answer
358 views

Wrong figure reference number

I'm trying to insert a figure in a LaTeX file, but LaTeX always gives the reference number of this figure as figure 1 instead of 2, although there is already a figure 1 earlier in the document. I also ...
0
votes
0answers
38 views

What is the best method or package for referencing a subfigure? [duplicate]

Possible Duplicate: subcaption vs. subfig: Best package for referencing a subfigure I'd like to reference a part of a figure, 1(a) for example, within a body of text. I've been using the ...
2
votes
1answer
92 views

How shoud I manage captions and sub captions with float and non float items?

I am currently writing my PhD thesis and I am using this code to put some figures or tables on the left page. So, I have two kinds of figures, some are in a float, some are not. In both cases, I often ...
4
votes
1answer
263 views

How to get rid of \ref's parentheses (e.g., for subfigure)

I use \ref to refer to a subfigure and it shows like this in my text: This thing (Figure 5(b)) Double parentheses appear! I want this style: This thing (Figure 5b) How to make it happen?
3
votes
1answer
1k views

Referencing subfigures in main caption (with \subfloat and \subref)

I've used subfloat to include subfigures, with their relevant labels but with empty captions. what I'm going to do is to reference these figures with \subref in the main caption of the figure. But ...
1
vote
1answer
274 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} ...
3
votes
1answer
554 views

Wrong number using label in subfloat with subfig and caption=false

I'm using the IEEEtran class, and I need to use the subfig package with the caption=false option. However, when I use the package like this \documentclass{article} % Remove the caption=false and this ...
3
votes
1answer
113 views

Referencing “coupled” tables

How can I refer to 'coupled' tables (say different tables but referenced as table 5a and table 5b). If I \label them and use \ref, they would be referenced in the document as table 5 and table 6.
4
votes
1answer
484 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 ...
2
votes
1answer
220 views

Referencing subfigure when subfigures are in the same image

I prefer to design my figures externally such that I only need to include one image in latex, even if it consist in several subfigures. Say, I want to have two figures (a) and (b) side by side. ...
3
votes
1answer
173 views

Change the reference style for subfloats: from 1a to 1(a)

How to change the reference style to subfloats (package subfloat) in a figure from <number><letter> to <number>(<letter>).
5
votes
3answers
386 views

Table of subfloats

I'm trying to sort figures (using subfloat) in a table, with labels for each subfigure. My point is, using only subfloat, that the subfigures are referred in the text as figure a, b, ... and so on. ...
2
votes
1answer
502 views

Referencing externalized pgfplots with subfig and cleverref

I use pgfplots to produce a vast amount of images in my document. Due to limited LaTeX memory, I am forced to use \tikzexternalize. Moreover, I also use the subfig package to group several pictures ...
2
votes
1answer
364 views

Changing subfig \subfref format

I'd like to know how to hack subfig in order to change the format of \subref. The current format, when subfig is initialized with listofformat=parens yields output like 4.5(b) . I'd like to add a ...
4
votes
1answer
1k views

Reference part of a figure

I have a figure with multiple parts (a, b, c, etc.) and in the text I would like to have a reference to the figure with the letter of the part (i.e. fig 1(b) ). Is there a way to pass this to \cref{} ...
7
votes
3answers
342 views

How does one create, caption, label and refer to a subfigure?

So its a fairly simple question to a problem people normally experience. I have a rough idea of what to do, but I am looking for the correct way of doing things. So in the solution I will include what ...
5
votes
1answer
848 views

Parenthesis while using subfig and autoref

I would like to use subfig while using the autoref package. I have added the line \usepackage[listofformat=subparens,subrefformat=parens,labelformat=parens]{subfig} ...
5
votes
1answer
385 views

How to \ref to subcaption numbers (a, b) when using memoirs subcaptions?

How can I get references to subcaption numbers when using memoir? In this example: \documentclass{memoir} \newsubfloat{figure} \begin{document} \chapter{Lorem} \section{ipsum} \begin{figure}[b] ...
7
votes
2answers
4k views

Reference multiple subfloated figures using \ref{X,Y,Z} to give Fig. 1a,1b,1c in text

I want to reference labels in the sentence, as above in the code: like this - \ref{X,Y,Z} to give "Fig. 1a,1b,1c" or "Fig. 1a-c" in text. \documentclass{article} \usepackage{subfig} ...
5
votes
3answers
694 views

How to add combined cross-references for two subfigures?

I want to have two subfigures, and then reference them like "as seen in Figure 2a,2b" -- so to combine them. How can I do this? (or if you know a better way in lyx or latex)
3
votes
4answers
2k views

subfigure - how to eliminate (a), (b), …

I am using the subfigure package to reference parts of a figure. It works just fine when each of the subfigures is a single plot and I want LaTeX to insert labels (a), (b) ... under each. However, for ...
7
votes
3answers
3k views

Adding parentheses around subfig references

Say I have a figure with two subfloats inserted using the subfig package. When I reference them with \ref{myLabel} I get this Figure 3.5a and 3.5b. But what I want is this: Figure 3.5(a) ...
37
votes
3answers
10k 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 ...
3
votes
1answer
543 views

Missing “Figure” title for captions of side-by-side graphics

Background Trying to reference the label of figures that are side-by-side. Problem Referencing figures by their label works, except when the figure is in a mini-page. That's when the word "Figure" ...
3
votes
1answer
661 views

How to make sub figure referencing work in memoir + cleveref?

In the following example: \documentclass{memoir} \usepackage{cleveref} \newsubfloat{figure} \begin{document} \chapter{Example} \begin{figure} \centering \subtop[apple]{fig ...