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

4
votes
1answer
38 views

How to refer a figure?

I am trying to add some results (images). I want to refer these images in other chapter(s) of the PDF so that the reader can just click the reference and go to the image directly. How I can do that?
3
votes
3answers
94 views

What is the correct way to type "See Eq. (n)

I am writing a document with equations and I am used to refer to equations with \eqref{label}. However if I want to refer to it in a commentary with parenthesis (see Eq. \eqref{label}), it will make ...
0
votes
0answers
37 views

Insert portion of code before every line break in gather environment

This is a follow-up question to Redefine equation environment: auto labeling. I want to have something like \AtEndEnvironment{gather}{\label{equ:\theequation}}(at the end) plus \label{equ:\...
5
votes
2answers
70 views

strange caption numbers in cross-references and list-of-figures

I am trying to fit a large figure containing four subfigures into my document. The whole thing is close to a page break, so I decided to split the figure via \ContinuedFloat. So just in case the ...
0
votes
1answer
38 views

BibLaTeX doesn't print bibliography

I'm using sharelatex to work on a project with a fellow student, but we are unable to get the biblatex to be printed. The file we use with for our bibliography is currently stored as sample.bib. Can ...
4
votes
1answer
18 views

Reference to \lstnewenvironment

\documentclass{scrreprt} \usepackage{regexpatch}% http://ctan.org/pkg/regexpatch \usepackage{color} \definecolor{codecolor}{rgb}{0.8,0.9,0.9} \definecolor{chatcolor}{rgb}{0.9,0.9,0.8} \usepackage{...
4
votes
5answers
3k views

TexMaker - working with multiple tex files, autocomplete is not working

Background: The document that I am currently writing is getting pretty big, so I decided to split it. I've tried \include and \input commands, but the problem still remains to be solved. I have ...
1
vote
0answers
52 views

Macro: Replace all occurrences of words which are identical to content of \label{…} into \nameref{…} (unless of course the \label itself)

This question is a follow-up of Macro: Replace all occurrences of a word, but would like to ask for a possibility to do the same with words (e.g. foo) that are identical to the contents of certain or ...
1
vote
1answer
53 views

Redefine equation environment: auto labeling

Hi i want to auto label every equation with its number (\theequation), i found a simple solution (to avoid manual environment redfinition) but i cant figured out what i am missing. Why it doesnt ...
2
votes
1answer
21 views

How can I solve the conflict issue in refcheck and bookmark packages

I am using refcheck package to check which equation is not cited in my paper. However, it is conflicted with a package "bookmarks". How can I solve that issue, but still use bookmark package \...
6
votes
2answers
100 views

\label-\ref consecutively numbered theorems using varioref

I hope all definitions, lemmas, theorems, propositions and corollaries are numbered consecutively. The code as below. My trouble is: when I reference, like \ref{<lemma 4>}, get 'definition 4'. ...
1
vote
1answer
31 views

Referencing equation like a figure

I have made an arrow equation (xymatrix) with text. Now I need to reference it like a figure. Any ideas how to achieve that. If I put in \label{} it will be numbered according equations. I need it ...
2
votes
1answer
64 views

Pandoc / Markdown: References on last page

Currently I am writing a document. And I have written most in Markdown with some embedded LaTeX. However, now all references are now placed on the page where they are defined. Is it possible to ...
1
vote
0answers
21 views

Customize reference system [duplicate]

My problem is the following : I want a reference to another section to be like that : "See section 3.2" I tried \textbf{section~ref{section}} but there are two problems : Only the number of ...
1
vote
0answers
24 views

Referencing to inputted table

I have many tables generated automatically in separated tex files which i input in my main document using \input{table1} \input{table2} ... Is it possible to refer to this table by using its name or ...
1
vote
1answer
30 views

How to change label/reference formats

I have just been using the default label and reference formats, i.e. $\label{eqn:a}$ and \ref{eqn:a} but I was wondering if there's a way to change the format of the references. For example if I am ...
2
votes
0answers
63 views

Collect text in mdframed and print at the bottom of the next page

I am trying to collect say fruits mentioned in a page and print them at the bottom of the next page. All text is always enclosed in a frame and the frame can span multiple pages but the collected ...
4
votes
1answer
64 views

Listing all sections in which something is referenced

Is there some way to get a list of all sections in which something is referenced? For example, in This\label{test} is referenced in \magicalthingy{test}. \section{1} One\ref{test} \section{2} Two ...
0
votes
0answers
23 views

Citation inside Glossary

On the "We put \cite{} everywhere" topic, I've source citations in definitions some of my glossary entries. I use the unsrt style. As the Glossary is in the frontmatter, one can easily guess that my ...
1
vote
0answers
39 views

What is a better way to link questions and answers on a problem sheet?

I write many problem sheets. The basic structure is thus: \section{Questions} \begin{enumerate} \item Question 1 \item Question 2 \item Question 3 \end{enumerate} \...
2
votes
1answer
117 views

How to cross-reference an unnumbered theorem using hyperref and cleveref

In two previous questions (i.e. Distinguishing \ref and \cref through different colors, and ''Proof of Theorem x'' header trough modification of \ref) I addressed some problems I had with hyperref ...
2
votes
1answer
21 views

Numbered reference writing style: Breakable space or not?

Should a list of numbered reference be displayed with non-breakable spaces ? If I have only one, the obvious rule is to use "~", e.g. Lemma~\ref{fundamental}. But if I want to say "By Lemma 1, 2 and ...
1
vote
0answers
30 views

Bibtex and Chapter References [closed]

I am having trouble with the template that my university gives. Since I cannot upload, here is the link http://www.clemson.edu/graduate/students/theses-and-dissertations/manuscript-files/...
3
votes
1answer
26 views

How to link a figure without subsection?

I have many figures in my text, and they get numbers (in the first Section) 1.1, 1.2 etc. So just the number of section and then the number of Figure. But when I try to link the figures, they get out ...
2
votes
1answer
19 views

Reference to subfigure is either not showing or showing wrong

I am using the subfigure environment, but when I refer to it, the counter is either not showing or showing incorrectly. Here is the code. \documentclass[11pt]{article} \usepackage{amsmath} \...
4
votes
2answers
2k views

How can I get capitalised cross references in LyX with refstyle

LyX (v2.03) uses refstyle for cross references. By default if you use the GUI to create a reference it produces source that looks like: \tabref{label1} \figref{label2} which produces an output like ...
0
votes
1answer
86 views

Hyperref under section don't link to items [duplicate]

Possible Duplicate: Can individual items in an itemize list be labelled and hyperref linked? \documentclass[11pt,a4paper]{article} \usepackage[colorlinks=true]{hyperref} \begin{document} \ref{...
4
votes
1answer
79 views

Give an error if I don't reference a label

I would like to have LaTeX compilation (I use pdflatex) give an error if there exists one label in my document that I do not reference. Is this possible? This is to ensure that I mention every table ...
2
votes
1answer
49 views

How to separate glossary entries from section references in hyperref

I have a document, a glossary and references. I am using the hyperref package to create hyperlinks \usepackage[colorlinks = true, linkcolor = red, urlcolor = green, citecolor ...
1
vote
1answer
14 views

biblatex inbook custom page number postion

I borrowed the following code from here. \documentclass{article} \usepackage{xpatch} \usepackage[style = authoryear-comp, maxnames = 99]{biblatex} \renewcommand*{\finalnamedelim}{\addspace\&\...
5
votes
1answer
64 views

Would it be possible to create a navigation menu at the end of each section with automatically generated links?

I want to make a navigation menu at the bottom of each section|subsection|subsubsection|paragraph. This document will be embedded in the binary of an application. It is what the user will see when ...
1
vote
1answer
41 views

Referencing a custom labeled item in enumitem inline list

I'd like to have a list where most items use the standard labels but one or two have custom labels. I'd like to be able to reference each item and have its label show up. I use enumitem, and this ...
0
votes
0answers
31 views

Cross-referencing with \addcontentsline

I'm using \addcontentsline to make an entry for a PDF appendix (included with \includepdf in the ToC. The command I'm using is \addcontentsline{toc}{chapter}{Appendix A \ Window specification}, and I ...
3
votes
1answer
77 views

Using newcommand inside newenvironment to print a table

I have the following self defined counter and command: \documentclass{article} \newcounter{usecase}[section] \newcommand{\usecasenumber}{\arabic{usecase} \stepcounter{usecase} \newcommand{\usecase}[...
1
vote
0answers
25 views

Using newcommand and newenvironment to print a labled tabular [duplicate]

I posted this question as guest with some issues that should be fixed in this version so here it goes. I have the following self defined counter and command: \documentclass{article} \newcounter{...
1
vote
1answer
55 views

PGFPlots external crossref updates

I’m using the PGFPlots package along with its external library for my dissertation. Overall, it's worked great and has been extremely helpful. But I've had issues when trying to update cross-...
4
votes
1answer
30 views

How can I create context-sensitive reference names for an environment which defines label prefixes on-the-fly?

Background: I asked a rather muddled but related question earlier. I received an excellent answer from Manuel to that question but my confusion about the problem means that I unfortunately asked the ...
8
votes
2answers
570 views

cleveref & varioref : Missing \endcsname inserted

I read the excellent question Difference between ref, varioref and cleveref. Decision for a thesis and various doc on the net (the varioref package documentation) and tried to use it... but with many ...
3
votes
2answers
60 views

Creating new counter formats on-the-fly with enumitem's \AddEnumerateCounter*

Aesthetic caveat: I am actually using small-caps with hanging figures and not lining. However, in creating a minimal example, I have succumbed to the defaults and created a typographical monstrosity. ...
3
votes
1answer
76 views

\subfloat \caption odd behavior

I'm very new to Latex and trying my best to adopt it as my method of choice for paper and my Thesis. I have always managed to solve any problems encountered by browsing through this forum but can't ...
1
vote
1answer
22 views

Marking something as undated in the bibliography

I would like undated books to show up in the bibliography as undated, e.g. as something like: Oslo kommune (undated). Nedre poenggrense for inntak til Vg1 (videregående trinn 1) for ...
3
votes
2answers
127 views

Referencing a quote environment

I currently have a quote in my tex file like this: \begin{quote} blabla \end{quote} Now I want to refer to this quote inline. Adding a label works but I cannot get the caption to work, in order to ...
6
votes
2answers
88 views

Make footnote clickable both ways

Using the hyperref package, footnotes become clickable and lead to the bottom of the page where the footnote is printed. However, clicking on the footnote's number does not bring the reader back to ...
2
votes
1answer
38 views

citation with page number does not work

i want to cite some books as references and add the page number to the reference, for example i have this bibliography entry : @book{ref2, title={Introduction to Information Systems: Supporting and ...
2
votes
1answer
32 views

How to make a reference to the first occurence of a citation in biblatex

How can I get the number of the footnote where an entry was cited for the first time using \ifciteseen? MWE: \documentclass{article} \usepackage[ backend=biber, citetracker=true, ]{biblatex}...
4
votes
1answer
59 views

Re-using label names for different items across chapters

I'm writing my thesis (using a university-specific document type) and am importing many chapters (using the package import). Each chapter is taken directly from a latex file that once served as an ...
1
vote
1answer
28 views

Mis-referencing of a label from an enumerate environment

MWE: \documentclass[12pt]{article} \usepackage{icomma} \usepackage[english]{babel} \newcommand{\bookcite}[6]{#1, #2: \textit{#3}. #4 ed. #5, #6 pp.} \usepackage{enumitem} \usepackage{hyperref} \...
0
votes
0answers
15 views

Natbib - Cite full author name [duplicate]

I'm using natbib for formatting my references. I want to include; World Health Organization (2015) or (World Health Organization, 2015) as \citet and \citep. However, as you may guess, it only ...
6
votes
1answer
133 views

Insert caption text to body

The \ref command can refer only the number of the table, like the following code. \documentclass{article} \begin{document} According to Table \ref{table} [[HERE]], we blah blah. \begin{table}[tb] \...
1
vote
1answer
114 views

Bad crossref error [closed]

I am using TexMaker on Mac. In my BIB file, I have an item like: @inproceedings{DBLP:conf/wsdm/YeungI11, author = {Ching{-}man Au Yeung and Tomoharu Iwata}, title = {...