Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [cross-referencing]

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

1
vote
1answer
20 views

IEEEeqnarray + Hyperref -> reference jumps to the beginning of the document

This is a problem concerning \IEEEeqnarray, \IEEEyessubnumber, and \eqref in combination with hyperref.sty. \documentclass{article} \usepackage{amsmath} \usepackage{IEEEtrantools} \usepackage{...
1
vote
0answers
18 views

Refer to item in enumerate list [duplicate]

I tried to refer to first and last item of enumerate list without using \label{} command in text. However, it shows the sublist number as well with the item number. Is there any way to fix this so ...
0
votes
0answers
12 views

Incorrect referencing of Figure when using \ref within \subparagraph [duplicate]

I am writing my Master thesis report and this is a funny issue, I do not know how it is happening. When I am referencing to a figure, the numbering has changed (to the subsection's number I presume, ...
0
votes
0answers
74 views

super strange error

So this is a question for lyx. I already posted it on the latex community forum. I wonder if anyone else stumbled on it. Every time I write a new document in lyx, and I cross reference equations, ...
0
votes
0answers
25 views

How can add my own publication inside any page in my thesis?

I would be grateful if you could help me to add my own publication inside page 2 please check the pdf file in this web site Web to understand what I mean, my code is: \documentclass[12pt]{report} \...
1
vote
1answer
41 views

how to convert in-text citations to endnotes?

I'm trying to convert in-text citations to endnotes. In other words, the reference authors/article will not appear in the text but only in the endnotes. I also have other endnotes in the document, but ...
0
votes
2answers
34 views

Referencing format manually

Someone could help me, please? I do referencing, but manually, I don't use package. I want to format just some pages of References, for each paragraph (each reference): noindent for the first line, ...
1
vote
1answer
23 views

How to link to the references in the definition?

I want to add a link to the definition to a research from where I have took the definition. I have tried but it is not working. \documentclass[parskip=full, 12pt]{article} \newtheorem{theorem}{...
1
vote
2answers
69 views

cross-referencing text defined by a custom declaration

I've studied a fair number of cross-referencing (or linking) entries here on the exchange, but I haven't found one that meets my need. Apologies in advance if I have somehow missed the solution. I ...
5
votes
4answers
284 views

\ref takes reader to incorrect section

Context In the document I'm writing, I have redefined each environment and have included a new counter, called counter, to help with the numbering of the environments. My intention is for each ...
2
votes
2answers
54 views

Cross reference to any counter

I guess \ref{Label} returns the last counter found where the \label{Label} appeared? Is it possible to get any value of another counter at that point? \pageref returns the page number, how to get one ...
1
vote
1answer
39 views

Is it possible to jump to the image with href while not using captions?

I am using various figures throughout my documents without captions. In order to reference them I use the command \refstepcounter{figure} before labelling them with \label{fig:label}. However, when I ...
3
votes
1answer
37 views

Expand bib entries with crossref

I have two bib files: publications-crossref.bib and ref.bib. The first file contains crossref(s) to the second file. I want to expand the first file publications-crossref.bib with the second file. For ...
3
votes
1answer
34 views

Having the first letter F in uppercase in cross-reference to a 'figure' object

I want the first letter of the paragraph to be in uppercase. Suppose that we have this sentence: \cref{fig:moon} shows the color of the moon. I want the output to look like this: Fig. 1 shows ...
0
votes
1answer
37 views

Index - reference to subsections with hyperlink to page

I'm looking to create an index with references to subsections (and an even more complex numbering scheme). So far I was able to do that quite nicely using the answer here. However I would like to ...
0
votes
0answers
19 views

Citation undefined with own bibliography style

I´m quite new to LaTex and writing my first thesis with it. I used a template from somebody else, also for the bibliography style, which is why i don't know too much about it. Everything seems to work,...
1
vote
0answers
46 views

How to add total number of pages on a book reference with natbib

I want to get my book references with the total number of pages displayed at the end, like this: A.G.I., y Howell, J., 1960, Glossary of geology and related sciences: A cooperative project of the ...
2
votes
2answers
140 views

Redefine the theorem environment to save its contents

This post is born from a very practical reason: I find that in many documents that contain a lot of mathematics there is of course a lot of cross-referencing, but sometimes it is difficult to even ...
0
votes
0answers
14 views

Error when compiling references.bib and reference list not showing up in output pdf file

I have searched for hours, but couldn't find the solution yet. I am using texmaker (for latex documents), I have a Dissertation.tex file in which I am writing my thesis and I have a References.bib ...
0
votes
1answer
37 views

Indent a paragraph - all lines but the first

I have multiple paragraphs in a chapter. I want to indent all but the first lines each. Is there any way to achieve this? I tried \begin{hangparas}{1em}{1} but this will indent all but the first ...
3
votes
2answers
88 views

How to cross-reference chapter as section

I am using cleveref to cross-reference my thesis. When I use \Cref to reference chapter 1, in the text it appears as "Chapter 1". I was wondering if there I still use the chapter structure for the ...
2
votes
1answer
79 views

Inaccurate hyperlink to customly defined theorems

I used the answer here to help me create a document where numbering for theorems and the like appears on the left. But I would like to be able to reference and hyperlink back to these theorems/...
1
vote
0answers
17 views

Define a text to later insert multiple timesr [duplicate]

is there any possibility to define a text which I can then input multiple times later? My problem: I'm writing on a thesis and want to define the titel of it, so I can later reference this titel. So ...
2
votes
1answer
39 views

Unwanted space between author name with at al. and year when using \citep

I am using authordate bibliography style to cite my references but when I use \citep an extra space is inserted after the author and before the comma. What I get is this: The area of a triangle ...
3
votes
1answer
24 views

Labelling and Referencing Multiple Custom Counters Together

This is what I have. \documentclass[12pt,a4paper]{article} \newcounter{theorem}[section] \newcommand\theorem{\stepcounter{theorem}\framebox{\textbf{Theorem \thesection.\thetheorem}}} \begin{document}...
0
votes
0answers
14 views

Labelling and Referencing Multiple Custom Counters [duplicate]

I'm trying to label the custom counters at the end so I can refer to them later on in the document. \newcounter{theorem}[section] \newcommand\theorem{\stepcounter{theorem}\framebox{\textbf{Theorem \...
2
votes
1answer
26 views

Why does not `\cref` command yield proper output when certain equation is removed from its range?

It is odd to see that \cref does not work when Eq. (2) is removed from its range. When I remove another equation, it just works perfectly. Reordering the equations labels does not seem to work. ...
0
votes
1answer
46 views

How to prevent reference to enumeration inside new environment?

I defined a guidancebox envirenment, which is similar to the longtable environment, only with a different counter/ caption tag and reference label. This works fine, except if I use enumerate inside ...
1
vote
2answers
61 views

How to define reference label and caption name in 'duplicated' environment?

I want to define a new environment that is very similar to the longtable environment, therefore I tried the following: \documentclass{report} \usepackage{caption} \usepackage{longtable} \usepackage{...
0
votes
1answer
93 views

RefTeX: How to modify the “select a reference format” menu?

I use Emacs + RefTeX + AUCTeX to write .tex files. I use the handy keyboard macro C-c ) for cross-references. This shows a menu named SELECT A REFERENCE FORMAT and I can choose between a number of ...
1
vote
0answers
28 views

References (to where the cite was made) are added in the bibliography entries

I'm making my thesis and I see references added in the bibliography entries which are pointing to the chapter/section where I used the citep/citet command. I want to delete them since my professor ...
1
vote
1answer
23 views

Auto-completion of \ref doesn't work for my counter

I defined a counter and a command that defines examples and labels them. Unfortunately, when I use these definitions the \ref is not autocompleted by the texmaker or sharelatex. What should I add in ...
3
votes
1answer
120 views

'Smart' cross-referencing of paragraphs

I'm writing a large document where I'm using pretty much every level of sectioning from Part right down to paragraph. I've been using varioref in conjunction with hyperref and cleverref to '...
0
votes
2answers
30 views

Internal reference to an exercise/theorem (not to a section)

I would like to make a reference to an exercise/theorem which is numbered in my document with my own counters. Something like: as we saw in theorem 6.4.3, ... My issue is that I don't want to use the ...
0
votes
1answer
28 views

autoref for subsection

When I use autoref for subsection, I want the in-text to be section 1.1 instead of subsection 1.1. How to do that. I tried to write it with ref as: section \ref{sec:subsection} But the problem is ...
1
vote
0answers
23 views

Different autoref titles depending on file of origin (xr package)

I am using package xr to produce scientific manuscript. I have main and Supplementary file and want to use \autoref to provide reference to figures. However, when I use reference to figure which is in ...
1
vote
3answers
37 views

Incorrect equation numbering between align and case environment

I am facing problem in equation referencing. I am using two equation environments,One is align and second is cases. Below is the code given: Cost Function of Dual Dispersion MCMA is:\\ \begin{align} ...
0
votes
0answers
29 views

texstudio cref completion for labels in macros

Is there a way to have completion for cref references for labels defined in a command macro? \newcommand{\midpict}[4]{ \begin{center} \begin{figure}[H] \begin{center} ...
2
votes
1answer
37 views

Place square bracket around a cross-reference

Is possible to instruct LaTeX to surround all cross-references with square brackets? For example when I write a command like some text \ref{some label} then when compiled I would like the output to be ...
0
votes
2answers
80 views

How to cross-reference text with a custom label/reference text?

How can we give a name to a label so that when we do the cross-reference, instead of displaying the number of the section, we have the name of the label? For example, \underline{homogeneity in ...
0
votes
0answers
19 views

Beamer, References without document pictures [duplicate]

I use the beamer theme "metropolis" to create a presentation with references. Is there a way to avoid these little document pictures beamer uses to list the references? Below is a picture of what I ...
0
votes
1answer
16 views

Sharelatex, refer to arbitrary text (without numbering and not by section)

So we can refer to sections with counter via \label{…} and \ref{…}. We can refer to sections with custom text via package hyperref like so: https://tex.stackexchange.com/a/70153 We can refer to ...
0
votes
1answer
25 views

How to reference the section and part number of an object using the label of the object

Essentially, what I wish to do is fully reference the numbers of an object's part, chapter and section using only the label of the object itself (and not the labels of the part, and section). I have ...
0
votes
0answers
23 views

Problems with referencing nested enumerate blocks

I have a set of nested enumerate environment as follows: \begin{enumerate}[label=(\alph*),ref=(\alph*),align=left] \item \label{first item} some notes for first item \item \label{second ...
0
votes
1answer
98 views

Command \bibhang already defined with Zotero

I'm trying to use a Zotero .bib file for the citation backend in this template document setup below but I get the error: /usr/share/texlive/texmf-dist/tex/latex/biblatex/biblatex.sty:462: LaTeX Error:...
1
vote
1answer
18 views

Including a labelled footnote in a labelled equation

I need to include a footnote in an equation, and as it turns out I need to reference both the equation and the footnote so I want to \label them. Here is what I am tryng to do: \documentclass{...
0
votes
0answers
20 views

Crossreferencing using the mhchem package

I am using the mhchem package to write chemical formulas. I would like to number my formulas as I go and then crossreference them in the text later on. e.g. NaCl (1) has some particular ...
1
vote
1answer
33 views

Cross-reference to “VIEW” of media9 prc content

I use the media9 package to insert a 3D model in my thesis. I created several views highlighting different parts of the model. Now when I describe the model within the text I would like to set a ...
0
votes
0answers
25 views

Is there a maximum number of tikzpictures with \label that can be compiled successfully with the tikz external library?

The title says it all pretty much. More details as to why I am asking this: I am trying to compile a large document with pdflatex. In this document I have a very large number of figures made using ...
0
votes
0answers
19 views

Why my figure is referenced as [1] while it is in middle of the document? [duplicate]

I am citing a figure from paper. I inserted \cite{..} in the caption of the figure. The figure is referenced as [1], although it is in middle of the document. \documentclass[12pt,a4paper]{report} \...