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

5
votes
1answer
85 views

Implement fixedlabel in memoir

I would like to implement a command called \newfixedlabel in analogy of memoirs \newfixedcaption in such a way that: \begin{myfloat} \caption{...} \label{myfloat:a} ... \end{myfloat} Yields the ...
7
votes
2answers
2k views

LaTeX gives warning - empty label `' multiply defined

I have a LaTeX document that works fine, but it does give a warning message every time I compile it. Here is the text of the warning message: LaTeX Warning: Label `' multiply defined. The name of ...
3
votes
1answer
20 views

Slide Reference vs. Link Display

Problem Given the beamer class, can I label a specific slide and same time reference this with a custom name? The first works with \label<slide>[label-name]. The second works with ...
3
votes
1answer
22 views

How do I label and refer to a specific row of a table?

I'm creating a table to record some rules for calculating prox-operators. I'd like to be able to label certain rows and refer to them later. What's a good way to do that? Here's a MWE for the table ...
1
vote
1answer
17 views

Hyperref adds horizontal space to custom equation reference

When hyperref package is used, Equation (Section#-Equation#) becomes Equation ( Section#-Equation#) I am having difficulty narrowing down how hyperlink adds the space. MWE ...
1
vote
1answer
30 views

Referring to a label: how to change the name?

I define a basic hypothesis called "Hyp A", using theorem environment, and also give it a label (say Hyp_A). Then when I refer to this hypothesis, how to display something like "Let X and G satisfy ...
1
vote
1answer
14 views

Custom Figure Citation Linking Text

Below is my Coding \documentclass{article} \usepackage[colorlinks]{hyperref} \begin{document} To test whether Figure \ref{fig1} a suspicious URL is vulnerable, we utilize the URL to download a ...
3
votes
1answer
23 views

How do you reference using apa style in latex?

I googled and searched alot or maybe i'm just missing something i dont know.. My problem is i want to do a reference page using apa style. I kept on trying but doesn't seem to give any output.. Anyone ...
2
votes
1answer
21 views

autonum and cleveref conflict

The following code produces erroneous output. When I put cleveref first, it doesn't pick up the references at all. When I put autonum first, really weird stuff happens. See the images below. I ...
2
votes
1answer
34 views

automatic numbering of labeled equations

Since autonum doesn't play nicely with cleveref (nor does the mathtools automatic numbering option work for me), I'm looking for a simpler solution. I'd like equations to be numbered automatically if ...
1
vote
0answers
13 views

Reference label in polyglossia for hebrew

When I compile the following code: \documentclass{article} \usepackage{polyglossia} \setdefaultlanguage{hebrew} \setotherlanguage{english} \setmainfont{Frank Ruehl CLM} \begin{document} נתחיל לכתוב. ...
2
votes
2answers
124 views

How can I make \eqrefs clickable?

I have modified the \eqref macro like this \let\originaleqref\eqref \renewcommand{\eqref}{equation~\originaleqref} as per this answer. I want to have the reference be typeset like equation x or ...
21
votes
1answer
1k views
+50

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 ...
9
votes
3answers
5k views

Modify \eqref command

I want to edit the \eqref command so that \eqref will produce Eq. (1), for example, instead of (1). Of course, I could define \newcommand{\reff}{Eq.~\eqref} but then I lose my editor's ability to ...
1
vote
1answer
12 views

Autoref not properly placing links

I have the following code: \autoref{fig:vc_dimension} \begin{figure}[t] \begin{subfigure}[b]{0.5\textwidth} \centering \includegraphics[width=\textwidth]{vc_dimension_1} \caption{...} ...
2
votes
0answers
11 views

Separate references of appendix from the references of the rest writing

I want to make sure the references in the appendix are separated from the main body making them more accessible to the reader. How can you make it in LaTex? \\\\\\\ Conceptual example \\\\\\\\\\ ...
0
votes
0answers
13 views

Parenthesized subfigure references except when already in parenthesis

I would like to style my subfigure references as Fig. 1(a) in running text and (Fig. 1a) when parenthetical. The subfigure labels are created using this code. (I would prefer to use subcaption like in ...
2
votes
1answer
31 views

Referring to example numbers in tcolorbox

In a question I asked before, I implemented method 2 by feculededentier. However, now I am facing difficulty in referring to different examples in this case. For example, what should be the Latex code ...
3
votes
1answer
26 views

Exsheets: how to get a counter/reference combining section and question numbers

I am writing a document that has several major sections, and each section will have some exercises and solutions. I am using the exsheets package, which seems to do almost everything I want. However, ...
1
vote
1answer
42 views

Latex external document referencing from Main tex file

I have a file structure like this Main.tex chapters (folder) Chapter_1 (folder) chap1.tex Chapter_2 (folder) chap2.tex To refence diagrams and equations from chap1.tex in chap2.tex, I ...
5
votes
1answer
115 views

How can I synchronize page-breaking text across columns?

tl;dr: Like footnotes, but on the side (easy part). These notes must be on the same page as their reference points, so the "main text" needs to break whenever the notes break. I'm trying to produce ...
1
vote
1answer
33 views

Refer to appendix with \includepdf

I have included a PDF by using \includepdf into my appendix. I also added a label to that pdf but when I refer to it like as you can see in Appendix \ref{mylabel} it prints "as you can see in Appendix ...
0
votes
1answer
50 views

point after a Cross reference for section in article

I use the commands \label and \ref in my article but I had a point after the number; for example, in Section 5. How do I remove this point ?
5
votes
1answer
42 views

Abbreviate \ref within same section

Given sample code \section{One} \begin{enumerate} \item\label{li:one} \end{enumerate} \section{Two} \begin{enumerate} \item\label{li:two} \end{enumerate} I am referencing \ref{li:one} and ...
5
votes
2answers
152 views

\ref shows the right label but jumps to the wrong \label

in this MWE you can see/explore (hopefully, as it does not work for me) that \ref{tab:2} produces the right label but if you click on it, it will lead you to the \label{tab:1}. \usepackage{appendix} ...
1
vote
1answer
43 views

multiple subequations same line with reference compact

I posted a question earlier, multiple subequations same line with reference But I'd like to be able to combine the numbering at the end of the line for the following two cases: Re = UL/nu , Ha = BL ...
7
votes
3answers
141 views

How to make the enumeration of theorem-like environments indipendent from cross-referencing in a particular way

I'm writing a mathematical paper, and right now I'm using \newtheorem{theorem}{Theorem}[section] to enumerate theorems, propositions, etc. In this way, every statement shows the number of the ...
67
votes
8answers
46k views

Reference different places to the same footnote

For example, I want to make footnotes both at Sentence 1 and Sentence 2 (which are on the same page) to the same footnote. Wikipedia's "References" have this effect.
1
vote
1answer
20 views

Cross Referencing numbers missing for the Sections only, of a document prepared in latex

I am using cross reference for a document prepared in latex. The document gets compiled and all the included figures, tables and equations gets proper cross reference. Unlikely, before I am using ...
1
vote
1answer
12 views

Modify plainnat.bst to not include “note”

I am using natbib with my thesis, and in particular I am using a self-modified version of plainnat.bst to always respect capitalization in titles. Now, I'd like to make another modification: I never ...
11
votes
4answers
243 views

Automatically insert “in the next [chapter/section/subsection]” if reference is sequential

I'm aware of the cleveref package \cref which adds the correct reference name (see: Automatically inserting "Section", "Subsection", etc). I have a few references which refer to ...
0
votes
0answers
11 views

formatting indentation in a reference text [duplicate]

I made a document in word and then in a rush I had to change it to Latex, I do not have time to use the bibtex for my references, so I just copy and paste them from word. The problem that I got is ...
22
votes
2answers
3k views

Multiple references with \autoref

I am currently using the \autoref command from the hyperref package to refer to my theorems etc. However, I want to be able to (easily) refer to two or more theorems/lemmas/..., e.g. by calling ...
3
votes
2answers
2k views

How can I get capitalised cross references in LyX with refstyle

LyX (v2.03) uses refstyle for cross references. By default if you use the GUI to create a reference it produces source that looks like: \tabref{label1} \figref{label2} which produces an output like ...
1
vote
1answer
18 views

Using undefined references to set counters

Consider this example where a number from a previous reference is being used to set a counter. \documentclass{article} \begin{document} \begin{enumerate} \item \label{e:one} One \end{enumerate} ...
2
votes
1answer
19 views

\refstepcounter within \subsection breaks \ref to \subsubsection

Usually a \ref to a \subsubsection gives 1.1.1 (from the parent \subsection). Sample: \documentclass{book} \begin{document} \chapter{chap} \section{sec} \subsection{sub} \subsubsection{subsub} ...
0
votes
1answer
34 views

Reference year sequence change

I am working with a report type document, with the settings of: \usepackage[round]{natbib} % omit 'round' option if you prefer square brackets \bibliographystyle{plainnat} \setlength{\bibsep}{18pt} ...
3
votes
2answers
48 views

Changing cleveref type for a single chapter

I have an appendix in my thesis that, due to fancyheader constraints, I define as \chapter* and not \appendix. However, now when I refer to it using \cref I get "chapter", I can change this manually, ...
0
votes
0answers
5 views

Create cross-reference like “in the previous section” where appropriate [duplicate]

Is there a referencing command that will use the wording "the previous section" or "the next section" if appropriate, and default to "Section x.y" (as in cleveref)? \documentclass{scrartcl} ...
2
votes
0answers
40 views

I need a pop-up on my in-text references AND I want the reference to still be 'clickable'

I need a pop-up to appear above my in-text references. The pop-up should display the page number where the citation can be found on (i.e. so the reader can check that the cited article actually siad ...
6
votes
2answers
60 views

Renewing the \thelstlisting command when hyperref is on

I'm trying to change the appearance of the cross-ref to a listing in the appendix, so that it prints as \textsc{a}.1, not just A.1. The redefinition ...
0
votes
0answers
15 views

Problem linking Appendix [duplicate]

I am new to LaTeX. I am just about to complete my final dissertation with LaTeX. I want to refer the result in my Appendix with a clickable link. But when I use the command \ref{ap:data}, where ...
4
votes
2answers
56 views

Using xr to refer to another document without hyperref

I have two documents A and B. I wish to refer to theorems and lemmas from A in B. To do this I am using the package xr in B. If I use the package hyperref in B then it's all fine. Otherwise, when I ...
2
votes
1answer
31 views

Problem with references [closed]

The problem is that i have good labels ('good' I mean that they are after caption, I tried with labels in the same line as the caption, and in the next line) and I'm trying to use references to my ...
0
votes
0answers
23 views

Referring to an equation in a different section

I am using the procedure in writing a document of setting a main page and including sections in side tex documents using \include{...}. In one section I have an equation that I labeled as \label{6}. ...
3
votes
1answer
211 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 ...
4
votes
1answer
20 views

How to make linenumber referencing in lstlisting work with autoref

This Link provides an answer to the question how to make line-number referencing work with lstlisting. However, if I use \autoref it will only return the number and not something like Line 31.
1
vote
1answer
32 views

tilde between Figure (or Table) and number when \ref{…} with chemstyle and babel spanish

When I reference a figure or table in the text using \ref{something} it appears a tilde between Figura (or Tabla) and the number (something like Figura~1), but I realized it's only when using packages ...
12
votes
5answers
3k views

Wrong reference number for subfloat

I am trying to reference a subfigure in my text but it is numbered incorrectly. Here is a minimal working example: \documentclass{scrartcl} \usepackage[demo]{graphicx} \usepackage{subfig} ...
2
votes
0answers
17 views

Combine Bibliography and Reference

The LaTex file was made by someone else, now I'm trying to make some modifications to the file. Q1. The .pdf file generated from .tex only containes the Bibliography part. The reference is in the ...