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

3
votes
0answers
65 views

How to change color of hyperlink to an external URL? [duplicate]

I have written the following command to create a link with black or green color : \documentclass[11pt,twoside,a4paper]{article} \usepackage[margin=1.5in]{geometry} \usepackage{hyperref} ...
3
votes
1answer
51 views

hyperref and cross-referencing

When you are using the hyperref package, it creates nice, clickable links within the PDF output when you use cross references (\ref{chap:label}). But, when I refer to "Section 1", only the "1" is ...
1
vote
0answers
43 views

pdfTeX not adding the word Table/Figure on its own in Windows XP [closed]

I am using pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9), in Windows XP. It seems NOT to be adding the word "Table", when referencing to one, as it does in Linux. For example, consider this ...
2
votes
1answer
30 views

Referencing and printing table entries in main body

I have a table with numbers and I would like to reference a specific number in this table by re-producing it in the main body of the text. For example in this table: \begin{table}[h]\caption{Summary ...
1
vote
1answer
51 views

System of equations with tag which has subscript

Suppose I have an equation u_t = F(x) u(0) = u_0 I want to put a brace around on the left hand side of both lines and give it a tag with a subscript (eg. P_w) AND I want to be able to refer to ...
7
votes
1answer
74 views

Numbering of subsections and paragraphs

I have a document style for a report which I'm having to copy to LaTeX format. I'm using pdfLaTeX, for information. In essence, the system is that paragraphs are on the same level as subsections, ...
4
votes
1answer
50 views

Hyperref warning when using amsthm and enumerate

hyperref gives the warning that something has been referenced but it doesn't exist. When I use the enumerate (or an itemize) list, I get the warning. Here is the minimal working example (MWE): ...
7
votes
2answers
90 views

Cleveref and named theorems

Is it possible with Cleverref to reference not only the number of an environment but the "name" (the thing that is passed to it in square brackets? In the following example I want to replace the line ...
2
votes
0answers
45 views

Cross-refencing a custom counter in \alph style?

I made a 'hypothesis' custom counter in order to let LaTeX handle my hypothesis reference. My code is \newcounter{hypothese} \refstepcounter{hypothese}\label{hypo:lenght_of_words} ...
7
votes
1answer
54 views

Modified \overline over first character of complex argument

I've been using zref to handle my references. It has allowed me to customize a reference the way I want through its property lists. In particular, I reference a variety of structures in my document ...
2
votes
1answer
62 views

Standalone - \newlabel being written to .log instead of .aux

In my compiled document, which consists of many sub-documents using standalone, I have one sub-document in which the Figure references are undefined - they show up as ??. No MWE I've tried can ...
3
votes
1answer
74 views

BibTeX compilation is corrupting myfiles

I am using TexMaker 1.9.9 and managing my references with KbibTeX. I have all the LiveTex package up to date from Debian Stable release. I always use the same template to write assignments: ...
11
votes
3answers
63 views

What to consider when naming labels to prevent errors?

This question is inspired by Umlauts in label and a quote from an answer to How to automatically add \! in subscripts? However the best is to avoid _ in labels. I already name all my labels with ...
1
vote
0answers
44 views

Cross-referencing (input) multiple tex. files on multiple levels

I´ve recently discovered this site and you might be able to give me some advice working with LaTeX. Here´s my problem: My company is working on several user manuals. Each user manual is located in ...
10
votes
1answer
86 views

Two colors in one hyperlink

As usual writing a few documents. As one can see having too much color and gloss in a document is never good. Therefore having boxes, and a myriad of colors in the hyperlinks is a bad idea. I really ...
10
votes
1answer
104 views

Why does the compiler keeps telling me (forever) to rerun because labels have changed?

I have a LaTeX paper (multifile setup, using \input{} statements) that , since a few days ago, keeps telling me at each compile (both with pdflatex or latex): LaTeX Warning: Label(s) may have ...
4
votes
2answers
95 views

How to remove parentheses from year in the references in chicago bibliography style

I'm using chicago bibliography style (\bibliographystyle{chicago}) and the references appear like: Leibowitz, A. (1974). Education and home production. The American Economic Review 64(2), ...
1
vote
0answers
52 views

Roman number not showing with \pageref [closed]

I tried to use the \pageref to show page number when referencing to a figure/table, it works fine where I have arabic number but for the tables that appear in my appendix the numbers are not showing. ...
2
votes
0answers
60 views

Using autoref with my own label to my own new environment [closed]

I defined my own environment. Now I want to refer to my environment with autoref. But autoref should refer with my own defined name. But I don't know how to do this. Could someone help me? My code ...
3
votes
3answers
86 views

Reference sections or chapters without labeling?

Is it possible to reference chapters and sections of a document without manually labelling every section and subsection ? I have about 8 chapters and dozens of sections/subsections indented inside of ...
3
votes
1answer
72 views

How to insert formula number inside formula?

I want to put a formula number inside an \align enviroment. For eaxmple \documentclass[12pt]{article} \usepackage[left=2cm,right=2cm, top=2cm,bottom=2cm,bindingoffset=0cm]{geometry} ...
1
vote
1answer
43 views

Equation number displaying problem

I used \eqref to reference two different equations (\eqref{eq1} and \eqref{eq2}) but it displays the same strange shape as shown below in the image. The equation numbers are 1 & 2, any help?
12
votes
1answer
106 views

First reference to equation underlined

In these days I'm writing at my Bachelor's Thesis and I've got a new problem. I have to underline the first reference to figures, tables and equations. By searching in the Internet I've already found ...
1
vote
1answer
67 views

Captioning a figure with multiple subfigures all at once

I want to create a figure with subfigures, and then reference them from the caption of the main figure: \begin{figure} \begin{subfigure} A figure \caption{} \label{a} ...
7
votes
1answer
285 views

What is the difference between \eqref and \ref?

Is there any difference between \eqref and \ref? I used both of them in my document using the package classicthesis and saw no difference in the result. Is there any specific situation in which I ...
5
votes
2answers
56 views

How to change font size of \ref

How can I change the fontsize of a reference mark? My reference is something like: this is a text \ref{figure1} When compiled I get this is a text 1 The "1" is in normal font size. How can I ...
1
vote
0answers
54 views

Produce parentheses around number of equation

Is there any direct command which can help me to put the number of a equation in the parentheses, for example if I write the following: \begin{equation} \label{eq:1} this is my equation ...
0
votes
1answer
36 views

Can the result of `\eqref{eq:einsten}` be something other than the default number? [duplicate]

When I use \eqref, it produce, say, (2.5). It is possible to produce like "my owner words"?
1
vote
1answer
82 views

References in example environment (linguex package)

I am using the linguex package to create examples, like this: \ex. First-level example \a. Second-level example \b. Second-level example \a. Third-level example looks like this: (1) First-level ...
2
votes
1answer
24 views

Referencing in multienum package

Can you reference the counter when using the multienum package? See MWE below: \documentclass{article} \usepackage{multienum} \begin{document} \begin{multienumerate} ...
0
votes
0answers
52 views

Text label update automatically as the equation number changes [closed]

I am writing a report and while writing my equation numbers might change but I want my labels in the text to change automatically as the equation numbers get changed. For example I have this minimum ...
5
votes
1answer
43 views

How can I add a section reference to equation labels in an unnumbered section?

I have an unnumered section in a document, defining notation for the further contents. Since it's unnumbered, the equations within are labelled: '(1)', etc. For example: \documentclass[12pt]{book} ...
1
vote
1answer
68 views

Section reference shows section then subsection number

I am labeling a subsection with simply \label{labelname}, and referring to it later in my document with \ref{labelname}. However, at that point it doesn't print just the subsection number, e.g. 2.1, ...
4
votes
2answers
140 views

Cross reference in LyX

I would like to use the \autoref function in LyX, so that when I refer to a labeled figure or theorem, it is typeset as "Figure #" or "Theorem #". According to this answer, I can redefine the \ref ...
2
votes
1answer
54 views

question marks appearing using xr

I am creating a document in LaTeX using TeXworks and I cannot get cross-referencing between separate files working. Every time I use \ref to a label I get two question marks. I have three separate ...
1
vote
1answer
46 views

Using memoir and hyperref, can I get a “\subref” in the caption of a figure?

I am writing a document using the memoir class. I would like to create a figure with two subfigures and to display a caption like "Plot of Y vs X with z=1 (a) and with z=2 (b)", where "(a)" and "(b)" ...
8
votes
1answer
66 views

Kerning in \Cref of cleveref

When I use the \Cref command of cleveref package, it doesn't apply the corresponding kerning: Here is a minimal example: \documentclass{scrartcl} \usepackage[thref]{ntheorem} \usepackage{cleveref} ...
14
votes
2answers
130 views

Regular Expressions in refs (i.e., \ref{tab:foo.*} )

Sometimes I want to refer to a long list of tables or figures. I've labelled them in categorical ways, but it's a lot of typing (I'm lazy programmer) to type out something like: \ref{tab:foo1}, ...
3
votes
1answer
42 views

cleveref: \lcnamecref fails to work with theorem names that are not pre-defined

I'm using cleveref with the capitalise option, and I'd like to use the \lcnamecref command to give the name of one of my theorems in the text. But if this is not one of the theorem types pre-defined ...
5
votes
1answer
86 views

Label and page number in macro?

I'm writing a long document, and I've written a little macro for keeping track of various things I want to come back to - for example if I want to continue writing but I know that something I've ...
11
votes
2answers
128 views

varioref: \vref or \vpageref at page boundary (may loop)

Sometimes a have situations, where I'm not able to compile a document, because the varioref package result in a loop. Here is a MWE, which result not in an endless loop, but it demonstrate the issue ...
3
votes
1answer
51 views

How to create a numbered list of references when using verbose-trad1 style with the biblatex package?

I am using the biblatex package in the verbose-trad1 style. When generating a bibliography at the end of my chapter, all references are listed in alphabetical author, but they are NOT numbered. Is ...
0
votes
0answers
16 views

\ref{figures} goes to the part, not the figure [duplicate]

I'm using Latex for a Report about signal processing and I've a lot of figures. SoI putted them into minipages to display them side by side. It's fine but the references doesn't work. Here is an ...
4
votes
1answer
136 views

Multiple labels in aligned environment

I would like to format an optimization problem by \documentclass{article} \usepackage{amsmath} \begin{document} We want to label each line separately. The inserted text and formulas have to be ...
1
vote
0answers
30 views

using xr with import package

I am working on the following project. It is a series of labs designed to teach numerical computing. https://github.com/byuimpact/numerical_computing The latex files are organized into to ...
0
votes
0answers
31 views

Incorrect references to lemma numbers [closed]

The following code correctly produces 9, 10, and 11 as the Lemma labels but 6, 6, 11 when the references are printed. What could be causing this? (6 happens to be the chapter number.) All the other ...
1
vote
1answer
31 views

Problem cross referencing when using include tcommand to include multiple files

I have been dealing with a Latex bug for the past 4 months that I have been unable to resolve. The issue is that a lot of my cross references come out as ?? when I use \include{filename} from a ...
2
votes
0answers
91 views

\ref, \autoref and hyperref expansion

I'm trying to write section numbers to a file with the newfile package. In details, this MWE basically tries to write to a .ref file with lines like A-B. The A and B are generated by \label and \ref ...
2
votes
1answer
22 views

Is it possible to get the name of the referenced item together with a label?

If I define a figure, table, code listing or anything similar with a caption and a label, how can I get the item name together with the reference label? For example, if I define a figure: ...
5
votes
1answer
85 views

Export page numbers of references

I would like to export the page numbers of all the inner references of my document. How can one achieve this? Equivalently, how can we export the section/chapter number of all the inner references? ...

1 2 3 4 5 18