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

2
votes
0answers
16 views

Abstract environment: interaction between hyperref and acronyms in ettauth.cls

I am submitting a paper for a journal that uses class ettauth.cls. Inside abstract I use some acronyms with the help of acronym package. I also load hyperref package for the cross-referencing. With ...
1
vote
0answers
9 views

Setting minimal number of references for cleveref's compression feature

I am using cleveref for cross-referencing. The default sort&compress option compresses three or more consecutive references into a range. I would like to get this compression already for two ...
0
votes
0answers
29 views

figure reference links go just below the figure [duplicate]

Is it common that when you click the reference it takes you just below the figure? If I scroll up, the figure is right there. I am using the standard procedure \begin{figure}[H] \centering ...
3
votes
0answers
77 views

Is it possible to reprint an equation without actually rewriting it? [duplicate]

I have an equation like: \begin{equation} \label{whatever} x+y=1 \end{equation} I want to write it again, keeping the same number. I know I could do the following: \begin{equation} x+y=1 ...
3
votes
2answers
67 views

referencing an item from enumerate in an article calss

I misspoke I meant I used enumerate not cases sorry. Is it possible to reference a case? I have \begin{enumerate} and then cases 1 to 4 where each case is a rather detailed. I would like the refer ...
2
votes
2answers
65 views

Is it possible to refer some text from file1 in file2?

I have two files, say file1 and file2 suppose in file1 ...bla bla bla, I am text in file1..., I want to repeat it in file2... bla bla bla... I want to repeat some text in file1 (I am text in ...
2
votes
0answers
44 views

Modified \pageref [duplicate]

I want to modify \pageref{...} to cite the actual label page number if it is not on the same page (to where the command is called), or to state 'On the present page' if it is, how can this be done? ...
5
votes
2answers
57 views

Theorem/remark/proposition/etc tagging/labelling

I have been wondering this for years, and never really had so much trouble that I couldn't bear not to know, but now I think I'll just ask and see if anyone knows. It is common practice to label ...
4
votes
1answer
41 views

Automatic switching of arrows in references

I would like to use references in a way that an arrow is in front of the referenc and points in the direction depending on whether the referenced instance is a above or below the reference (→ chapter ...
2
votes
1answer
67 views

Referencing a figure throwing up '??', not '1'

I've only very recently started with LaTeX and can't seem to get this to work! \documentclass{article} \begin{document} \begin{figure} [h!] \centering %\includegraphics[width=40mm]{UNSWlogo.jpg} ...
0
votes
0answers
17 views

Trouble with cross referencing in the appendices

I'm trying to get the figures and labels in my appendices to have the same format as the rest of the document. In my main thesis.tex file I use: \backmatter % book mode only \appendix ...
4
votes
1answer
48 views

How do I reference in appendix a theorem given in the body?

I have a theorem given in the body text of a paper, say Theorem 2 with label {theorem-abc}. I would like to provide the proof of this theorem in the appendix. 1) How do I cross-reference this theorem ...
5
votes
3answers
63 views

How to get the section label from a label inside an enumerate-list?

When I define a label inside an enumerate-list I get a reference to the item number. Is it possible to get a reference to the section? Example: \documentclass[english]{scrartcl} \usepackage{babel} ...
0
votes
0answers
15 views

Different number in image caption and in ref to figure [duplicate]

I have figure with image like this: \begin{figure}[h!] \centering \label{fig:controlsOpacity} \includegraphics[width=120mm]{img/image_01.png} \caption{some text} \end{figure} then I am referencing ...
2
votes
1answer
44 views

cleveref fails to reference algorithms

In the following example document, both \autoref and plain ref will correctly link and number an algorithm reference, but cleveref fails that task. It will just insert question marks instead. In ...
0
votes
0answers
25 views

Problem when using hyperref together with cleveref [duplicate]

As it says in the cleveref documentation hyperref must be loaded before cleveref. But at me I have to load at least one package between them and I would really like to know why. The not working ...
2
votes
1answer
23 views

using a restatable before it is stated

This question is related to the question at Recalling a theorem, which uses the thmtools and thm-restate packages and the restatable environment to define a theorem that can be re-stated later on. Is ...
0
votes
0answers
32 views

LaTeX numbering one figure incorrectly (Figure 2 instead of Figure 2.1) [duplicate]

All of my figures seem to be referencing correctly except for one. I have Text text text \ref{fig:label}. \begin{figure} \begin{center} <TikZ Drawing> \end{center} ...
1
vote
1answer
42 views

Alternative numbering for theorem

I am using thmtools as a front end to amsthm and I have a definition environment as follows. \declaretheorem[ style=mydefinitionstyle, name=Definition, numberwithin=chapter ]{definition} ...
4
votes
2answers
54 views

How to use Nameref with Algorithm2e

As the title suggests, I'm trying to reference to an algorithm created by algorithm2e package. Here is a MWE: \documentclass[12pt,a4paper]{report} \usepackage[linesnumbered]{algorithm2e} ...
3
votes
1answer
38 views

Latex Enumerated List referencing

In latex, when I'm trying to cross reference an item from an enumerated list, instead of getting 6.3, I'm getting 66.3, My list is a normal list just like any other, only I'm declaring the codes ...
12
votes
2answers
73 views

Input manually a number into \eqref

Often while writing papers I find the need to cite particular equations from other papers. For example, the landmark paper by Einstein, Newton, and White (2015) lays out the theory of everything in ...
2
votes
2answers
56 views

Automatically add prefix to references from another document?

I'm using xr to reference equations in supplemental material to a paper. I'd like equations from the supplement referenced in the paper to automatically be prefixed with "S", so that ...
3
votes
0answers
63 views

fancy-preview with other \ref-like commands (such as \autoref and \cref)

I finally got fancy-preview working, and I found the place (around line 97) in the script to add to the list of environments which it catches (to add propositions and so on). But what I can't find ...
3
votes
1answer
46 views

How to cross reference with \renewcommand{\theequation}?

I change the default numbering of the equation. Instead of default "1" on the right side I put "Eq. (1)". The number inside the parentesis automatically changes. But in the cross reference i need ...
0
votes
0answers
27 views

pdfTex, hyperref: jumps beetwen two pdf files [duplicate]

I use hyperref package and pdftex to generate a PDF file. I have file_A.pdf and file_B.pdf. I will assign a destination point in a file_B.pdf (not at first page) and use this destination to make ...
4
votes
1answer
60 views

References numbers

I'm writing a document with the class amsbook. I have several chapters, and inside the sections only (no subsections). I've used \swapnumbers \theoremstyle{theorem} ...
7
votes
1answer
82 views

Collapse “on page”s for multiple references in \vref

The code at the bottom produces See equations (1) and (2) on page 6 and on page 11. What I'd like is See equations (1) and (2) on pages 6 and 11. Otherwise it looks quite strange in my ...
4
votes
1answer
66 views

Is there a way to \label each page in an included pdf file?

I am including a PDF file as part of my reports appendices. The PDF file does not have page numbers, these are added using pagecommand=\thispagestyle{plain} which continues the LaTeX page numbering. ...
1
vote
1answer
72 views

Prevent multiple equation numbers when using \allowdisplaybreak with align

I have a very long equation of the following format \begingroup \allowdisplaybreaks \begin{align} a &= very long expression here\\ + & another long expression here\\ + & another long ...
1
vote
0answers
26 views

references superscripting edition

Is it possible to superscript the edition number of a book? It should look this way: Author(year^edition):... I am using BibTeX. At the moment my reference is printed like this: CAMPBELL, J. B. ...
5
votes
2answers
40 views

Create \ref for nested enumitem \item without nesting in the output

Sorry the question is a bit awkward. Basically I have nested \begin{enumerate} lists. I'd like something to appear like this: 1 Foo 1.1 Bar Please see additional information in subsection 1 ...
4
votes
2answers
57 views

Custom cross-reference formats (e.g. “Equation 1” instead of just “1”) [duplicate]

I have an equation system set up as below. When I reference it however, ie. with \ref{eqn:surfacetension}, it only prints the number '1', and not 'Equation 1'. How can I modify the code to do that? I ...
0
votes
1answer
140 views

“\caption outside float” error

I am trying to have a caption in a commutative diagram using the xypic package. But it is not working. I have written the code below: \documentclass[a4paper,12pt]{article} \usepackage{xypic} ...
1
vote
1answer
45 views

In the hyperref-pkg, is there a way to (sometimes) use abbreviations; e.g. tab. _vs_ table?

"Manually", both of the following do the trick (as far as I can tell): \ldots as presented in table~\ref{tab:birds_and_bees} \ldots \ldots as presented in tab.~\ref{tab:birds_and_bees} \ldots With ...
3
votes
0answers
50 views

Referring to function name in an algorithm

I have a LaTeX code which looks similar to the following example. \documentclass{article} \usepackage{amsmath,algorithm,algpseudocode} \begin{document} \begin{algorithm} \caption{My Algo.} ...
8
votes
1answer
43 views

How to make a conditional reference to a text label

I would like to make a conditional reference to an optional label in my latex document, see the Minimum Working Example below. Hence, IF the label exists somewhere in the document, THEN a reference ...
4
votes
1answer
73 views

1.a numbering of subfigures within a figure without a caption

I am using the subcaption package and write a caption for each of my subfigures. In order to get a reference to "Fig. 1a", I also have to write a "big caption" below all subfigures. But I don't want ...
1
vote
1answer
44 views

Multiple labels for enumerated item

In an enumerate-environment, I have merged two previously separate items being too similar in content. In my text, I refer to both, i.e. with two different labels. Now that they are merged this is a ...
19
votes
2answers
298 views

Understanding how references and labels work

I'm trying to understand why I cannot effectively reference figures or equations that I have defined with labels. For example: \begin{figure} \label{fig:area_Treasuries} ...
1
vote
2answers
68 views

Get a table and figure on the same page with captions & labels

Here's what I'm looking for: I need a table and a figure to stay on the same page, while keeping captions & labels fully functional. Both the table and the figure need their own caption and their ...
4
votes
1answer
50 views

Bad cross-reference using titlesec

When I define two new level using titlesec, the reference doesn't work correctly. This is an example: \documentclass{article} \usepackage{titlesec} % First level ...
3
votes
1answer
49 views

How to remove multiply-defined label in pgfplotstable using longtable

I need to add caption to a longtable possibly with a label to reference in text, however SIAM format fails when it encounters multiply-defined labels because of the repeated caption. Is there an easy ...
3
votes
0answers
64 views

How to change color of hyperlink to an external URL? [duplicate]

I have written the following command to create a link with black or green color : \documentclass[11pt,twoside,a4paper]{article} \usepackage[margin=1.5in]{geometry} \usepackage{hyperref} ...
3
votes
1answer
51 views

hyperref and cross-referencing

When you are using the hyperref package, it creates nice, clickable links within the PDF output when you use cross references (\ref{chap:label}). But, when I refer to "Section 1", only the "1" is ...
1
vote
0answers
43 views

pdfTeX not adding the word Table/Figure on its own in Windows XP [closed]

I am using pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9), in Windows XP. It seems NOT to be adding the word "Table", when referencing to one, as it does in Linux. For example, consider this ...
2
votes
1answer
30 views

Referencing and printing table entries in main body

I have a table with numbers and I would like to reference a specific number in this table by re-producing it in the main body of the text. For example in this table: \begin{table}[h]\caption{Summary ...
1
vote
1answer
51 views

System of equations with tag which has subscript

Suppose I have an equation u_t = F(x) u(0) = u_0 I want to put a brace around on the left hand side of both lines and give it a tag with a subscript (eg. P_w) AND I want to be able to refer to ...
7
votes
1answer
72 views

Numbering of subsections and paragraphs

I have a document style for a report which I'm having to copy to LaTeX format. I'm using pdfLaTeX, for information. In essence, the system is that paragraphs are on the same level as subsections, ...
4
votes
1answer
50 views

Hyperref warning when using amsthm and enumerate

hyperref gives the warning that something has been referenced but it doesn't exist. When I use the enumerate (or an itemize) list, I get the warning. Here is the minimal working example (MWE): ...

1 2 3 4 5 18