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

0
votes
0answers
15 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
46 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
23 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
10 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
55 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
32 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
47 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
16 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
32 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
50 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
11 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
31 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
80 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
493 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
327 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
18 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
72 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
32 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.... ...
9
votes
1answer
2k views

Reference to a figure uses the section's number

One of my sections seems to be using the section number rather than the appropriate figure number for \ref's that point to figures. (Theorems and the like work fine.) As far as I can tell, there's ...
1
vote
0answers
30 views

Is there a label for \part to use with \autoref?

If I write: \chapter{}\label{chap:name1} I can write: See it in the \autoref{chap:name1}. But what about the parts? \part{}\label{?:name2} So I could write: See it in the \autoref{?:name2}. ...
4
votes
2answers
1k views

Lyx 2.0 Formatted references to theorem/lemma/claim environments

In Lyx 2.0, I'm trying to use a formatted reference to a claim, but I cannot get the "formatted" part, i.e. I can't get it to typeset "claim" as well as the claim number. I'm using modules "Theorems ...
2
votes
1answer
40 views

Putting all cross references in brackets in LyX

I have many equation occurrences in a long document, where LyX automatically cross-referenced its equations with \ref{} rather than \eqref{}. I want all references to be in parenthesis. A few ...
0
votes
1answer
30 views

is it possible to make reference to an index entry

my document looks like this \section{Foo bar} \label{sec:foo} Lorem ipsum dolor sit amet, consectetur adipisicing elit\index{blahblah} \section{laborum} As seen in section ...
2
votes
0answers
14 views

Can “insert reference” function searching external file in texshop?

I am using Texshop under Lion. I am writing a thesis which contains many chapters as separated files and I use "include" in the main file. In Texshop, one can directly insert reference by ...
3
votes
1answer
135 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: ...
3
votes
1answer
47 views

Formatting keywords, data in algorithm2e

I am just wondering if there is a way to reference the keyword data outside the algorithm in algorithm2e package. For example, given the example in algorithm2e, if I want to reference \KwData{this ...
5
votes
1answer
31 views

Split the reference counter for any numbered item (like with subequations)

Not sure how to otherwise formulate this: in the MWE below, I can use {subequations} from amsmath, so I get two equations with the same equation number, and "a" and "b" added instead - and I can refer ...
5
votes
2answers
85 views

Is there any way to know what equation number will be?

Suppose I am writing a LaTeX document describing some code and in the code I would like to refer to specific equation numbers in the document. Is there an automatic way to determine what equation ...
2
votes
1answer
248 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 ...
5
votes
1answer
44 views

Need help indexing subfigures: reference bugs using `subfigure` and `subcaption` not compatible with specialized document class

I'm a PhD student currently coding my dissertation into Latex. My school developed a customized document class that they strongly recommend using for compliance with layout and formatting standards. ...
5
votes
1answer
88 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. ...
3
votes
1answer
30 views

glossaries package reference non-glossary item in see also

I'd like to be able to reference a section, table or other \labeled item when defining an acronym or other glossary entry. The glossaries package uses the see attribute or \glssee command to set up ...
7
votes
2answers
114 views

Placing ref/pageref target labels inside a section

Is it somehow possible to place a "virtual label" that will behave just like the most recent "structural label" when used with \ref but will still produce the page number where the label is actually ...
2
votes
2answers
60 views

bibliographic requirements

The user guide for Springer journal author's instructions states the following: Please always give a \label where possible and use \ref for cross-referencing. The \cite and \bibitem mechanism ...
2
votes
2answers
113 views

\ref and \label [closed]

\documentclass[b5paper,10pt,twoside,onecolumn,draft]{article}‎ ‎\usepackage{seamb}‎ \begin{document}‎‎ \begin{lem}\label{t2} This is my lemma. \end{lem} By Lemma \ref{t2}, we have ...
0
votes
1answer
21 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 ...
4
votes
1answer
65 views

Hyperref cross-references across split documents

Say I have a document of type \documentclass{article} \usepackeage{hyperref} %\includeonly{Chap1} %\includeonly{Chap2} \begin{document} \include{Chap1} \include{Chap2} \end{document} Where ...
1
vote
0answers
18 views

external reference with lyx

I am attempting to reference labels in an external LyX document. I have found how to do this using the xr package in .tex files. However, I see no way of doing this in LyX without having to export to ...
3
votes
1answer
57 views

Creating own ref-label system without using additional parameters using newcommand? [closed]

is there any possibility to create a command by to make a reference without using additional parameters? I would use something like \newcommand{\something}[#1]{\label{#1}} Is it possible to do it ...
2
votes
1answer
57 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 ...
1
vote
1answer
51 views

cleveref — using both abbreviated and full form references?

The words chapter, part, appendix, table, figure, and the like are lowercased and spelled out in text (though sometimes abbreviated in parenthetical references). (Chicago Manual of Style, 16th ...
4
votes
0answers
41 views

How to change cleveref references to 'verbal' varioref style?

I would like to use cleveref's automatic ref target type recognition but with the more verbal page reference of varioref. This is my MWE: \documentclass{report} \usepackage{varioref} ...
4
votes
1answer
50 views

How to reference an inequality with \cref?

I have inequalities being referenced by cref as equations. 1-) How can I change that? (and still have inequalities with the same numbering as equations) 2-) How can I change that and have ...
2
votes
0answers
26 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 ...
1
vote
1answer
30 views

Cross-referencing tables generated by xtable

I'd like to cross-reference a table that I generated with xtable in R. I cannot able to. Here is what I did: \documentclass{article} \begin{document} Look at \ref{tab:mytable}. ...
2
votes
1answer
29 views

How can I refer to the bibliography chapter generated by biblatex using cleveref?

I am using biblatex to generate my bibliography using printbibliography. I want to reference the bibliography from another chapter, using cleveref like this: \Cref{chap:bibliography} lists the ...
1
vote
1answer
54 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 ...