{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
0answers
59 views

biblatex-chicago, backref, and crossref

Using biblatex-chicago with backref=true and longcrossref=false, the list of backreferences of cross-referenced items appears with the parent item, not the child. How can I make it appear with the ...
5
votes
0answers
71 views

customizing cleveref for pair of subfigure references: [1a and b] instead of [1a and 1b]

I am using the cleveref package and I am very happy with it. However, I encountered one problem I wasn't able to solve. I am probably just not combining the syntax correctly. This is highly connected ...
5
votes
0answers
68 views

How to enable smart references when using xr-hyper package for producing multi-volume book?

I'm using xr-hyper package by @David Carlisle and smartref package by Giuseppe Bilotta to compile a multi-volume book. xr-hyper enables cross-references between different volumes as shows the ...
5
votes
0answers
86 views

Consolidate BibTeX crossrefs into new .bib file

I have three BibTeX files set up: main.bib, which contains all the main reference entries for papers. These use crossref to reference entries in... crossrefs.bib which contains all the details of ...
4
votes
0answers
40 views

How to include references used in Supplementary material to main text

According to the guide of APS, I have to include the additional references in the supplementary material should be included in the main text. In other words, I need to put references used in one file ...
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} ...
4
votes
0answers
74 views

hyperref link to file at position

I'm a newbie. I've figured out how to set up a hyperlink link to a file (in my case, a PDF) on the hard drive. But I would also like to change the starting position when this PDF opens up. This PDF ...
4
votes
0answers
224 views

\ref, \autoref and hyperref expansion

I'm trying to write section numbers to a file with the newfile package. In details, this MWE basically tries to write to a .ref file with lines like A-B. The A and B are generated by \label and \ref ...
3
votes
0answers
35 views

Prefix for \externaldocument references in \cleveref

The question Special case for last element with \foreach manually changed the references, and added the ability to have a prefix on references. Can I do the same thing using \cleveref? (Note: This ...
3
votes
0answers
98 views

Long vs. short labels for cross-references

@DavidCarlisle argued in his answer that there is no need to use very long labels and it is actually a misuse! In my dissertation I find myself using very long labels all over the place. For the same ...
3
votes
0answers
164 views

Different fancyref strings for different reference targets?

I use fancyref with the default prefixes (chap:, fig: and so on). I'm not entirely happy with the way the references are generated when the referenced object is on a different page. For tables and ...
3
votes
0answers
63 views

How can I automatically copy a LyX-generated .aux file to the working directory for cross referencing?

This is a follow up to: Using the xr package in LyX (for cross-referencing an external LyX document) I have two LyX documents, called draft.lyx and supplement.lyx. I need to compile them into ...
3
votes
0answers
63 views

Reference source code line in minted environment with cleveref

I'd like to reference lines in the minted environment (solved here for regular \ref) using cleveref. MWE: % !TEX TS-program = arara % arara: pdflatex: { shell: yes } % arara: pdflatex: { shell: yes ...
2
votes
0answers
45 views

How do you organize an article with multiple aspects?

I am writing a reference manual for a component(a particle system) in our game engine. There are many modules in this system. And each of them has a module type. I can write specifications for every ...
2
votes
0answers
61 views

Mysterious error message regarding missing reference

At the very end of my pdflatex compilation, I get the following error messages: (see the transcript file for additional information)pdfTeX warning (dest): name {theorem.10.2} has been referenced but ...
2
votes
0answers
62 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 ...
2
votes
0answers
42 views

Reference in chapter's name. How does it look?

Have you ever come across to a reference in chapter's name? More precisely, I'm about to use reference to a equation in the name of one appendix - there is no way to describe that particular equation. ...
2
votes
0answers
63 views

Cleveref's \crefrange and mixed equations and subequations

This example doesn't work with the latest version of cleveref. The line Refer to \crefrange{eqa}{eqc}. gives the output: Refer to ?? 1–3. It used to work before. Can anyone explain how to fix it? ...
2
votes
0answers
94 views

Automatically change cref name on non-first mention

I'm using cleveref to make a references in format "img. NN". My university's instructions require to use "img. NN" format on the first reference and to write something like "see img. NN" on the second ...
2
votes
0answers
224 views

Multiple \label commands before \ref

I have tried several approaches to solve my problem but unfortunately none successful yet. I can not find documentation mentioning how to solve this particular case. My problem is that I am using a ...
2
votes
0answers
69 views

Equation cross references problem

I'm using the code below to get my equations numbered as (1a), (1b), (1c), (1d) and (1e). \begin{subequations} \begin{align} a+b=c\label{eq1a}\\ b+c=d\label{eq1b}\\ c+d=e\label{eq1c}\\ ...
1
vote
0answers
14 views

Texmaker isn't matching my labels

I'm currently editing a latex file together with a colleague. She's uses technixcenter as editor and I use texmaker 4.1.1. My compiler refuses to match the references with the labes when I insert ...
1
vote
0answers
30 views

Is there such a thing as `\sectionref{}`?

My sections are labeled, for example, as "5.3," where the 5 is the chapter number and the 3 is the section number. Using \ref{} to refer to that section would produce "5.3"; however, I would only like ...
1
vote
0answers
28 views

Referencing wrong appendix in chapter. Should reference A.1 instead references A

My problem is when I reference a piece of document which is in my appendix it states the wrong one in my chapter content. I.e blah blah in 'A'. When it should be 'A.1'. Every document in the appendix ...
1
vote
0answers
33 views

Using math mode in a label

How can one use something like $\mathbb{R}^k$ in a label? I.e. \label{three equivalent properties of $\mathbb{R}^k$}. Currently when I try this I get an error. Here's a MWE: \documentclass[a4 ...
1
vote
0answers
17 views

Why might I not want to set naturalnames and hypertexnames both equal to false in hyperref?

I know from these questions that you can solve a lot of internal linking problems in your PDF by setting naturalnames and hypertexnames both equal to false (naturalnames being set to false by ...
1
vote
0answers
22 views

LaTeX Printing reference identifier along side reference number

I am wondering if it is possible to turn on (or create) a feature that would cause all reference numbers to be printed with the variable name that defines that reference? For instance: ...
1
vote
0answers
40 views

\ref to \label in other document?

I have a repository with one document, but I think of splitting it into two documents, whereas I want to cross-reference from one to eachother. Is there a way, to "rewrite" \ref to automatically ...
1
vote
0answers
35 views

How to refer theorem of different directory?

My thesis contains several chapters, which I have named like Chapter1, Chapter2 etc. Each of these chapters have a separate folder which contains its files. All these chapters are contained in a main ...
1
vote
0answers
71 views

Hyperlink between footnote mark (left after an author's name) and footnote text

I use \thanks{} to leave a footnote after an author's name. What I would like is that, when the reader clicks on the footnote mark, s/he be automatically taken to the associated footnote. Is that ...
1
vote
0answers
46 views

How to delete web links from references in Gost style?

I need to remove web links like DOI and Pubmed from litterature references produced in Gost style. What functions and lines of code are responsible for that? Reference looks like: Weyn, B. ...
1
vote
0answers
26 views

Label of figure in a for loop

I am adding figures to my TeX file using the following code: \foreach \paramA in {a,b,c} { \foreach \paramB in {1,2,3} { \begin{figure} \addOneImage{pathToImage/imageName_\paramA_batch\paramB.png} ...
1
vote
0answers
66 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. ...
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}} ...
1
vote
0answers
118 views

latex problem while converting into pdf

\documentclass[a4paper,11pt]{article} \usepackage{graphicx} \usepackage{a4wide} \usepackage[colorlinks,linkcolor=blue,citecolor=red]{hyperref} \usepackage{natbib} \usepackage{float} ...
1
vote
0answers
44 views

\detailref or \autoref without pagenumber when on same page?

I'm looking for a way to use \detailref or \autoref with pagenumber output, but only where necessary. The pagenumber shall be suppressed when the reference target is on the same page. How do I do ...
0
votes
0answers
32 views

Some table references sometimes not working

I'm having a problem with \ref to some of my tables. I have lots of tables via several \input{} commands. Some files contain only one table, others multiple tables. The problem is that some of the ...
0
votes
0answers
23 views

cross-reference auto-completion in TeXShop

I use TeXShop 3.26 and have a root tex file and every chapter in a separate file. When I use the auto-completion feature for the ref command I only get the labels defined in the same file. Is it ...
0
votes
0answers
36 views

Update references each time LaTeX compiles document

When I use my TeXnicCenter and hit the compile button I want that all references are updated ... So I don't have to compile 3 times till all those references update. Because with a bunch of pictures ...
0
votes
0answers
26 views

General advice on how to manage references between multiple files

I need to cut my .tex files into several files, and to compile each file separately. I will need to do some work to ensure that the references and the counters work well. Before starting this work, I ...
0
votes
0answers
19 views

revtex 4.1 in aps style: section numbers do not show up in typeset text

Typesetting using Revtex 4-1 and Texlive gave me this problem: The source fragment is \documentclass[12pt,aps,prl,showpacs,showkeys,preprintnumbers]{revtex4-1} \usepackage{graphicx} ...
0
votes
0answers
28 views

Make glossaries contain exactly all referenced and cross-referenced keys

The documentation of the glossaries package states about the see key Note that in this case, the entry with the see key will automatically be added to the glossary, but the cross-referenced ...
0
votes
0answers
69 views

MikTex TOC links incorrect when setting title

When I generate a document with toc and a title by adding the lines: % Book Name % by Author Name The toc links to the book are all off. I'm running the following command: pandoc --toc ...
0
votes
0answers
46 views

Referring to problem from previous section, double referencing

So In chapter 1, I put as a practice problem, without a solution, \prob{Prove $1+1=2$}. Lets say in chapter 74, I want to put the solution. Is there any way to re-put the question there so I can put a ...
0
votes
0answers
37 views

Choosing what to \ref from a \newcommand

I have this definition in my class (thanks to this answer): \newcommand\clause{% \immediate\write\@auxout{\string\expandafter\gdef\noexpand\csname ...
0
votes
0answers
44 views

Citation in externalized pgfplots

I have a few \cite commands in my pgfplots which are not being displayed properly when externalization in on. As soon as you turn off the externalization, the references will be displayed correctly. ...
0
votes
0answers
46 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} ...
0
votes
0answers
79 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, ...
0
votes
0answers
26 views

AucTex region preview produces a document with ~10× more pages than the region preview should be. Cached preamble issue?

I define the following \locallabels{} command to localize labels and references to a certain part of my document \makeatletter \AtBeginDocument{% \let\origlabel@in@display\label@in@display ...
0
votes
0answers
77 views

Problem using thmtools, hyperref and showkeys all together

When I use \eqref (from amsmath) in the optional argument to the proof environment (from amsthm) and the three packages thmtools, hyperref, and showkeys are loaded, TeX runs into an infinite loop. ...