{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
1answer
14 views

How to make a cross reference of a figure inside ordered lists?

I inserted an image inside an ordered lists like Plan 1. Separate the samples (figure 1 ) 2. Clean the samples as shown in (cross-ref of figure 1). I labeled the ...
0
votes
0answers
28 views

How to make linkable tags [duplicate]

I am new to tex.SE! I know how to use the most basic LaTeX features, like compiling a pdf document from a single source file. But I feel I can only use 1% of the full potential of LaTeX. One thing ...
4
votes
1answer
49 views

cleveref: crefname with accentuated initial

I am French and I would like to change a crefname. The problem is that adding a crefname beginning with an accentuated letter brings an error when using \Cref command. Here is my MWE: \documentclass[...
0
votes
1answer
46 views

No information from the .log file about unresolved references

In October 2013 (question 136902), it was asked where one can explicitly find unresolved references in one's LaTeX encoding. The reply was: in your .log file. This used to be the correct and helpful ...
1
vote
0answers
36 views

Bibtex author name

I have a weird problem with my references. I'm using numbered reference system and everything works fine except for one reference entry. I have isolated the problem to the author field, because if I ...
2
votes
1answer
59 views

using tag inside table

Say I write a table twice, and want the second table to have the same numbering as the first. With equations, I know how to do it. However, with tables this does not work. The following is what I ...
5
votes
2answers
126 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
93 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
240 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} \usepackage{...
1
vote
0answers
61 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
12 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 ...
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 ...
3
votes
1answer
40 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} \usepackage{...
1
vote
0answers
50 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
32 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 ...
0
votes
1answer
71 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
98 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 ...
0
votes
1answer
31 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
74 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 ...
1
vote
0answers
56 views

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

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} a=...
1
vote
0answers
38 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, \cref{foo2,...
3
votes
1answer
19 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 ...
1
vote
1answer
72 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 ...
4
votes
1answer
69 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
35 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
24 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} 4.\renewcommand{...
22
votes
3answers
2k 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 ...
1
vote
1answer
58 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 ...
2
votes
1answer
58 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
31 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} 4.\renewcommand{...
3
votes
2answers
38 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
67 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] \chapter{...
6
votes
2answers
173 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 (...
2
votes
1answer
78 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: \...
1
vote
1answer
69 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
37 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
36 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 ...
2
votes
0answers
62 views

Ignore special characters in \newcommand argument to generate section labels? [closed]

I am editing a rather large document and have replaced \section, \subsection etc with \newcommand macros that include \section etc but also spacing and other commands. I am trying to get it to ...
1
vote
1answer
38 views

What should be the relative positioning between label and caption in a figure? [duplicate]

When writing I normally don't care if I write first the caption or the label of a figure. A friend recently told me to write always the caption first and then the label. What reasons are to do this? ...
2
votes
3answers
48 views

Two different kind of reference in a document

I want to use two different kind of reference in a document: one is default with command \refa{} “1.1”, and another is added () around \ref with command \ref{} “(1.1)”. I use: add () around \ref{} for ...
0
votes
0answers
43 views

How do I get warning when a label is not defined but we are refering?

I am writing a lecture notes for M.Sc Students... The first chapter was prepared some months ago and I forgot that the places that I have referred a particular example/exercise given in the first ...
4
votes
2answers
45 views

customize \label and \ref

This must be easy, but my TeX knowledge is insufficient. How can I make \label{key} in an enumerate environment reference the item's enumi instead of the item's \theenumi (which seems to be the ...
2
votes
1answer
117 views

How to cross-reference an unnumbered theorem using hyperref and cleveref

In two previous questions (i.e. Distinguishing \ref and \cref through different colors, and ''Proof of Theorem x'' header trough modification of \ref) I addressed some problems I had with hyperref ...
0
votes
0answers
19 views

error related to Missing \endcsname inserted when editing reference

I am editing a reference.tex and I encountered this problem when compiling. I typed line 55 several times and tried to deleted this line, but the still cannot fix it.This is my code. This is error ...
3
votes
3answers
92 views

Remove all pdf hyperlinks while maintaining hyperref formatting

I want to split a pdflatex pdf document into two parts. The second part has references to the first part, which are hyperlinks and which I want to remove, without changing the visual appearance. So I ...
5
votes
1answer
37 views

How can I avoid a persistent warning concerning possibly changed labels when using background and TikZ?

Last month, I posted the following code as an answer to a question. The code gives the right output. However, what I did not notice but Thérèse did is that it generates a warning concerning undefined ...
1
vote
1answer
37 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í čísel}\label{vytvuxe1ux159eni-poluxed-...
2
votes
1answer
41 views

Referencing a Source Code Listing

I would love my listings to look like this: With the references as shown. is this possible? Would I need to use TikZ? I have done a pretty exhaustive search but can't find out how this was ...