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

6
votes
2answers
90 views

Getting the number of a chapter-numbered theorem but without the chapter number

Suppose in Chapter 3 I have Theorem 3.17. I need to get the "17", NOT the "3.17" which would readily be obtained using \label then \ref. How do i do that? Edit: (Probably a more relaxing condition): ...
1
vote
1answer
48 views

Bibliography references by hand

For my Master's thesis, I used a formatted latex bundle so I would not have to worry about my University's many formatting requirements. However, the downside is that the Bibtex does not work. I tried ...
12
votes
2answers
151 views

Why does \label create an undesired white space after \phantomsubcaption?

Usually \label does not create any white spaces. However, It creates an white space when \label is used after \phantomsubcaption from subcaption package. Why? How can I get rid of this white space? ...
5
votes
1answer
88 views

Find point of page break in an external document

I am creating multiple versions of a document from a single LaTeX source. Specifically, I have a series of lessons that have an instructor version (with notes and answers) and a plain student version. ...
1
vote
1answer
60 views

How to customize the chapter in front of figure page in listoffigures?

I am using the the packages \usepackage{url} \usepackage{graphicx} \usepackage{rotating} \usepackage[hypcap]{caption} \usepackage{hyperref} to include referencable graphics in my work. The ...
0
votes
0answers
20 views

Different numbers in \label and \ref [duplicate]

I want to reference an image in my LaTeX document. In order to do this, I wrote following code: \begin{figure}[h!] \centering \includegraphics[scale=0.25]{img/2016_02_16_history_site_1.png} ...
5
votes
0answers
27 views

Comparing last character(s) of the output of \ref to manipulate output [duplicate]

I am trying to write a command that will replace \ref in a special way. It will add some text next to the number based on the last character(s) of the number \ref outputs. I will try to explain this ...
7
votes
1answer
117 views

How can I reference an (unnumbered) list item?

I have the following code: \documentclass[]{article} \begin{document} \begin{itemize} \item first item \label{first} \item second item \end{itemize} In \ref{first} we find the first item. ...
1
vote
2answers
94 views

cross-reference chapter title from different file

My dissertation is several chapters, each written in a different .tex file. How can I reference the chapter number from one chapter in the text of another? For example, how would I produce '... ...
8
votes
2answers
285 views

How can one refer to a part of an equation?

When having multiple equations inside one displaymath environment, it is sometimes desirable to refer to just one of them without having to break the environment up into smaller pieces. Take for ...
3
votes
1answer
48 views

cross-referencing acronyms not displayed in the text with

I use glossaries and define besides standard acronyms also some acronyms like this: \documentclass{scrreprt} \usepackage{xcolor} \definecolor{navy}{RGB}{0,0,128} \usepackage[ngerman]{babel} ...
8
votes
2answers
87 views

How come \label doesn't work after \footnote?

In the comments on Martin Scharrer's answer to Why does an environment's label have to appear after the caption? there is a discussion of whether one ought to put \label inside of or after \caption. ...
2
votes
1answer
82 views

Insert a reference in a caption?

After visiting wiki on labels and cross-referencing, a couple of tex sites (1,2), and a stackexchange solution, the following reference will not appear in the caption. I'm using pdflatex on ubuntu. ...
1
vote
1answer
67 views

Referencing todonotes by custom counter value?

I have my todonotes set up as follows: \documentclass{article} \usepackage{tikz} \usepackage{todonotes} \usepackage{hyperref} \usepackage{setspace} \usepackage{kantlipsum} \newcounter{todoListItems} ...
0
votes
1answer
44 views

How to refer to labels in other documents? [duplicate]

I have two documents file1.tex and file2.tex in two different folds fold1 and fold2, which are in the fold father. In file1, I defined \label{file1:hello}, how do I use it in file2?
3
votes
1answer
62 views

Problems to cite properly figures in tufte-handout class

I'm working in a handout where I include few pictures with the helping of the environments figure and marginfigure. But my problem is that when I compile my handout the reference's number of one of ...
0
votes
2answers
76 views

reference to tex document

is there any way where i can put a label on a full latex document and refer to it in another tex file. e.g. supplement.tex \documentclass[review,12pt]{article} \usepackage{graphicx} \begin{document} ...
2
votes
2answers
83 views

How to make a custom reference list without automatic counter

In my document I have a list of requirements (currently these are just text created through a custom command). One special thing is that these requirements are manually numbered (and not ordered by ...
2
votes
0answers
31 views

How can I label two equations within the same align environment? [duplicate]

How can I references equations that are on the same line? Here is an example: \begin{align} & a_{11} = b_{11}, & a_{12} = b_{12}, \label{eq1} \\ & a_{21} = b_{21}, ...
7
votes
1answer
72 views

Referencing unnumbered theorems

I would like to reference named (but unnumbered theorems) with a hyperlink. I have a solution which I consider at least a semi-hack: \documentclass{amsart} \usepackage[colorlinks=true]{hyperref} ...
4
votes
1answer
41 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
67 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
73 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, ...
4
votes
2answers
85 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
46 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
121 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
67 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
106 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
73 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
71 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
91 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
45 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
68 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
30 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 ...
6
votes
2answers
216 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
167 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
95 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
113 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
123 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
63 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
77 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
132 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
76 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
124 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
43 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
104 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
82 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
67 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 ...
6
votes
0answers
100 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 ...