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

11
votes
2answers
140 views

Reference the bibliography as a whole

I am using biblatex for my bibliography, and it's working fine: \printbibliography[title={Sources}] Everything works as expected. What I'd like to do, though, is something like See sources on ...
2
votes
1answer
61 views

Customized list cross reference error

I have created a customized list environment in the book class. The labels for the list are produced the way I want, but when items are referenced, they are not labeled correctly. Here is the code. ...
0
votes
0answers
9 views

latex Error in list cross reference [duplicate]

I have created a customized list environment in the book class. The labels for the list are produced the way I want, but when items are referenced, they are not labeled correctly. Here is the code. ...
3
votes
1answer
158 views

Subequation number not shown (empheq+amsart)

This is a Follow-up question to Number equations within array In the original post I was asking about the basics of subnumbering equations and I got satisfactory answers so I could implement the ...
6
votes
1answer
74 views

@namedef and math mode

I am trying to do something simple: I want to be able to store and retrieve texts and equations via labels. In particular, I want something like \labelput{<label>}{<text>} % sets the ...
0
votes
1answer
37 views

Error message while compiling labeled equation in align in newenvironment. It says some other labels will be lost

\newenvironment{pfof10}[1]{\vspace{1ex}\noindent{\bf Proof of Theorem $\ref{n}$}\hspace{0.5em}}{\hfill\qed\vspace{1ex}} \begin{pfof10} \\ soooooooo \begin{align}\label{part3} x&=y \\ \end{align} ...
2
votes
0answers
43 views

What is the label of the glossary? [duplicate]

I'd like to add a link to the glossary in my main text. See the \nameref{XXX} on page \ref{XXX}. So far I couldn't find out the name of the label of the glossary. There should be one, since the ...
0
votes
0answers
45 views

Cross Referencing not referring bibliography in elsarticle

I am working on a paper for Elsevier, but the cross reference is not referring to bibliography , as it appear disabled . My code is here \documentclass[preprint,3p,twocolumn]{elsarticle} ...
1
vote
0answers
47 views

Labels in table rows [closed]

I want to use labels for single table rows: \begin{table}[h] \begingroup \fontsize{8pt}{9pt} \selectfont %\begin{adjustwidth}{}{-2cm} \begin{tabularx}{\textwidth}{ | s | m | b | s | s | } ...
13
votes
3answers
130 views

Question about the use of cleveref's \Crefrangeformat

I am trying to use the package cleveref to reference to a range of equations. I'd like to have the following result in the text: Eqs. (1)-(5) I want to be able to define the format once, using ...
0
votes
0answers
78 views

No caption label using minted with caption and hyperref

I'm trying to use the caption and hyperref with the listing environment and the minted package. If you compile the MWE, the listing will only show a number but no name. hyperref inserts a link, ...
4
votes
1answer
81 views

Greek variable numbering and reference on it

I would like to define a command similar to \section that places Greek letters in the right order in an equation. Furthermore I want the option to label a Greek letter to use it later and I would like ...
3
votes
1answer
66 views

How do I refer in the text to a molecule drawn with chemfig?

I just found chemfig fantastic for drawing even difficult molecules. Now, I have a question: how can I put under the molecule a line with a caption like "Figure #: captiontext" and, even more ...
4
votes
2answers
85 views

How to link an answer to a specific question with exercise package?

I am typesetting some exercises with the following structure, Exercise 1 Some introductory text. 1.1 The first question? 1.2 The second question? Using the exercise package I can accomplish this in ...
3
votes
2answers
162 views

Number equations within array

I want to number sub-items of an array I have in order to refer to the right equation and not to the set of equations (SEE the pictures attached): Figure that should call 1.35a, 1.35b, 135.c, 1.36a, ...
1
vote
0answers
250 views

Choosing BibTex entry type for lecture notes and company catalogs [closed]

I have been struggling with choosing an appropriate entry type for my BibTex references when referring to for instance lecture notes from a university or a catalog with e.g. motor specs from a ...
5
votes
3answers
141 views

Why does cleveref's \crefname command have no effect when it appears within a \foreach?

This question follows on from this one, which I asked a few weeks ago. I have since discovered the cleveref package, and I would like to use it for ease in referring to theorem-like environments ...
3
votes
2answers
100 views

How can I make a reference to a Glossary that typesets as \glossarytoctitle?

I'm using the glossaries package. I created a custom glossary called foo with the title, "My Foo Glossary Title": \newglossary[fgg]{foo}{fgs}{fgo}{My Foo Glossary} Ideally, I'd like to make a ...
2
votes
2answers
79 views

Figure references with the word Figure and not just a number [duplicate]

I reference figures this way: \label{fig:hello} and then just \ref{fig:hello} but the latter returns only the number without the word "Figure". How can I get the word Figure such as "Figure 1"?
1
vote
1answer
116 views

How to modify the label output in cleveref and varioref?

EDIT: The mentioned solution on the bottom of this page works perfectly for the label output. But now I am struggling with the distance of the \crefname and the counter. Instead of a space I would ...
8
votes
1answer
105 views

Changing Figure Numbering depending on how many occur in an \item

While trying to typeset examination papers in LaTeX, I've become the victim of shifting figure numbering standards laid down by my institution. The old way required figures to be numbered like this: ...
4
votes
1answer
62 views

Use \ref as part of a graphic

Is it possible to make a reference as part of a graphic, which is included in a LaTeX document? If so, what would be the preferred format for such a graphic (EPS, ...)? Mockup: I'm using pdflatex ...
4
votes
1answer
90 views

Lstlistings reference to line number

How can I place a 'label' marker inside a lstlisting environment (external file imported and formatted via the listinputlisting command) so that I can cross-reference a particular line number? In ...
4
votes
0answers
41 views

Reference non-included chapters in large document

I have a large document that contains many different chapters which reference each other. The body of the main latex file looks something like: \maketitle \tableofcontents \include{chapter1} ...
6
votes
1answer
150 views

How to get the current chapter* name, section* name, subsection* name, etc?

I came across this answer which claims that it works even with the starred version of \chapter et al. The following example shows that it does not, because \...mark macros are not called. Is there a ...
3
votes
1answer
61 views

subfig reference layout

I have the following working example \documentclass{article} \usepackage[subrefformat=parens,labelformat=parens]{subfig} \begin{document} \textbf{Error} This should say Fig. 1\textbf{a}, not ...
4
votes
1answer
55 views

How can I number centered text and formula combined?

I have some centered text and mathematical stuff: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{center} blablabla $\rho: H\longrightarrow GL_n(K)$ bla blabla bla blablablabla ...
2
votes
1answer
71 views

How do you make a reference from all page numbers to the ToC?

Hey fellow LaTeX users. Is there any way to make the page numbers in a document hyperrefback to the header of the TOC? It would be very useful in my document so I quickly could jump back and forth ...
5
votes
1answer
70 views

LaTeX is confusing subsections and figures

So I have a section of code that looks like this \documentclass[a4paper,12pt]{article} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage{verbatim} \usepackage[margin=1in]{geometry} ...
2
votes
1answer
30 views

use lining figures in references

I use lowercase/old style figures in most of my document, but want to use uppercase/lining figures in references (as they're "proper nouns" I think). I'm using the following at the moment: ...
3
votes
1answer
62 views

Differentiate reference based on type (problem with argument expansion)

Since I use unnumbered sections, I'd like to have a variation of \autoref that uses names instead of numbers in the case of sectioning, but keeps its usual behaviour for other environments. I've come ...
1
vote
1answer
82 views

Best practices for referencing

I write a text with a lot of references (\ref{...}). They are predictably showing as a numbers of the same height as the text. <phrase>\ref{label} will looks like '< phrase > 13' with '13' ...
1
vote
1answer
88 views

create a link to open another pdf, not in the current directory [duplicate]

How can I make a hyperlink to a pdf file located somwhere out of the current directory of .tex file? For example, my .tex file is located in C:\myWritings and the pdf file to be linked in the tex is ...
3
votes
1answer
49 views

Change item font style when referencing

I constructed my own list longmainenum which has bold item labels. Now when referencing them with cleveref's \crefI want to have the bold font removed. A minimal example: \documentclass{scrartcl} ...
2
votes
1answer
82 views

Clickable hyperlinks wrong for sidewaysfigure

I have a few figures which must be shown rotated in landscape orientation. For that I use \begin{sidewaysfigure} instead of \begin{figure}. But now I found in my text there is a problem between the ...
1
vote
0answers
116 views

All \ref{} to an equation refer to the section, not to the labeled equation [closed]

I am writing a document in LaTeX using TeXShop on OS X Mavericks. My .tex file looks like this: \documentclass[11pt,titlepage]{article} ...
3
votes
1answer
89 views

Number and reference paragraphs

For "law-documents" you often want to enumerate every paragraph and cite them somewhere else in your document. This enumeration shall increase through the whole document and have the possibility to ...
2
votes
0answers
45 views

Referencing figures when compiling with pdfLaTeX [duplicate]

I had a problem in referencing figures, which now I solved, thanks to an old answer by Werner. To be precise, in my case the reference was working properly (the hyperlink was pointing to the correct ...
1
vote
1answer
56 views

Multiply cited reference with pages

How do I create a multiply references with pages? For example: (author year: page; author year: page) ?
3
votes
1answer
34 views

Preventing caption stoppers from appearing in references in ConTeXt

I would like to prevent caption stoppers from appearing in references in ConTeXt. Here is a minimal example: \starttext \setupcaptions[numberstopper=.~---~, distance=0em] \placefigure[][cow]{A ...
0
votes
0answers
20 views

Cleveref breakup on figure references [duplicate]

Consider this MWE: \documentclass[a4paper]{article} \usepackage{graphicx} \usepackage[dvips]{hyperref} \usepackage[noabbrev,nameinlink]{cleveref} \begin{document} \section{Abc} \begin{figure} ...
1
vote
0answers
65 views

How do I reference supplementary files such as tables in Excel format?

Some of the information I need to include in my thesis are extremely long tables that will only be provided in the digital copy as supplementary files, most likely in Excel's XLS format or similar. ...
13
votes
1answer
100 views

The LaTeX runs (with varioref) never settle down to a stable final state

This is something which has happened for real in a document where I am using varioref. The LaTeX runs never end, a text chunk keeps on being moved back and forth accross a page break (naturally with ...
4
votes
1answer
59 views

Strange output of \getrefnumber (refcount package) with custom enumeration

Can someone help my why are the two warning messages different syntactically (when they seem to be generated the same way)? \documentclass{article} \usepackage{enumitem} \usepackage{refcount} ...
7
votes
1answer
64 views

How to use \ref command in the test block of \ifnum?

Is there a way to use \ref{} inside the test part of \ifnum. The following example runs into an error. \documentclass{article} \begin{document} \begin{table} \caption{ex} \label{tab:ex} ...
8
votes
2answers
81 views

Can I include the last index inside the label of an enumeration?

Can I achieve something like this with automatic numbering? Examples: 1 of 93: Example one 2 of 93: Example two ... 92 of 93: Example ninety-two 93 of 93: Example ninety-three I can ...
1
vote
0answers
36 views

Refrange in \ref Endash

I am just a beginner in Latex, I am facing a problem in Ref Range, Here is the Latex document content \documentclass{article} \begin{document} \begin{figure} \caption{Figure 1.\label{figa}} ...
3
votes
0answers
89 views

LyX: crossreference keeps popping up in ToC [closed]

I have a slight problem with LyX in my latest document. I do have a rather large appendix and have inserted titles to structure it a bit. Since my appendix has to be unnumbered I used \subsubsection* ...
2
votes
1answer
493 views

How to cross-reference labels in the text using LyX?

I'm having trouble using labels and cross-referencing in Lyx. I put a label into the document where I want it. It is not embedded in anything, it's just in the text. Then I put a cross-reference to ...
1
vote
0answers
56 views

Cross referencing in Beamer produces question marks [closed]

I was working on the replies given here. However, none of them properly worked. Here are the screenshots (note the question marks) I just copied and pasted the codes. What is wrong then?