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

0
votes
0answers
111 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
115 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
47 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 ...
7
votes
3answers
212 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 ...
2
votes
0answers
45 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}} ...
2
votes
2answers
88 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 ...
3
votes
1answer
33 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 ...
5
votes
1answer
64 views

Using math mode in a label

How can one use something like $\mathbb{R}^k$ in a label? I.e. \label{three equivalent properties of $\mathbb{R}^k$}. Currently when I try this I get an error. Here's a MWE: \documentclass[a4 ...
13
votes
5answers
2k 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 ...
6
votes
2answers
37 views

unable to label a line in \align* environment with tag being a matrix

I try to do this \begin{align*} \label{labelname}\tag{$\begin{smallmatrix}0\\1\end{smallmatrix}$}a=b\\ c=d \end{align*} But it does not allow me to add the label and pops up an error message saying ...
1
vote
1answer
15 views

Latex stops referencing theorem environment

I'm resuming a project after some weeks. Now, when I reference some theorem, the result are that bored question marks (??). For theorems that already exists, refence to that works well, but ...
2
votes
1answer
112 views

\label and \ref are different

When I used in theorem environment, I found that \ref{} didn't point to what I labeled. For example, I used \label{1.1.1} and \ref{1.1.1}, but it turned out to be Theorem 1.1. I don't know why? ...
1
vote
1answer
57 views

Section referencing disabled by \renewcommand

The sections in my article have to be re-styled as follows : \renewcommand{\section}[1]{\medskip \addtocounter{section}{1}\flushleft \textbf{\Roman{section}. \ #1}\medskip \setcounter{subsection}{0} ...
7
votes
1answer
2k 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 ...
4
votes
1answer
46 views

Hyperref: how to correctly redefine `\@currentlabel`?

I am using my own solution to this question to create custom cross-references. \documentclass{article} \usepackage{hyperref} \usepackage{lipsum} \title{My notes for Bla} \author{myself} ...
4
votes
1answer
131 views

How to \ref a \subsubsection

I'm trying to reference 2 subsubsections from my document. My structure is like: \chapter{something} \section{1.1} \subsection{1.1.2} \subsubsection{Number 1} \label{sssec:num1} ...
3
votes
2answers
106 views

Subsection label appearing within text

I have a document in "book" format (strictly speaking, in an environment defined by the book publisher I am using, the details of which are way beyond my comprehension), and I very much want to have ...
2
votes
1answer
66 views

tocloft cross-references a section as a subsection

I have document which creates a new list of examples. The list has a label \label{sec:examples} which labels the title of the list, which is rendered as a section. However, cross referencing ...
4
votes
1answer
37 views

Enumerate item refering to theorem environment

In the conclusion part of my paper, I am creating a enumerated list using the enumerate enviroment. \begin{enumerate}[label=\textbf{Property \arabic*.}, leftmargin=25mm] \item Stationarity \item ...
2
votes
1answer
53 views

Pageref the “List of…”

In my thesis I have a "writing conventions" at the very beginning. There it is explained how abbreviations are introduced. In this explanation, I would like to say A list of abbreviations can be ...
0
votes
0answers
27 views

Using glossaries without cross-referencing

I am attempting to use the glossaries package to add multiple glossaries to my thesis. Essentially I want a list of acronyms and a list of mathematical symbols. However I do not want to cross ...
5
votes
0answers
69 views

How to see dependencies between theorems [duplicate]

I have a paper that uses \label for naming theorems, propositions and etc. We say that a theorem, proposition and etc X depends on the theorem, proposition and etc Y if Y is mentioned in the closest ...
2
votes
1answer
40 views

Referring a point in the text with a specified name

Please suggest as how can I implement the following code: \documentclass{article} \usepackage{amssymb,ntheorem,float} \begin{document} We summarize our results. \begin{table}[H] \centering % used ...
4
votes
1answer
120 views

How to \label and get recognised?

This issue actually frustrates me for a while, but prior for finding the solution, I would like to know why this happens. In a nutshell: My TeXStudio does recognise ALL my \label, but the output does ...
1
vote
0answers
44 views

hyperref package within AMS latex environment

How can I use link references using hyperref package within AMS latex environment? Is it possible to use it with \cite{} or need to use anything else? When i try to create a dvi file I have an error ...
5
votes
3answers
72 views

How to reference an unnumbered section by writing a number?

I have an appendix with sections, e.g. section*{Appendix 1: Measurment of X.Y.}. I have set a label with \label{appendix:1}. Now if I reference that appendix via \ref{appendix:1} I get the number of ...
2
votes
0answers
72 views

How to add et all to references?

I am writing a thesis and I would like to add "et all." to references. This problem is described here: LaTeX doesn't recognize "et al." in the Bibliography The problem is that when I ...
0
votes
0answers
27 views

How to add link to referecne? [duplicate]

I am writing a thesis and I would like to add link to references. Below sample code from file "references.bib": @article{simpleLink, author = {}, journal = {}, number = {}, pages = {}, title = {}, ...
3
votes
1answer
86 views

Problem with references \here \where

Hi I have a problem with referencing which I cannot reproduce with the MWE. Here is what the problem is. I need to write next to the page number of my reference also if that page comes before and or ...
2
votes
1answer
38 views

Referencing name of file in separate file, none of which is the main file

I have a main file (say, main.tex) and two chapters in separate files (labour.tex, health.tex) which the main file reads via \externaldocument (I've also used \input but with the same disappointing ...
6
votes
1answer
106 views

Find point of page break in an external document

I am creating multiple versions of a document from a single LaTeX source. Specifically, I have a series of lessons that have an instructor version (with notes and answers) and a plain student version. ...
1
vote
1answer
130 views

How to make LyX use prettyref or refstyle

In LyXm in "Document Settings" window on "Document class" pane I can choose to use either prettyref or refstyle. However the TeX code looks as if it used ordinary /ref. Why? %% LyX 2.1.0 created ...
0
votes
0answers
26 views

Cross-referencing with label inside document [duplicate]

I have an issue with referencing inside the text, i use the \label for every figure I have and Table, but when i state in my text that see Figure \ref instead of giving me Figure 5 (or etc) it gives ...
0
votes
1answer
57 views

Referencing with bibDesk in LYX

I was trying to insert a bibliography which I created in BibDesk. However, when I insert the bibliography(.bib) in Lyx from 'Insert', and compile it the reference list is empty. Does someone know ...
7
votes
2answers
181 views

How to number only labeled equations?

I'm writing all my equations with \begin{equation} ... \end{equation} so all of them are numbered but only some of them are labeled. I don't want all of them with numbers but only the labeled ...
6
votes
2answers
1k views

“Manual” customizable reference text

For a document I am writing, I am considering a table indexed by references to positions in the text with a description of each item. I know already that I can create a phantom section, and make a ...
3
votes
2answers
104 views

Change the output format of \cref from table to Table and from eq. to Equation

if you use \cref then you get references as eq. (1) / table (1) / fig. (1) but I want it to produce Equation 1 / Table 1 / Figure 1 how to I set this? I also want to know if it is possible to use ...
0
votes
0answers
29 views

How to refer Bibliography items in appendix?

I am referring bibliography items in the appendix. In my thesis Bibiliography is appearing after appendix. Everywhere in the text bibliography is properly referred but in appendix latex diaplays "[?]" ...
0
votes
0answers
28 views

Tables always auto ref to Table 1.2 [duplicate]

When referencing a table with \autoref{}, instead of the table's correct reference I always get Table 1.2. This is quite strange, because clicking in the reference sends me to the correct table on the ...
0
votes
1answer
661 views

\ref not working with tikz and externalize lib [duplicate]

Possible Duplicate: Why does an environment's label have to appear after the caption? I am using tikz with its externalize library. I create figures with the following coding style: ...
9
votes
3answers
3k views

Unable to link to inserted pages with pdfpages

I would like to add labels to pages inserted with the pdfpages package. I sort of works right now, but it is not possible to link to the labels with \ref and \pageref commands. But it is possible to ...
6
votes
2answers
106 views

Referring to Second Last Page in pageref in lastpage package

I can use \pageref{LastPage} to give the reference of last page with lastpage package. The last page of document is the back cover so I don't want to count it. I wonder how to specify the second last ...
0
votes
0answers
41 views

Using cleveref for named referencing

This is what I have so far \documentclass{article} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsthm} \usepackage{tikz} \usepackage{tikz-cd} ...
19
votes
1answer
2k 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 ...
1
vote
1answer
35 views

References from auto generated images are wrong

In the following I generate labels for some figures that are auto-generated \usepackage{varioref} \newcounter{figurecounter}\setcounter{figurecounter}{1} \let\endF\endfigure \renewcommand\endfigure{% ...
0
votes
1answer
54 views

Subfigure referencing, wrong order

I have problems with subfigure referencing. When I reference the main figure, the labeling in the reference is correct, but when I try to reference the subfigure, I get figure X+1, which is kind of ...
3
votes
1answer
50 views

Specified appendices and cross-referencing in text

I am setting up appendices like suggested in the answer to this question: Appendix - Adding PDF, using the MWE suggested by cfr: \documentclass[a4paper]{article} \usepackage{geometry} ...
20
votes
4answers
3k views

Separate labels in cases

As much as I have tried, it doesn't seem possible to use separate labels when using a casesconstruction (from the amsmath package). Ideally, I would like to be able to write something like ...