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

2
votes
3answers
40 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 ...
1
vote
0answers
6 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 ...
2
votes
2answers
49 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 ...
0
votes
0answers
15 views

natbib citet does not give me year for every reference

I am using package \usepackage[square,sort]{natbib} and \citet{}, which is working fine for some of my references, but for few it just gives me the authors without year... I can't see any ...
1
vote
1answer
46 views

LyX Cross Referencing in Different Language not working

I'm having troubles using the cross referencing system with LyX (version 2.1.1). I place labels on the side of the environment i want to be able to make reference in the future, using the label ...
2
votes
0answers
19 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
1answer
46 views

is it possible to make reference to an index entry

my document looks like this \section{Foo bar} \label{sec:foo} Lorem ipsum dolor sit amet, consectetur adipisicing elit\index{blahblah} \section{laborum} As seen in section ...
3
votes
1answer
158 views

Cross-ref an equation using RefTeX, AUCTeX and cleveref

After an updated of AUCTeX (to 11.87) the solution that worked wonderful from this answer stopped working. In particular, I got the following error: reftex-reference: Wrong number of arguments: ...
0
votes
0answers
39 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
22 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 ...
2
votes
1answer
300 views

Referencing tables in pandoc

Pandoc allows referencing images via inline Latex commands. However, it seems it does not work for tables. I'm aware of several workarounds, including manipulating a resulting TeX file manually, but ...
3
votes
1answer
34 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
68 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
26 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
38 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
200 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
32 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
1answer
78 views

Editing the reference style for subfigures using cleveref and memoir

I'm using the cleveref package to reference floats (in this case subfigures) in the memoir class. Currently the output looks like this (sorry for the danish, I don't think it matters): Using the ...
2
votes
2answers
45 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
29 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 ...
3
votes
1answer
60 views

Page numbering range with first - last page

I've been trying to output a page range, including the first and last page numbers of the chapter (e.g. "p. 20 - 39"). I've been using the \pageref{LastPage} command for the last page of the chapter, ...
5
votes
1answer
57 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 ...
0
votes
0answers
19 views

Referring to a complete subequation environment. Is there a recommended style?

I have a subequations environment which is labelled and inside it I have an alignat environment which has a label for each line. Would you say it is ok to refer to the complete model as I do it in ...
12
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 ...
1
vote
1answer
65 views

Table row content, duplicate or quote in a different table

Following on from Arbitrary named counter, referenced, which was answered very comprehensively, I have a follow up question. This one's difficult to describe so my searching around the internet and ...
6
votes
2answers
33 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
11 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
100 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
37 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
29 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
49 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} ...
21
votes
4answers
5k views

how to get the current chapter name, section name, subsection name, etc?

How can one get the current name of the following: Chapter, Section, Subsection(s), frame, label, mdframed?
0
votes
1answer
31 views

achemso package: referencing multiple figures

I am using the achemso package to submit a paper to Environmental Science and Technology. When I include a reference to a figure (\ref{Fig1}), the figure number appears preceded by the word "Figure." ...
3
votes
2answers
90 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
51 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 ...
0
votes
1answer
49 views

All figures at end of section (or Chapter) but in the order they were cited in the text

I've been trying to do this for so long, it would make my life so much easier. I have a *.tex file containing all the details of the figures in a chapter (but not necessarily in the right order), ...
1
vote
0answers
47 views

Reference \ biography indentation issue

I have added a reference in my latex template. The problem is shown in a picture below If you see the last reference, it goes a bit leftwards. I have found that it appears only for the last ...
4
votes
1answer
29 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
48 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
26 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
65 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
38 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
109 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
37 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
55 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 ...
0
votes
0answers
37 views

Problem - Referencing a Figure in the Text

I am using hyperref package. And when I want to reference a figure it does not work properly. It works fine with my first two figures but, when I call the 3rd figure by \ref{3rdfig} it returns IV, ...
2
votes
0answers
61 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
25 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
81 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 ...