{cross-referencing} is about making connections from a point in a document to related information elsewhere, usually within the same document. Standard commands are \label and \ref. For questions about citing or bibliographies, use {bibliographies} instead.

learn more… | top users | synonyms (1)

0
votes
0answers
5 views

Importing pgfplot labels from external files

I create large tizk-pictures which require me to use the externalize library due to memory issues. I define these pictures in a secondary file figures.tex which I can compile to receive the pfds of ...
1
vote
0answers
17 views

separate appendix file with cross-referencing [duplicate]

I have a tex file with appendices. The publisher wants separate source files for the body of the document and the appendices. However, I have used many cross-referencing in the appendices that refer ...
1
vote
1answer
14 views

Refer to a glossary entry

I want to refer to a glossary entry from my text or form another entry in the same or from another glossary. What's the label I have to put in my hyperref options like \ref{<label>} or ...
4
votes
1answer
66 views

Reference to enumerate item with manually set label

In my document, I have made an enumerate with several items I will need to reference to. They are numbered with a simple (1), (2)... , but I need a (2') as well. To reference nicely, I was using ...
0
votes
0answers
22 views

Beamer : how to avoid the lack of access to labelled slide (not frame) numbers? [duplicate]

In this animation, I need to access to the number of some labelled slides (not frames) to use this numbers in overlay specification. As far as I know it is not possible What then should be the good ...
2
votes
0answers
111 views

I want to use latex to write a big document with three types of tables

Very concise (vague) question: (4th edit) I want to use latex to write a big document with three types of tables (tableA,tableB,tableC), over time (dates), indexed by many keys(key1,key2,key3,...). ...
0
votes
0answers
23 views

Turn a warning (“Unused label”) into an error

The following example, a follow-up of Give an error if I dont reference a label, generates a warning: \documentclass{article} \usepackage{amsmath} \usepackage{refcheck} \begin{document} ...
3
votes
1answer
50 views

Reference to a slide, not to a frame

This MWE gives me the reference of the frame (1) not the slide (2). I need to have the number of the slide where is a label, how to do this? \documentclass{beamer} \begin{document} ...
3
votes
1answer
45 views

Give an error if I dont reference a label

I would like to have LaTeX compilation (I use pdflatex) give an error if there exists one label in my document that I do not reference. Is this possible? This is to ensure that I mention every table ...
3
votes
2answers
31 views

Undefined references within equations

So my problem is that there seams to be a clash between something in my preamble and the \label{} and \ref{} commands. When I do references within my definition environment it all goes smoothly, but ...
0
votes
0answers
7 views

Problem with the order of reference using IEEEtran [duplicate]

I'm working in my thesis using the IEEEtran reference. \bibliography{bib_DST_Master} \bibliographystyle{ieeetr} But, I have problems with the order from reference. For example, below picture shows ...
1
vote
0answers
24 views

Texmaker/TeXstudio insert label

Is there any way to invoke the list of labels (and then select one for insertion in the text) using either TEXmaker or TEXstudio? As far as I can tell, in TEXmaker you only get the list of labels ...
0
votes
0answers
16 views

Latex figure referencing error. Does not match in the text and in the caption of the figure

I have this: \usepackage{subfigure} \usepackage{wrapfig} \usepackage{hyperref} \usepackage{cleveref} When I try to use automatical referencing in the text it shows Figure 4.1.2 which is the ...
0
votes
0answers
11 views

table label comes out as section label

I'm writing my dissertation in Texmaker and I have a problem in a section. The problem is that I have different tables and in this section only, the cross reference for the label comes out as the ...
0
votes
1answer
26 views

Reference year sequence change

I am working with a report type document, with the settings of: \usepackage[round]{natbib} % omit 'round' option if you prefer square brackets \bibliographystyle{plainnat} \setlength{\bibsep}{18pt} ...
1
vote
1answer
16 views

''Proof of Theorem x'' header trough modification of \ref

I had a problem that was solved in a previous question, and that now is coming back. The idea was to use \ref for internal links with color A, and \cref with nameinlink option in cleveref (!) and ...
3
votes
1answer
42 views

Changing the output of \ref depending on the position of the corresponding \label

My document contains parts and sections. When I refer, for instance, to the section I.1, I would like \ref to output 1 when it is located in part I, and I.1 otherwise. Thus, I would like my document ...
2
votes
1answer
46 views

How can I conditionally reference a figure?

So here's my knitr .Rnw file: \documentclass{article} \usepackage{hyperref} \hypersetup{} \begin{document} \let\ref\autoref <<plot,fig.cap='try'>>= if(rnorm(1) > 0) x = rbinom(1, 100, ...
1
vote
1answer
25 views

Problem with referencing to the the number of an equation when using arabic support of babel

Unfortunately, I have a problem when using babel with arabic. When deferring to the number of an equation, the digits are reversed. In the below document when using (\ref{eq:10}) it gives (01) instead ...
1
vote
1answer
10 views

Problem with cross reference and threeparttable - Lyx

I'm having an issue with cross reference using Lyx. I'm using threeparttable with cross reference inside a float. Although the table number is 1, the compiled file shows me "Table 2" when I cross ...
1
vote
0answers
20 views

Is there a LyX way to add multiple cross-references to a document?

I am using refstyle and can successfully call \chapref{label-1,label-2} in an ERT, which produces the desired "Chapters 3 and 4", but I was wondering if there was a way to do this via the GUI which ...
0
votes
1answer
34 views

Table cross-chapter reference works fine but shows “??”

When I reference a table in a posterior chapter in my thesis, instead of the correct table number it puts ??. However, the link works correctly, and the table appears in the List of Tables fine. I ...
4
votes
2answers
22 views

Beamer: label ref wrong display format

I am having trouble with the format of the referenced subsection in Beamer \documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage{default} \begin{document} \section{mysection} ...
3
votes
1answer
60 views

Cleveref-like command in ConTeXt

Following ConTeXt garden, I set up theorem environments like in the below MWE. I wonder if ConTeXt has a command similar to \cref from the LaTeX package cleveref which automatically adds "Corollary,", ...
0
votes
1answer
49 views

Giving book reference to figures

\documentclass[a4paper,12pt,numbers=noenddot]{scrartcl} \usepackage{amsmath} \usepackage{amsmath} \begin{document} \begin{figure}[H] \centering \includegraphics[scale=0.5]{1.png} \caption{Motion of ...
3
votes
2answers
60 views

\ref overlapping following text

I am looking to reference a section heading in my work but when I use \ref{label} the section number overlaps the following word. I am using the ifmbe document class. (textcomp package is being used ...
0
votes
0answers
27 views

Why no label text 'Definition' shows up when cross referencing to a Definition in lyx?

According to this page Cross reference in LyX, no label text 'Definition' shows up, just the number, when cross referencing to a Definition in lyx. Any suggestion? Thanks.
1
vote
1answer
35 views

How can I cite the subfigures in this form figure (a-c)

I have formatted the subfigures in a figure as following \usepackage{subfigure} \begin{figure} \centering \subfigure[]{\label{fig:sub:a} \includegraphics{...}} \subfigure[]{\label{fig:sub:b} ...
4
votes
2answers
52 views

How can I cite one sub-equation in subeqnarray?

I defined the following subeqnarray \documentclass{article} \begin{document} \begin{subeqnarray} & a_1+b_1=c_1, \label{eq:subeq1} \\ & a_2+b_2=c_2, \label{eq:subeq2} \\ & ...
2
votes
1answer
43 views

Automatically label every item in lists

This is somewhat a follow-up question to "Vertical spacing in enumitem list". Note that the question is incorporated into the example below. \documentclass{article} \usepackage{enumitem} ...
0
votes
0answers
36 views

How to use French-style numbering? [duplicate]

I recently saw an MO post http://mathoverflow.net/a/209494/2383 which claimed that LaTeX does not support French-style numbering, where references to (3.7.6) appear as (6) inside Subsection 3.7, as ...
2
votes
1answer
31 views

How to get \ref to automatically output Table, Appendix etc.? [duplicate]

When I use \ref my output is just the number of the table or letter of the appendix. So for example in my MWE below when I enter See \ref{Test1} my output is See 1.1 and for See \ref{AppendixA} output ...
1
vote
0answers
8 views

reference to figures in the appendix is not correct in REVTEX [duplicate]

I would appreciate any help with a problem that I have with reference to figures in my appendix. For example, instead of (Fig. A.1 ), I only get (Fig. A). I read all the previous posts but they did ...
0
votes
1answer
19 views

Is there a difference between heving \label before or after \caption? [duplicate]

I am wondering if it is recommended to adhere to a convention of defining labels before or after captions. Moreover, if that is the case, why?
0
votes
1answer
24 views

Make reference to a bibliography subsection generated by biblatex

I am using biblatex in my document. I have divided the bibligraphy in 2 subsections, one for scientific articles and the other for codes and regulations. For that I used keywords, as suggested in the ...
2
votes
0answers
79 views

Help with a custom references style

So...I'm not the only one who needs to use some custom style in their bibliography. As I'm annoyed with using office word editors I would like to create a tex template that I can use over and over and ...
1
vote
1answer
20 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 ...
1
vote
0answers
37 views

Strange reference behaviour. (References disappearing randomly)

I am using the MNRAS class https://www.ctan.org/tex-archive/macros/latex/contrib/mnras?lang=en, and I have a very strange behaviour with my references. I am using BibTex, and some times the file ...
4
votes
1answer
66 views

latex thinks reference is undefined

I know that very similar questions have been asked before, but the solutions do not work. I have the following latex code; \documentclass[a4paper,10pt]{report} \usepackage[utf8]{inputenc} ...
1
vote
1answer
37 views

multiple subequations same line with reference

I'm trying to write several equations on one line, include a label for each equation, and also be able to view the equation number for each equation. Is this possible? I've seen several related ...
3
votes
1answer
43 views

Detect forward references (make them different color)

I want forward references to be of different color than backward references. This should work both with and without hyperref (actually, I use it with hyperref only, but for completeness it should work ...
3
votes
1answer
76 views

customised label value number and number with alphacharacters

I would like to print the affiliation number only and number with alphabetic characters. Please find MWE below. \documentclass{article} \usepackage{hyperref} \makeatletter \newcounter{subaff} ...
4
votes
1answer
13 views

theoremref package and other languages

I write in Spanish and use theoremref package. I have a little problem with \thref package: \documentclass{article} \usepackage{theoremref,amsthm} \usepackage[spanish]{babel} ...
2
votes
1answer
26 views

Changing example numbering with gb4e

I want to change the default behavior of gb4e for a small portion of the text. I have a series of modifications of an example that I want to be labelled as if they were subexamples. For example: ...
1
vote
1answer
24 views

How to make table table references capture section and begin each section?

I would like to have table labels refer the section that they are in in addition to the order. For example, in Appendix A, the first table is A1 and in Appendix B it is B1 (rather than table 1 and 2 ...
0
votes
0answers
12 views

Numbered references with authoryear in the text

A small sample of the reference list \begin{thebibliography}{} \bibitem[\protect\citeauthoryear{Binney \& Tremaine}{2008}]{BT08} Binney J., Tremaine S., 2008, Galactic Dynamics, ...
0
votes
0answers
11 views

How to make References bold in the TOC while using chapterbib package

I am using the chapterbib package to have bibliography after each chapter. Also I am using the tocbibind package with option nottoc to have "Reference" displayed in the TOC. What I want is simply to ...
0
votes
0answers
15 views

Changing the appendix figure numbering without losing the working of cross-references

I have been trying to change the figure numbering of the appendix and I have found the way of doing so with: \renewcommand\thefigure{\thesection.\arabic{figure}} However, the labelling in the main ...
0
votes
0answers
15 views

Bibtex doesn't create an output when I run it [duplicate]

I'm trying to use Bibtex to make the bibliography for my bachelor thesis. Although I don't get any error message, Bibtex doesn't create an output with the references. The main .tex is: ...
2
votes
1answer
25 views

Automatically insert “in the next [chapter/section/subsection]” if reference is sequential

I'm aware of the cleveref package \cref which adds the correct reference name (see: Automatically inserting "Section", "Subsection", etc). I have a few references which refer to ...