{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
1answer
33 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 ...
42
votes
6answers
31k views

Reference different places to the same footnote

For example, I want to make footnotes both at Sentence 1 and Sentence 2 (which are on the same page) to the same footnote. Wikipedia's "References" have this effect.
3
votes
2answers
46 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? ...
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 ...
2
votes
1answer
420 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 ...
2
votes
0answers
21 views

Reference to not yet written object (supress warnings)

Is there a way to make references to not yet written code? Basically I just want to supress warnings that appear, when I write \ref{}, cause I happen to have references to things, that will come ...
2
votes
1answer
52 views

Can we add page references to a page containing a certain sentence?

The title basically says it all. As an example: I'm writing a conclusion and would like to refer to the page on which I wrote a discussion covering this part my conclusion in more detail. ...
7
votes
3answers
202 views

Reference to List Items in Theorem Environment with Label Type “Theorem”

I'm trying to set up references to list items in theorem environments. Using the thmtools and the cref-package I am able to reference theorem environments, such that the theorem type, e.g. theorem, ...
2
votes
1answer
43 views

External references: Cannot reference memoir labels in other document classes

Is there any way to reference memoir labels in other document classes? I've written my thesis in memoir and is now preparing slides in beamer, in which I want to reference elements in the thesis ...
16
votes
3answers
12k views

Reference name of description list item in LaTeX

(Repost from Stack Overflow) I'd like to refer to a description list item by name instead of number. To that effect, I've added labels to each item, but when referencing them I only get the name of ...
2
votes
0answers
35 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
1answer
55 views

Lyx, harvard style reference help

i need to produce the following reference style in Lyx -> (AKAMAI, 2013). i'm Having lots of problems in finding a way to produce the above mentioned reference style. Any help how to achieve this ? ...
2
votes
1answer
47 views

ConTeXt: Cross-references for Table of Contents hyperlinks

Background Looking to customize the table of contents. Problem In the example, the following problems exist: The last entry in the table of contents is not hyperlinked. All hyperlinks are off by ...
2
votes
1answer
35 views

algorithm2e labelformat and size of list of algorithms

I use algorithm2e to put algorithms in my documents, and I use \listofalgorithms to have a list of my algorithms in the table of contents but I noticed that their title size are a bit different: "List ...
2
votes
1answer
29 views

Wrong figure number at \ref [duplicate]

I'm writing a tex where I have several figures at my chapter 3, I guess it is 27 figures. after my section 3.3 my (figure \ref{fig:.......}) are giving me the wrong figure. when it should be giving ...
0
votes
1answer
37 views

compatibility cleveref and varioref amsmath [duplicate]

I try to use cleveref and varioref and ams* packages together. But I get some trouble, equations and sections label type seems to change and that does work well. Here is my example: ...
0
votes
0answers
30 views

How do I include figure or equation references inside algorithm environment in Lyx?

I would like to cross reference figures (and also maybe equations) inside the algorithm environment in Lyx but could not figure out how to do this. Help please?
3
votes
1answer
84 views

Page numbering range with first - last page [closed]

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, ...
5
votes
1answer
67 views

How to reference properly when citations are grouped by sections

I want to number and prefix my references in each section by the number of the section. However, I need to cite a reference from a section in another subsection, but my solution does not allow it. ...
4
votes
2answers
127 views

Cross-referencing within a Table

I have defined a new counter to track chemical reactions listed in a Table \begin{table} \begin{tabular}{clccr} \hline \# & Reaction & $\log_{10}A$ & $n$ ...
8
votes
5answers
2k views

Using \label with amsmath nested environments

First of all, I'm not sure these environments are supposed to be nested, but the fact is the alignment comes out exactly how I wanted, and no errors are issued. \documentclass[a5paper]{article} ...
12
votes
1answer
364 views

beamer: \nameref calls the name of the section instead of the name of the theorem environment

In my LaTeX documents, I am playing with a lot of axioms which I write under a theorem environment, while using the following math packages: \usepackage{amsmath} \usepackage{amsfonts} ...
7
votes
2answers
122 views

\xrdef and \xref in eplain

I tried to upgrade eplain used in the book "TeX for the Impatient" from version 1.9 to latest version 3.6, but came across the following problem with new eplain. The follwing code could be compiled ...
1
vote
1answer
129 views

Problem using thmtools, hyperref and showkeys all together

When I use \eqref (from amsmath) in the optional argument to the proof environment (from amsthm) and the three packages thmtools, hyperref, and showkeys are loaded, TeX runs into an infinite loop. ...
3
votes
2answers
24 views

References for asparenum enviroment with counters dependable from section

guys! I'm writing math lectures using my own enviroment for definitions: \newenvironment{mydefs} {\begin{asparaenum}[\P\slshape\thesection.a]} {\end{asparaenum}} So every definition is numbered ...
9
votes
2answers
893 views

cleveref, autonum and labeling only referenced equations

User MMM recommended that I use the new autonum package in reply to my query. However, I am having some difficulty getting the package to work. Here is a minimal working example that compiles with ...
1
vote
1answer
88 views

What could go wrong if I don't use * in my \hyperref command?

The Latex manual on wikibooks says that you should use the \hyperref command as follows: We use \hyperref[mainlemma]{lemma \ref*{mainlemma} }. Where "mainlemma" is the labelname. It then says: ...
5
votes
1answer
58 views

Problem with underscores in \newcommand

I am currently writing my thesis and I have each chapter as a separate project- I've been told I should join them up but I don't want to for now as I would find it overwhelming. I'd like to be able to ...
2
votes
1answer
31 views

Referencing subfigures/Increasing figure counter

There is a problem with referencing subfigures. When I add the line containing \caption{}, everything works perfect, but caption of a figure must be below the figure. How can I solve this ...
0
votes
0answers
13 views

My table is refered in Alphabetical order! [duplicate]

In my text i put my table \ref{table:3} AND IN MY TABLE I START BY \begin{table}[H]\label{table:1} \centering But imagine my surprise when I see my table being referred as table a in my ...
2
votes
1answer
37 views

\pageref out of sync with \label

I have \pagerfer pointing to the code listing on the next page. The listing is equipped with \label. When I generate PDF from the TeX file using latexmk -pdflatex='pdflatex -shell-escape ...
5
votes
1answer
62 views

enumitem: using label for a defined item

Whenever I try to label an item that is defined, it never seems to work. For example, consider the following: \documentclass{article} \usepackage{enumitem} \usepackage[noabbrev]{cleveref} ...
0
votes
0answers
32 views

\titlesec mesh up with bookmark anchor in star-section

When \titlesec is enable, the bookmark anchor to \section*{text} is shifted one line. How can I redifine \titlesec so it does not add a line in *-mode? \documentclass{book} \usepackage{titlesec} ...
0
votes
0answers
34 views

Let \ref show “Section” or “Appendix”

I want my \ref{} command to include "Section" or "Appendix" depending on what it references to. To include "Section" I did the following: \makeatletter \renewcommand{\p@section}{Section ...
3
votes
1answer
48 views

Avoid space preceding a reference

I use \vref{something} to reference to figures. As long as this is in regular text everything is fine. But When I surround this with brackets like this (\vref{something}) then is the result is a ...
2
votes
0answers
14 views

Is there a way to make the LaTeX labels appear in the .pdf (say as a note)? [duplicate]

Here's some background: I have multiple chapters in the dissertation I am writing. I have LaTeX-labelled the figures, the table and the equations. Whenever I add a chapter, I create a .pdf of the ...
2
votes
0answers
54 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 ...
21
votes
5answers
6k views

how to get the current chapter name, section name, subsection name, etc?

How can one get the current name of the following: Chapter, Section, Subsection(s), frame, label, mdframed?
6
votes
1answer
36 views

Refer to an endnote with the 'enotez' package points to the wrong note

I've previously used the \footref command from the footmisc package to refer to an endnote. This has worked fine in combination with the endnotes package: \documentclass{article} ...
1
vote
1answer
27 views

How do I include the book/part name in the cross-references (if cross-book/part)?

My document structure is basically a collection of other smaller documents. I decided not to go down the xr-hyper road and having individual PDF documents, because the requirement in the end is a ...
5
votes
3answers
171 views

New counter that can be referenced

I have created a method \makeExample that creates a new counter called example. Can you tell me how I can modify it, so that I can make references to the example counter? So that I for example can ...
2
votes
2answers
61 views

How do you reset counters?

I would like to reset the counter that appears next to equations in \begin{equation} and \begin{align} so that my last homework problem doesn't refer to an equation several lines up as equation 42. Is ...
0
votes
0answers
21 views

natbib citet does not give me year for every reference

I am using package \usepackage[square,sort]{natbib} and \citet{}, which is working fine for some of my references, but for few it just gives me the authors without year... I can't see any ...
2
votes
0answers
21 views

LaTeX; Refer in one document-class to chapters in another document-class [duplicate]

I want to include an article (with documentclass: IEEEtran) into a report (with another, company specific, documentclass). I want to refer in the article (myarticle.pdf) to the ten appendices of the ...
0
votes
1answer
52 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 ...
0
votes
0answers
109 views

tikz/gnuplot legend inside the caption

I want to add my legend inside the caption, similarly the one given in this question. But I want to use gnuplot environment as in the following MWE. Unfortunately, I am getting '??' because ...
3
votes
1answer
60 views

How do I reset the footnote cross-referencing counter for each chapter?

I am writing my thesis in the document class scrbook, and have the footnotes counter set to start again from 1 in each chapter. However when I reference a source more than once within a chapter, it ...
4
votes
2answers
113 views

Cleveref reference name depending on label instead of counter?

Let's say I have this: \documentclass{article} \usepackage{cleveref} \begin{document} \section{Section One} \label{a:sec1} \cref{a:sec1} \section{Section Two} \label{b:sec2} \cref{b:sec2} ...
3
votes
1answer
30 views

Why renew section make \ref comand to section labels do not work?

An example. \documentclass{article} \renewcommand{\section}[1]{\medskip \addtocounter{section}{1}\raggedright \textbf{\Roman{section}. \ #1}\medskip} \begin{document} \section{First Section} In ...
0
votes
1answer
46 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 ...