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

2
votes
0answers
80 views

Cross-referencing on 2 kinds of end-footnotes (separated and with different coloured numbers)

In the beginning I used parnotes and endnotes to distinguish between the 2 seperated kinds of end-footnotes: Attention: to be able to compile the first "grey box" of trial code, one must download ...
0
votes
0answers
19 views

How to add labels in verbatim env. in Latex?

I'm writing master thesis where I need to include some parts of program code. This code needs to be commented and properly described in text below/above. I would like to add some specific labels in ...
0
votes
1answer
64 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." ...
3
votes
1answer
47 views

Separate bibliography for articles

I have a bibliography that mixes every refrence type (mostly books and articles together). Now, I would love to be able to separate only the articles from the rest and display them under a separate ...
2
votes
1answer
25 views

Question marks showing up while trying to reference equation [duplicate]

Similar questions have been asked, but I've found them to be of no help. When I try to reference an equation in texstudio, all I get is ?? An example of code I have inserted which does this (I have ...
0
votes
1answer
63 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), ...
3
votes
1answer
42 views

links to theorem-environments take me to first page

I'm currently creating a big document in multiple TeX-files and used dozens of links to parts I put into theorem-environments. However, only some of the links do not work, they take me to the first ...
10
votes
3answers
645 views

Cross-references in headers, clash between fancyhdr and hyperref

I am writing my thesis and using fancyhdr for the headers. Just the standard "Chapter name on odd pages and section name on even pages". I also need to use the hyperref package to break up long urls ...
0
votes
0answers
20 views

How to control the Bibliography numbered and author year in single command

I am using natbib package. I would like to control bib style in single command \numberedref. My requirement is if the \numberedref command is available in the tex file the output is shown in numbered ...
4
votes
2answers
36 views

Issues with using \nameref (hyperref) and \mdtheorem (mdframed) together

When using the \mdtheorem command (from mdframed) with \nameref (from hyperref), it seems that labels applied to an theorem made using \mdtheorem will not appropriately take the title given to the ...
2
votes
0answers
274 views

Mysterious error message regarding missing reference [closed]

At the very end of my pdflatex compilation, I get the following error messages: (see the transcript file for additional information)pdfTeX warning (dest): name {theorem.10.2} has been referenced but ...
0
votes
1answer
25 views

Change page number of manually added TOC entry without adding blank pages

I have a main LaTeX document and an external PDF that I used to include with pdfpages (and it looks great!). But, now I want to insert TOC entries to reference sections and subsections inside external ...
1
vote
1answer
44 views

Minitoc conflict creating aux error defcounter refsection

While compiling my book, I encountered the following error: (./Book.aux ./Book.aux:94: Undefined control sequence. l.94 ...\defcounter {refsection}{0}\relax }\@write The thing is that a simple ...
0
votes
0answers
15 views

Autoref uses wrong name [duplicate]

Here is my MWE: \documentclass{amsart} \usepackage[all]{xy} \usepackage[colorlinks]{hyperref} \theoremstyle{plain} \newtheorem{thm}{Theorem}[section] \theoremstyle{definition} ...
1
vote
1answer
81 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 ...
2
votes
2answers
47 views

Line thickness of links

Links coming from ref or gls are accompanied by boxes (I know about colorlinks and the possibility to switch them off). I somehow like the idea of the boxes but the lines are way to thick in my ...
0
votes
0answers
25 views

Table error: Not in outer par mode

I'm using Latex and Sweave. The example below is a MWE of my .Snw file. \usepackage[utf8]{inputenc} \usepackage[portuguese]{babel} \usepackage{amsmath} \usepackage{amssymb} \usepackage{colortbl} ...
3
votes
1answer
32 views

running number/counter (e.g. {244}{a}) for a text

To assign a running counter to parts (not paragraphs, not lines) of a document with facing greek text and translation (finally I will use eledpar) I need a command (call it \Steph) which 1a) inserts a ...
0
votes
1answer
13 views

\ref{label>} yields the chapter [duplicate]

When I refer to a table in text, the \ref{<labeloftable>} statement produces the chapter number in which the table resides, instead of the number of the table. Any help would be welcomed!
3
votes
2answers
43 views

hyperref targets without \refstepcounter

I am trying to create a document-internal link using the hyperref package. At the position where the link should point to, I execute the following command (as part of the setup of a LaTeX ...
1
vote
0answers
32 views

Descriptive text for figure depending on location

I often find myself writing see Figure~\ref{fig:figname}, below or see Figure~\ref{fig:figname}, above, or similar phrases. Is there a way to make LaTeX automatically decide between "above" and ...
0
votes
0answers
15 views

Another way to do cross-referencing in multiple chapters

I'm trying to do cross-referencing in multiple chapters, this answer of Cross-referencing in multiple chapters provides a nice solution. However, I wonder if there is another solution. More ...
1
vote
1answer
29 views

Section references in RevTex 4.1

How does one reference sections in RevTex4.1? I've tried \section{\label{sec:Coupling}Coupling Efficiency} \section{Coupling Efficiency\label{sec:Coupling}} \section{Coupling ...
2
votes
1answer
43 views

Problem with citation and bibliography

I want that when I cite references, to obtain these forms as a link: Here is the file.tex : \documentclass{article} \usepackage[style=apa]{biblatex} \usepackage[american]{babel} ...
0
votes
0answers
21 views

cross-references across multiple documents [duplicate]

I have three related (though independent) documents, theory.tex, problems.tex and solutions.tex (I hope the names are suggestive). Each of the three is divided into sections, subsections, etc. and ...
1
vote
0answers
22 views

Edit figure numbering in LyX

I am beginner to LaTeX and LyX as well. I am writing my survey report and got an issue with labeling the figures. I first inserted a figure float and then the picture.Once I add a float it names that ...
3
votes
1answer
1k views

tikz externalization and multiple axis using \ref and \label for legendentry

I have a plot consisting of two y-axis. When I'm adding the legendentries in each axis environment, the first legendentry will be plotted "behind" the plot of the second axis. Thus I thought a ...
16
votes
3answers
298 views

Changing the suffix according to the figure number

In Turkish (and possibly in other similar languages), there are suffixes that change corresponding to the word they are applied. This also holds for the numbers. For example, in Figure \ref{fig1} ...
0
votes
0answers
24 views

Appendix for thesis with only one file (also: reference in toc)

The Appendix of my thesis consists only of one long table. Now its time for some style. But here is the problem: normal use of \appendix like: \documentclass[a4paper]{scrbook} \begin{document} ...
7
votes
2answers
99 views

number equations according to subsections but do not display subsections without numbers

I wish to number my equations according to their (sub)section so when I reference them it shows for example (1.1) but my sections and subsections should not display their number so the section should ...
1
vote
0answers
13 views

How to make refcheck work with autoref? [duplicate]

I have just discovered refcheck and would love it to bits if my document wasn't full of \autoref's. According to refcheck's documentation, it works with hyperref in general, as long as the latter is ...
1
vote
0answers
27 views

Appendix header and references in sections [duplicate]

I am trying to use Appendix for some proofs in the thesis. The appendix looks like this: \chapter{Proofs for Chapter ABC} \section{Proof of \thmref{thm:some_theorem}} While the "Proofs for Chapter ...
7
votes
5answers
9k views

Table reference

I wrote a long table with a label in a tex file and \input it into my main tex file. The reference in the main tex file to the table, however, does not show the numbering of the table but the one of ...
6
votes
1answer
167 views

Cleveref's \crefrange and mixed equations and subequations

This example doesn't work with the latest version of cleveref. The line Refer to \crefrange{eqa}{eqc}. gives the output: Refer to ?? 1–3. It used to work before. Can anyone explain how to fix it? ...
3
votes
3answers
54 views

Label four equations on one line

I have an equation in an align environment that I wrote as \documentclass{article} \usepackage{amsmath} \usepackage[pdfencoding = auto, psdextra, bookmarksdepth = 4]{hyperref}% ...
1
vote
1answer
26 views

Why does autonum fail to number and label a referenced equation in a split environment?

Here's my MWE: \documentclass{article} \usepackage{autonum} \begin{document} References to equations \ref{1} and \ref{2} and \ref{3}. \begin{equation} \label{1} \begin{split} \textrm{(1) This ...
0
votes
0answers
93 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} ...
4
votes
1answer
198 views

Cross-ref an equation using RefTeX, AUCTeX and cleveref

After an updated of AUCTeX (to 11.87) the solution that worked wonderful from this answer stopped working. In particular, I got the following error: reftex-reference: Wrong number of arguments: ...
2
votes
2answers
50 views

What is the standard way to cite a Section in a chapter?

Currently I cite Section X placed in Chapter Y as follows: In Chapter Y, Section X we studied the problem of... or: In Section Y.X we studied the problem of... I was wondering if any of the ...
4
votes
1answer
51 views

Why do I just get “?? ” when I try to get the reference of a equation with \autoref

I use \autoref to reference everything in my Thesis. I get without problem the references of the images and the Tables but when I try to get the references of a equation I get just ??. \noindent Die ...
4
votes
1answer
26 views

multiple reference to single footnotes in table

I have been trying to include multiple footnotes in a table. I have tried using longtable inside a minipage with \footnotes, \footnotemark and \footnotetext. I have multiple footnotes and some are ...
1
vote
1answer
36 views

How to write dot automatically after reference to images and equations?

When I use \ref{fig:sth}, LaTeX writes the number of the figure into the text. How do I make LaTeX automatically write a dot after the number of the figure/table/equation/etc.?
4
votes
2answers
288 views

How can I cross-reference cross-references with primes?

When I try to cross-reference with \ref to gb4e's cross-references with primes (\exp) I fail. Consider the following example: \documentclass{article} \usepackage{gb4e} \begin{document} ...
1
vote
1answer
39 views

gb4e: A package specific \ref{}-definition

I use \usepackage{gb4e} to reference and to contiuously number my linguistic examples. It works like this: \documentclass{article} \usepackage[ngerman]{babel} \usepackage{gb4e} \begin{document} ...
4
votes
0answers
51 views

add the page number next to the reference

I am using KOMA-script in lyx for my thesis. I would like to add the page number next to the reference in bibliography. Some thing like this: S. J. Young, G. Evermann, M. J. F. Gales, T. Hain, D. ...
2
votes
2answers
144 views

Cross-referencing to the number of a customized environment with a counter

On the internet I found a possibility to create an example environment that is helpful for linguistic research papers, because it provides all examples with numbers: \newcounter{exa} ...
2
votes
1answer
43 views

Taking off the reference number from in text cite

I have a question about how to take off the reference number from in text cite? to explain more, I am using a thesis template, which uses the bibtex. This is how I cite a reference in text: ...
3
votes
1answer
40 views

Setting the enumi counter under custom enumeration with enumitem

I have a several items in an 'enumitem' enumerate environment with custom label styles, and I would like to repeat them at various points later on. Something like this: (a) Unicorns don't exist. ...
5
votes
2answers
115 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
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 ...