{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)

5
votes
2answers
59 views

tufte-book: tikz references in caption

Using the article documentclass, the following code works as expected. \documentclass{article} \usepackage{lipsum} \usepackage{caption} \usepackage{pgfplots} \pgfplotsset{compat=1.13} ...
5
votes
2answers
70 views

Reference with compound labels

I created an environment, Procedure, using the package tcolorbox. The procedures are numbered by \thechapter-\theproc and I would like to use cleveref to refer to them. Here is a minimum working ...
7
votes
5answers
165 views

Two labels on the same equation line

I would like to have a compact set of two equations on the same line, each one labeled, with both labels on the far right. The code would be something like: \documentclass{article} ...
1
vote
0answers
29 views

Referencing tufte-book sections

I am using the tufte-book class without section numbers which looks very nice. Is there a visually appealing way to reference chapters and sections? Here is what I am doing at the moment, but I would ...
0
votes
0answers
11 views

Make cross references and table of contents linked, clickable objects [duplicate]

I'd like to ensure my PDF is easy to navigate so is there a way to have the TOC allowed to be clicked to get to various chapters and sections, similarly with the cross references to allow jumping ...
1
vote
1answer
25 views

nbconvert-generated labels fail with babel, work without it or with large margins

I'm using ipython nbconvert (which uses pandoc) to transform an IPython notebook and the document code contains the following lines \subsection{Vytvářeni polí ...
2
votes
0answers
13 views

Show complete reference in the output [duplicate]

I'm using a bib file to insert all my references. The bibliography is generated ok in the output. However, some references are shown between two pages (it means, the reference starts at the end of one ...
0
votes
0answers
14 views

Combine: How to reference a paper in the introduction

In the table of contents that combine generates, I would like the paper names to include numbers: 1 First paper 2 Second paper Then, in the introduction, I would like to refer to them: In Paper ...
2
votes
1answer
40 views

Custom Figure Citation Linking Text

Below is my Coding \documentclass{article} \usepackage[colorlinks]{hyperref} \begin{document} To test whether Figure \ref{fig1} a suspicious URL is vulnerable, we utilize the URL to download a ...
3
votes
1answer
33 views

Perform math operation with values of \labels

I use \label to index the number of items in several environments. I wish to perform the sum of the quantities reported by those labels. Here is a working example: \documentclass{article} ...
1
vote
0answers
30 views

Escaped characters in labels

I am writing some API documentation, and since I don't like to repeat myself I would like to make some commands and call those for parts that get repeated a lot. However, I am having trouble with ...
4
votes
1answer
30 views

Cross reference custom ID

I have a table of requirements that have an ID associated with each one, I'm doing this via: \stepcounter{functionalrequirements}FR\arabic{functionalrequirements} I'm wondering if there is a way ...
1
vote
1answer
26 views

Autoref not properly placing links

I have the following code: \autoref{fig:vc_dimension} \begin{figure}[t] \begin{subfigure}[b]{0.5\textwidth} \centering \includegraphics[width=\textwidth]{vc_dimension_1} \caption{...} ...
6
votes
2answers
285 views

Varioref, cleveref and autonum together

I'm trying to mix varioref, cleveref and autonum to have the following behaviors: Automatic adding of reference type (i.e. adding "section" when referencing a section). -> cleveref; Adding the "on ...
0
votes
1answer
37 views

Why when using the template I get errors?

I would like to use the template for Springer journal. I have already written my article in another latex file. 1) Why I get errors when I use the template as-is (after changing its name saving it as ...
1
vote
1answer
24 views

LaTeXing autofill ST3 multiple file project

I'm writing my thesis in LaTeX using Sublime-Text3. Since my document is quite extensive, it's easier for me to handle it in a project. Also suggested by LaTeXing Guide (part2). My .sublime-project ...
0
votes
1answer
34 views

Wrong number when reference inside algorithm

\usepackage{algorithm} \usepackage{algorithmic} \begin{algorithm}[tb] \caption{Algorithm} \label{alg} \begin{algorithmic}[1] \STATE blalblabla \label{cond1} \STATE ...
0
votes
1answer
22 views

Referencing style in Lyx

Journal example: Gray, Jo Anna. (1976). "Wage Indexation-A Macroeconomic Approach." Journal of Monetary Economics 2, 221-235. Book example Blanchard, Olivier J., and Stanley Fischer. (1989). Lectures ...
1
vote
1answer
240 views

LaTeX external document referencing from Main tex file

I have a file structure like this Main.tex chapters (folder) Chapter_1 (folder) chap1.tex Chapter_2 (folder) chap2.tex To refence diagrams and equations from chap1.tex in chap2.tex, I ...
4
votes
2answers
60 views

How to get cleveref to explicitly list each reference rather than joining them?

I am using cleveref's \cref{label} command with multiple arguments. I want to ensure that it explicitly lists all three sections that I am referencing regardless of if they are in order or not. At ...
1
vote
1answer
54 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} ...
1
vote
0answers
49 views

\eqref inside \align with \usepackage[overload]{empeq} [on hold]

I want to put\eqref inside \align. For example \documentclass{article} \usepackage[english]{babel} \usepackage{amsmath} \usepackage[overload]{empheq} \begin{document} \begin{equation}\label{eq1} ...
1
vote
0answers
27 views

Compress “page” label with varioref and cleveref

In case of multiple cross-references of same kind (say sections), even if not consecutive, cleveref's \cref command compresses the references' labels by using the plural form: for instance, ...
36
votes
4answers
1k views

Document requiring infinitely many compiler passes?

It is an unfortunate reality that one must compile a LaTeX file several times in order to get all labels and citations correct. As far as I know, one should go on compiling as long as TeX warns that ...
3
votes
1answer
18 views

Additional information on first occurrence of a product name

I refer to companies and products multiple times throughout my publication. The first time I mention a product I would like to provide additional information about this product like so: Microsoft ...
57
votes
3answers
31k views

Cross-referencing between different files

I want to cross-reference between different .tex files, just because I want to put every chapters separately. Let's say in file chapterI.tex I have \label{a} and I want to access this in file ...
0
votes
0answers
32 views

multilingual references

Just for curiosity... Is it possible to include into your references articles that are published in different languages? Let's say for instance that one of my biblatex entries is written in greek, ...
1
vote
0answers
13 views

URL of web page in bibliography not output

First time trying to write my thesis in Lyx which has been great up until this point, and getting rather close to submission time I have noticed that webpage references are not outputting with the URL ...
21
votes
3answers
1k views

How does LaTeX know the page number of a reference?

I am creating documents with various references, citations, an index, table of contents, and other linked elements. How does LaTeX know how to properly cross reference a page while properly formatting ...
6
votes
1answer
1k views

Putting an underscore in a \label

I am trying to use pdflatex to type set some files that have underscores in the \label. Such as \label{abc_xyz} and have been unsuccessful. I keep getting errors such as: ! Missing \endcsname ...
4
votes
1answer
67 views

Example of LaTeX code that does not compile [duplicate]

In the excellent answer by egreg to the question How Does Latex Know the Page Number of a Reference he said that [t]his is not completely foolproof and there are examples around of cleverly ...
1
vote
1answer
19 views

Cross reference chapter number as string

I'm trying to print the chapter number of a cross referenced labelled chapter, not as an Arabic or Roman numeral, but written out as a word. I have managed to find some information here, which ...
0
votes
0answers
15 views

False numbers in cross-reference of item from enumerate

I defined the labels of items from enumerate as following: 1.\usepackage{enumerate} 2.\renewcommand{\theenumi}{\arabic{enumi}} 3.\renewcommand{\labelenumi}{\theenumi} ...
0
votes
0answers
8 views

References in section text but appearing next to section heading

I am using Bibtex and want the references to appear next to the section heading. If you put them in the heading the references then appear in the TOC. As a result instead of being references [10] ...
2
votes
1answer
58 views

Reference to the name of subequations

I have a formulation that consists of several subequations that I would like to refer to as a formulation and as individual equation in my article. Right now I have this: \usepackage{hyperref} ...
3
votes
1answer
46 views

Reference to not yet written object (supress warnings)

Is there a way to make references to not yet written code? Basically I just want to supress warnings that appear, when I write \ref{}, cause I happen to have references to things, that will come ...
1
vote
1answer
35 views

How to refer back to equations [duplicate]

I am using \begin{equation} \end{equation} to number my equations in my text. But I normally mention these equations in the further text. E.g., In equation 3 .... But if I change the former equation ...
1
vote
1answer
114 views

glossaries: display `see` reference but not page numbers

I am trying to display the see cross references but not the page numbers in my document. I understood that it's impossible with the means provided by standard, so I tried to use ...
1
vote
1answer
33 views

cross-references with xindy

I'm using xindy for my index. And I would like to have cross-references inside. But when I do so, the page number associate to the entry with a cross-reference disappear. Here is a MWE: ...
2
votes
1answer
22 views

Force the numbering of a specific equation when mathtools showonlyrefs is true

In order to don't waste time in adding/removing *-caracters to number or not equations, I use \mathtools{showonlyrefs=true} in the preamble. Nevertheless, sometimes I'd like to number unreferenced ...
0
votes
1answer
22 views

No dots in the cross-reference to an item from enumerate

I defined the labels of items from enumerate as following: 1.\usepackage{enumerate} 2.\renewcommand{\theenumi}{\arabic{enumi}} 3.\renewcommand{\labelenumi}{\theenumi} ...
3
votes
2answers
33 views

Incremental text markers

I want incremental markers on text that I can reference afterwards. I'm building a index of limitations so something like this would be nice: \limitation{limitationInternalIdentifier} So in its ...
3
votes
1answer
49 views

Hyperref refer chapter and page in text

\documentclass[oneside,10pt]{book} \usepackage{amsmath, amsfonts, amsthm, amssymb} \usepackage{hyperref} \usepackage{blindtext} \begin{document} \chapter{something} \blindtext[1] ...
6
votes
2answers
165 views

Have latex warn when I refer to an item that occurs later?

I'm writing a long mathematics book. Sometimes after I move things around, an internal reference (\ref{...}) will refer to an item that occurs later in the text. For example, a proof may ...
5
votes
1answer
206 views

(Clickable) cross-reference in lstlisting

To generate documentation for an 'application programming interface', I would like to have a syntax highlighted area (with the class declaration), which has clickable links to the documentation (which ...
1
vote
1answer
43 views

debugging missing reference to figure

to put it plainly: is there a way to debug the way a \begin{figure}...\end{figure} block is processed? I got all my figures in my paper, their references are alright except for 2 of them ...
1
vote
0answers
28 views

Interactive pdf. Moving between lines

I made a quiz in LaTex for my exam, and my professor wants me to do the following. When I click on a solution of a problem in the pdf, I would get as a result the problem which is given for that ...
1
vote
0answers
32 views

Reference a picture [duplicate]

I am writing a PhD thesis. Sometimes when I reference to a figure the following problem occurs. In PDF the word Fig.[number of figure] are written in two lines (Fig. and [] are separated). How to ...
0
votes
0answers
10 views

labeling lines in text body [duplicate]

Is it possible to set "label markups" or a "placeholders" in a text, to refer to a particular line? I am thinking of this in the context of academic article revision, where usually people comment on ...
6
votes
2answers
2k views

Is it possible to re-insert a LaTeX equation by label?

Is it possible to re-insert an equation in LaTeX via referencing the original equation by label? I already know, it is possible to: reuse the original equation numbering via \tag{} as described here ...