{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
2answers
28k views

Reference to a table before it appears

I want to reference a table before it appears.The TeX code is pasted below \documentclass{article} \begin{document} The results given in Table~\ref{tab:a} show the performance of the class. ...
4
votes
3answers
423 views

References to lists in theorem-like environments/writing # symbol to files

A little warning in advance: This will be quite lenghty. I spent quite some time over the last few days trying to solve the following problem: I'm typesetting mathematical lecture notes and have used ...
47
votes
3answers
60k views

Label equation with a symbol

I would like to label an equation with an arbitrary symbol, rather than a number, or letter. Is this possible?
15
votes
3answers
21k views

labels for itemize in proposition

I have a Proposition which consists of an itemize with three claims, i.e. \begin{prop} \begin{itemize} \item[(i)] ... \item[(ii)] ... \item[(iii)] ... \end{itemize} \end{prop} I wish to insert ...
4
votes
1answer
611 views

Dictionary with marginal references

I follow a mathematica course with a lot of definitions. I want to make a list of those definitions. However sometimes terms refer to each other. To make the list more usable to read it would be nice ...
18
votes
4answers
856 views

Inserting/Numbering/Labelling/Referencing several times the same equation written in various form

I'm looking for an automatic way in LaTeX to number a same equation that would be inserted several times (under different forms for instance). The output would look something like: some text x-y=0 ...
3
votes
1answer
824 views

Automated partial TOC [duplicate]

Possible Duplicate: List sections of chapter at beginning of that chapter Hello, I need to make a small chapter TOC at each chapter. What I need is something like: Chapter 3 - Chapter 3 ...
4
votes
2answers
7k views

Accessing section or subsection

To access a section (or subsection), should I always put a \label after that section or is there any way to access that specific section without using \ref in another place?
10
votes
1answer
793 views

Cross-referencing in multiple chapters

I have a document organized into several chapters. In each chapter, theorems are numbered by section (1.1, 1.2, ... even in chapter 5). I often would like to refer to theorems in different chapters. ...
11
votes
2answers
757 views

How can I achieve dictionary headers for two page spreads in LaTeX

I would like to produce a document where I can display the first and last items of each two page spread in the headers of both the left and right pages. I know I can use \markboth{}{} to collect the ...
8
votes
1answer
2k views

Multiply defined labels using hyperref

I'm using the stackrel command to indicate important steps in the transformation of formulas. E.g. I would write: A\stackrel{(!)}{=}B so that I can later explain in text why exactly A equals B. I've ...
13
votes
1answer
1k views

cleveref and algorithm2e

I'm currently working on a document where I was using algorithm+algorithmic along with cleveref. With this everything worked perfectly. Now I had to replace algorithm+algorithmic with algorithm2e. ...
4
votes
2answers
750 views

Split one label into many and append with a, b, c, etc

I am making one table into two (or more) and would like them to have the same label number for these two tables, but append them with an "a" or "b" to differentiate them. Also, I would like to be able ...
30
votes
2answers
9k views

Why should I put a ~ before \ref or \cite?

My question is in the title of this post, but extends to other referencing commands like \eqref, \citep, \citet (and the like) as well.
8
votes
1answer
610 views

pagenote: Adding a cross-referencing mechanism

This question originates from a bug report at SourceForge.net: biblatex from April 2010. A user pointed out that a certain biblatex style (verbose-inote) produced wrong references when used together ...
1
vote
1answer
676 views

Unequivocally force first reference to same page as the referred item?

Background Writing a manual using LyX. All tables, figures, and source listings are always referenced in the paragraph (or enumerated step) that immediately precedes them. The preamble to the manual ...
1
vote
3answers
767 views

label and ref in xelatex

I cannot get \label{tname} \ref{tname} to generate any number. I am new to xetex - used latex some 15 yrs back while at school. Any pointers? My goal is to tag verse in \begin{verse} ... ...
0
votes
1answer
344 views

Query on the \pageref command

I am trying to use the \pageref command and although it seems to work appropriately and finds the correct page number, for some reason (unknown to me..) it causes big spaces before and after the page ...
1
vote
1answer
536 views

Defining a custom cross referencing style

I want my cross reference links to look like: Chapter X: Chapter Title To achieve that I have created the following command: \newcommand{\fancyref}[1]{\autoref{#1}: \nameref{#1}} The problem is ...
14
votes
1answer
1k views

Referencing a nested list item by only its most immediate bullet

I'd like to be able to reference a nested enumerated list item only by its inner-most identifying character. \begin{enumerate}[(1)] \item \begin{enumerate}[(a)] \item \label{mylabel} Referenced ...
17
votes
2answers
857 views

How do I discard a portion of an equation number when cross-referencing?

I am writing a LaTeX document in which I number equations within sections. Thus, in my preamble I have \makeatletter \@addtoreset {equation}{section} ...
1
vote
2answers
4k views

Label referring problem

I'm new here and new user of LaTeX I'm trying to write my PhD, intermediate reports with it and I am facing some problems. I tried to look on the internet for 2 weeks, but found no answer to my ...
38
votes
3answers
23k views

Warning: There were multiply-defined labels

I got a "LaTeX Warning: There were multiply-defined labels", and I know what it means but my document is pretty big and it has various files. So, how can I find the multiply-defined label? I am ...
5
votes
1answer
1k views

Include aux file in tex source?

I have a large book broken into several chapters, each of which reference each other heavily. I would like to be able to distribute individual chapters as self-contained .tex files. I can do this ...
26
votes
3answers
16k views

How to reference \paragraph?

It is well-known that \section environment may be assigned a label \label{refname} and then the refname may be used in order to reference this section: \section{My nice section} ...
19
votes
1answer
4k views

How to reference ranges rather than separate numbers?

I would like to do the following: Just type something like ... we describe this in sections \mycoolref{winter,spring,summer,fall} ... and it will be typeset as something like ... we describe ...
4
votes
1answer
626 views

Hyperref links linking to the wrong label.

I'm currently trying to write up some solutions to a set theory text, but some of my labels don't seem to be working correctly. I've uploaded it here, if it's perhaps helpful to look at. Anyway, I ...
30
votes
2answers
6k views

Label and caption without float

I’d like to have an environment that works much like a float, except that it doesn’t float. That is, in fact, I’d like to be able to define an environment that has a label and a caption. I ...
5
votes
2answers
763 views

Local and global cross-references

Sections are referenced in a lot of distinct places: In table of contents. Managed by \tableofcontents In minitocs. Managed by minitoc package In headers. Managed by fancyhdr package Like a leader ...
2
votes
1answer
221 views

Problems with theomac package to restate theorems

I have the following problems with the "theomac" package by Ulrich Diez (whom I don't know how to contact). This package is useful to restate theorems, and was mentioned e.g. here. Problems: Get ...
3
votes
1answer
846 views

Missing “Figure” title for captions of side-by-side graphics

Background Trying to reference the label of figures that are side-by-side. Problem Referencing figures by their label works, except when the figure is in a mini-page. That's when the word "Figure" ...
3
votes
1answer
534 views

Split Journal Paper into Multiple Parts [duplicate]

Possible Duplicate: How can I reference a table/figure/section in another document? I am writing a journal paper that has grown to 30 pages long, so I would like to split it into two 15 ...
7
votes
1answer
3k views

Problems with part-labels using titlesec

I'm using titlesec to define the layout of my headings. It's working but I've run into a problem when I use the package to define the layout of \part's. When I try to reference to a \part, which is ...
10
votes
1answer
13k views

How to Label and Caption a Tikzpicture inside a tabular environment

What is the correct way to label and captionize a tkizpicture inside a tabular environment? (Since figures are not allowed inside a tabular) Excerpt from my .tex: \begin{tabular}{l r} & ...
17
votes
5answers
4k views

Not using abbreviations with cleveref

I’d like to use the cleveref package but I don’t like that it inserts most names as abbreviations; for instance, it will print “… fig. 2.1 …” instead of “… figure 2.1 …”. Is there a way of changing ...
8
votes
2answers
2k views

Building labels out of counters

There is a simple version to my question, and a complex version. First, the simple version: I want to generate label names by combining a constant string with a counter's value, something like what is ...
2
votes
2answers
1k views

How can I reference a table/figure/section in another document?

I am writing documentation that includes three documents for different audiences: Public Staff Developers In the Developers document, I would like to reference a table or section in the Staff ...
10
votes
1answer
1k views

Refer to customized `enumerate` counter

Background I'm typesetting a list of conditions for a certain mathematical object. There are three conditions. Later on I wish to provide an equivalent condition for the third. Therefore, it would be ...
4
votes
2answers
435 views

showexpl LTXexample and references inside enumerate

I've used the wonderful LTXexample environment defined by showexpl to illustrate some LaTeX basics. However, the following code confuses it: the reference remains ?? no matter how many times I ...
4
votes
1answer
2k views

How can I get the chapter number like a prefix of all references

This was the problem I posted: "I need to output "see section 2.3" where the referenced section is the third on the second chapter." You all are right. I've to redefine the problem. Sections are ...
48
votes
1answer
4k views

Get the title instead of the number of a referenced chapter/section?

In my document I am referencing a section, e.g. \section{My Section}\label{test} Also see section\ref{test} This gives me, e.g. Also see section 1 but what I want is: Also see section My ...
21
votes
1answer
2k views

Selectively turn off hyperref links

I'm writing a document which includes a list of URLs that I want to be clickable, so I'm using hyperref to achieve this. This has the awkward side effect that my equation numbers, some of which I ...
5
votes
1answer
2k views

Table, Figure, and Listing prefixes

Background Using LyX and KOMA Script to author a technical manual. Problem The documents are strewn with the following references: \ref{fig:Example-Database-Type} When converted to PDF, this ...
5
votes
1answer
6k views

How do I use the IEEE bibliography commands?

I'm trying to layout a short article using the IEEE latex style guide. I'm having difficulty with the final part of their bibliography instructions as I want to reference an external .bib file. I have ...
18
votes
4answers
734 views

How exactly does \def\p@figure{Figure~} work?

I took this line from my thesis style and added it into my document (preceded by \makeatletter) and what it does that whenever I used \ref{figureid} instead of putting just the figure number, it puts ...
0
votes
2answers
2k views

Sections \label and \nameref [closed]

\documentclass[fleqn,12pt,a4paper]{article} \usepackage{fontspec,xltxtra,xunicode} \usepackage{fancyhdr} \pagestyle{fancy} \usepackage{color} \usepackage{setspace} \usepackage{hyperref} ...
12
votes
2answers
2k views

\autoref should call sections within the appendix “appendix” not “section”

I make use of autoref thoughout my now rather long document. I have an appendix with sections, though currently a small number, so changes could be made here. I want references in my document to ...
22
votes
3answers
2k views

How to get more complete references

Sometimes when I work I write something like \begin{proposition} \label{my new result} ... \end{proposition} ... blah blah in Proposition \ref{my new result} blah... but then I realize that the ...
0
votes
2answers
8k views

\label inside an align environment [closed]

It seems like whenever I use \label{an-label} inside the align environment, and then use to refer to it using \refeq{an-label}, I get the section number instead of the equation number. This does not ...
14
votes
1answer
768 views

Getting “You have to run LaTeX again to get the references right ” over and over again

on Ubuntu 10.04 with Emacs 23.1.1 and TexLive, writing a book (scrbook) spread over different files, I have the following problem: Doing C-c C-c in Emacs (the usual cycle LaTeX BibTeX LaTeX LaTeX) I ...