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.
3,772
questions
0
votes
0answers
13 views
get chapter of label using hyperref and autoref
There is some label that can be referenced using ... gemäß \autoref{lem:shadowmap} bezüglich ..., however I do not want this reference but the chapter where this reference is located in.
Is there some ...
0
votes
0answers
13 views
Reference numbering wrong after adding an already used reference at the beginning of the document
I am writing an article and all references should be numbered in order of appearance (which they in general do, so that is not the question). BUT:
Lets say reference A is already cited anywhere in the ...
1
vote
1answer
64 views
RefTeX not finding `label={name}` in custom environment
I defined a new tcolorbox based floating environment named riquadro, and I want RefTeX to find the label I insert using label={name} option.
From the documentation of reftex-label-regexps it seems the ...
0
votes
1answer
47 views
Reference a section* in my paper
I have few section* in my latex file.
Now I need to reference that section* in my other section*.
How can I do that?
If required, do not hesitate ask for more details.
2
votes
0answers
28 views
How do I get boxes around my links? [duplicate]
I'm trying to add boxes around my links like in Box around reference and citation but I don't get the boxes only the number.
\documentclass[a4paper,UKenglish]{article}
\usepackage{graphicx}
%
\...
1
vote
1answer
9 views
Omit name of label in cref and crefrange
I would like to use something like \crefrange{ref1}{ref2} where ref1 and ref2 are arguments of \label statements for equations numbered 1 and 5, respectively. But instead of showing equations (1) to (...
0
votes
2answers
24 views
How to add some indentation/space in the references numbered list?
I am writing a thesis using UTM.sty:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The package UTMthesis.sty will produce the output %
% of a thesis according to UTM Thesis Manual, ...
1
vote
1answer
18 views
How do I repeat a theorem number with the llncs class and vary the text between the two occurrences?
A similar question was asked in How do I repeat a theorem number? with a really awesome answer by Andrew Stacey.
However, it requires amsthm to use \newtheorem, thus theorem amsthm style (name normal) ...
0
votes
0answers
19 views
Undefined citations when uploading to arXiv using \bibitem
I am new to arXiv and encounter the following error for the citation. I am using the Natbib package and \bibitem to generate each reference. The error messages look like these,
Package natbib Warning: ...
2
votes
1answer
14 views
How to reference page and column in a two-column text
Does it exist a command like pageref with which I can indicate the column too? (I am writing a two-column text and I would like to give an indication more precise than the simple page).
0
votes
0answers
15 views
Remove chapter prefix from subfigure references
my institute requires continuous numbering of figures. Therefore I use the chngcntr package.
Unfortunately it doesn't seem to work for subfigures.
I'd like to have something like "see figure 1(a)&...
0
votes
0answers
89 views
MiKTeX - Undefined References and Citations but PDF renders
I invariably get warnings for undefined references/citations when running even the simplest pieces of code. I am running TeXworks (downloaded along with MiKTeX) on a Windows machine: MiKTeX-pdfTeX 4.3 ...
2
votes
1answer
39 views
\ref with custom text
I am using \ref to make cross references inside my article.
This works good but the text then will appear is like
In the next chapter 1 we will [...]
But I want something like
In the next chapter ...
0
votes
0answers
20 views
Hyperlinks and References not working with the standalone package
I'm trying to combine two separate documents into a single document and want them to share a combined bibliography. I'm using the standalone package for the same.
main.tex
\documentclass{article}
\...
5
votes
2answers
175 views
It appears a ?? when I put \label after \clearpage
I met this problem when I put \label{LastPage} after \include{chapter}. I found that the \ref{LastPage} turned to ?? when I used latexmk -pdf to compile it. I tested the reason and knew that \label ...
0
votes
0answers
15 views
Insert a reference un a figure
I'm working on a book, and I want to add at the end of an exercise list an icon that if I click it then I go to the place of a specific reference. For example, usually, I write \ref{solutions} but in ...
0
votes
0answers
40 views
“There were undefined references. Please (re)run Biber” when reference is in a table despite all references are considered [duplicate]
My output looks fine. However there are the following warnings when compiling a document with references inside a table, when using TexLive. With MikTex this warnings will not occure:
There were ...
3
votes
2answers
139 views
How to make fake labels
I have a .tex document that contains some references to non-existing labels.
For example, it may have \ref*{some:string}, but no \label{some:string}.
This results in printing double question-marks ?? ...
0
votes
1answer
22 views
Referencing to unnumbered sections does not work
I have unnumbered sections in my appendix to which I want to refer to specifically.
As the sections are unnumbered, it always just shows the number of the chapter.
My example code:
\documentclass{...
0
votes
2answers
32 views
Hyperlink referencing is giving “??” instead of a link
I tried to add a hyperlink to an equation using information from this question, below is the MWE (the environments are there because there was more maths; I removed the unnecessary parts but kept the ...
0
votes
0answers
18 views
Wrong reference style
I'm having some trouble with the reference style in my text.
I'm using Apa style but suddenly, while I was compiling the document the reference style just changed.
When I use the command \cite{ref} I ...
4
votes
2answers
40 views
if caption package is loaded autoref doesn't work correctly when using htlatex
If I use autoref while the caption package is loaded, the target type does not appear in the reference if I generate html with htlatex. If I use pdflatex, autoref works as expected.
Here's an example ...
0
votes
0answers
12 views
TeXstudio - citations show as a question mark only in a newly inserted file
This is my preamble. You can see that I want to include various TeX files using the \include{} approach. I am using Bibtex for my referencing.
Issue: Citations are added correctly for the first two &...
0
votes
0answers
25 views
copy a section from another .tex file
I'll try my best to explain..
I need to make a LaTex document every week for a lab. In it, I have the safety sheet of chemicals. Often, I've already done a chemical in an earlier document.
Now, I just ...
1
vote
0answers
37 views
Externalize PGF file that includes a cross-reference
I have some figures as PGF files that include cross-references in them. Each time I compile my main document, these figures are recompiled too. Therefore I would like to externalize these figures.
The ...
1
vote
2answers
38 views
Why are my label references for subfigures not working?
Please help me! I have this code:
\centering
\subfloat[\centering textblabla1]{{\includegraphics[trim={0 0 34.5cm 0},clip, width=5cm]{mypng1.png} }}%
\label{fig:bla1}
\qquad
\...
0
votes
1answer
30 views
Managing references to custom counters
I would like to have a precise control on references to custom counters.
For instance,
I would like to give a reference to a series of two independent counters
I would like to choose the formatting ...
0
votes
0answers
31 views
ref and cref point to page of label, not label
I have the case that \ref (also \cref) point to the page of the label, but not directly the label.
How can I make it point to the label directly?
Example which uses the ICML 2021 template:
\...
3
votes
1answer
47 views
Beamer Lecture: reference title of lecture in the course
Example:
\documentclass{beamer}
\begin{document}
\lecture{lecture 1}{week 1}
\begin{frame}
\end{frame}
\begin{frame}
see Lecture \ref{week 1}
\end{frame}
\end{document}
This yields
yet it would ...
1
vote
0answers
30 views
How can i open beamer any particular reference
Question:
I have almost finished my beamer presentation. I wish to know that is there any way that by cliking on any particular reference we can access the same reference in .pdf format.
Please help ...
1
vote
1answer
7 views
Two bibliography, first as section and second as chapter
I'm writing a document and inside it I need to put an example with its own references. For organizational reasons, I wanted to leave this first reference as a section and the main references in the ...
1
vote
0answers
13 views
When Referring to a Set of Equations Referenced by a Label “(4),” Do I Say “Equation 4,” “Equations 4,” or “Equation Set 4”? [closed]
I'm writing a math paper in LaTeX, and sometimes use \begin{equation} \label{eqn:AnEquation} ... \end{equation} to set the equation apart from the text and to give it a label I'll later reference. ...
0
votes
0answers
13 views
Cross-referencing tables in appendix [duplicate]
I have a problem with cross-referencing a table in my appendix. Somehow, the table is appearing as "Table I" when it is created, but when I try to cross-reference it later in the appendix, ...
0
votes
0answers
12 views
How to change reference style in Template de Monografia
I have been working on the template Template de Monografia and havent been able to change the reference style as it is showing 3 authors in the row. I would like to change to IEEE style with brackets ...
0
votes
1answer
12 views
apacite doesn't show date but only n.d
The apacite packet only shows n.d. instead of the date
Document
\documentclass[a4paper, 10pt]{article}
\usepackage{apacite}
\begin{document}
\cite{IntroductionFPGAAcceleration2020}
\...
1
vote
1answer
15 views
In LaTeX, when using the memoir class, how do I make References a section instead of the default chapter?
Whatever I do, I cannot assign a new name to \bibsection when using the memoir class in LaTeX. I want to do that to convince myself that I am actually altering the definition of \bibsection because ...
4
votes
1answer
93 views
Display of references in a math document
In a math article one usually writes for a theorem (or proposition or corollary) in latex:
\begin{theorem} \label{theorem1}
....
\end{theorem}
Now I can reference to this theorem in the article ...
0
votes
0answers
49 views
Customize text of cross reference with values of multiple counters
I'm looking for a way to make cross reference, in which the text of hyperlink include several counters in a customized format, as following picture:
The counter theorem are defined as follow:
\...
2
votes
1answer
35 views
Why does \crtcref produce this bizarre error?
This question is not about solving a problem per se, as I already have a workaround, as deomstrated by point 1 below. It's more about trying to understand why a certain error is occuring. Consider the ...
2
votes
0answers
22 views
Putting Cross-references in the PDF Outline [duplicate]
Sometimes when writing maths documents, I want to have the name of a theorem in a section heading. This works fine in the text of the document, but it runs into trouble in the PDF outline. ...
1
vote
0answers
38 views
Not able to cross-reference theorem in latex
I am trying to crossreference theorem or definition but the code is not working. The code is given below. Pease help me in this.
Thanks in advance.
\documentclass[justified, twoside]{tufte-book} % Use ...
1
vote
0answers
43 views
Label equations, theorems etc. and not get mad [duplicate]
I am writing my thesis, so it's a work in progress where I constantly change equations, put new equations, new Lemmas, Theorems and so on. The big problem is that, for instance, if I label a theorem ...
1
vote
1answer
33 views
How to create numbered/tagged statements?
In LaTeX formulas can be automatically numbered like this:
\begin{equation}
1+1=2
\end{equation}
\begin{equation}
1+2=3
\end{equation}
This will produce something like that:
1+1=2 ...
0
votes
1answer
31 views
Extending margin such that final entry of printbibliography fits on the page
I have such an annoying issue. My final entry of the bibliography does not fit on the same page. I tried the following in order to increase the margin at bottom of page, but somehow the text is not ...
0
votes
1answer
21 views
\label inside \caption throws an error. If after the \caption, references to it point to the section instead of the figure number
I am using the tufte-book document class to compose a document in Overleaf.
I was getting an issue where when I referenced figures. Instead of \ref{} giving me the number for the figure itself, it ...
0
votes
0answers
25 views
Remove parenthesis after year in the reference list
I am facing the same issue using agsm as in this post. I tried using 'dcu' but oddly, there were no changes that appeared.
This is an example from the post. I got :
Boughton, J.M., (2002). The Bretton ...
0
votes
1answer
39 views
Add a comma after the final author in biblatex
How can I add a comma after the final author in my bibliography? (basically all components need to be separated with a comma)
I am using the following:
\usepackage[backend=biber, style=chem-acs, ...
2
votes
1answer
46 views
How to put the first word of the following page in a footer? Latex/LuaLatex
I'd like to place the first word on a page in the footer of the preceding page. The purpose being is for someone reading the paper aloud can see what the next word on the following page is going to ...
1
vote
1answer
43 views
Tool for converting \cite and other crossrefs to plain text
An article of mine is going to be published in a journal that, unfortunately, does not accept LaTeX as a format, so I need to provide the text in Word or OpenOffice format. As a preliminary step to a ...
0
votes
1answer
23 views
Remove “figs.” when using \cref
When using \cref{} for cross-referencing multiple figures together, it automatically adds in "figs." beforehand. I've tried searching online for how to remove this, but can't find anything.
...