{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
3answers
60 views

Label four equations on one line

I have an equation in an align environment that I wrote as \documentclass{article} \usepackage{amsmath} \usepackage[pdfencoding = auto, psdextra, bookmarksdepth = 4]{hyperref}% ...
2
votes
1answer
50 views

Why does autonum fail to number and label a referenced equation in a split environment?

Here's my MWE: \documentclass{article} \usepackage{autonum} \begin{document} References to equations \ref{1} and \ref{2} and \ref{3}. \begin{equation} \label{1} \begin{split} \textrm{(1) This ...
2
votes
2answers
58 views

What is the standard way to cite a Section in a chapter?

Currently I cite Section X placed in Chapter Y as follows: In Chapter Y, Section X we studied the problem of... or: In Section Y.X we studied the problem of... I was wondering if any of the ...
4
votes
1answer
59 views

Why do I just get “?? ” when I try to get the reference of a equation with \autoref

I use \autoref to reference everything in my Thesis. I get without problem the references of the images and the Tables but when I try to get the references of a equation I get just ??. \noindent Die ...
4
votes
1answer
45 views

multiple reference to single footnotes in table

I have been trying to include multiple footnotes in a table. I have tried using longtable inside a minipage with \footnotes, \footnotemark and \footnotetext. I have multiple footnotes and some are ...
1
vote
1answer
46 views

How to write dot automatically after reference to images and equations?

When I use \ref{fig:sth}, LaTeX writes the number of the figure into the text. How do I make LaTeX automatically write a dot after the number of the figure/table/equation/etc.?
2
votes
1answer
67 views

Taking off the reference number from in text cite

I have a question about how to take off the reference number from in text cite? to explain more, I am using a thesis template, which uses the bibtex. This is how I cite a reference in text: ...
3
votes
1answer
124 views

Setting the enumi counter under custom enumeration with enumitem

I have a several items in an 'enumitem' enumerate environment with custom label styles, and I would like to repeat them at various points later on. Something like this: (a) Unicorns don't exist. ...
9
votes
1answer
161 views

Theorems and labels

Let me give a bit of background before the actual questions. I took a look at latex.ltx to see how labels are handled. I found that: \def\label#1{\@bsphack \protected@write\@auxout{}% ...
1
vote
1answer
31 views

Getting the \currentsection and \currentsubsection in memoir

As you know in memoir there's no easy way to get the current section and/or subsection, you can only get the \currenttitle, which tells you the header of the last sectioning command. That's a ...
2
votes
1answer
51 views

Using Cleveref with LIPICs documentclass fails for theorem environments sharing the same counter

I want theorems and lemmas to be referred to in the text as "Theorem 1" and "Corollary 2", sharing the same counter. This works fine when I'm using the normal article documentclass, but fails when ...
0
votes
0answers
25 views

Reference table rows by automatic counter with a unique first row

I want to use the method that are represented here, but I want a unique first row for describe the content in each column, like this : . How can i achieve this?
1
vote
1answer
37 views

Adding a new crossref type for a user-defined environment

In short, I'm trying to define an environment comment which has its own crossref type and counter. I want to be able to refer to these comment environments later. Looks like cleveref does what I ...
1
vote
1answer
33 views

Display all authors in cite bibliography

When I cite the reference I have only the first author and the year. I want to display all authors and year. What I must do ? \documentclass{article} \usepackage{natbib} \usepackage{paralist} ...
5
votes
1answer
77 views

Why do we get undefined references warning in exam class when labels are defined and used in solutions (and answers are not printed)?

Let us consider this code which uses the exam class. \documentclass{exam} %\printanswers \begin{document} \begin{questions} \question Why do we get undefined references warning in this case? ...
0
votes
1answer
35 views

Put references in a separate pages

I am writing a scientific paper with maximally 5 pages, where the the 5th page contains references only. How can I put the references in a separate page? thanks
3
votes
2answers
66 views

Reference of subfloat not appearing in pdf

I'm trying to reference the subfloat using \ref{img1} and \ref{img2} but its not working, a ? keeps appearing in the reference location. If anyone could please advise. \begin{figure}[t] ...
7
votes
1answer
100 views

Get the value of current \label

I am trying to work out a modification of the index in a complex document. The point is, I have a table of contents and so on. But we also want to add an index for specific terms like in: " .... a ...
2
votes
1answer
49 views

(Re)define \ref for chapter that includes the part number

Consider this MWE: \documentclass{book} \usepackage{xcolor} \pagecolor{yellow!10} \usepackage{trace} % avoid page breaks of \part, \chapter \makeatletter \renewcommand{\part}{\secdef \@part ...
1
vote
0answers
113 views

externaldocument references with standalone

I have a main document, /home/con/Documents/Thesis/thesis.tex, that loads a file /home/con/Documents/RNA/rna.tex with standalone. This works surprisingly well. However, there are 2 problems: 1. ...
1
vote
1answer
345 views

Biber Problem in OSX: why references not compiled?

[Update] This is solved thanks to Adam Liter's contribution in chat. This is summarised to a community answer below. I cannot understand why the references do not get compiled. I am running Yosemite ...
3
votes
0answers
44 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} ...
2
votes
1answer
55 views

Problem with citation and bibliography

I want that when I cite references, to obtain these forms as a link: Here is the file.tex : \documentclass{article} \usepackage[style=apa]{biblatex} \usepackage[american]{babel} ...
1
vote
1answer
40 views

Reference equation number in subscript of equation.

I have some chemical reaction equations which I want to reference in the subscript of an inline equation. \begin{subequations} \begin{align} \cee{ \text{NO} +\text{O}_3 &-> \text{NO}_2 ...
6
votes
1answer
63 views

cref multiple labels don't grab the label type

I have a strange situation where cref is working great for single labels, i.e. \cref{eq:some equation} and for the first two multiple references of the form \cref{thm:first theorem,thm:second ...
4
votes
1answer
33 views

Trouble using namedef and nameref to augment the default \ref command

I'm trying to enhance the builtin \label and \ref commands to let me add some additional text to the number typically associated with a reference. That is, I want to say ...
1
vote
1answer
55 views

gb4e: A package specific \ref{}-definition

I use \usepackage{gb4e} to reference and to contiuously number my linguistic examples. It works like this: \documentclass{article} \usepackage[ngerman]{babel} \usepackage{gb4e} \begin{document} ...
3
votes
1answer
47 views

\pageref dosen't properly show the page number when using arabi package

In the page 10 of the following document I define a label. When I give a reference to the page number of this label in the following page, the number is not shown properly. The number appears as 01 ...
1
vote
1answer
40 views

How to add shortcut to slide of contents in beamer?

I need to have shortcut on every slide to the content slide, which is located in the end of the presentation. I was trying to do this: \documentclass{beamer} \usepackage{hyperref} \makeatletter ...
1
vote
1answer
70 views

Why are URLs not appearing in References with Bibtex?

Solution! Big thank you to CFR! Bibtex is not the best way for a lot of online material. Bibtex was developed before web while Biber particularly for content during the time of web. More about ...
1
vote
1answer
77 views

LyX doesn't know `eqref`?

LyX somehow can't use eqref. (I use version 2.0.2 and wouldn't want to update, if possible, since I've set up everything in a very specific way and wouldn't like a new version to perhaps tamper with ...
0
votes
1answer
20 views

\ref{label>} yields the chapter [duplicate]

When I refer to a table in text, the \ref{<labeloftable>} statement produces the chapter number in which the table resides, instead of the number of the table. Any help would be welcomed!
4
votes
1answer
46 views

Repetitive reports

I have a report that uses the same number a lot of times throught the text (money reference $). There`s a way to automate this refference so I update only the "main field"? Thanks Example: pg. 1 = ...
1
vote
1answer
59 views

Problems with \nameref{} not refering to the correct label x titlesec

I'm using hyperref package to do cross-referencing, but I'm encountering some problems and it is related to \usepackage{titlesec,titleps} , for instance: \documentclass[a4paper,12pt,twoside]{report} ...
6
votes
3answers
372 views

How to make the asterisk a part of a counter?

I am writing a usual article in amsart style using amsthm package to number the theorems. I need to enumerate certain conditions, while two of them have to bear the same number differing only with an ...
1
vote
1answer
52 views

varioref's \labelformat for own environment

I defined my own environment for short pseudo-algorithms, and I would like to use the \labelformat command to change the output of \vref. Varioref's documentation says: "The command takes two ...
3
votes
1answer
70 views

How do I get amsrefs to include the publisher’s name in a cross-reference?

I have the following example for doing cross-referencing using the amsrefs package: \documentclass{amsart} \usepackage{amsrefs} \begin{document} Please see \cite{B} for more details. ...
6
votes
2answers
93 views

Handling tedious casework

I'm typesetting a math paper, where at many points I need to break proofs into several cases. I've been putting these just in an itemize environment, but this is a confusing, because things like ...
7
votes
4answers
80 views

Cross-reference two numbered environments

Consider the following code: \documentclass[a4paper,12pt]{book} \usepackage{amsthm} \usepackage{hyperref} \theoremstyle{plain} \newtheorem{exercise}{Exercise} \newtheorem{solution}{Solution} ...
4
votes
3answers
129 views

Why does \label not work in math mode when using [fleqn] with amsmath?

Try the following \documentclass[11pt]{article} \usepackage[fleqn]{amsmath} \begin{document} \newcounter{eqnthing}\setcounter{eqnthing}{0} \[a+b=c\refstepcounter{eqnthing}\label{maththing}\] \par ...
2
votes
2answers
40 views

Automatically not emphasizing references inside propositions

Is there a way to make reference not emphasized in proposition ? For propositions I used the standart AMS packages, so everything is emphasized in it. Thus, when I insert a reference, it also ...
1
vote
0answers
32 views

reference to equation from other lecture in class beamer

I'm using the class beamer to prepare lectures. I want to make a reference to a formula given in last week's lecture, but I get only question marks. Example input: \documentclass[handout]{beamer} ...
3
votes
1answer
57 views

itemize environment inside theorem

When I have an itemize environment inside a theorem and refer to the theorem later on, the document doesn't point to the right location. For example, consider the following toy example: ...
2
votes
1answer
49 views

said to have multiple labels in math environment

I basically have the following LaTeX code which is supposed to show a numbered equation and a reference to this equation: \[ i^2 = j^2 = k^2 = -1 \] \begin{equation} \label{eq:ijk} ijk = -1. ...
3
votes
1answer
43 views

Cross-referencing to included PDF with counter and argument in the label

I would like to use the following code for including PDF documents in my LaTeX document: \documentclass[12pt,a4paper,fleqn,parskip=half]{scrartcl} \usepackage{lscape} \usepackage[latin1]{inputenc} ...
6
votes
2answers
79 views

Get list of unused labels [duplicate]

I have a long article (~20 pages) with lots of equations being numbered and stuff. For a good cleanup, I would like to unnumber the unused equations. I am aware I can hide the unused numbers, but I ...
1
vote
0answers
56 views

\bibliography only shows references from the template

I have the following codes: thesis.tex \usepackage[square, numbers, comma, sort&compress]{natbib} \bibliographystyle{plainnat} \bibliography{Bibliography/sample.bib} ...
1
vote
1answer
33 views

Right language for reference to appendix

I used the package "cleveref" to make references to appendix, so that: \documentclass[...(various arguments)...]{scrbook} \usepackage{cleveref} .... .... \begin{document} ... As I show in ...
8
votes
1answer
82 views

Cleveref isn't sorting nested lists properly

I wanted to use the cleveref to automatically sort cross-references, but for some reason it isn't sorting labels in nested enumerate environments properly. This is my reduced code: ...
5
votes
1answer
84 views

Can I use cleveref and endnotes together?

I'm trying to setup my article with notes such that: Notes are not shown at the bottom of the page Notes are shown at the end of the article (no need to show them after each section or so) I can ...