{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
17 views

Reference year sequence change

I am working with a report type document, with the settings of: \usepackage[round]{natbib} % omit 'round' option if you prefer square brackets \bibliographystyle{plainnat} \setlength{\bibsep}{18pt} ...
1
vote
1answer
16 views

''Proof of Theorem x'' header trough modification of \ref

I had a problem that was solved in a previous question, and that now is coming back. The idea was to use \ref for internal links with color A, and \cref with nameinlink option in cleveref (!) and ...
3
votes
1answer
39 views

Changing the output of \ref depending on the position of the corresponding \label

My document contains parts and sections. When I refer, for instance, to the section I.1, I would like \ref to output 1 when it is located in part I, and I.1 otherwise. Thus, I would like my document ...
2
votes
1answer
45 views

How can I conditionally reference a figure?

So here's my knitr .Rnw file: \documentclass{article} \usepackage{hyperref} \hypersetup{} \begin{document} \let\ref\autoref <<plot,fig.cap='try'>>= if(rnorm(1) > 0) x = rbinom(1, 100, ...
0
votes
0answers
20 views

Problem with referencing to the the number of an equation when using arabic support of babel

Unfortunately, I have a problem when using babel with arabic. When deferring to the number of an equation, the digits are reversed. In the below document when using (\ref{eq:10}) it gives (01) instead ...
1
vote
1answer
10 views

Problem with cross reference and threeparttable - Lyx

I'm having an issue with cross reference using Lyx. I'm using threeparttable with cross reference inside a float. Although the table number is 1, the compiled file shows me "Table 2" when I cross ...
1
vote
0answers
20 views

Is there a LyX way to add multiple cross-references to a document?

I am using refstyle and can successfully call \chapref{label-1,label-2} in an ERT, which produces the desired "Chapters 3 and 4", but I was wondering if there was a way to do this via the GUI which ...
0
votes
1answer
34 views

Table cross-chapter reference works fine but shows “??”

When I reference a table in a posterior chapter in my thesis, instead of the correct table number it puts ??. However, the link works correctly, and the table appears in the List of Tables fine. I ...
4
votes
2answers
21 views

Beamer: label ref wrong display format

I am having trouble with the format of the referenced subsection in Beamer \documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage{default} \begin{document} \section{mysection} ...
3
votes
1answer
58 views

Cleveref-like command in ConTeXt

Following ConTeXt garden, I set up theorem environments like in the below MWE. I wonder if ConTeXt has a command similar to \cref from the LaTeX package cleveref which automatically adds "Corollary,", ...
0
votes
1answer
48 views

Giving book reference to figures

\documentclass[a4paper,12pt,numbers=noenddot]{scrartcl} \usepackage{amsmath} \usepackage{amsmath} \begin{document} \begin{figure}[H] \centering \includegraphics[scale=0.5]{1.png} \caption{Motion of ...
3
votes
2answers
58 views

\ref overlapping following text

I am looking to reference a section heading in my work but when I use \ref{label} the section number overlaps the following word. I am using the ifmbe document class. (textcomp package is being used ...
0
votes
0answers
27 views

Why no label text 'Definition' shows up when cross referencing to a Definition in lyx?

According to this page Cross reference in LyX, no label text 'Definition' shows up, just the number, when cross referencing to a Definition in lyx. Any suggestion? Thanks.
1
vote
1answer
34 views

How can I cite the subfigures in this form figure (a-c)

I have formatted the subfigures in a figure as following \usepackage{subfigure} \begin{figure} \centering \subfigure[]{\label{fig:sub:a} \includegraphics{...}} \subfigure[]{\label{fig:sub:b} ...
4
votes
2answers
51 views

How can I cite one sub-equation in subeqnarray?

I defined the following subeqnarray \documentclass{article} \begin{document} \begin{subeqnarray} & a_1+b_1=c_1, \label{eq:subeq1} \\ & a_2+b_2=c_2, \label{eq:subeq2} \\ & ...
2
votes
1answer
42 views

Automatically label every item in lists

This is somewhat a follow-up question to "Vertical spacing in enumitem list". Note that the question is incorporated into the example below. \documentclass{article} \usepackage{enumitem} ...
0
votes
0answers
36 views

How to use French-style numbering? [duplicate]

I recently saw an MO post http://mathoverflow.net/a/209494/2383 which claimed that LaTeX does not support French-style numbering, where references to (3.7.6) appear as (6) inside Subsection 3.7, as ...
2
votes
1answer
31 views

How to get \ref to automatically output Table, Appendix etc.? [duplicate]

When I use \ref my output is just the number of the table or letter of the appendix. So for example in my MWE below when I enter See \ref{Test1} my output is See 1.1 and for See \ref{AppendixA} output ...
1
vote
0answers
8 views

reference to figures in the appendix is not correct in REVTEX [duplicate]

I would appreciate any help with a problem that I have with reference to figures in my appendix. For example, instead of (Fig. A.1 ), I only get (Fig. A). I read all the previous posts but they did ...
0
votes
1answer
19 views

Is there a difference between heving \label before or after \caption? [duplicate]

I am wondering if it is recommended to adhere to a convention of defining labels before or after captions. Moreover, if that is the case, why?
0
votes
1answer
23 views

Make reference to a bibliography subsection generated by biblatex

I am using biblatex in my document. I have divided the bibligraphy in 2 subsections, one for scientific articles and the other for codes and regulations. For that I used keywords, as suggested in the ...
2
votes
0answers
79 views

Help with a custom references style

So...I'm not the only one who needs to use some custom style in their bibliography. As I'm annoyed with using office word editors I would like to create a tex template that I can use over and over and ...
1
vote
1answer
20 views

RevTex4-1 figure reference wrong number? [duplicate]

I have included a graphic using \includegraphics into a \begin{figure} \end{figure} in revtex4-1. The figure appears in section II (i.e. 2) but the caption of the figure says Fig.1 (this is not a ...
1
vote
0answers
35 views

Strange reference behaviour. (References disappearing randomly)

I am using the MNRAS class https://www.ctan.org/tex-archive/macros/latex/contrib/mnras?lang=en, and I have a very strange behaviour with my references. I am using BibTex, and some times the file ...
4
votes
1answer
66 views

latex thinks reference is undefined

I know that very similar questions have been asked before, but the solutions do not work. I have the following latex code; \documentclass[a4paper,10pt]{report} \usepackage[utf8]{inputenc} ...
1
vote
1answer
32 views

multiple subequations same line with reference

I'm trying to write several equations on one line, include a label for each equation, and also be able to view the equation number for each equation. Is this possible? I've seen several related ...
3
votes
1answer
42 views

Detect forward references (make them different color)

I want forward references to be of different color than backward references. This should work both with and without hyperref (actually, I use it with hyperref only, but for completeness it should work ...
3
votes
1answer
76 views

customised label value number and number with alphacharacters

I would like to print the affiliation number only and number with alphabetic characters. Please find MWE below. \documentclass{article} \usepackage{hyperref} \makeatletter \newcounter{subaff} ...
4
votes
1answer
13 views

theoremref package and other languages

I write in Spanish and use theoremref package. I have a little problem with \thref package: \documentclass{article} \usepackage{theoremref,amsthm} \usepackage[spanish]{babel} ...
2
votes
1answer
26 views

Changing example numbering with gb4e

I want to change the default behavior of gb4e for a small portion of the text. I have a series of modifications of an example that I want to be labelled as if they were subexamples. For example: ...
1
vote
1answer
24 views

How to make table table references capture section and begin each section?

I would like to have table labels refer the section that they are in in addition to the order. For example, in Appendix A, the first table is A1 and in Appendix B it is B1 (rather than table 1 and 2 ...
0
votes
0answers
12 views

Numbered references with authoryear in the text

A small sample of the reference list \begin{thebibliography}{} \bibitem[\protect\citeauthoryear{Binney \& Tremaine}{2008}]{BT08} Binney J., Tremaine S., 2008, Galactic Dynamics, ...
0
votes
0answers
11 views

How to make References bold in the TOC while using chapterbib package

I am using the chapterbib package to have bibliography after each chapter. Also I am using the tocbibind package with option nottoc to have "Reference" displayed in the TOC. What I want is simply to ...
0
votes
0answers
14 views

Changing the appendix figure numbering without losing the working of cross-references

I have been trying to change the figure numbering of the appendix and I have found the way of doing so with: \renewcommand\thefigure{\thesection.\arabic{figure}} However, the labelling in the main ...
0
votes
0answers
15 views

Bibtex doesn't create an output when I run it [duplicate]

I'm trying to use Bibtex to make the bibliography for my bachelor thesis. Although I don't get any error message, Bibtex doesn't create an output with the references. The main .tex is: ...
1
vote
0answers
20 views

Automatically insert “in the next [chapter/section/subsection]” if reference is sequential

I'm aware of the cleveref package \cref which adds the correct reference name (see: Automatically inserting "Section", "Subsection", etc). I have a few references which refer to ...
1
vote
0answers
34 views

how to organise a multivolume book series in (La)TeX

When searching the questions asked on this list I came accross "Starting a PhD; Any guides to setting up a 'system'?" but the problem for me is that a multivolume book series (not necessarily ...
3
votes
1answer
29 views

Search for a cross-reference

In the LyX editor, how can I search for a cross-reference for a certain figure, e.g., search for all places where I reference fig:abc? My current workaround is to delete the reference. Then, when I ...
0
votes
1answer
66 views

Cross reference figure appears as “??”

I'm using Texmaker for a report and am fairly new to latex. My cross referenced equations seem to appear just fine, but not my figures. I've labelled them and referenced the label using ref. I ran ...
1
vote
1answer
22 views

URL missing in references when using Authordate1 bibliographystyle (bibtex)

How do i include the URL text in my references using the bibliographystyle Authordate1? \documentclass[11pt,a4paper]{memoir} \usepackage{natbib} \begin{document} \citep[MBBL2014] ...
3
votes
2answers
50 views

cross reference with xr fails (ShareLatex)

I try to use xr for cross referencing, and I get question marks instead of the reference and a warning: Reference updateEq on page 1 undefined on input line 93 on the document i am referring to ...
1
vote
2answers
46 views

How to make a custom \crefformat dependent on language chosen with babel?

For my custom class I use the cleveref package and define new custom reference styles: \crefformat{figure}{Meine tolle Abbildung ~#2#1#3} Is there a way to make this command consider the language ...
6
votes
3answers
107 views

How to mark equation number but not change the reference text?

I would like to mark a few equations as special by adding an asterisk (or some other symbol) to the equation number. I accomplish this as follows: \documentclass{article} \usepackage{amsmath} ...
1
vote
0answers
26 views

Reference style issue using the elsarticle template

New to this community - so bear with me. I recently submitted a manuscript for Bioresource Technology, Elsevier, using their tex templates. I was requested to use the elsarticle-template-2-harv.tex ...
0
votes
0answers
18 views

Editing Reference Style

I am very new to LaTeX, I have to write my MSc dissertation and have to use a specific type of style for the referencing, how do you edit the referencing style? I am currently using natbib package for ...
4
votes
2answers
43 views

Assigning multiple values to a subsection?

Is there an easy way to add multiple attributes/properties to a section in a document? I want for example add some sort of rating to a product that is discussed in a subsection. Example: ...
3
votes
1answer
51 views

How to deal with a tilde in url's in Mendeley?

If a link in an url contains ~, Mendeley changes it to $\sim$ and hyperref links just don't work. I use pdflatex and biblatex. Is there a quick way how to change manually the link in Mendeley to fix ...
4
votes
3answers
33 views

Use defined variables in \ref

When trying to use defined variables in \ref and I get an error: ! Missing \endcsname inserted. Here's how I use and define the variable, respectively. ...
1
vote
1answer
39 views

References linked to website by click

I am new to LaTeX and I have the problem about linking the references to the available papers in the internet. I have loaded these packages \usepackage[bibstyle=authoryear-ibid,citestyle=authoryear, ...
1
vote
1answer
32 views

auto-completion of \eqref

All references are marked with eq -> equation tab -> table fig -> figure app -> appendix sec -> section chp -> chapter So a reference would look like \label{eq:NT_LoM} \label{sec:intro} for ...