0
votes
1answer
26 views

Error: multiply-defined labels

Below given example gives this error. ! SIAM Label Error: There were multiply-defined labels. Correct multiply-defined labels. \documentclass[final,leqno,onefignum,onetabnum]{siamltex1213} ...
2
votes
1answer
40 views

Cleveref mislabels figures when using \ContinuedFloat

When using subfloats over multiple pages I have used \ContinuedFloat to carry on the figure environment which also preserves the numbering. However, when I try to reference the whole figure, cleveref ...
2
votes
1answer
38 views

How to reference to subfigure in latex

I have 2 figures with same meaning, So I put them in subfigure package, to make it easy to show their similarity. Here is the code that I used: \usepackage{subfigure} \begin{figure}[H] ...
2
votes
1answer
54 views

Editing the reference style for subfigures using cleveref and memoir

I'm using the cleveref package to reference floats (in this case subfigures) in the memoir class. Currently the output looks like this (sorry for the danish, I don't think it matters): Using the ...
4
votes
3answers
66 views

Using \cref on a \minipage label?

A couple of times I've had trouble using labels on minipage. I use minipage to create subfigures a) and b), each with their own \subcaption and \label, the whole figure also got a \caption with a ...
3
votes
1answer
36 views

referencing in subfloat not working

\documentclass[journal]{./IEEE/IEEEtran} \usepackage{cite,graphicx} \usepackage{url} \usepackage{float} \usepackage{subfig} \begin{document} \begin{figure}[H] ...
2
votes
1answer
71 views

\label does not work

am looking help for two things. (1) I would like to write the text as 'In Fig. (1) and in Fig. (2a)', for which the TEX is written as follows: Shown in Fig. (\ref{fig:main}) and shown in Fig. ...
6
votes
0answers
98 views

customizing cleveref for pair of subfigure references: [1a and b] instead of [1a and 1b]

I am using the cleveref package and I am very happy with it. However, I encountered one problem I wasn't able to solve. I am probably just not combining the syntax correctly. This is highly connected ...
1
vote
1answer
71 views

How to reference the whole figure with subfig?

I'm using the subfig package in the following way: Samples of our recordings are shown in the Figure XXXXX. \begin{figure} \centering \subfloat[`One']{\includegraphics[width=8cm]{One.eps} ...
6
votes
2answers
128 views

How to customize cleveref package macro to be consistent when multiple figure references are used in this case?

The cleveref package does a very nice job of sorting the labels of the many references for you (whatever they are) in their natural order. However, I was stumbled by a special case when I wanted to ...
3
votes
1answer
77 views

How to cross-reference a list of sub figures at once? [duplicate]

How can I define a command similar to \ref for referencing a list of subfigures at once? Just like what cite package does for citations. A command like \myref{a,c,d} which can be tuned to generate ...
3
votes
1answer
71 views

subfig reference layout

I have the following working example \documentclass{article} \usepackage[subrefformat=parens,labelformat=parens]{subfig} \begin{document} \textbf{Error} This should say Fig. 1\textbf{a}, not ...
2
votes
0answers
236 views

Multiple \label commands before \ref

I have tried several approaches to solve my problem but unfortunately none successful yet. I can not find documentation mentioning how to solve this particular case. My problem is that I am using a ...
3
votes
1answer
59 views

Referencing of subfigures is wrong

After Ludovic C. solved my last problem Continous subfigure numbering I have another problem relating to the numbering of subfigures. When I reference a picture with the number (1) like this ...
3
votes
1answer
86 views

Why does hyperref break the labels of subfigures with ContinuedFload?

This is a follow up to here: http://tex.stackexchange.com/a/130629/32245 When I insert \usepackage{hyperref} as last line of the preamble. The main figure (or the two continued figures) are labeled ...
4
votes
1answer
453 views

Manually change caption label in subfig

In the example: \documentclass{article} \usepackage[demo]{graphicx} \usepackage{subfig} \begin{document} \begin{figure}[h] \centering \subfloat[]{\label{first} ...
4
votes
1answer
55 views

Long subfigure references

In a certain part of my current document I need to reference a figure that is composed of 18 small pngs. Sometimes I need to reference some subfigures in the same sentence and I end up with text like ...
4
votes
1answer
382 views

custom sub-caption and refs format for subfigures

I've just read questions: Changing the subfigure caption by removing brackets & font of the subcaption Adding parentheses around subfig references How to put two images next to each other with ...
1
vote
1answer
147 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
457 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} ...
11
votes
5answers
1k 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} ...
3
votes
1answer
712 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} ...
12
votes
1answer
3k 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 ...
6
votes
1answer
3k 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 ...
2
votes
1answer
118 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
807 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?
5
votes
1answer
7k 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
648 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
845 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
125 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
2k 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
270 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
193 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
459 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
733 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 ...
3
votes
1answer
571 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 ...
5
votes
1answer
2k views

Reference part of a figure (with or without cleveref)

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
522 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
1k 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
682 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] ...
10
votes
2answers
9k 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} ...
6
votes
3answers
2k 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)
4
votes
4answers
11k 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 ...
11
votes
4answers
6k 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) ...
63
votes
3answers
20k 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
687 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
795 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 ...