{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
37 views

Changing reference title to “Referanser”

I am trying to change the header of "References" to "Referanser", but it does not seem to work. At the start of the code: \documentclass{article} \usepackage{graphicx} \usepackage{amsmath} \...
2
votes
1answer
34 views

Why do the .bbl-file and BibTeX database not contain the same information?

I have a question regarding using references. It was all working the way it was supposed to work until yesterday night. I am writing my research proposal and I am citing a lot of papers. At some point,...
1
vote
0answers
20 views

split output into multiple files [duplicate]

Is there a way to automatically split the output into different PDF files? The reason is that I want to generate a document "paper.pdf" and a different document "supplementarymaterial.pdf", with ...
9
votes
1answer
8k views

I get double question marks when referring to labels inside figures

I have some charts embedded in figures, and I want to be able to refer to them easily using the "Figure x" notation. I'm doing it like this (in this order): \documentclass[12pt,letterpaper]{article} ...
3
votes
2answers
32 views

How to refer to an inparaenum subitem within an enumerate item?

How can I typeset just the b (a subitem's label) without the 2 (the enclosing item's label) from a inparaenum list within a enumerate list? \documentclass {article} \usepackage {paralist} \begin {...
2
votes
0answers
18 views

Clickable file links from in-text reference

I am currently using natbib to reference articles that I have in Mendeley. I have figured out how to get clickable links such that clicking on the in-text reference brings me to the actual reference ...
2
votes
1answer
25 views

Enumerate starting at equation number

The following MWE contains proofs of equations numbered (2) through (4). I structure the proofs using an enumerate environment, so that the proof of equation (2) is labeled with 2., the proof of (3) ...
1
vote
1answer
40 views

LaTeX missing reference [duplicate]

A weird, possibly trivial, problem is happening. After running pdflatex test with the following in the file test.tex % -*- coding: utf-8 -*- \documentclass[11pt]{article} \begin{document} \...
1
vote
1answer
13 views

Cross-referencing within table with set numbers

I need to reference in table cell to another cell in another table. In both cells should be exhibited a number - the same number (once as a plain text inserted by me and once as a cross reference). ...
1
vote
1answer
30 views

Label of theorems

Is there an equivalent of \figurename for theorems and lemmas? For instance, given that I've defined \newtheorem{theorem}{Theorem} \newtheorem{lemma}{Lemma} \newtheorem{example}{Example} and in ...
4
votes
3answers
53 views

Part cross reference name clash with redefinition of \thepart

I want to use some automatic cross referencing (I am using hyperref in the whole document which I customized) to write something like : We see in \autoref{partname} that To print : We see in ...
1
vote
1answer
55 views

How to reference a chapter after using the \setcounter{chapter}{0} [closed]

I'm trying to create a reference the appendix. The appendix package is resetting the chapter and section exectly like I do and I started to notice this bug while using it... So I use the \setcounter ...
3
votes
2answers
78 views

Operation mode in pgfplots (referencing from externalized graphics)

I am using the externalize feature of tikz/pgf to save space for my thesis. I am using TeXShop on a Mac. I am running into trouble referencing something in the main document from the externalized ...
3
votes
2answers
38 views

References for asparenum environment with counters depending on section

I'm writing math lectures using my own environment for definitions: \newenvironment{mydefs} {\begin{asparaenum}[\P\slshape\thesection.a]} {\end{asparaenum}} So every definition is numbered like "...
5
votes
2answers
273 views

Multiply a label by 3 and print result

I would like to create a quiz for my students where the more parts I add to the question the more points it is worth. For each extra part, I want it to be 3 more points. In the following example, I ...
3
votes
1answer
32 views

wrong numbering in subfigure environment when caption is on top

I got wrong numbering with \subfigure environment when I use \ref to call a figure in the text. The problem only happens when I change caption position to the top of the figures (and yes, I need on ...
4
votes
1answer
37 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
90 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
34 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
68 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
34 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
17 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
2k 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
37 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
20 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
96 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
55 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
23 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
62 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
63 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
18 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
110 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
20 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
25 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
17 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
76 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
46 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
13 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
63 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
32 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
30 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
73 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}[...