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

7
votes
0answers
276 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 ...
6
votes
0answers
94 views

Abbreviated references: just the necessary references, no more

Legal reports in Germany often use a somewhat strange way of structuring. Instead of the usual numbers, we have A. (B., C. D. ...) for the first level, I. -- Roman numbers for the second ...
5
votes
0answers
121 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 ...
5
votes
0answers
188 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
84 views

How to place cross references in center margin between two columns

How can I put all cross references in the center margin, with those for the left column vertically positioned above those for the right column? The text will wrap to additional pages, and the cross ...
4
votes
0answers
268 views

Cleveref: Change behaviour of \Cref to use the abbreviated form

The journal International Journal of Solids and Structures uses always capitalised and abbreviated form of references, i.e. Fig. 1, Eq. 1, even at the beginning of a sentence. I use the package ...
3
votes
0answers
39 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 ...
3
votes
0answers
153 views

I want to use latex to write a big document with three types of tables

Very concise (vague) question: (4th edit) I want to use latex to write a big document with three types of tables (tableA,tableB,tableC), over time (dates), indexed by many keys(key1,key2,key3,...). ...
3
votes
0answers
132 views

Cross-referencing on 2 kinds of end-footnotes (separated and with different coloured numbers)

In the beginning I used parnotes and endnotes to distinguish between the 2 seperated kinds of end-footnotes: Attention: to be able to compile the first "grey box" of trial code, one must download ...
3
votes
0answers
56 views

apa6e referencing required for elsevier article

I need apa6e referencing style for an Elsevier article. I don't know why I encounter errors. Here is the example: \documentclass[preprint,12pt,authoryear]{elsarticle} \usepackage{apacite} \usepackage{...
3
votes
0answers
164 views

How can I get \framezoom to work in evince?

The \framezoom feature of the beamer class is awesome, but unfortunately it doesn't work correctly in evince (and the TeXworks previewer). When clicking the zoom button, the viewer correctly jumps to ...
3
votes
0answers
299 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
130 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 ...
3
votes
0answers
235 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
152 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
51 views

How can I use \ref to refer to a \label that's in another document?

I am writing a math textbook, and hope to have a separate solutions manual. I'd like for the manual to be able to refer to problems in the original book so that LaTeX, or I, can catch when the ...
2
votes
0answers
38 views

How to reference sections in other chapters mentioning the chapter?

I have an article class document with a structure like this. Part A Section 1 Section 2 Part B Section 1 Section 2 I want to reference Section 1 in part A from Section 2 in part B. When I ...
2
votes
0answers
18 views

Clickable file links from in-text reference

I am currently using natbib to reference articles that I have in Mendeley. I have figured out how to get clickable links such that clicking on the in-text reference brings me to the actual reference ...
2
votes
0answers
38 views

How to modify the sorting of cleveref?

In the backmatter of my document I have the part with plates. Each page is one plate with several figures in it. The counter for the figures starts on each page/plate, but the number of the figure ...
2
votes
0answers
57 views

Ignore special characters in \newcommand argument to generate section labels?

I am editing a rather large document and have replaced \section, \subsection etc with \newcommand macros that include \section etc but also spacing and other commands. I am trying to get it to ...
2
votes
0answers
36 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 \\\\\\\\\\ ...
2
votes
0answers
65 views

Cross-reference in muliple chapter in multi-file thesis

I want to cross-reference between different chapters. For example I have chap2.tex and chap3.tex as files containing all the theorems and methods, respectively. The following chapters 4,5...7 will ...
2
votes
0answers
62 views

Is there a LyX way to add multiple cross-references to a document?

I am using refstyle and can successfully call \chapref{label-1,label-2} in an ERT, which produces the desired "Chapters 3 and 4", but I was wondering if there was a way to do this via the GUI which ...
2
votes
0answers
93 views

Help with a custom references style

So...I'm not the only one who needs to use some custom style in their bibliography. As I'm annoyed with using office word editors I would like to create a tex template that I can use over and over and ...
2
votes
0answers
189 views

Strange reference behaviour. (References disappearing randomly)

I am using the MNRAS class https://www.ctan.org/tex-archive/macros/latex/contrib/mnras?lang=en, and I have a very strange behaviour with my references. I am using BibTex, and some times the file ...
2
votes
0answers
39 views

How do I “bake in” cross references?

We've been writing a paper with its supplementary materials as two .tex files, using the xr package to handle cross-references. Now the journal wants the sources for just the paper, and I think this ...
2
votes
0answers
89 views

Referencing in enumitem list levels

The following defines my enumeration parameters: %---------------------------------------------------------------------------------- % Enumeration Parameters %-----------...
2
votes
0answers
50 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 ...
2
votes
0answers
440 views

Reference in Spanish and English language in BibTeX

I'm typing my thesis and I'm using LaTeX for it. I've found one problem in my references. I'm using two language for my references: Spanish and English, but for the last language , I can't change the ...
2
votes
0answers
140 views

! Missing \endcsname error… I can't find the problem

I can not compile my tex file into pdf using winedit 9. This is my issue. I have attached the tex file as well. Please any help would be appreciated in fixing this problem. The issue is apparently ...
2
votes
0answers
102 views

How to cross reference between different beamer presentations

for my lectures I am preparing beamer presentations. I would like to include sections (possibly more than one in a single beamer presentation) and to be able to have continuing numbering of ...
2
votes
0answers
55 views

change on natbib references

I'm using abbrvnat as my bibliography style, and I wanted to change three things on the way the references are displayed in the bibliography section: 1) Change all of author's name in the reference ...
2
votes
0answers
97 views

Include Chapter number in reference if target is in different chapter

I'm using a setup where the chapter numbers are in Roman and the normal referencing commands do not include a chapter reference: \renewcommand{\thechapter}{\Roman{chapter}} \renewcommand{\thesection}{...
2
votes
0answers
2k views

Order referencing by appearance AND number (natbib)

I am currently trying to get the references to be listed in order of appearance in my document, rather than order in bibliography. Some info: I am using natbib: \usepackage[numbers,compress]{...
2
votes
0answers
200 views

Error using \ref in captions with Tufte and Babel

I am using the tufte-book class. When referencing with \ref within a caption using the babel package I get two errors: "Argument of \@iiminipage has an extra }." and "Paragraph ended before \@...
2
votes
0answers
62 views

Collect text in mdframed and print at the bottom of the next page

I am trying to collect say fruits mentioned in a page and print them at the bottom of the next page. All text is always enclosed in a frame and the frame can span multiple pages but the collected ...
2
votes
0answers
47 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 default)....
2
votes
0answers
96 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 ...
2
votes
0answers
70 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
47 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
69 views

Refrange in \ref Endash

Here is a minimal example: \documentclass{article} \begin{document} \begin{figure} \caption{Figure 1.\label{figa}} \end{figure} Figure~Sample Text follows Figs~\ref{figa} \ref{figa,figb,figc} and \...
2
votes
0answers
360 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 ...
1
vote
0answers
28 views

Cross-referencing page numbers between two documents

I have two documents which I will subsequently merge (i.e. I will merge .pdf’s). In order to do that I have two issues to resolve, both have to do with cross-referencing. First, I use firstpage and ...
1
vote
0answers
18 views

Invert First authors last name and initials in references using bibtex

I am using bibtex, the elsarticle document class, and the elsarticle-num-names bibliography style. Is there a way to have your references like this: Singer, A., Z. Schuss, D. Holcman, 2006. Narrow ...
1
vote
0answers
38 views

\pageref not working properly in main document with subfiles package and xr package

I have a main file setup with the subfiles package and the xr package. I am trying to make the \pageref command work properly for cross-references in the main file, but the page number it displays in ...
1
vote
0answers
16 views

Reference numbers appearing before references section begins

My .bib file: \begin{filecontents}{\example.bib} @article{hsieh, title={Development accounting}, author={Hsieh, Chang-Tai and Klenow, Peter J}, journal={American Economic Journal: Macroeconomics}, ...
1
vote
0answers
52 views

Macro: Replace all occurrences of words which are identical to content of \label{…} into \nameref{…} (unless of course the \label itself)

This question is a follow-up of Macro: Replace all occurrences of a word, but would like to ask for a possibility to do the same with words (e.g. foo) that are identical to the contents of certain or ...
1
vote
0answers
23 views

Referencing to inputted table

I have many tables generated automatically in separated tex files which i input in my main document using \input{table1} \input{table2} ... Is it possible to refer to this table by using its name or ...
1
vote
0answers
39 views

What is a better way to link questions and answers on a problem sheet?

I write many problem sheets. The basic structure is thus: \section{Questions} \begin{enumerate} \item Question 1 \item Question 2 \item Question 3 \end{enumerate} \...
1
vote
0answers
30 views

Cross-referencing inside empheq environment

Today I encountered a problem getting a cross-reference of one of my equation inside the empheq package. I use the gather environment inside my empheq equation and would like to label both equation ...