{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
52 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
23 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 ...
2
votes
0answers
26 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}} ...
0
votes
0answers
31 views

How to use crossref with biblatex correctly? [on hold]

I am building a database reference in JabRef with biblatex entries. I try to use right all the entry types that the packages offers. So I found few interesting types such as mvbook and bookinbook. In ...
6
votes
3answers
180 views
+50

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 ...
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 ...
2
votes
2answers
44 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 ...
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 ...
6
votes
2answers
31 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 ...
2
votes
1answer
98 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} ...
4
votes
1answer
27 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
47 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} ...
2
votes
1answer
49 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 ...
1
vote
0answers
42 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 ...
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), ...
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 ...
3
votes
2answers
89 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
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 ...
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 ...
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 ...
4
votes
1answer
107 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 ...
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 ...
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 ...
0
votes
0answers
35 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, ...
5
votes
3answers
50 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 ...
1
vote
1answer
42 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 ...
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 = {}, ...
2
votes
0answers
58 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 ...
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 ...
2
votes
1answer
35 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 ...
0
votes
0answers
24 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 ...
7
votes
2answers
145 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 ...
3
votes
2answers
50 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
27 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
27 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 ...
3
votes
1answer
58 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, ...
0
votes
0answers
31 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} ...
6
votes
2answers
57 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 ...
1
vote
1answer
34 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
29 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
27 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} ...
1
vote
0answers
19 views

Separate labels in cases to then reference [duplicate]

How can I label each of these equations separately so that I can refer to each of them later on? \[ \begin{cases} u_t+uu_x=-p_x, \\ H_t+(uH)_x=0, \end{cases} \]
0
votes
0answers
25 views

Order referencing by appearance AND number (natbib)

I am currently trying to get the references to be listed in order of appearance in my document, rather than order in bibliography. Some info: I am using natbib: ...
0
votes
0answers
34 views

Exclude citations from other chapters, but make cross-references work

I'm writing up my PhD dissertation, and I tend to compile each chapter separately. Each chapter is in a separate document, and is included in the main LaTeX file. I use \includeonly to only include ...
3
votes
1answer
57 views

Incorrect Reference Link

I have 2 equations. When I use \ref{} for the second equation, it gives the correct number but directs to the wrong place. How can I fix this? Thanks \documentclass[12pt]{article} ...
0
votes
1answer
21 views

cleveref, ntheorem and lj-igpl

The cleveref package doesn't work properly with the lj-igpl package. There are many discussions about cleveref, however, none of them solves my problem. I am using the ntheorem package as well, but ...
2
votes
1answer
42 views

Generate HTML from document that uses autoref/cleveref

I have an existing document that was written using hyperref and natbib, and am trying to generate a website alongside the PDF that is already built. The document was written using autoref references ...
0
votes
1answer
30 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." ...