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.

Filter by
Sorted by
Tagged with
0
votes
3answers
28 views

indexing the references with the chapter number

I have a document class "book". And I have some subsection 1 inside some section 1, inside some chapter 1. I want to reference to the subsection number as 1.1.1 and not 1.1. I want that across the ...
1
vote
0answers
15 views

Continuous {Theorem,Lemma,…} Numbering with cleveref [duplicate]

I want to have continuous numbering for all my theorem, lemma, etc environments, which wan be achieved with using a shared counter. However this seems to break cleveref's capability of referencing ...
18
votes
1answer
2k views

Cleveref with counters with same name

I am trying to use the cleveref package. I have the following counters defined (hopefully this is the right way to do it!) \newtheorem{thm}{Theorem}[section] \newtheorem{lemma}[thm]{Lemma} \...
4
votes
3answers
1k 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 ...
0
votes
0answers
14 views

Undefined Citation natbib / Failing to print References

I am using the natbib package to manage my references for my thesis. Unfortunately the citations are undefined and it prints "?" in the pdf rather than the actual Citation from my bib file. Neither ...
2
votes
1answer
173 views

Have backlinks to point of reference generated automatically

I'm looking into replacing an existing documentation system with on based on LaTeX. In this system we have the possibility to link between sections (even if the sections are in different documents. A ...
2
votes
1answer
14 views

Change order of fields for @inproceedings type of references while using ieeetr bibliography style

I am using the ieeetr bibliography style and have a specific problem concerning @inproceedings type of references. My tex file is as follows: \documentclass{article} \begin{document} \cite{...
0
votes
0answers
5 views

Cross-reference in memoir with mention of Part

I am using the memoir document class. When referring to a section or chapter I would like to display the roman number of the corresponding part as well. E.g. that \ref{something in chapter 2 of part ...
0
votes
0answers
19 views

Overleaf IEEE report only shows 21 of of 46 of my references [on hold]

I need heed help. I have changed to write my paper in IEEE paper, so I copied and pasted everything from another document to the IEEE paper. The issue now is only 21 out of 46 of my references shows. ...
1
vote
1answer
17 views

algorithm2e: reference to line numbers at beginning/end of while-loop

I want to reference to a line where a for/while-loop starts. However, with the normal \label command I cannot set a label in the respective line. How else can I reference to the beginning of, e.g., a ...
1
vote
2answers
27 views

\autoref, page reference only if needed (in case of different page number)

I would like to build a macro \myautoref{eq:a}, that if the link and the linked object are on the same page produces \autoref{eq:a} if the link and the linked object are on different pages produces \...
1
vote
2answers
71 views

What is a TeX to HTML converter that produces GladTeX-friendly HTML and numbers formulas?

I wrote a math paper in LaTeX that uses a custom .sty file I wrote (defines some math commands, basically, and imports packages with math symbols and fonts) and I want to convert it into a standalone, ...
2
votes
1answer
26 views

Reference to List Items in Theorem Environment

I'm trying to implement and customize the solution that admits cross-referencing in the theorem environment. The following attempt is extracted from my thesis template (so some packages might not be ...
9
votes
4answers
2k 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
48 views

Redefining hyperref in document referencing

With some help (by google) I was able to come up with a code allowing me to cross-reference enumerated items in amsthm-type enviroments via hyperref. The links and code work, but the hyperref link ...
0
votes
0answers
18 views

Referencing earlier passages: Cross reference or “as discussed earlier” (stylistic)

I am looking for stylistic advice regarding the (over) use of cross-references. I hope this is not off-topic. Using cross-references through \ref{...} for major structural blocks like chapters and ...
1
vote
1answer
22 views

References to subfigures which appear more than once in the document not in right order

I have two figures A and B consisting of subfigures. Some subfigures appear in both of these figures. When I try to refer to the subfigures, the references appear in wrong order. For example: \begin{...
0
votes
1answer
161 views

Subfigure labelling for a single figure with REVTeX 4.2

Look at this piece of paper from an APS journal: as you can see there is a single image (called figure 3) with already embedded the (a), (b), etc.. letters indicating different parts of the same ...
0
votes
0answers
25 views

figure label inside standalone is not working. I am not able to refer the figure , its printing ??. my code is printed here [duplicate]

\usepackage{lscape} \usepackage{afterpage}% removing blank space before landscape \usepackage{adjustbox} \usepackage{graphicx} these are the packages i am using for the below figure \afterpage{ ...
0
votes
0answers
41 views

Remove extra space after \ref

I am new in LaTeX and I am trying to use crossreferences. I am working on a scientific paper with a few subfigures. As a result I want to add a letter right after the \ref{} command. Unfortunately, if ...
0
votes
1answer
49 views

How do I undo the \usepackage{hyperref} command in LaTeX?

I accidentally included the hyperref package into my document and it messed up all the \ref commands I had inside of it. After I realized what was messing with my \ref command I deleted the \...
0
votes
1answer
500 views

Cross-referencing across folders

I have multiple documents which require cross-referencing from one another (I am the author of all of them). Each document lies in a separate folder. As an example, everything lives in a directory ...
0
votes
0answers
38 views

“There were undefined references” error [duplicate]

I know, that this error has been answered in various forms here, but I was unable to find a solution to my problem. The following code gives me errors: There were undefined references. LaTeX [1,...
0
votes
0answers
30 views

Adding suggestions for arguments to the chemnum-package

I am writing my thesis in chemistry and use the chemnum-package to number my compounds. Because it is gotten quite a few compounds now, I would like to get suggestions from texstudio, which tags for ...
2
votes
2answers
43 views

\boldsymbol doesn't work as expected inside equation environment

I would like to obtain a bold equation inside an equation environment. I've tried \begin{equation} \boldsymbol{x=y} \end{equation} but x=y is not rendered bold. What's going wrong here? If I ...
0
votes
1answer
26 views

Cannot reference to figure in overprint of beamer [duplicate]

I have some figures that should take turn showing up below itemized text. The problem is referencing to these figures later on becomes impossible no matter how many recompilation. How should i correct ...
2
votes
1answer
41 views

Issue with thmtools and cleveref

I have seen other issues about cleveref and thmtools (A problem with thmtools and cleveref, Problem with hyperref / cleveref / thmtools, How do I get rid of particular pdftex warning message?), but ...
3
votes
3answers
335 views

Is there a way to restate linguistic examples in linguex?

In the gb4e package you can restate an example with the same number using \exr instead of \ex Does something like this exist for linguex, which claims to be for lazy people?
1
vote
1answer
47 views

Evaluation problem with the label/reference mechanism

I am defining a computation environment which defines a bunch of equations. Each equation has a number and I want to print that number. To generate automatically the correct number, I use the label/...
0
votes
1answer
30 views

Dynamic Label Names when Cross Referencing Equations

I am using the code \label{eq:1} with \eqref{eq:1} to reference equations in LaTeX. The actual reference is dynamic, but the label name is not. So if I insert a new equation halfway through my ...
1
vote
2answers
31 views

Section roman and section cross-reference arabic

I want to change just the section cross-reference from roman to Arabic numbers in a paper using the IEEE template. An MWE of my problem is \documentclass[journal]{IEEEtran} \begin{document} Section~...
0
votes
0answers
18 views

Force Appendix not to appear but keep references to appendix and citations in appendix

My research group is trying to submit a paper to a new journal and they have a strange requirement that we haven’t figured out a way to satisfy. They would like the appendix to be a separate document....
1
vote
1answer
60 views

How to get \ref to write “Theorem 5” or “Lemma 5” Instead of just “5”?

I sometimes change something from "\begin{theorem}" to "\begin{lemma}" (I have my own commands: \newtheorem{theorem}{Theorem} and \newtheorem{lemma}{Lemma}). But if I just write \ref{theorem1}, then ...
0
votes
1answer
61 views

LaTex will not include reference

I'm writing a project in LaTex, and when I'm inserting a reference, it will not work. The name I named in the bib-file only gets into the pdf in bold. Here is my code: \usepackage[backend=biber,...
0
votes
1answer
18 views

Article appendix figures and tables caption and references in the form “Appendix Figure X” and “Appendix Table X”

Much like is done with section headers using the appendix package here, I would like appendix tables and figures to have distinct captions and references. That is, for tables and figure that I move to ...
0
votes
0answers
27 views

Wrong reference after resetting the counter of Theorems

I reset the theorem counter in every chapter by \setcounter{theorem}{0}. All theorems are labeled by unique names. By using, for example, \ref{theoremchapter5number1}, the number that is displayed is ...
0
votes
0answers
12 views

Changing the Format of an In-text Citation

I am using \cite{} with a bst file and it is generating Harvard references in the text as follows: Qiao et al. (2013) instead I would like the reference to appear as: (Qiao et al., 2013) Any ideas ...
4
votes
2answers
68 views

Alternative to using nested tikz in reference-able markers

based on this nice question and its answers, I have this little code: % % circled steps (with labels to reference them!) % \newcommand*\circled[2][]{\tikz[baseline=(char.base)]{ \node[...
2
votes
1answer
36 views

Adding a dot in chapter's name without cross-referencing problems

I would like to add a dot after the number of each section (including chapters) in a report class document. I'd prefer not to have to resort to Koma-script solutions. There are a lot of other good ...
2
votes
1answer
121 views

zref: Read out first and last reference page per page

I have some paragraph numbers on most of my pages. I want to write "(1-3)" in the head if the current page contains the paragraph numbers 1,2,3. Is it possible to read out the first and the last ...
1
vote
1answer
20 views

subfig package not referencing sub fig labels correctly

I am using the subfig package to display two plots using the code below: \begin{figure}[!ht] \subfloat[Singular Terms\label{secondring:subfig-1}]{% \includegraphics[width=0.4\textwidth] {...
2
votes
1answer
69 views

How can I remove the brackets around a reference if it is already in brackets?

I am using cleveref for cross-referencing in my thesis. For equations, it typically looks like this: As can be seen in Eq. (5), the numbers don't add up. However, sometimes I only want to ...
1
vote
1answer
34 views

Labelling subfloats in a two-column document

I am writing a two-column document and there are a lot of figures that I need to put in. I had a set of 12 plots and I planned to arrange them in three rows of four. \begin{figure*}[] \subfloat[]{ \...
1
vote
1answer
13 views

How to create sub-assumptions within an assumption chunk and be able to reference them via labels?

I currently am trying to create an Assumption with 4 parts to it. I have first declared the assumptions chunk, then enumerated A,B,C, and D within. I am then trying to create reference labels for them....
2
votes
1answer
102 views

Custom points table for exam

I'm trying to create a custom points table for exams. Currently, the instructors in our department write these exams in MS Word, so to ease the growing pains, I'd like to emulate the old design as ...
46
votes
2answers
10k views

How to diagnose a permanent “Label(s) may have changed” warning?

I'm getting the following warning: LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right. The problem is, it doesn't go away after rerunning (any number of times). The ...
0
votes
0answers
31 views

Referencing a figure

\documentclass{article} \usepackage{graphicx} \begin{document} Figure \ref{fig:DA}. \begin{figure} \centering \includegraphics[width=\linewidth]{DiferentialAmplifier.jpg} \caption{...
2
votes
1answer
38 views

Referencing to Subsection

I have document with sections and subsections. Problem is this one. When I use Sec. \ref{x} to reference subsection 1.1, of \label{x}, I get result Sec 1 1.1 Ho to get correct Sec 1.1 ? Coding ...
1
vote
2answers
49 views

Elsevier: reference format starting with citation, authors, year.. latex

I am having problem changing the format of the references to match the ones of the journal I am submitting to. The journal provides a series of styles but none of them matches what they want. In the ...
0
votes
0answers
45 views

Question mark shown instead of theorem number

In TexStudios, I labeled and referenced theorems with \label and \ref. After I compiled the latex document twice, it still shows two question marks instead of my theorem number. My code snippet: \...