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

5
votes
3answers
170 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 ...
2
votes
2answers
61 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
21 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 ...
2
votes
0answers
21 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
0answers
108 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
35 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 ...
3
votes
1answer
58 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
113 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 ...
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}} ...
7
votes
3answers
211 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 ...
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 ...
2
votes
2answers
86 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
33 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
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 ...
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
53 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
43 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
112 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
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 ...
0
votes
1answer
60 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), ...
5
votes
2answers
114 views

Using the long form of a section title in the TOC

I would like to use a full section title for: the section title itself (of course) the table of contents the running heads But, I would like a short name to be used with \nameref{}, because ...
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 ...
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
51 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
36 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
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 ...
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 ...
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 ...
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
70 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
75 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
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 = {}, ...
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 ...
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 ...
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 ...
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 ...
3
votes
2answers
102 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
55 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
82 views

Page numbering range with first - last page [closed]

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
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} ...
6
votes
2answers
103 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
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
53 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} ...
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
74 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: ...