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

1
vote
1answer
45 views

Referencing to figure using label yields question marks

This is my document. I can't seem to find out why referencing to this label only yields ?? rather than a reference. Other figures are working as intended. \documentclass{article} ...
1
vote
0answers
42 views

Set path for PDF and PPTX files in appendix

I have a separate file for Appendices and include it in my main file with this command\input{./Appendices/AppendixA} Now I want to set path for my files. When I set path in my Appendix.tex file with ...
1
vote
1answer
24 views

Referencing a figure in the text before the figure

I'm wanting to reference a figure, but I know that the usual way of doing it: \begin{document} \begin{figure}[h!] \centering \includegraphics{image.png}\\ \label{fig:fig1}} \end{figure} ...
9
votes
1answer
75 views

Vowel Harmony and Reference Numbers

I am preparing a document in Turkish which is an agglutinative language with two dimensional vowel harmony. This means that there are a lot of suffixes and they change form depending on how the word ...
1
vote
1answer
49 views

Automatic labeling of enumeration items

I would like to redefine the enumerate environment so that each \item automatically sets \label{en:\arabic{page}\alph{enumi}}. I already tried \usepackage{etoolbox} ...
1
vote
2answers
76 views

How can I delineate and later fill a placeholder for arbitrary text?

Is there any way to allocate a placeholder and set the content later in the document? First of all I realize that this would require more than one pass to render correctly, but I see the references ...
3
votes
3answers
104 views

Change the tag for equations

I want to show my equations in the form (Eq. 1) instead of (1). I am trying using \tag but this changes completely.
1
vote
1answer
43 views

What's wrong with that code?

\def\totalobjects@putlabel{% \addtocounter{totalpage}{\c@page} \immediate\write\@auxout{\string \newlabel{reftotaltables}{{}{\refstepcounter{totalpage}}{\relax }{}{}}} } ...
3
votes
1answer
71 views

Controlling Theorem tags in Beamer

I am writing slides which follow a textbook, and it is obviously desirable for the theorem and equation numbering to coincide with that in the text. I have no problem \tag-ing equations and linking ...
3
votes
1answer
73 views

Undefined reference using a0poster (\include Vs. \input)

I have an a0poster document (see below an example) which is not loading the cross-references, although bibtex is working fine and compiling the references. I write the main text into a different tex ...
4
votes
2answers
97 views

Place parentheses around a cross-reference

Is possible to surround a cross-reference with brackets or parentheses? For example when I write a command like some text \ref{some label} then when compiled the output was some text (12) without ...
1
vote
0answers
49 views

Texmaker isn't matching my labels

I'm currently editing a latex file together with a colleague. She's uses technixcenter as editor and I use texmaker 4.1.1. My compiler refuses to match the references with the labes when I insert ...
1
vote
2answers
70 views

Is there a way to reference your numbered equations?

Here is an excerpt document \begin{align} f(x) &= g(x) + h(x)// &= 3x + 8x^2 + 1// &= 3 + 8 + 1// \end{align} So when I compile this (assuming this is the only thing I Have), LaTeX is ...
2
votes
1answer
41 views

Can eledmac's xxref be used with non-arabic linenumbers?

I am using polyglossia and eledmac to typeset a Tibetan document. I'm running into problems when using eledmac's xxref. It seems the numbers it expects are not in the right format, since they are ...
6
votes
4answers
76 views

References in Chapter Titles

I am currently writing a manuscript using \documentclass{book}. I would like to devote one of the chapters in the manuscript to a proof of an earlier result. I have named the Chapter: ...
5
votes
3answers
65 views

Use label to refer to text and print it

I want to make requirements in a latex document and I would like to refer to them. What I have so far is this: \documentclass{memoir} \usepackage{hyperref} \usepackage{lipsum} ...
1
vote
0answers
38 views

Is there such a thing as `\sectionref{}`?

My sections are labeled, for example, as "5.3," where the 5 is the chapter number and the 3 is the section number. Using \ref{} to refer to that section would produce "5.3"; however, I would only like ...
0
votes
0answers
46 views

Some table references sometimes not working

I'm having a problem with \ref to some of my tables. I have lots of tables via several \input{} commands. Some files contain only one table, others multiple tables. The problem is that some of the ...
6
votes
1answer
72 views

Cross-reference of custom environments created with environ and TikZ package

Problem: I want to create an environment named Example, and the environment has a counter (number within chapter). I want to refer to the counter for illustration just as the table, figure and ...
1
vote
0answers
68 views

Referencing wrong appendix in chapter. Should reference A.1 instead references A

My problem is when I reference a piece of document which is in my appendix it states the wrong one in my chapter content. I.e blah blah in 'A'. When it should be 'A.1'. Every document in the appendix ...
1
vote
0answers
34 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 ...
1
vote
0answers
20 views

Why might I not want to set naturalnames and hypertexnames both equal to false in hyperref?

I know from these questions that you can solve a lot of internal linking problems in your PDF by setting naturalnames and hypertexnames both equal to false (naturalnames being set to false by ...
5
votes
1answer
41 views

\@currentlabelname and custom counter

Suppose I have a counter, say, count. I can do something like this \setcounter{count}{0} \refstepcounter{count}\thecounter{count}\label{cool} \ref{cool} This will give me "1" in the end. Now, I ...
3
votes
1answer
47 views

Giving a custom environment a name

I have defined a custom environment: \documentclass[11pt]{article} \usepackage[table,hyperref]{xcolor} % Better control over color \usepackage[colorlinks=true, linkcolor=DarkBlue, ...
4
votes
1answer
48 views

Splitting a caption and cross-referencing

I'm currently writing my thesis and I'm struggling with my redefinition of the caption command. I've got large captions which I don't want to show up in my list of figures. Of each caption I want ...
3
votes
2answers
91 views

How to number subequations separately from the main equation?

I would like to produce in report class the following style for numbering subequations: The main equation has its own number, and can be referenced. Each subequations are labelled with lower case ...
4
votes
1answer
64 views

Hyperref cross-references across split documents

Say I have a document of type \documentclass{article} \usepackeage{hyperref} %\includeonly{Chap1} %\includeonly{Chap2} \begin{document} \include{Chap1} \include{Chap2} \end{document} Where ...
1
vote
0answers
30 views

LaTeX Printing reference identifier along side reference number

I am wondering if it is possible to turn on (or create) a feature that would cause all reference numbers to be printed with the variable name that defines that reference? For instance: ...
19
votes
2answers
312 views

Show graph of references inside a document

I have quite a lot of labels and references (around 250 labels, 600 references to those) in my document. As I need to re-arrange parts of the document, I'd like to know which labels are referenced ...
7
votes
1answer
93 views

How to put numbers in parenthesis using cleveref

I am using the cleveref package for cross-referencing. When I use \cref{tab1} and \cref{fig1} I got the output as table 1 and fig. 1 respectively. I would instead like to get table ...
1
vote
1answer
97 views

Cross referencing between chapters of a thesis

Hi I am new to the forum and fairly new to Tex, if I miss anything out please let me know and I will be glad to post it. I am writing up my PhD thesis using Texmaker on a windows system. I have my ...
3
votes
1answer
29 views

Cross-references in eledmac [closed]

When I create an \edlabel{} in a critical text made with eledmac, the result I get from referencing the label with either \edpageref, \lineref, \sublineref or \pstartref don't seem quite intelligble ...
5
votes
2answers
101 views

Labeling part of an equation

How do I label part of an equation using the same counter as for equations? For example, \begin{align} x^2+bx+c&=x^2+bx+\frac{b^2}{4}-\frac{b^2}{4}+c \label{eq:1}\\ ...
5
votes
1answer
60 views

How to check whether two labels fall on the same page?

I'd like to have something like 5--10 in the header of an article (my document is a journal issue) if it spans the pages 5-10, and 5 (as opposed to 5--5) if it is short and fits on one page. I use ...
8
votes
2answers
101 views

Referencing the section of an equation

I'm wondering if there's a way to reference the section that an equation is in. \documentclass{article} \begin{document} \section{section 1}\label{sec:first} \begin{equation}\label{eq:eq1} 1+1=2 ...
3
votes
1answer
50 views

biblatex: inherit shorthand

UPDATED MWE I want to cite articles from an encyclopedia, with using the shorthand of the encyclopedia: Like Lastname, Firstname. Art. articltitle. In: NG, Vol. 11, pp. 30–40, p. 35. I want to ...
3
votes
1answer
37 views

referencing in subfloat not working

\documentclass[journal]{./IEEE/IEEEtran} \usepackage{cite,graphicx} \usepackage{url} \usepackage{float} \usepackage{subfig} \begin{document} \begin{figure}[H] ...
6
votes
1answer
80 views

How to get caption of figure/table using table reference?

How can I get the caption of figures and tables using their references? Something along the lines of \refcaption{tab:mytable} would print This is a pretty table., which is the caption of the table ...
5
votes
0answers
91 views

biblatex-chicago, backref, and crossref [closed]

Using biblatex-chicago with backref=true and longcrossref=false, the list of backreferences of cross-referenced items appears with the parent item, not the child. How can I make it appear with the ...
1
vote
1answer
63 views

LaTeX - Reference Help [closed]

I have some problems, when I try to use the command \ref{}. When I compile my LaTeX code, It will not show me any number at all in the final pdf-document eventhough that I am using the correct ...
1
vote
1answer
60 views

Cross reference the equation: number are not consistent [closed]

I have a very weird problem in Latex. I have an equation: \begin{equation} \label{eq:eq1} \end{equation} This equation has the number (1) at the end of it. This is correct and what I want. ...
7
votes
1answer
85 views

Figure labels with custom captions

Currently I am writing a paper for a specific journal which however has a unique style thus causing some malfunctions in LaTex. Let me be more specific. The following is the first figure of the paper. ...
4
votes
1answer
51 views

using tag within align

I have the following code: \begin{align} [m] &= [n] \nonumber \\ &= b \refstepcounter{equation} \label{eq:m} \tag{\theequation,~tag} \end{align} If I cross reference the equation, with ...
0
votes
1answer
58 views

pageref to label in last page in resume.cls

I am using the class resume.cls for writing my curriculum. I would like to use as page numbers the text "page k out of n", but I seem not to be able to get a reference to the last page. If I add a ...
1
vote
2answers
61 views

Help with cross-referencing an equation

I am trying to learn how to use the \eqref commands instead of just doing tag{1.1}, so I don't have to go back and renumber. I'm having trouble: in problem 3b, I say Now \eq{y(t, \epsilon)= y_0(t) ...
0
votes
1answer
45 views

Cross-referenced equation never becomes defined

I have a strange problem with cross-referencing my equations: no matter how often I run pdflatex they stay undefined. Other references do get resolved. Is there something wrong with the way I label ...
10
votes
2answers
116 views

Multiply define a label on purpose

I'm working on a document that needs to have a cross-reference section at the start of the style: Evidence 1 found in Paragraph 1.1, 1.2, 1.3 Evidence 2 found in Paragraph 1.2, 2.3, 3.4 ...
3
votes
1answer
61 views

How to place text flushed right in math mode (next to equation number)?

I have equations like this: \documentclass[DVI=17]{scrartcl} \usepackage{amsmath} \usepackage{cleveref} \DeclareMathOperator{\FA}{FA} \DeclareMathOperator{\RA}{RA} \DeclareMathOperator{\MD}{MD} ...
5
votes
1answer
88 views

How to refer to a footnote?

how to refer to a footnote? example... blablablabla\footnote{ble blev blev v}\label{footnote_1} this means that you make reference to the footnote then to put As mentioned in note \ref{footnote_1} ...
5
votes
3answers
129 views

Cross reference in tex code in LyX

I'm working with LyX. Do you know how to apply cross reference when using "Tex code" option in LyX? That's the example of what I'm writing in Tex code: \begin{table}[htbp] \begin{threeparttable} ...