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

3
votes
2answers
97 views

Postfix for cross references of enum lists

I have a question to manipulate cross references to enumeration lists. To change the appearance of the list, I know the commands \theenumi to choose the type (roman, arabic, alph...), \labelenumi for ...
11
votes
1answer
153 views

Refer to a node in tikz that will be defined “in the future” (two passes)?

I have devised a small couple of commands to have a nice "callout thing" for my notes; please consider the following MWE (the problem is also explained there): \documentclass{book} ...
1
vote
0answers
19 views

how is the easiest way to refer to references in the text as supernumbers rather than bracketed numbers. I am using documentclass article

How is the easiest way to refer to references as super numbers rather than as bracketed numbers (e.g., [3]). I am using documentclass article with no special bibliography indications.
0
votes
0answers
20 views

Back reference in the bibliography

Hellow I used this source to view the bibliographie \usepackage{harvard} ..... \bibliographystyle{dcu} \bibliography{These} I search how view the cited pages in the bibliographie references? I ...
0
votes
1answer
19 views

Reference to table into appendix

I am a new user of latex and I want write in my text some reference to several table in appendix If from a chapter write \ref{tab:1d_1_sta} I have only A.1 and not A.1.1 How can solve this ...
0
votes
0answers
46 views

Order references alphabetically with “elsarticle-num-names.bst”

How Can I order my references alphabetically using the bibliographystyle "elsarticle-num-names.bst"?
1
vote
0answers
15 views

Help in the citation : how add “et al” in the references

I used this template : \documentclass[a4paper,11pt,oneside]{StyleThese} \makeatletter \def\nospace{% \begingroup \catcode32=9\relax \nospace@} \def\nospace@#1#2{% \def\next{\def#2{#1}}% ...
20
votes
5answers
8k views

\pdfendlink ended up in different nesting level than \pdfstartlink

I started using showkeys in one of my documents and see this error \pdfendlink ended up in different nesting level than \pdfstartlink A bit of google suggests that this "happens when hyperref is ...
7
votes
6answers
3k views

How to get a list of all the labels in a LaTeX document in WinEdt

I am writing a large document using LaTeX and WinEdt. I have labeled each chapter, section and so on. I would like to print out a list of just the labels (so that I don't duplicate one later on, and ...
1
vote
1answer
23 views

How to make the text in front of the eqution or figure number become a hyperlink?

I found that in many journals not only the number but also the text such as Fig or Eq can be a hyperlinked so one can be directed to the equation or figure by clicking the hyperlink. This is what is ...
4
votes
3answers
77 views

Remove cross-reference to a footnote, but keep the footnote

I would like to achieve this: Where I can cross-reference a footnote without it showing up as a superscript. However, I don't want to change the behavior of \footnote globally, I just want to be ...
1
vote
0answers
17 views

Lyx References Broken

I lately moved my .lyx file to a different computer. Now all my citations and Formatted cross-references to subsections are broken. Formatted references to sections and images are still working for ...
4
votes
2answers
48 views

How to use \nameref with xstring package to check string length

I need to measure a number of characters in string, that I returned from label through \nameref command. Here is my MWE: \documentclass{article} \usepackage{hyperref} \usepackage{xstring} ...
1
vote
1answer
47 views

Caption in figure and cross-reference them properly

I want to know how should I cross-reference the following caption in manuscript in following way Fig 1a and Fig 1b. \begin{figure} \minipage{0.50\textwidth} ...
1
vote
1answer
30 views

Autoref not properly placing links [closed]

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
2answers
42 views

Knitr: How to make a crossreferences to figures and tables generatrd by code chunks?

I would like to make cross-references to images and tables generated from knitr code chunk in the same way as to standard figures and tables. In a standard figure I use control sequence \label, but i ...
0
votes
1answer
66 views

Why when using the template I get errors?

I would like to use the template for Springer journal. I have already written my article in another latex file. 1) Why I get errors when I use the template as-is (after changing its name saving it as ...
2
votes
2answers
44 views

Reference Color

\documentclass[preprint,review,12pt]{elsarticle} \usepackage[colorlinks=true, citecolor=black, linkcolor=black, urlcolor=black]{hyperref} \begin{document} ... \cite{ML1986} ..... ... see ...
3
votes
2answers
29 views

Adding pagenumber to crossreference command

in "making external references stick out" I found the new command written below very helpful. Although I would like to add a pagenumber to the external file in the \myautoref command, and can't seem ...
28
votes
2answers
2k views

Referencing to “above” or “below”?

I would like to know if it is good practice, and if so how it can be achieved, to make references like: "as mentioned above...". Or am I going too far and should just type the word? I've read ...
5
votes
1answer
38 views

Wrong references to another chapters

My problem is when you click on the reference to the first definition from chapter 2 you will return to the first definition from chapter 1. Of course, I want to see definition 1 from the second ...
0
votes
1answer
12 views

How to make a cross reference of a figure inside ordered lists?

I inserted an image inside an ordered lists like Plan 1. Separate the samples (figure 1 ) 2. Clean the samples as shown in (cross-ref of figure 1). I labeled the ...
5
votes
1answer
449 views

Label a word or sentence?

Is it possible to refer to a word in a sentence? Example: Hi, I love\label{Word: Love} learning so I ask a lot of questions. I would like to refer to the word "love" in the above sentence. For ...
2
votes
1answer
66 views

Reference to the name of subequations

I have a formulation that consists of several subequations that I would like to refer to as a formulation and as individual equation in my article. Right now I have this: \usepackage{hyperref} ...
3
votes
1answer
55 views

Reference to not yet written object (supress warnings)

Is there a way to make references to not yet written code? Basically I just want to supress warnings that appear, when I write \ref{}, cause I happen to have references to things, that will come ...
0
votes
0answers
28 views

How to make linkable tags [duplicate]

I am new to tex.SE! I know how to use the most basic LaTeX features, like compiling a pdf document from a single source file. But I feel I can only use 1% of the full potential of LaTeX. One thing ...
4
votes
1answer
25 views

cleveref: crefname with accentuated initial

I am French and I would like to change a crefname. The problem is that adding a crefname beginning with an accentuated letter brings an error when using \Cref command. Here is my MWE: ...
18
votes
3answers
927 views

hyperref links break with pdftex + babel + Hebrew (or right-to-left language)

Using the babel package to write Hebrew text exposes incompatibilities with all sorts of other packages. This questions is about the incompatibility with hyperref. Basically, you can't get links with ...
5
votes
1answer
228 views

(Clickable) cross-reference in lstlisting

To generate documentation for an 'application programming interface', I would like to have a syntax highlighted area (with the class declaration), which has clickable links to the documentation (which ...
4
votes
2answers
70 views

Labeling a text and referencing it later

Is there a way to attach a label to a string and then refer to that string with a reference? For example, \labelText{This is a text that is also a tag}{label:text} and then refer to this string ...
0
votes
1answer
32 views

No information from the .log file about unresolved references

In October 2013 (question 136902), it was asked where one can explicitly find unresolved references in one's LaTeX encoding. The reply was: in your .log file. This used to be the correct and helpful ...
6
votes
1answer
1k views

Finding unresolved references

How do I find unresolved references? Does LaTeX tell me this somewhere? Is it in a log file? The LaTeX output just says I have unresolved references, but it doesn't tell me what they are, or does it? ...
14
votes
2answers
709 views

How to create *local* labels/refs in LaTeX?

Concise question: Is there any way to limit the scope in which a \label is visible to a \ref? Motivation: My current goal is to create a rather large document, containing many exercises and their ...
1
vote
0answers
33 views

Bibtex author name

I have a weird problem with my references. I'm using numbered reference system and everything works fine except for one reference entry. I have isolated the problem to the author field, because if I ...
2
votes
1answer
43 views

using tag inside table

Say I write a table twice, and want the second table to have the same numbering as the first. With equations, I know how to do it. However, with tables this does not work. The following is what I ...
5
votes
2answers
112 views

tufte-book: tikz references in caption

Using the article documentclass, the following code works as expected. \documentclass{article} \usepackage{lipsum} \usepackage{caption} \usepackage{pgfplots} \pgfplotsset{compat=1.13} ...
5
votes
2answers
87 views

Reference with compound labels

I created an environment, Procedure, using the package tcolorbox. The procedures are numbered by \thechapter-\theproc and I would like to use cleveref to refer to them. Here is a minimum working ...
7
votes
5answers
194 views

Two labels on the same equation line

I would like to have a compact set of two equations on the same line, each one labeled, with both labels on the far right. The code would be something like: \documentclass{article} ...
1
vote
0answers
46 views

Referencing tufte-book sections

I am using the tufte-book class without section numbers which looks very nice. Is there a visually appealing way to reference chapters and sections? Here is what I am doing at the moment, but I would ...
0
votes
0answers
12 views

Make cross references and table of contents linked, clickable objects [duplicate]

I'd like to ensure my PDF is easy to navigate so is there a way to have the TOC allowed to be clicked to get to various chapters and sections, similarly with the cross references to allow jumping ...
2
votes
0answers
13 views

Show complete reference in the output [duplicate]

I'm using a bib file to insert all my references. The bibliography is generated ok in the output. However, some references are shown between two pages (it means, the reference starts at the end of one ...
3
votes
1answer
40 views

Perform math operation with values of \labels

I use \label to index the number of items in several environments. I wish to perform the sum of the quantities reported by those labels. Here is a working example: \documentclass{article} ...
1
vote
0answers
39 views

Escaped characters in labels

I am writing some API documentation, and since I don't like to repeat myself I would like to make some commands and call those for parts that get repeated a lot. However, I am having trouble with ...
4
votes
1answer
30 views

Cross reference custom ID

I have a table of requirements that have an ID associated with each one, I'm doing this via: \stepcounter{functionalrequirements}FR\arabic{functionalrequirements} I'm wondering if there is a way ...
6
votes
2answers
305 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 ...
1
vote
1answer
47 views

LaTeXing autofill ST3 multiple file project

I'm writing my thesis in LaTeX using Sublime-Text3. Since my document is quite extensive, it's easier for me to handle it in a project. Also suggested by LaTeXing Guide (part2). My .sublime-project ...
0
votes
1answer
45 views

Wrong number when reference inside algorithm

\usepackage{algorithm} \usepackage{algorithmic} \begin{algorithm}[tb] \caption{Algorithm} \label{alg} \begin{algorithmic}[1] \STATE blalblabla \label{cond1} \STATE ...
4
votes
2answers
75 views

How to get cleveref to explicitly list each reference rather than joining them?

I am using cleveref's \cref{label} command with multiple arguments. I want to ensure that it explicitly lists all three sections that I am referencing regardless of if they are in order or not. At ...
1
vote
1answer
63 views

Turn a warning (“Unused label”) into an error

The following example, a follow-up of Give an error if I dont reference a label, generates a warning: \documentclass{article} \usepackage{amsmath} \usepackage{refcheck} \begin{document} ...
1
vote
0answers
53 views

\eqref inside \align with \usepackage[overload]{empeq} [closed]

I want to put\eqref inside \align. For example \documentclass{article} \usepackage[english]{babel} \usepackage{amsmath} \usepackage[overload]{empheq} \begin{document} \begin{equation}\label{eq1} ...