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

1
vote
0answers
17 views

How to add et all to references?

I am writing a thesis and I would like to add "et all." to references. This problem is described here: LaTeX doesn't recognize "et al." in the Bibliography The problem is that when I ...
3
votes
1answer
144 views

Cross-ref an equation using RefTeX, AUCTeX and cleveref

After an updated of AUCTeX (to 11.87) the solution that worked wonderful from this answer stopped working. In particular, I got the following error: reftex-reference: Wrong number of arguments: ...
2
votes
1answer
78 views

Problem with references \here \where

Hi I have a problem with referencing which I cannot reproduce with the MWE. Here is what the problem is. I need to write next to the page number of my reference also if that page comes before and or ...
2
votes
1answer
29 views

Referencing name of file in separate file, none of which is the main file

I have a main file (say, main.tex) and two chapters in separate files (labour.tex, health.tex) which the main file reads via \externaldocument (I've also used \input but with the same disappointing ...
2
votes
1answer
266 views

Referencing tables in pandoc

Pandoc allows referencing images via inline Latex commands. However, it seems it does not work for tables. I'm aware of several workarounds, including manipulating a resulting TeX file manually, but ...
6
votes
1answer
98 views

Find point of page break in an external document

I am creating multiple versions of a document from a single LaTeX source. Specifically, I have a series of lessons that have an instructor version (with notes and answers) and a plain student version. ...
1
vote
1answer
44 views

How to make LyX use prettyref or refstyle

In LyXm in "Document Settings" window on "Document class" pane I can choose to use either prettyref or refstyle. However the TeX code looks as if it used ordinary /ref. Why? %% LyX 2.1.0 created ...
0
votes
0answers
24 views

Cross-referencing with label inside document [duplicate]

I have an issue with referencing inside the text, i use the \label for every figure I have and Table, but when i state in my text that see Figure \ref instead of giving me Figure 5 (or etc) it gives ...
0
votes
1answer
21 views

Referencing with bibDesk in LYX

I was trying to insert a bibliography which I created in BibDesk. However, when I insert the bibliography(.bib) in Lyx from 'Insert', and compile it the reference list is empty. Does someone know ...
7
votes
2answers
130 views

How to number only labeled equations?

I'm writing all my equations with \begin{equation} ... \end{equation} so all of them are numbered but only some of them are labeled. I don't want all of them with numbers but only the labeled ...
0
votes
1answer
28 views

No hyperref link in stackrel with xelatex

Consider the following example document: \documentclass{article} \usepackage{amsmath} \usepackage{hyperref} \begin{document} \begin{equation} \label{eq:eq1} a = b\quad \wedge \quad b = c ...
0
votes
0answers
50 views

need to know how to use cross-reference in latex [closed]

please I need to know how to use cross-reference in latex to make content list , to my Phd thesis , and why I need to make a compilation 3 times as I heared ?
6
votes
2answers
1k views

“Manual” customizable reference text

For a document I am writing, I am considering a table indexed by references to positions in the text with a description of each item. I know already that I can create a phantom section, and make a ...
3
votes
2answers
41 views

Change the output format of \cref from table to Table and from eq. to Equation

if you use \cref then you get references as eq. (1) / table (1) / fig. (1) but I want it to produce Equation 1 / Table 1 / Figure 1 how to I set this? I also want to know if it is possible to use ...
2
votes
1answer
63 views

Editing the reference style for subfigures using cleveref and memoir

I'm using the cleveref package to reference floats (in this case subfigures) in the memoir class. Currently the output looks like this (sorry for the danish, I don't think it matters): Using the ...
0
votes
0answers
22 views

How to refer Bibliography items in appendix?

I am referring bibliography items in the appendix. In my thesis Bibiliography is appearing after appendix. Everywhere in the text bibliography is properly referred but in appendix latex diaplays "[?]" ...
0
votes
0answers
28 views

Tables always auto ref to Table 1.2 [duplicate]

When referencing a table with \autoref{}, instead of the table's correct reference I always get Table 1.2. This is quite strange, because clicking in the reference sends me to the correct table on the ...
0
votes
1answer
481 views

\ref not working with tikz and externalize lib [duplicate]

Possible Duplicate: Why does an environment's label have to appear after the caption? I am using tikz with its externalize library. I create figures with the following coding style: ...
3
votes
1answer
48 views

Page numbering range with first - last page

I've been trying to output a page range, including the first and last page numbers of the chapter (e.g. "p. 20 - 39"). I've been using the \pageref{LastPage} command for the last page of the chapter, ...
8
votes
3answers
2k views

Unable to link to inserted pages with pdfpages

I would like to add labels to pages inserted with the pdfpages package. I sort of works right now, but it is not possible to link to the labels with \ref and \pageref commands. But it is possible to ...
6
votes
2answers
46 views

Referring to Second Last Page in pageref in lastpage package

I can use \pageref{LastPage} to give the reference of last page with lastpage package. The last page of document is the back cover so I don't want to count it. I wonder how to specify the second last ...
0
votes
0answers
27 views

Using cleveref for named referencing

This is what I have so far \documentclass{article} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsthm} \usepackage{tikz} \usepackage{tikz-cd} ...
1
vote
1answer
58 views

Table row content, duplicate or quote in a different table

Following on from Arbitrary named counter, referenced, which was answered very comprehensively, I have a follow up question. This one's difficult to describe so my searching around the internet and ...
18
votes
1answer
2k views

How to reference ranges rather than separate numbers?

I would like to do the following: Just type something like ... we describe this in sections \mycoolref{winter,spring,summer,fall} ... and it will be typeset as something like ... we describe ...
1
vote
1answer
34 views

References from auto generated images are wrong

In the following I generate labels for some figures that are auto-generated \usepackage{varioref} \newcounter{figurecounter}\setcounter{figurecounter}{1} \let\endF\endfigure \renewcommand\endfigure{% ...
0
votes
1answer
24 views

Subfigure referencing, wrong order

I have problems with subfigure referencing. When I reference the main figure, the labeling in the reference is correct, but when I try to reference the subfigure, I get figure X+1, which is kind of ...
3
votes
1answer
21 views

Specified appendices and cross-referencing in text

I am setting up appendices like suggested in the answer to this question: Appendix - Adding PDF, using the MWE suggested by cfr: \documentclass[a4paper]{article} \usepackage{geometry} ...
20
votes
4answers
3k views

Separate labels in cases

As much as I have tried, it doesn't seem possible to use separate labels when using a casesconstruction (from the amsmath package). Ideally, I would like to be able to write something like ...
1
vote
0answers
19 views

Separate labels in cases to then reference [duplicate]

How can I label each of these equations separately so that I can refer to each of them later on? \[ \begin{cases} u_t+uu_x=-p_x, \\ H_t+(uH)_x=0, \end{cases} \]
0
votes
0answers
20 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: ...
1
vote
1answer
50 views

Possibility to ref link different areas of an image to different labels?

I have a diagram as an image. There are described different components which are later described and marked with \label tags. Can I ref link different areas/sections of one image to different \label ...
0
votes
0answers
30 views

Exclude citations from other chapters, but make cross-references work

I'm writing up my PhD dissertation, and I tend to compile each chapter separately. Each chapter is in a separate document, and is included in the main LaTeX file. I use \includeonly to only include ...
0
votes
1answer
20 views

cleveref, ntheorem and lj-igpl

The cleveref package doesn't work properly with the lj-igpl package. There are many discussions about cleveref, however, none of them solves my problem. I am using the ntheorem package as well, but ...
1
vote
2answers
3k views

Label referring problem

I'm new here and new user of LaTeX I'm trying to write my PhD, intermediate reports with it and I am facing some problems. I tried to look on the internet for 2 weeks, but found no answer to my ...
3
votes
1answer
56 views

Incorrect Reference Link

I have 2 equations. When I use \ref{} for the second equation, it gives the correct number but directs to the wrong place. How can I fix this? Thanks \documentclass[12pt]{article} ...
2
votes
1answer
35 views

Generate HTML from document that uses autoref/cleveref

I have an existing document that was written using hyperref and natbib, and am trying to generate a website alongside the PDF that is already built. The document was written using autoref references ...
6
votes
1answer
51 views

Mixing cleveref, vref and ref: Argument of \@firstoftwo has an extra }

I am using varioref and cleveref together. This works pretty well. I had to add a hack though, which modifies the strings used by varioref (in german it should read "ab Seite X" ("starting on page X") ...
0
votes
1answer
21 views

achemso package: referencing multiple figures

I am using the achemso package to submit a paper to Environmental Science and Technology. When I include a reference to a figure (\ref{Fig1}), the figure number appears preceded by the word "Figure." ...
3
votes
1answer
39 views

How do I cross-reference from inside a PSTricks figure?

I have a pstricks figure that gives an overview of my implementation. From inside the figure I want to cross-reference to the sections that describe the various components in detail. However, my ...
4
votes
0answers
56 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 ...
21
votes
1answer
3k views

Cross-Reference with custom text

Is there a way to make a cross reference to a label of a header with custom text, in sense it's text should differ from the Header text, or it's number or Page (not like the predefined formats in ...
1
vote
0answers
17 views

Multiple references on one line of bibliography in LyX 2.0 with revtex4-1

The documentclass revtex4-1 allows multiple citations to appear on the same line in the bibliography. This is accomplished by adding a star next to the citation key [1]: \cite{bethe, *feynman, ...
0
votes
0answers
33 views

Unable to print index at the beginning of the document

I am trying to compile a 'Table of Cases' and 'Table of Statutes' in the form of an index which should go before the main text. I am using the Oscola package, Biber, and imakeidx to put together the ...
4
votes
1answer
82 views

Getting pages where an environment is located

I am trying to create a new environment that sticks a watermark in the background. Specifically, I have something like \usepackage{background} \newenvironment{\watermarked}{ ...
4
votes
1answer
1k views

pgfplots, custom legend and tikz library external

I try to create Tikz figure with several pgfplots subplots. I want to have one legend for them since they all have the same curves. I found out from this question that i can label and than reference ...
12
votes
3answers
500 views

Enumerate after \label

I have the following code: \usepackage{hyperref} \newtheorem{thm}{Theorem} \begin{thm} \label{mythm} \begin{enumerate} \item \end{enumerate} \end{thm} \ref{mythm} The ref prints the ...
12
votes
2answers
330 views

How can I print only Author-Date of the parent crossref in the bibliography entry of the child of the crossref?

I have an @article entry, which crossrefs a @periodical entry. I cite both of them. In my bibliography, I would like the article to refer to the periodical in the form of the citation, but i only get ...
0
votes
0answers
19 views

Can the navigation headbar link to a specific frame in the section, rather than the first one?

When clicking on a section title in the navigation bar, I arrive quite naturally on the first slide of that section. But when this slide is e.g. a bullet list with pauses between the items, I would ...
2
votes
2answers
74 views

Referencing Definition by Name and Optional Argument

I have the following MWE: \documentclass{article} \usepackage{amsthm} \usepackage{hyperref} \newtheorem*{definition}{Definition} \begin{document} \section{Section Definitions} ...
0
votes
0answers
34 views

How do I refer Appendix in latex so as to display 'A' or 'B' in my paper

I want to refer appendix in my paper. Here is my sample latex code: \section{hello1} \label{h1} bala....... \section{hello2} \label{h2} bala..... \appendix \label{appendix} \section{} bala.... ...