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

0
votes
1answer
69 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
63 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) ...
2
votes
1answer
50 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
124 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
73 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
97 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
169 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} ...
2
votes
0answers
56 views

\ref to \label in other document?

I have a repository with one document, but I think of splitting it into two documents, whereas I want to cross-reference from one to eachother. Is there a way, to "rewrite" \ref to automatically ...
2
votes
1answer
84 views

Table reference not compiling correctly

I'm hoping for some guidance on why LaTeX isn't properly referencing this table. \begin{table}[ht] \caption*{Table 2 \\ Number and Percentage}\label{tab:table2} \centering \begin{tabular}{rrrrrr} ...
3
votes
1answer
103 views

How to associate a symbol to a list

I'd like to associate a symbol to an \itemize environnement so that when I use\ref it prints the symbol. I'd also like to have the symbol chosen printed in the middle of the \itemize environnement. It ...
3
votes
1answer
57 views

How to correctly cross reference program listing in Lyx

I learnt from another question that best way to include code was to make a child document with a program listing, which is great. My question is how do I correctly label the program listing? For a ...
5
votes
1answer
50 views

How to change the number of a subsection used in a cross-reference? [duplicate]

I was wondering if I could change the number that appears in my "\labelcref"? (I use hyperref, cleveref and nameref packages) More precisely, I'm writing a document where there are several sections ...
5
votes
1answer
84 views

Labeling Multiple Equations Per Row of a Table

I am trying to create a table with two columns of independently labelled equations (1-6). Unfortunately, everything I have found so far either has not worked or would number them as sub-equations (1a, ...
0
votes
0answers
99 views

cross-reference auto-completion in TeXShop

I use TeXShop 3.26 and have a root tex file and every chapter in a separate file. When I use the auto-completion feature for the ref command I only get the labels defined in the same file. Is it ...
0
votes
0answers
41 views

Update references each time LaTeX compiles document

When I use my TeXnicCenter and hit the compile button I want that all references are updated ... So I don't have to compile 3 times till all those references update. Because with a bunch of pictures ...
0
votes
0answers
35 views

General advice on how to manage references between multiple files

I need to cut my .tex files into several files, and to compile each file separately. I will need to do some work to ensure that the references and the counters work well. Before starting this work, I ...
3
votes
1answer
116 views

Bug in label for legend with beamer, tikz, animate

I am very puzzled by this small bug. This example does not work because compilation crashes on the line containing \label{Temp\iIdPic}. \documentclass[11pt]{beamer} \usepackage[latin1]{inputenc} ...
3
votes
2answers
63 views

How can I have references to several counters in a formatted way with \ref{}?

I have two counters in my document, counterA and counterB. I would like the references \ref{} in my document to be printed as 1.a) or 2., etc. where the digit refers to counterA and the letter to ...
0
votes
0answers
55 views

revtex 4.1 in aps style: section numbers do not show up in typeset text

Typesetting using Revtex 4-1 and Texlive gave me this problem: The source fragment is \documentclass[12pt,aps,prl,showpacs,showkeys,preprintnumbers]{revtex4-1} \usepackage{graphicx} ...
6
votes
1answer
55 views

Adding parentheses to figure references

Using pretty much no packages, when using the \ref{label of figure} i get just the number of the figure. Is there an easy way to set it to make parentheses around that number? At the moment I have ...
1
vote
1answer
59 views

Subref with floatrow (without subcaption)

I have subfigures created with the floatrow package instead of the subcaption package. The latter is not loaded. \begin{figure}[htbp] \ffigbox[\FBwidth] {\begin{subfloatrow}[2] ...
9
votes
2answers
130 views

nameref (hyperref) evaluating counter instead of section name

What's the proper way to reference a section with a counter in the title? The TOC generates correctly, but the cross references aren't so lucky. MWE: \documentclass[letterpaper, 12pt, twoside]{exam} ...
3
votes
1answer
51 views

Cleveref Links missing

i have a problem with cleveref. I'm using cleveref with the nameinlink-option but there is still no link. This is my header: \documentclass[12pt,a4paper]{scrreprt} \usepackage[latin1]{inputenc} ...
2
votes
3answers
55 views

Detect misplaced label in figure

I realized that I sometimes write : \begin{figure} ... \label{fig:foo} \caption{Bla} \end{figure} instead of: \begin{figure} ... \caption{Bla} \label{fig:foo} \end{figure} ...
5
votes
1answer
105 views

Reference to a figure

When referring to a figure, the output in my pdf is not a number, but 'Figure xx'. For example: if I use the phrase This is figure \ref{test}. the output in my pdf file is always: This is figure ...
0
votes
1answer
49 views

Reference to listing not working [duplicate]

I have the following code: \documentclass{article} \usepackage{hyperref} \usepackage{minted} \begin{document} A nice paper has the following things: \begin{listing} \begin{minted}{haskell} ...
5
votes
2answers
90 views

Cross reference to counter in section title

I am trying to use a custom counter in Latex in order to auto number Use Cases in section titles (eg. \section{UC <counter>: use case title}). I also want a \usecaseref command to substitute a ...
3
votes
0answers
87 views

Prefix for \externaldocument references in \cleveref

The question Special case for last element with \foreach manually changed the references, and added the ability to have a prefix on references. Can I do the same thing using \cleveref? (Note: This ...
1
vote
2answers
69 views

Figure reference problems

My problem seems to be simple although I could not find any solutions for it yet. I am writing my thesis in LaTeX, but I am totally new to this type of language. I am trying to reference a figure as: ...
3
votes
2answers
130 views

Excluding subsection from ToC and keep the references

I need to remove my subsection from ToC. I got that part right without any problems by using this link. Thanks! But I am unable to use \ref{"label from my subsection"} for the selected subsection I ...
3
votes
1answer
60 views

Memoir's \NumToName doesn't work with cross-referenced items

I got external references to work with memoir and hyperref here: hyperref and xr-hyper break memoir's \titleref, but references to external documents don't work with memoir \NumToName: ...
6
votes
5answers
332 views

Reference to the Table of Contents page

I thought that someone must have asked this, but my searches didn't find it. I am looking to refer back to the table of contents from places in my document. How can I do this?
2
votes
0answers
56 views

How do you organize an article with multiple aspects?

I am writing a reference manual for a component(a particle system) in our game engine. There are many modules in this system. And each of them has a module type. I can write specifications for every ...
5
votes
2answers
103 views

hyperref and xr-hyper break memoir's \titleref

I have one document that has hyperref loaded, and works fine. I have a second document that I am using xr-hyper to reference the first. If I remove hyperref from the first document, the \titleref{} ...
4
votes
1answer
58 views

Gene-logic package and bizarre cross-referencing behavior

I am getting some bizarre behavior using the gn-logic (gene-logic) package with some of the various cross-referencing packages. In particular varioref and cleveref. Here is a MWE illustrating the ...
2
votes
1answer
61 views

Keeping the definition of tables/figures separated from main text

Disclamer: This is not a question regarding the micromanagement of tables/figures placement during typesetting, but rather about organization of the original latex file itself. Prologue: During the ...
4
votes
1answer
95 views

Reference that includes section number and name

I'm trying to refer (hyperlink preferably) to another section, or in this spesific case a subsection. I've fixed the problem by creating a new command: \usepackage{hyperref} ...
4
votes
1answer
100 views

Format reference to items in nested list with cleveref

I'm using the cleveref package to format references in my documents. However I am having difficulties implementing different formats for labels referring to enumerate-lists, in particular nested list. ...
7
votes
2answers
139 views

Enumerate level 2 reference format

In the following example, when I refer the enumerate level 2, it comes out 2a instead of 2 (a). How can I change that? \begin{document} \maketitle \begin{abstract} \end{abstract} \section{} ...
4
votes
1answer
74 views

Hidden reference to equation

How to make a hidden reference to an equation, such that \mathtoolsset{showonlyrefs=true} is overridden (assuming it is active)? Alternatively, how to switch off showonlyrefs temporarily (regardless ...
7
votes
2answers
151 views

Reference to List Items in Theorem Environment with Label Type “Theorem”

I'm trying to set up references to list items in theorem environments. Using the thmtools and the cref-package I am able to reference theorem environments, such that the theorem type, e.g. theorem, ...
3
votes
1answer
207 views

How to imitate great looking Motion Mountain ToC, including hyperlinks?

I wanted to customize my ToC to look more or less like the one in Motion Mountain physics textbook, including clickable page numbers. My decision was to use hyperref and titletocpackages. Now it seems ...
8
votes
1answer
41 views

eledmac and cleveref?

I'd like to use eledmac and cleveref in the same document, but I'm running into trouble with something like this: \documentclass{article} \usepackage{eledmac} \usepackage{cleveref} \begin{document} ...
0
votes
0answers
44 views

latex and cross references [closed]

I have defined my own enumerable environment in the layout and cls files and I have set a marker behind the automatic enumerations in the lyx file which reads A1, the name of the marker is A:1 When I ...
6
votes
3answers
124 views

Protecting references in section headings from capitalization

I am using the ACM SIG alternate style, which automatically converts all section titles to upper case. I would like to include a reference in one of the section titles (Proof of Lemma X). The obvious ...
13
votes
1answer
135 views

“\thechapter” as prefixnumbers for bibliography with biblatex

I have a huge document and would like to do the following with biblatex: Have one (actually, several) seperate bibliography for each chapter. Add a prefix to each citation number to make them ...
4
votes
0answers
62 views

How to include references used in Supplementary material to main text [closed]

According to the guide of APS, I have to include the additional references in the supplementary material should be included in the main text. In other words, I need to put references used in one file ...
6
votes
1answer
72 views

Linebreaking with \eqref and long tags

When using a long tag for an equation, is there a way to have an equivalent of \eqref that would allow LaTeX to break the reference between words, or even within words. In the example below I get ...
6
votes
2answers
99 views

Getting the number of a chapter-numbered theorem but without the chapter number

Suppose in Chapter 3 I have Theorem 3.17. I need to get the "17", NOT the "3.17" which would readily be obtained using \label then \ref. How do i do that? Edit: (Probably a more relaxing condition): ...
1
vote
1answer
51 views

Bibliography references by hand

For my Master's thesis, I used a formatted latex bundle so I would not have to worry about my University's many formatting requirements. However, the downside is that the Bibtex does not work. I tried ...