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

4
votes
1answer
34 views

Referencing all uses of a multiply defined label

I want to be able to apply the same label multiple times and have a referencing command, that lists all uses of that label. Minimal example: \documentclass{article} \newcounter{example} ...
8
votes
1answer
56 views

\pageref, but for columns

I need to point to a label on a page, but as my text is layed out in two columns, I'd also like to include the column (1 or 2). Is there a way to find out which column a label is in? ...
2
votes
1answer
60 views

\label does not work

am looking help for two things. (1) I would like to write the text as 'In Fig. (1) and in Fig. (2a)', for which the TEX is written as follows: Shown in Fig. (\ref{fig:main}) and shown in Fig. ...
3
votes
0answers
23 views

Different reference numbering per chapter [duplicate]

I have a LaTeX document broken up into chapter, sections, and subsections. The theorems are numbered according to the section. If I reference a theorem from a particular chapter in the same chapter, ...
3
votes
2answers
53 views

ref to subsection number only

is there a way to reference the subsection part only? Example: \documentclass{article} \begin{document} \section{This is my section} For further information see subsection \ref{subsecthree} within ...
6
votes
1answer
35 views

Cross-referencing to self-made counters in Alignat environment

I am using the alignat environment for equations. Now, I want to refer to some places in this environment. I have made a counter to do so. \documentclass[a4paper]{article} \usepackage[fleqn]{amsmath} ...
4
votes
2answers
106 views

Build kind of a \includeonlypart for Beamer

(This is a follow-up to a previous question that recieved an answer, but raised a new issue that is presented here) Goal Given that (as far as I know) Beamer doesn't provide a way to include only a ...
4
votes
1answer
53 views

Multiply defined labels with \usebox

I want to duplicate some content without re-defining its labels. For example, \newbox{\foobox} \sbox{\foobox}{\vbox{\section{Foo}\label{sec:foo}} \usebox{\foobox} \usebox{\foobox} will emit a ...
2
votes
0answers
61 views

Mysterious error message regarding missing reference

At the very end of my pdflatex compilation, I get the following error messages: (see the transcript file for additional information)pdfTeX warning (dest): name {theorem.10.2} has been referenced but ...
6
votes
1answer
68 views

caption+autonum+{a certain structure}=freeze

PDFLaTeX'ing this results in a freeze: \documentclass[12pt]{book} \usepackage{caption} \usepackage{autonum} \begin{document} \begin{figure}[ht] \begin{align} x=y \end{align} \caption{Caption} ...
6
votes
2answers
61 views

How to get boxed citations and references but colored,unboxed \hrefs

It seems that if I change from boxed links to coloured links using the \hypersetup{colorlinks=false,true} command from the hyperref package, this has a global effects on all types of links, be it ...
2
votes
0answers
61 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 ...
3
votes
1answer
35 views

reference the table of contents/ hyperlink

when i use the \tableofcontents or \listoffigures, it creates a page with the hyperlink placed on the name of the section.There is a red square around the title. However i want the hyperlink to be on ...
2
votes
1answer
65 views

Customizing referencing

Suppose, I want to add a \bullet just before every reference(like ). How can I do that? EDIT: Say, I use a \ref{key}, when the \label{key} points to a section, it is shown only as a number: ...
0
votes
0answers
26 views

Make glossaries contain exactly all referenced and cross-referenced keys

The documentation of the glossaries package states about the see key Note that in this case, the entry with the see key will automatically be added to the glossary, but the cross-referenced ...
5
votes
2answers
107 views

Splitting(!) one latex document into two pdf outputs including references

I have a quite huge thesis-latex-document with lots of references to the appendix. The whole document I would like to split into two pdf-files. That means: I would like to have the thesis and the ...
9
votes
2answers
71 views

Cleveref: Parentheses around references to subequations using \labelcref

Using the Cleveref package (v0.19) i have a problem with missing parentheses when referencing to subequations, using the \labelcref command. Here is a MWE: \documentclass{article} ...
4
votes
1answer
84 views

How can I reference line numbers in an external source file (e.g. C++) in a maintainable way?

I doubt there's a very efficient way to do this, but LaTeX seems to be capable of just about anything. I'm writing up a document to explain a piece of C++ source code to future users of the package. ...
1
vote
3answers
89 views

How can I reference a formula with an on going numbering?

I work with LaTeX for long time and I used eqnarry. But that's obsolete so I gave equation and aligned a try. The problem is, that if I reference to my equation it shows the chapter numbering (?), but ...
2
votes
2answers
114 views

Why can't I renew the \label command in math mode?

When I'm writing a paper and want to refer to a section, figure or equation in a different part of the document, I end up spending a lot of time scrolling through my source code so that I can see what ...
7
votes
2answers
50 views

Problems with theoremref

I'm having some problems with the theoremref package. Basically, instead of giving me as output something like "Lemma 1.1.1", where "Lemma" is the name of the theorem, it gives me something like "lem ...
2
votes
1answer
60 views

Is it possible to use abbreviations with cleveref?

I would like to use the full name in most circumstances for references. But sometimes, e.g. in $\xRightarrow{\cref{prop:15.2d}}$ the full name might be too long. In this example, it gives ...
10
votes
1answer
94 views

How can I get cleveref / enumitem to print, not 'item (e)', but 'Proposition 1 (e)'?

I currently make use of enumitem and cleveref to show references to theorems. Sometimes, I want to reference a point in a list inside of a theorem. It should show [Name of theorem type, e.g. ...
8
votes
1answer
60 views

Reference range of sections with a dash

In my document, I reference a string of sections within a sentence. A representative example would be: I am referencing Sections \ref{A}, \ref{B}, \ref{C}. This then comes out t something like: I ...
4
votes
1answer
78 views

biblatex: segmented bibliography with name of chapter

I am writing a document with chapters where references for each are sectioned in a 'global' bibliography (Using biblatex/biber). I get properly sectioned bibliographies (e.g. 'References for Segment ...
2
votes
0answers
42 views

Reference in chapter's name. How does it look?

Have you ever come across to a reference in chapter's name? More precisely, I'm about to use reference to a equation in the name of one appendix - there is no way to describe that particular equation. ...
1
vote
1answer
72 views

Why isn't eqref working?

I am trying to use \eqref as in the following, but instead of (1), I get a set of blank parentheses as the result. Could anyone help me fix the problem? \documentclass[10pt]{article} ...
1
vote
1answer
58 views

How to create inner section like environment with sub-table of contents?

Is there an easy way to create a inner section like environment that can produce a sub-table of contents at a preferred location? The sub-table does not necessarily need to give page numbers, but it ...
2
votes
0answers
59 views

\label not written to aux file [closed]

In rare situations, when \label is used at the very end of a page, the result is not written to the aux file (I have a complicated example with the cvmodern class but unfortunately cannot provide a ...
5
votes
0answers
68 views

customizing cleveref for pair of subfigure references: [1a and b] instead of [1a and 1b]

I am using the cleveref package and I am very happy with it. However, I encountered one problem I wasn't able to solve. I am probably just not combining the syntax correctly. This is highly connected ...
5
votes
1answer
41 views

Get ref to show full, cumulative reference to nested item

I'm using enumitem and trying to label items with only their current level, but reference them with their full "absolute" value. Here's a sample document: \documentclass[letterpaper]{article} ...
4
votes
1answer
81 views

How to change the font of a cross reference made using \ref

I am using the Cambridge University Press book class cambridge7A (available at http://authornet.cambridge.org/information/productionguide/laTex_files/ and much used by CUP authors) A minimal example ...
4
votes
0answers
68 views

Format \ref as a roman numeral? Strange bug [closed]

How do I get a \ref to format as a Roman numeral? At the moment I have the code: \newcommand{\appendixref}[1]{Appendix~\romannumeral 0\ref{#1}\relax} This works great... except for when it ...
2
votes
1answer
155 views

Reference a slide in Beamer

I have an example in my beamer presentation which I mention in another page. I want to include the page of that example in an automatic way. Here is my code. The reference to the example is on the ...
4
votes
1answer
33 views

Glossaries: “see” having no effect

I tried to implement the glossaries package in my document and it works pretty well. But when it comes to the "see" option, I'm currently facing some trouble: whether I include a see=entry2 or not, is ...
14
votes
1answer
173 views

How to diagnose a permanent “Label(s) may have changed” warning?

I'm getting the following warning: LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right. The problem is, it doesn't go away after rerunning (any number of times). The ...
2
votes
0answers
62 views

Cleveref's \crefrange and mixed equations and subequations

This example doesn't work with the latest version of cleveref. The line Refer to \crefrange{eqa}{eqc}. gives the output: Refer to ?? 1–3. It used to work before. Can anyone explain how to fix it? ...
3
votes
1answer
33 views

references don't show up properly with use of some unusual *.cls

\documentclass{imuwbth} \begin{document} \chapter{chapter1} \begin{dfn}\label{WP} \emph{WP} is called something when it meets: \begin{equation}\label{W0}\tag{W0} 0=0 \end{equation} ...
9
votes
1answer
145 views

Remove numbering of unreferenced theorems

Can theorems, lemmas, etc., be automatically displayed without numbers if not referenced (like \mathtoolsset{showonlyrefs} for equation tags)?
3
votes
1answer
75 views

Macro for reference to a figure with a page number [duplicate]

I have Figure \ref{sp} which gives Figure 3 I want to get Figure 3, p. 13 Is there any macro for a reference of figure and page number?
3
votes
3answers
148 views

Combining \autoref and \eqref

Say the equation is \begin{equation} r^2 = x^2 + y^2 \text{.} \label{eq:circ} \end{equation} Now, if I use \autoref{eq:circ} I get Equation 1. How do I get Equation (1) (the parenthesis that we ...
1
vote
1answer
73 views

Problem with \ref using texshop [closed]

I'm a noob with latex and I've some problems with texshop. Actually I need to use the \ref but here's the problem. If I use \begin{equation}\label{abc}...\end{equation} ... \ref{abc} then latex "eat" ...
3
votes
1answer
55 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 ...
3
votes
1answer
93 views

Leading zeros when cross referencing

I have a custom counter and output it with leading zeros. When I reference it, I get some real strange output, but the enumeration itself works. Preamble: \newcounter{reqcount} ...
7
votes
2answers
55 views

Reference-able custom section numbering

I am writing some lecture notes from a class that I have on Monday, Wednesday, and Friday. What I would like to do is organize them by sections defined by the week and the day, e.g. 1M, 1W, 1F, 2M, ...
1
vote
0answers
35 views

How to refer theorem of different directory?

My thesis contains several chapters, which I have named like Chapter1, Chapter2 etc. Each of these chapters have a separate folder which contains its files. All these chapters are contained in a main ...
4
votes
1answer
80 views

\ifnumcomp + \ref

I have a definition with 20 cases or so, and a proof about that definition has one case for each case of the definition. I'd like the proof cases to reorder themselves automatically when I reorder ...
6
votes
1answer
104 views

Reference equation in align* environment with cleveref

In order to control equations numbering I use the Align* environment where I put \numberthis at the end of the equation that I want to number. After, I label the numbered equation but when I want to ...
6
votes
2answers
68 views

Smart cross-references between 2 volumes using Zref package

Following the post How to enable smart references when using xr-hyper package for producing multi-volume book? I tried to elaborate required solution using zref package as was suggested by @Andrew ...
44
votes
4answers
1k views

What is the advantage of using the notation 'fig:' in the \label {}?

Reading manuals I always find figure labeled as \label{fig:name}. I wonder where is the advantage of using this notation with fig:instead to start with the name it self. If in my document I have only ...