{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
46 views

Reference equations with \eqref while using different tag forms throughout document

I'm trying to reference equation by \eqref when I use different tags form throughout document, but the output can't display the tag form that I want. As mentioned in mathtools package usage, "be ...
3
votes
0answers
50 views

Equation number bigger than 10 in appendices do not get the cross-reference [closed]

I have encountered a funny problem with my equations (in appendix) cross-referencing. If, in appendices, I have equations more than ten (for example A.10, A.11, B.13) when I click on the ...
4
votes
2answers
55 views

How do i `\tag` a subequations environment as a whole? [duplicate]

I have a similar subequations environment as in the mwe \documentclass{article} \usepackage{amsmath} \begin{document} \begin{subequations}\label{eq:w} %\tag{myEQ} \begin{align} a &= b ...
0
votes
0answers
19 views

Bibliography with Biblatex not working [duplicate]

I'm having problems trying to create a bibliography using biblatex. In my preamble of my main document file I have the following: ...
0
votes
0answers
30 views

One problem in my reference

I want to have the word "Gr\"obner" In my reference but it appears "gr\"obner", that is "g" is not capital. What is my problem? What I have to do?
3
votes
0answers
31 views

Float environment closes to first reference

I keep writing my text, and possibly even shuffling the content a little bit. So I might really mis where a figure is first referenced. To solve this, I put all my figures in figures.tex file (a ...
5
votes
3answers
193 views

How to reference chapter names that include counter output?

I want to use a counter in some chapter names, this works fine for the TOC and in the chapter names themselves, but references to the chapter name appear to use the counter at the time of the ...
0
votes
1answer
20 views

problem with cross-referencing after changing numerical list

While working with the following not so minimal example I noticed that the cross referencing does not work properly, when changing the appearance of enumerate labels. What do I have to change to make ...
2
votes
1answer
43 views

Open another pdf file at referenced label/page

I am having two documents, call them A and B. I want to make several cross-references from file A to file B and by clicking on the hyperlink, I want to open file B at the respective page. In my ...
2
votes
1answer
22 views

\ref to existing \label do not works, but index and url yes

This is my code and my results: \begin{figure}[h!] \label{fig:ppe_xyz} \begin{lstlisting} §$ppe_x$§ = ppe(§$A_x$§, s, order, overlap, H); §$ppe_y$§ = ppe(§$A_y$§, s, order, overlap, H); ...
2
votes
1answer
42 views

Cross-Referenced Index/Dictionary

I am undergoing some amateur Greek studies and would like to construct a dictionary of sorts with LaTeX. I would obviously like some sort of alpha-beta-cal listing of vocabulary words I encounter, ...
3
votes
2answers
45 views

cref and external documents

I want two things: 1. to be able to use \cref across different files and 2. to display certain environments (just the theorems for example) from an external file. What I mean by (2) is the ...
1
vote
0answers
27 views

Problem in referring at figures [closed]

Today I am having hard times to find why after compilation each labeled figures along the code gives always the same reference to the same figure number namely to figure (1.0.1). Surprisingly that ...
0
votes
0answers
26 views

How to create an own sorted label List from special \refs

I the following code which lets me define labels for source code and later make a table out of them \documentclass[12pt]{article} \pagestyle{empty} \usepackage{xcolor} ...
7
votes
1answer
198 views

How to obtain the same numbering of an algorithm for the reference?

I don't understand why the reference number in the PDF is wrong. \documentclass[12pt,addpoints]{exam} \usepackage[section]{algorithm} \usepackage{algorithmicx} \usepackage{algpseudocode} ...
6
votes
4answers
137 views

Give an enumerate list a name and reference

I would like to have a list that is referenced later by a label. Table 1: List of steps needed to be taken Do A Do B Do C As seen in Table 1 And I would like to be able to ...
6
votes
1answer
45 views

Hiding an equation tag but still using it for referencing

I use the semantic package for displaying natural deduction-style inference rules in equations. The \inference command has an optional argument which can be used to tag rules: \inference[Rule1]{A}{B} ...
2
votes
1answer
42 views

Using acronyms for institutions in citations messes up sorting in the bibliography when using “author-year”

I would like to abbreviate "European Commission" by "EC", also when citing a document of the EC. The problem is that the abbreviation will only be introduced when I write "\ac{EC}" (using the acronym ...
3
votes
2answers
47 views

Is it possible to reference the chapter name by the section/subsection label?

I would like to know if there's a functionality that would give me the chapter's name by referencing a label that I know is defined somewhere in this chapter? For example: \chapter{What's it's ...
2
votes
1answer
33 views

Crossreference \lstinputlisting code

I frequently need to put C code into my document, so I defined, \newcommand{\Ccode}[1]{\lstinputlisting[backgroundcolor=\color{gray!5},caption=\texttt{\lstname},language=C]{C/#1}} in my document ...
1
vote
1answer
48 views

cross-referencing a list item in OPmac

I need to give a reference to a list item in plain TeX. I have a numbered list with a custom style. \begitems \sdef{item:F}{\bf FP\the\itemnum\kern.25em} \style F * List item 1 * List item 2 ...
4
votes
1answer
20 views

Setting a counter to the value of a reference

I have a use case description, something along the lines of: \begin{enumerate} \item User does X. \item User does Y. \label{y} \item User does Z. \label{z} \end{enumerate} Then there is ...
0
votes
1answer
23 views

Cross referencing: Print reference object

I use the LaTeX article template scifile. When I do a cross reference to a Figure, only the Figure number gets printed out. E.g. when I do: see: \ref{fig:1} i only get see: 1 instead of see: Figure ...
0
votes
0answers
33 views

Equation references [duplicate]

How can I use \eqref where LaTeX will show the entire number. In the moment, when I'm reference to the equation through \eqref LaTeX only will show (1) instead of (1.1).
2
votes
1answer
18 views

Referencing to Appendix with page number

I can't seem to find a way to use \ref to a label and get both the appendix in which it is found and the page number. I would want it to look something like this: \ref{foo} --> (Appendix B, p. 56) ...
4
votes
2answers
32 views

Customize reference style for enumeration items

How can I achieve that the reference to the second item in the following enumeration is just (a) and not (1a)? \documentclass{amsart} \usepackage{enumerate} \begin{document} \begin{enumerate}[(1)] ...
2
votes
0answers
58 views

Reference the number from a specific footnote later in the document

I am using Biblatex, Biber backend, and autocite for all of my references. I found this question (Biblatex: footnote citations. Two references to footnote in same slide), but it was never answered and ...
1
vote
2answers
41 views

cross-reference for items in enumerate environment does not work

I wrote a topical reference for my booklet and my cross-reference for items in enumerate does not work. Could you please help to explain why it happened? \documentclass[twosides,9pt]{report} ...
1
vote
0answers
14 views

Separated references sections for appendix [duplicate]

The references in my document have the following requirements: My references need to appear before my appendices. My appendices contain new references. These references should not appear in the ...
1
vote
0answers
77 views

References not updating

OK, this is a bit of a weird one. I have the following: \documentclass[10pt,a4paper,notitlepage]{article} \begin{document} \ref{rnalg} \end{document} Obviously, this should give an undefined ...
4
votes
1answer
30 views

Reference to longtable wrong if \numberwithin{table}{section} is activated

I've encountered something weird while using the longtable package together with \numberwithin{table}{section} or \counterwithin{table}{section}: if a longtable is the first table in a section, it ...
3
votes
0answers
52 views

APA 6th Edition Reference Problem [closed]

I have a problem in giving reference in APA 6th style. My reference code as below. The problem is that in reference section, there is no numbering, and on url reference, there is blue square. Another ...
2
votes
0answers
52 views

Why is Latex not writing all my bibliography references?

I've been writing a paper with BibTex bibliography but suddenly the .tex stop writing all the references I have in the .bib file, they are 15 cites (all used) and it only writes 9, why is so? Whay am ...
0
votes
0answers
17 views

Simple custom tagging and cross-referencing in text mode? [duplicate]

Is there a simple way to create a custom tag in text mode (similar to \tag in math mode) which can be referenced using the standard \ref or \eqref commands? Inspired by How to label text with ...
2
votes
1answer
43 views

cleveref and amsthm — incorrect environment name

I have theorem environments that have the same theoremstyle which I define through amsthm. I want them all to share the same counter. This way, a lemma that follows theorem 1.2.6 will have the number ...
1
vote
0answers
11 views

Error: \pdfendlink ended up in different nesting level than \pdfstartlink [duplicate]

I'm using overleaf to write my mnras report and I get this error when I am writing a caption for a figure. ./main.bbl:1: pdfTeX error (ext4): \pdfendlink ended up in different nesting le vel than ...
2
votes
1answer
23 views

Cross reference of an inline equation

Consider the equation \begin{align*} \dot{x}_i(t)=f_i\left(x_1(t),\ldots,x_N(t)\right) \\ + g_i(x_1(t),\ldots&,x_N(t))u_i(t),\tag{$\Sigma_i(u_i)$}\label{eq:subsystem} \end{align*} ...
3
votes
3answers
57 views

Single occurrences of special refererence style (using the automatic numbering) to a list item (without changing the style of the other occurrences)?

I have a list: \begin{enumerate}[label={[\Roman*]},ref={[\Roman*]}] \item\label{item1} The first item. \end{enumerate} What I want to achieve is this: In the most instances, I want to refer to ...
0
votes
0answers
30 views

Paste the content in .bbl file to the .tex file without the \bibinfo{author}, \newblock

When prepare the manuscript with tex file, I need to paste the content in .bbl file into the tex file before submitting. I would like to know how to obtain a simple bibitem. For example, this is one ...
1
vote
1answer
30 views

How to refer to ExSheets question using “Chapter.Question” format?

I've successfully configured ExSheet questions to write "Exercise 1.1", "Exercise 1.2", and so on before each exercise. But when use \ref{} command to refer to them, I get "Exercise 1", "Exercise 2", ...
1
vote
1answer
26 views

Ignoring redefined label

How can I make LaTeX ignore a \label that is re-used? That is, if I define a label twice, and then cross-reference it, I would like the reference to indicate the first definition of the label. For ...
1
vote
1answer
66 views

Problem using \includeonly

I have a problem using the \includeonly command. I have a large document and I wanted to split it up into sections- each section would be in its own file and I would compile only the current chapter ...
3
votes
1answer
50 views

\hyperref fails when cross-referencing between different files

I am working on a multi-volume project where different volumes contain hyperlinks to other volumes. I use a technique described on this web-site in a number of posts, see e.g., Cross-referencing ...
1
vote
2answers
37 views

Shortcut for listinputlisting reference

I would like to know if it is possible to set up a command such that when the \ref of the Matlab \lstinputlisting is called, that the words "Matlab Algorithm X.X" itself becomes a hyperref link and ...
1
vote
1answer
24 views

Problem with cross references in table and algorithm

I am having a problem with cross references, which I have not been able to solve. I have a table and an algorithm which cannot be referenced. However, the behaviour in both cases is different: when I ...
1
vote
1answer
38 views

ref a table correctly inside enumerate items

\documentclass[11pt,english]{article} \usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackage{amsmath,amsfonts} \usepackage{graphicx} \usepackage[colorinlistoftodos]{todonotes} ...
0
votes
0answers
14 views

Reference Numbers missing at output [duplicate]

I am using BibTeX for my Bibliography. The problem I am facing is that, I am not getting the square numbers "1" at the output. Kindly help me please. Output PDF
2
votes
1answer
44 views

How can I reduce references to show only subsection numbers?

I use cleveref package to format a special type of labels. Can I also use a special counter or counter formatting sequence in \cref. This is my example: \documentclass[10pt,a4paper,twoside]{article} ...
1
vote
1answer
49 views

How do I insert a \in cross reference across components?

I am using ConTeXts project format, with each chapter using its own .tex file. In chapter 6, I want to refer to [fig05] in chapter 9. Looking at the wiki for \in there's no discussion of this. But ...
1
vote
1answer
40 views

beamer: how to label an equation with \alert in its \tag?

I would like to \alert an equation tag, then refer to it in another overlay. \documentclass{beamer} \usepackage{amsmath} \begin{document} \begin{frame} \only<1>{ My equation reads: ...