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

6
votes
2answers
73 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
51 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
32 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
79 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
62 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} ...
1
vote
2answers
63 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
34 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
49 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
19 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
63 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? ...
2
votes
0answers
31 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
55 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. ...
2
votes
1answer
66 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 ...
0
votes
1answer
89 views

Appendix reference numbers and titles

My issue is related to adding the Appendix using \chapter. I am defining Appendix as follows: \chapter{My Appendix Title} % Main appendix title \label{AppendixTemplate} % My Appendix content here. ...
2
votes
0answers
40 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
40 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 ...
2
votes
1answer
86 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 ...
0
votes
1answer
52 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: ...
1
vote
1answer
98 views

How to diagnose what is changing a label?

I was getting this only last warning, no matter how many times I rerun my .tex file: LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right. Then I saw this question and the ...
2
votes
1answer
62 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 ...
5
votes
1answer
78 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
132 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$ ...
7
votes
2answers
170 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 ...
3
votes
2answers
25 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 ...
1
vote
1answer
94 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: ...
7
votes
1answer
91 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
85 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 ...
5
votes
1answer
81 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
45 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} ...
2
votes
1answer
40 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 ...
0
votes
0answers
44 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 ...
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
67 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 ...
7
votes
1answer
60 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} ...
3
votes
1answer
51 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 ...
1
vote
1answer
38 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
215 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
68 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 ...
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
0answers
149 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 ...
0
votes
1answer
56 views

Add manually a custom citation to a reference database created by Mendeley

Is there a way to add manually a custom citation in LaTex to an existent reference database created by Mendeley without disturbing this tool; i.e., when synchronizing the library of Mendeley, the ...
3
votes
1answer
82 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
215 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
32 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 ...
2
votes
0answers
60 views

Include Chapter number in reference if target is in different chapter

I'm using a setup where the chapter numbers are in Roman and the normal referencing commands do not include a chapter reference: \renewcommand{\thechapter}{\Roman{chapter}} ...
7
votes
3answers
223 views

Replace instances of \cite that have a specific argument

In LaTeX, is there a way to define a macro (or something) to replace every instance of \cite{a_literal_string} with \ref{appendix:a_different_literal_string} without touching instances of \cite ...
3
votes
1answer
34 views

referencing several tables in one reference

I need to reference several tables like Tables 1-3 or Tables 3.1 to 3.3 related with the section, I'm using the normal \ref{table1,table2,table3} to do what I want, but when I compile I get something ...
2
votes
2answers
162 views

Change bibtex in-text citation reference

I'm using this bst file which provides the unified style sheet for linguistics style as my bibliography style for my term paper http://comments.gmane.org/gmane.comp.tex.linguistics/1047 but it's ...