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

8
votes
1answer
60 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
18 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
21 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
15 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
17 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
27 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
45 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
27 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
34 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
71 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
23 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 ...
0
votes
1answer
19 views

How to label my references so I know how to refer to them?

I'm currently writing my master thesis and i have a lot of papers to cite. I'm not able to find a good way of giving shortcuts (names) for the papers when I cite them. Can you recommend a naming ...
1
vote
0answers
25 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
88 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
34 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
35 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
20 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
28 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
23 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
32 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
21 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
27 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
36 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
35 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 ...
3
votes
1answer
43 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
36 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
327 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
18 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
43 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
65 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 ...
5
votes
3answers
42 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
101 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
33 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
15 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
40 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
45 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
33 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
50 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
23 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
25 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 ...
6
votes
0answers
50 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: ...
0
votes
0answers
30 views

Having a problem generating a command that make chapter and label in one line

I'm writing my thesis, modifying the ezthesis template. I did a new command that mix chapter and label in one line. \newcommand{\chaptercolored}[2]{\textcolor{colorchap}{\chapter{\textbf{#2}}}% ...
5
votes
1answer
52 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 ...
1
vote
1answer
50 views

How to change the appearance of \ref depending on where it's called relative to the \label

I have defined a \task sectioning command and a subtasks-list as in this MWE: \documentclass{article} \usepackage[hidelinks]{hyperref} \usepackage[loadonly, explicit]{titlesec} ...
0
votes
0answers
28 views

Problems with \eqref{}

I am using Latexian on a MAC for editing. I am very new to this so I apologize if what I am saying is not the most useful info to describe my problem. Basically, I have the ams math package and I am ...
1
vote
2answers
52 views

Referencing a table in latex

My latex document is given below. \documentclass[12pt]{report} \linespread{} \usepackage{fancyhdr} \usepackage{amsmath,amssymb} \usepackage{caption} \usepackage{relsize} ...
0
votes
0answers
25 views

How to automatically add page number for referenced figure/table if not in the immediate text vicinity

I have realised as I write my thesis that at times I need to cite figures from completely different sections to discuss a point that is connected (some are figures in future sections some in past). ...
1
vote
1answer
30 views

custom chapter numeration vs hyperref [duplicate]

I wanted to change the chapter numeration in such a way that the introduction of my thesis has number I and the first chapter has number 1 and so on. So I changed the style of the numeration using ...
0
votes
0answers
18 views

How to transfor “t.” into “vol.” with the french version of citeyear? [duplicate]

I use the package : \usepackage[style=authoryear, language=french]{biblatex} I have followed the instructions given for this precedent question Missing “Vol.” and “No.” in biblatex/biber to add the ...
3
votes
2answers
44 views

Label at the end of a breakable tcolorbox

I use the tcolorbox package to draw breakable boxes across pages. I can refer to the beginning of the box with the label key. Is there an automatical way to refer to the (page of the) end of the box? ...