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

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.

0
votes
0answers
5 views

how to cite references in the text using superscript arabic numbers in revtex4 document?

I am using revtex4.cls in latex. I need to show the references in text using superscript Arabic numbers without brackets or parenthesis and should appear in consecutive order. I have tried different ...
2
votes
0answers
14 views

Strikethrough a \cref-generated cross-reference

I'm looking to strikethrough a cross-reference generated with \cref. I thought a basic example like the following would work: \documentclass{article} \usepackage{cleveref} \usepackage{soul} \begin{...
2
votes
0answers
13 views

Reliable cross-reference to a frame in beamer

I make extensive use of beamer's overlay mechanism to build animations. Depending on the audience, but especially for the handout version, I then use frame-level overlay specifications to select the ...
0
votes
0answers
23 views

\ref returns both caption name and numbering

Dears, \ref{key} returns caption name (as configured using captionsetup) and numbering as \autoref{key} do. How to returns only numbering?
1
vote
1answer
22 views

Start figure numbering after the last figure in another document

At Start theorem numbering after the last theorem in another document question I asked how to start theorem numbering after the last theorem in another document. Now I ask how to do the same for ...
0
votes
0answers
15 views

How to includes and sort, pages, date and publisher of the paper that we are citing in LaTeX?

I am trying to cite a paper in LaTeX using IEEEtran style. I am using: @INPROCEEDINGS{amini2016investigating, author={M. Amini and M. Almassalkhi}, booktitle={2016 IEEE Innovative Smart Grid ...
1
vote
0answers
16 views

How to get correct 'nameinlink' in 'cleveref' when using 'newtheoremstyle' and custom numbering for lemmas and similar environments? [duplicate]

I am using slightly customized theorem styles and have defined the theorem environment to follow the section numbering and lemmas, propositions, and conjectures environments to follow the theorem ...
1
vote
1answer
13 views

How do I use memoir ordinal* commands with references?

I'd like to use memoir's \ordinaltoname to refer to a specific item in an enumerated block. The item is marked with a label command. The naive code fails to compile, apparently because the label is ...
0
votes
0answers
16 views

Problems with references to figures [duplicate]

I have the following Latex source file (under the stipple line): If I RUN the file I have to press on the Enter button two times. How can I fix this. Moreover in the pdf-file I get figures 1a, 1b, ...
0
votes
0answers
50 views

Reference appears as [**Reference**] instead of [22]

I'm having a problem where references are appearing in bold as the labels I give them, appearing as [label] instead of e.g. [22]. E.g. I write "Due to Smith's famous theorem \cite{Smith2}" and it ...
0
votes
1answer
22 views

Cleveref equation to match italic local style.

This question is similar to \eqref in italic math environnment, but I think all the cross referencing tools from cleveref justify a separate question. I would like cleveref to produce the equation ...
0
votes
0answers
54 views

Question marks instead of reference, and double question marks instead of figure and table cross-references

I wrote my thesis with Sweave (R+LaTeX). Everything went fine until I bought a new computer. I copied the Sweave file (.Rnw) with all figures and tables, as well as with the bibliography (.bib). ...
0
votes
0answers
14 views

How to change hyperlink colour in the content of the chapter? [duplicate]

I am writing a chapter in my thesis and have to give references for equations and theorems. But hyperlink to that is appearing in pink colour, which I want to change to black colour. For that, I am ...
1
vote
1answer
21 views

Hyperref not appearing in headings

When I enable hyperref, any cross referencing used in headings gets replaced with "??". When I disable hyperref, everything works as expected. Here's a MWE and a screenshot of the issue. I'm fairly ...
1
vote
1answer
27 views

Referencing Question

I made the BibTeX file for the references, what I want is; as a result to have in the text the author name and the year and list it in the bibliography I write it in this way \documentclass [12pt]{...
1
vote
1answer
21 views

how to use \href or \ref for creating a link within the document

I would like that when I click the word 'universe' in the following MWE, it takes me to Fig of duck. How can that be done? \documentclass[]{report} \usepackage[]{graphicx} \usepackage{chngcntr} ...
1
vote
2answers
54 views

How to configure \cref to write “Appendix A” instead of “Chapter A” when referring to appendix?

I want to configure \cref to write "Appendix A" instead of misleading "Chapter A". Minimum Working Example (MWE): \documentclass{scrbook} \usepackage[toc,page]{appendix} \usepackage{cleveref} \...
1
vote
0answers
18 views

Bad interaction between autonomy and caption packages?

I've found this strange error when using the autonum and caption package together, and placing an equation inside a float. \documentclass{article} \usepackage{caption} \usepackage{autonum} \begin{...
4
votes
3answers
217 views

Remove figures, but keep references to image

I want to remove a figure and its caption from a LaTeX file, but I want to keep the references to it in the text. So far I kept the empty figure environment with a caption and a label. The problem ...
1
vote
1answer
32 views

Referencing character in Enumerate

I have this MWE: \documentclass{article} \usepackage{hyperref} \usepackage{enumerate} \begin{document} \begin{enumerate}[\label=(X1)] \item\label{i1} Hu \item\label{i2} Pu \end{enumerate} Hello \...
2
votes
1answer
53 views

xr package not working “Incomplete \ifx”

I am trying to use xr for crossreferences between two documents. I've used it before without a problem for a different project. Here's the error message I get: (/usr/local/texlive/2018/texmf-dist/...
0
votes
1answer
73 views

?? instead of figure number!

I have the following code. However whenever I use \ref{PROGRAM:HELLO-WORLD} in text, I found ?? instead of figure number. How can I solve the problem??? \begin{figure} \begin{...
1
vote
1answer
22 views

gb4e: Pull out only subexample label

Is there a way to pull out just the subexample number for a reference when using gb4e? Sometimes I'd like to do something like "In the (a) example(s)...," without having the number. It feels like this ...
0
votes
1answer
24 views

Reference a set of subequations with a single label in Lyx

Using the subequations module, I have created a set of equations labeled 1a, 1b and 1c. I now wish to refer to them collectively as (1) in subsequent text. Here's my code copied from the LyX file: \...
2
votes
1answer
38 views

Get the subsection using \eqref if the equation isnt't in the current subsection

As the title says, I want to define an eqref command such that if the equation is in the current subsection then it produces the usual (1) and that if the equation is in another subsection then the ...
0
votes
0answers
17 views

Automatically generate citations inside external PDF Figure

I have a massive and complex table that I am designing in an external vector tool and that I import as a PDF figure using \includegraphics. This table has >100 citations in it, and at the moment I ...
1
vote
2answers
49 views

shared common text across many documents

I'm writing my statement of purpose, and I want to have a shared "main" part and a "school-specific" part. I plan on storing the school specific parts in documents like school1.tex, school2.tex... I ...
0
votes
0answers
33 views

Undefined Reference and or Citation … suddenly appear [duplicate]

I've been doing my thesis using latex. It was fine at first, just some of the figures not in the right place. Just 2 or 3. And so, I continued typing what I want.. then compiled it.. and boom! ...
0
votes
1answer
21 views

Referencing Appendix Items with own text

I just want to have a reference of an item from my appendix like this [see appendix D] or [see appendix F] and the D and F should be not manually be written, instead it should get that from the \ref ...
2
votes
0answers
38 views

Duplicated Citation using BibTex / TexStudio

I am new to LateX and I am currently having problems with citations and references. So, I have my References.bib files which contains all the elements of my bibliogaphy, and then I have the file ...
1
vote
0answers
21 views

Reference to proof prints section instead

I have several theorems in a document with the proofs in the appendix. After some theorem, I want to refer to the proof and, using the hyperref package, I want to make the reference clickable to avoid ...
0
votes
0answers
16 views

Bibliography ordering problem

Take a look at the following code: \nocite{*} \bibliographystyle{plain} Where the bibitex file is: @article {cit1, AUTHOR = {Trump, D.}, TITLE = {Some bullshit. {II}}, JOURNAL = {New ...
1
vote
0answers
18 views

How to cross reference between tex files [duplicate]

I have looked at all the previously posted answers. None have answered my questions. This is my example: I have a main document called paper.tex: \documentclass[11pt,twoside,a4paper]{article} \...
0
votes
0answers
12 views

Citation Number

I am using lyx and have successfully added the bibtex. I found out that the serial number of the "Reference" part is not under my control. How can I put a certain Reference in number 1?
3
votes
2answers
115 views

Clever references to equations

In this question the author expressed the following desire if Corollary 1.2 contains parts (a) and (b), I want \cref to output “Corollary 1.2(a)” when referring to that theorem part. Horever, in ...
1
vote
1answer
21 views

Get the content of a caption when referencing a figure

I have a pretty special requirement for my current thesis. When I reference a figure from my appendix in the main document I have to cite the content of the caption as well. \documentclass{article} \...
0
votes
0answers
19 views

Bibtex/natbib and citing url in a reference

I've found a few questions/answers on citing URLs in references with BibTeX, but none of the solutions seem to work for me: I'm trying to cite a blog/website and am using the following packages: \...
1
vote
1answer
26 views

Line number during cross-referencing. No Line number appears

I read these two questions: 1 and 2, but I am still in a trouble. So, I have two files: test1.tex: \documentclass[12pt,a4paper]{article} \usepackage[nopar]{lipsum} \usepackage[pagewise]{lineno} \...
0
votes
2answers
39 views

Figure referencing in tufte-book pointing to section instead

The \ref command usually points to the figure/table/etc that is referenced by \label. However in the tufte-book document class this does not seem to work: \documentclass[]{tufte-book} \begin{document}...
3
votes
1answer
31 views

Custom bibliography style for @reference and @inreference with custom sorting

The thesis I am currently supporting has quite a large bibliography, so naturally there is some grouping going on, mostly based on keywords (\printbibliography[heading=sec,notkeyword=prim,notkeyword=...
0
votes
1answer
30 views

Change order of two entries in biblatex

I have quite a long list of references in an untidy .bib file. Everything works fine except for the order of publications of the same author, written in 19xx and 20xx. Here is a MWE: \documentclass{...
2
votes
1answer
52 views

Disappearing references replaced with [?] and errors in the bibliography due to style file definition errors

Hi, This is my first time using LaTeX and Bibtex. This is the link to my document, ; LaTeX file on Overleaf It is giving the following error messages; (no line number): This is BibTeX, Version 0....
3
votes
2answers
75 views

Custom label for references using tasks inside a xsim exercise

In order to create an assignment sheet, I am using the xsim package and to create subquestions within a question, I use the package tasks. The problem comes while referring to the subquestions. ...
0
votes
1answer
17 views

Why does not cross-referencing of end nodes work with `enotez` and `cleveref`?

It does not seem that cref works with enotez. The output refers to the chapter number rather than the number of the end note. I had similar issue in this question: Why does not cross-referencing of ...
1
vote
1answer
33 views

I get 2 semicolons in my figure references

I get ;; in the place where the number of the figure should be. I compiled 2 times but still the same. Elsewhere in my text I got proper reference of the figure I wanted. \documentclass[a4paper]{...
4
votes
3answers
182 views

How can I hide a figure but keep its numbering?

I have a document with many figures; I want to print a short version of it with some figures hidden, but I would like that the global numbering of figures remain the same, and that labels still works. ...
0
votes
1answer
40 views

Why does not cross-referencing of exercises work with `exsheets`?

I am trying to use cleveref package to create custom referencing scheme for exercises created using exsheets. I customize cross-referencing of floats and equations very well using codes similar to the ...
0
votes
0answers
23 views

References to help me write a paper [duplicate]

I am a student who wants to publish his first paper in journal. But I am new to Latex. Does there exist any reference or links or videos which can teach me how to write a journal paper in Latex from ...
0
votes
1answer
41 views

cleveref package problem in appendix

my friends, I have several problems with cross-referencing by cleveref package. when I call this package in my appendix section, the equations are shown as "Appendix A.2 and Appendix A.2" instead of "...
0
votes
0answers
32 views

Making reference using \ref{name} rather than directly name

This is continuation of Continuing example in Beamer. The answer by @samcarter works, but there is a loose end: making reference to Example 1 in the continuing example is done by "[myexample]". I was ...