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

14
votes
6answers
2k views

Which equations should be numbered? [closed]

Is the best practice to number all equations, or just those that will be referred to?
6
votes
1answer
50 views

cref multiple labels don't grab the label type

I have a strange situation where cref is working great for single labels, i.e. \cref{eq:some equation} and for the first two multiple references of the form \cref{thm:first theorem,thm:second ...
1
vote
1answer
37 views

Reference equation number in subscript of equation.

I have some chemical reaction equations which I want to reference in the subscript of an inline equation. \begin{subequations} \begin{align} \cee{ \text{NO} +\text{O}_3 &-> \text{NO}_2 ...
4
votes
1answer
29 views

Trouble using namedef and nameref to augment the default \ref command

I'm trying to enhance the builtin \label and \ref commands to let me add some additional text to the number typically associated with a reference. That is, I want to say ...
1
vote
1answer
34 views

How to add shortcut to slide of contents in beamer?

I need to have shortcut on every slide to the content slide, which is located in the end of the presentation. I was trying to do this: \documentclass{beamer} \usepackage{hyperref} \makeatletter ...
1
vote
1answer
57 views

Why are URLs not appearing in References with Bibtex?

Solution! Big thank you to CFR! Bibtex is not the best way for a lot of online material. Bibtex was developed before web while Biber particularly for content during the time of web. More about ...
3
votes
2answers
128 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 ...
1
vote
1answer
54 views

LyX doesn't know `eqref`?

LyX somehow can't use eqref. (I use version 2.0.2 and wouldn't want to update, if possible, since I've set up everything in a very specific way and wouldn't like a new version to perhaps tamper with ...
1
vote
1answer
38 views

varioref's \labelformat for own environment

I defined my own environment for short pseudo-algorithms, and I would like to use the \labelformat command to change the output of \vref. Varioref's documentation says: "The command takes two ...
4
votes
1answer
46 views

Repetitive reports

I have a report that uses the same number a lot of times throught the text (money reference $). There`s a way to automate this refference so I update only the "main field"? Thanks Example: pg. 1 = ...
1
vote
1answer
43 views

Problems with \nameref{} not refering to the correct label x titlesec

I'm using hyperref package to do cross-referencing, but I'm encountering some problems and it is related to \usepackage{titlesec,titleps} , for instance: \documentclass[a4paper,12pt,twoside]{report} ...
6
votes
3answers
344 views

How to make the asterisk a part of a counter?

I am writing a usual article in amsart style using amsthm package to number the theorems. I need to enumerate certain conditions, while two of them have to bear the same number differing only with an ...
3
votes
1answer
52 views

How do I get amsrefs to include the publisher’s name in a cross-reference?

I have the following example for doing cross-referencing using the amsrefs package: \documentclass{amsart} \usepackage{amsrefs} \begin{document} Please see \cite{B} for more details. ...
6
votes
2answers
81 views

Handling tedious casework

I'm typesetting a math paper, where at many points I need to break proofs into several cases. I've been putting these just in an itemize environment, but this is a confusing, because things like ...
2
votes
1answer
77 views

Table row content, duplicate or quote in a different table

Following on from Arbitrary named counter, referenced, which was answered very comprehensively, I have a follow up question. This one's difficult to describe so my searching around the internet and ...
32
votes
1answer
27k views

\ref Chapter Name in LaTeX [duplicate]

Possible Duplicate: Get the title instead of number of a referenced chapter? Is it possible to use \ref{chap:conclusion} to refer to the actual name of the chapter instead of the chapter ...
4
votes
3answers
112 views

Why does \label not work in math mode when using [fleqn] with amsmath?

Try the following \documentclass[11pt]{article} \usepackage[fleqn]{amsmath} \begin{document} \newcounter{eqnthing}\setcounter{eqnthing}{0} \[a+b=c\refstepcounter{eqnthing}\label{maththing}\] \par ...
2
votes
2answers
38 views

Automatically not emphasizing references inside propositions

Is there a way to make reference not emphasized in proposition ? For propositions I used the standart AMS packages, so everything is emphasized in it. Thus, when I insert a reference, it also ...
1
vote
0answers
24 views

reference to equation from other lecture in class beamer

I'm using the class beamer to prepare lectures. I want to make a reference to a formula given in last week's lecture, but I get only question marks. Example input: \documentclass[handout]{beamer} ...
3
votes
1answer
50 views

itemize environment inside theorem

When I have an itemize environment inside a theorem and refer to the theorem later on, the document doesn't point to the right location. For example, consider the following toy example: ...
2
votes
1answer
49 views

said to have multiple labels in math environment

I basically have the following LaTeX code which is supposed to show a numbered equation and a reference to this equation: \[ i^2 = j^2 = k^2 = -1 \] \begin{equation} \label{eq:ijk} ijk = -1. ...
3
votes
1answer
37 views

Cross-referencing to included PDF with counter and argument in the label

I would like to use the following code for including PDF documents in my LaTeX document: \documentclass[12pt,a4paper,fleqn,parskip=half]{scrartcl} \usepackage{lscape} \usepackage[latin1]{inputenc} ...
6
votes
2answers
63 views

Get list of unused labels [duplicate]

I have a long article (~20 pages) with lots of equations being numbered and stuff. For a good cleanup, I would like to unnumber the unused equations. I am aware I can hide the unused numbers, but I ...
42
votes
1answer
3k views

How can I get LaTeX to warn about unreferenced figures and unused labels in general?

When writing documents, I consider it to be necessary that all figures and tables are referenced (\ref) in the text, whether or not I've remembered to \label them. LaTeX does not currently warn if a ...
1
vote
0answers
36 views

\bibliography only shows references from the template

I have the following codes: thesis.tex \usepackage[square, numbers, comma, sort&compress]{natbib} \bibliographystyle{plainnat} \bibliography{Bibliography/sample.bib} ...
1
vote
1answer
30 views

Right language for reference to appendix

I used the package "cleveref" to make references to appendix, so that: \documentclass[...(various arguments)...]{scrbook} \usepackage{cleveref} .... .... \begin{document} ... As I show in ...
6
votes
0answers
58 views

Cleveref isn't sorting nested lists properly

I wanted to use the cleveref to automatically sort cross-references, but for some reason it isn't sorting labels in nested enumerate environments properly. This is my reduced code: ...
0
votes
1answer
73 views

Appendix reference numbers and titles

My issue is related to adding the Appendix using \chapter. I am defining Appendix as follows: \chapter{My Appendix Title} % Main appendix title \label{AppendixTemplate} % My Appendix content here. ...
5
votes
1answer
70 views

Can I use cleveref and endnotes together?

I'm trying to setup my article with notes such that: Notes are not shown at the bottom of the page Notes are shown at the end of the article (no need to show them after each section or so) I can ...
2
votes
2answers
1k views

Problem with cross referencing using gather environment

I am using gather environment to write bunch of equations. When I try to cross-reference those equations, the equation number doesn't show up. Here is my code \documentclass[12 pt]{article} ...
1
vote
2answers
63 views

Referencing a table in latex

My latex document is given below. \documentclass[12pt]{report} \linespread{} \usepackage{fancyhdr} \usepackage{amsmath,amssymb} \usepackage{caption} \usepackage{relsize} ...
0
votes
0answers
31 views

How to automatically add page number for referenced figure/table if not in the immediate text vicinity

I have realised as I write my thesis that at times I need to cite figures from completely different sections to discuss a point that is connected (some are figures in future sections some in past). ...
1
vote
1answer
44 views

custom chapter numeration vs hyperref [duplicate]

I wanted to change the chapter numeration in such a way that the introduction of my thesis has number I and the first chapter has number 1 and so on. So I changed the style of the numeration using ...
46
votes
6answers
34k views

Reference different places to the same footnote

For example, I want to make footnotes both at Sentence 1 and Sentence 2 (which are on the same page) to the same footnote. Wikipedia's "References" have this effect.
3
votes
2answers
56 views

Label at the end of a breakable tcolorbox

I use the tcolorbox package to draw breakable boxes across pages. I can refer to the beginning of the box with the label key. Is there an automatical way to refer to the (page of the) end of the box? ...
0
votes
0answers
19 views

How to transfor “t.” into “vol.” with the french version of citeyear? [duplicate]

I use the package : \usepackage[style=authoryear, language=french]{biblatex} I have followed the instructions given for this precedent question Missing “Vol.” and “No.” in biblatex/biber to add the ...
2
votes
1answer
510 views

Referencing tables in pandoc

Pandoc allows referencing images via inline Latex commands. However, it seems it does not work for tables. I'm aware of several workarounds, including manipulating a resulting TeX file manually, but ...
2
votes
0answers
22 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 ...
2
votes
1answer
55 views

Can we add page references to a page containing a certain sentence?

The title basically says it all. As an example: I'm writing a conclusion and would like to refer to the page on which I wrote a discussion covering this part my conclusion in more detail. ...
7
votes
3answers
233 views

Reference to List Items in Theorem Environment with Label Type “Theorem”

I'm trying to set up references to list items in theorem environments. Using the thmtools and the cref-package I am able to reference theorem environments, such that the theorem type, e.g. theorem, ...
2
votes
1answer
60 views

External references: Cannot reference memoir labels in other document classes

Is there any way to reference memoir labels in other document classes? I've written my thesis in memoir and is now preparing slides in beamer, in which I want to reference elements in the thesis ...
16
votes
3answers
13k views

Reference name of description list item in LaTeX

(Repost from Stack Overflow) I'd like to refer to a description list item by name instead of number. To that effect, I've added labels to each item, but when referencing them I only get the name of ...
2
votes
0answers
39 views

change on natbib references

I'm using abbrvnat as my bibliography style, and I wanted to change three things on the way the references are displayed in the bibliography section: 1) Change all of author's name in the reference ...
2
votes
1answer
103 views

Lyx, harvard style reference help

i need to produce the following reference style in Lyx -> (AKAMAI, 2013). i'm Having lots of problems in finding a way to produce the above mentioned reference style. Any help how to achieve this ? ...
2
votes
1answer
58 views

ConTeXt: Cross-references for Table of Contents hyperlinks

Background Looking to customize the table of contents. Problem In the example, the following problems exist: The last entry in the table of contents is not hyperlinked. All hyperlinks are off by ...
2
votes
1answer
53 views

algorithm2e labelformat and size of list of algorithms

I use algorithm2e to put algorithms in my documents, and I use \listofalgorithms to have a list of my algorithms in the table of contents but I noticed that their title size are a bit different: "List ...
2
votes
1answer
36 views

Wrong figure number at \ref [duplicate]

I'm writing a tex where I have several figures at my chapter 3, I guess it is 27 figures. after my section 3.3 my (figure \ref{fig:.......}) are giving me the wrong figure. when it should be giving ...
0
votes
1answer
48 views

compatibility cleveref and varioref amsmath [duplicate]

I try to use cleveref and varioref and ams* packages together. But I get some trouble, equations and sections label type seems to change and that does work well. Here is my example: ...
3
votes
1answer
98 views

Page numbering range with first - last page [closed]

I've been trying to output a page range, including the first and last page numbers of the chapter (e.g. "p. 20 - 39"). I've been using the \pageref{LastPage} command for the last page of the chapter, ...
5
votes
1answer
74 views

How to reference properly when citations are grouped by sections

I want to number and prefix my references in each section by the number of the section. However, I need to cite a reference from a section in another subsection, but my solution does not allow it. ...