0
votes
0answers
16 views

Can figures be referenced verbally (automatically) with respect to their place mentioned in the text? [duplicate]

I realised that sometimes when referencing a figure in my thesis (KOMA-script fyi) I end up saying the above/below/right/left figure rather than always default to saying and in Figure XX and using the ...
3
votes
1answer
35 views

How to reference figures by the order their reference appears in the text rather than the order the figure appears in the text

I have a two page document with three figures, A and B is small and C is big. Therefore in this document I have my text all on one page and then on the second page my three figures. To make best use ...
0
votes
1answer
23 views

Reformatting the way references to figures do appear

How can one make LaTeX insert Figure into \ref calls automatically, i.e. instead of writing: See data in Figure \ref{fig:JobInformationDialog} simply write: See data in ...
0
votes
1answer
34 views

When I try to reference figures, eg “see Figure~\ref{lattice1}”, the output it “Figure ??”. Did I label it wrong? [duplicate]

\documentclass{article} \begin{document} \begin{figure} % \begin{subfigure}[b]{0.30\textwidth} \centering \begin{tikzpicture}[ decoration={ markings, mark=between positions 0 and 1 step ...
2
votes
1answer
60 views

Prefix “Figure” and giving reference to figures

Is it possible to adjust the font size of the prefix Figure when captioning an included image? Furthermore, is it possible to refer to a picture in a meaningful way without using a caption; I tried ...
1
vote
1answer
25 views

Referencing a figure in the text before the figure

I'm wanting to reference a figure, but I know that the usual way of doing it: \begin{document} \begin{figure}[h!] \centering \includegraphics{image.png}\\ \label{fig:fig1}} \end{figure} ...
2
votes
3answers
55 views

Detect misplaced label in figure

I realized that I sometimes write : \begin{figure} ... \label{fig:foo} \caption{Bla} \end{figure} instead of: \begin{figure} ... \caption{Bla} \label{fig:foo} \end{figure} ...
5
votes
1answer
98 views

Reference to a figure

When referring to a figure, the output in my pdf is not a number, but 'Figure xx'. For example: if I use the phrase This is figure \ref{test}. the output in my pdf file is always: This is figure ...
1
vote
2answers
67 views

Figure reference problems

My problem seems to be simple although I could not find any solutions for it yet. I am writing my thesis in LaTeX, but I am totally new to this type of language. I am trying to reference a figure as: ...
1
vote
1answer
60 views

How to customize the chapter in front of figure page in listoffigures?

I am using the the packages \usepackage{url} \usepackage{graphicx} \usepackage{rotating} \usepackage[hypcap]{caption} \usepackage{hyperref} to include referencable graphics in my work. The ...
3
votes
1answer
81 views

Lyx cross refernce to figures not working when there is a new line between caption and label

When I put a new line between the caption and label of a figure float, the cross referencing is shown as "Figure ??" in the resulting PDF file. The hyperlink in the PDF however, works just fine. After ...
6
votes
2answers
133 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 ...
1
vote
0answers
31 views

Label of figure in a for loop

I am adding figures to my TeX file using the following code: \foreach \paramA in {a,b,c} { \foreach \paramB in {1,2,3} { \begin{figure} \addOneImage{pathToImage/imageName_\paramA_batch\paramB.png} ...
1
vote
1answer
152 views

How to modify the label output in cleveref and varioref?

EDIT: The mentioned solution on the bottom of this page works perfectly for the label output. But now I am struggling with the distance of the \crefname and the counter. Instead of a space I would ...
8
votes
1answer
109 views

Changing Figure Numbering depending on how many occur in an \item

While trying to typeset examination papers in LaTeX, I've become the victim of shifting figure numbering standards laid down by my institution. The old way required figures to be numbered like this: ...
3
votes
1answer
74 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 ...
0
votes
0answers
22 views

Cleveref breakup on figure references [duplicate]

Consider this MWE: \documentclass[a4paper]{article} \usepackage{graphicx} \usepackage[dvips]{hyperref} \usepackage[noabbrev,nameinlink]{cleveref} \begin{document} \section{Abc} \begin{figure} ...
4
votes
1answer
38 views

\pageref to customised float environment

I would like to include some pictures in my document that are not really figures and should therefore not appear in the list-of-figures. They are to cover a whole page each, which I achieved using the ...
3
votes
1answer
92 views

\vref and input command

You've saved my life in some occasions, I am writing my master thesis and as I am working with MATLAB, I found a very useful MATLAB function which "translate" MATLAB images to TeX tikzpicture. I ...
2
votes
1answer
191 views

Hyperref and the float package

There is an issue when using the hyperref package, which provides links and bookmarks, together with the float package, which implements changes in float placement in the document. Loading both has ...
3
votes
2answers
272 views

Hide output, but maintain the cross-references

I am (losing my mind) trying to convert a TeX file to a Word with latex2rtf. The body translates well, but the tables don't. I use a lot of cross-references and out like to maintain them. My solution ...
0
votes
1answer
394 views

figure numbering (via `\ref{fig-label-name}`) when using user defined `myCaption`

I want to change the font of Figure, and the caption text. I tried caption package. But \usepackage[labelfont=bf,font=it]{caption} raises an error Command \caption@ContinuedFloat already defined.. ...
1
vote
2answers
64 views

Insert an image before another already cited

I know is not the best, but I'd like to display an image before another already referred. I mean I'd like to cite image 2 before image 1 but display them in the correct order. This is becasue image 1 ...
4
votes
1answer
497 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} ...
2
votes
1answer
172 views

Referencing figure not working in Gummi

Ok so I'm trying to reference a couple of images from my document. The code is: \begin{figure}[htp] \centering \includegraphics[scale=0.70]{grafico2.jpg} \caption{Aceleramiento con las 4 primeras ...
4
votes
1answer
394 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
73 views

Floats: Figure labels matching the section they are in

When I label my figures, they are labelled Figure 1, Figure 2, ... How can I have the labelling match the section it comes from? That is, if Figure 2 is in section 3, it will be labelled Figure 3.1. ...
5
votes
2answers
127 views

global relabeling of all figures

Can I global change all figures and references to figures up one starting from figure 10? So figure 10 and all references to 10 become 11 and so on? I should probably add that I have about 30 ...
3
votes
1answer
149 views

Labels do not increment

In my document, I have a lot of short case studies, which I would like to number, just like figures. So I am using this: \subsubsection{Case study \ref{cs:this}: Title} \begin{figure} \label{cs:this} ...
0
votes
0answers
17 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
35 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} ...
4
votes
2answers
963 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
151 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
23 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
46 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
358 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
444 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
375 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
72 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
646 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
156 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
59 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
413 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
666 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
215 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
316 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 ...
5
votes
2answers
639 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} ...
3
votes
2answers
1k 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
646 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
137 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 ...