4 votes

Change references to question marks when I use a multiply-defined label

Labels are saved as global macros. For example, \label{eq} is saved as \r@eq. These macros are created by \newlabel when the aux file is read. Note that packages like hyperref and cleveref replace \...
user avatar
  • 70.2k
3 votes
Accepted

How to separate between the reference of figure and subfigure?

Reference: https://tex.stackexchange.com/a/423080/133968 \documentclass[10pt]{article} \usepackage{caption,subcaption} \usepackage{cleveref} \usepackage{graphicx} \makeatletter \renewcommand{\p@...
user avatar
  • 373
3 votes

How to add a hint (arrow up/down) at the reference for direction in which to look for the referenced figure/float?

This approach is not foolproof and, at best, can only work if one use [ht] positioning of one's figures. What it does is use up/down arrows to indicate whether a \label has already been defined or ...
user avatar
2 votes

Warning in arxiv compilation: LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right

TLDR: This is a class of warning that can always be ignored in the first run. arXiv processes a minimum of twice (if the first pass is successful), and maximally 4 times. This warning will always ...
user avatar
  • 718
2 votes
Accepted

Including parentheses in link to equation

Rather than reinvent the proverbial wheel, I would like to suggest that you (a) load the cleveref package with the options nameinlink and noabbrev and (b) use \labelcref and \cref to generate cross-...
user avatar
  • 439k
2 votes
Accepted

Arabic numbers for theorem, Roman numbers for \phantomsection in theorem

A \label generally refers to the last counter to which \refstepcounter has been applied in the same scope. Issuing \label far away from the place where a counter has been “refstepped” is usually not ...
user avatar
  • 993k
1 vote
Accepted

Referencing formatted text

You can use the package zref for implementing your own referencing-commands. With the following example a few things are reimplemented in terns of \long so that referenecable text-snippets can consist ...
user avatar
  • 23.5k
1 vote

Latex: Add figure with references

Is there a reason to use PowerPoint in the first place? If not, you could use TikZ to produce an image like yours. In this image you can use references and the text will be printed in the same font as ...
user avatar
1 vote
Accepted

Unable to reference chapter from main to subfile when compiling ONLY the subfile

Replace \externaldocument{main.tex} by \externaldocument{main}, then it works. Actually, when running LaTeX on sobolev.tex, the log file contains the complaint: Package xr Warning: No file main.tex....
user avatar
  • 44.9k
1 vote
Accepted

How to reference an url on a frame in a beamer environment

You can add a link in the caption to the \item with the url \documentclass[xcolor=dvipsnames]{beamer} \hypersetup{% colorlinks=true, linkcolor=blue, urlcolor=magenta, } \begin{...
user avatar
1 vote

How to make the references appear in order in LaTeX?

The comment thread has gotten entirely too long … I am posting an example of what I think you might be wanting, even though it's impossible to tell without a proper MWE: \documentclass{article} % ...
user avatar
  • 5,403
1 vote

Arabic numbers for theorem, Roman numbers for \phantomsection in theorem

\phantomsection has nothing to do with a section, it only sets an anonymous anchor. The printed layout of your label depends only on the position of the \label. You can get your wanted output by ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible