943 views

### Special case for last element with \foreach

I want to create a function that generates a list of equation references from a comma delimited input list. e.g. \erefs{eq:first, eq:second, eq:third} \erefs{eq:first} yields, the following: (\ref{...
18k views

### Cross-reference packages: which to use, which conflict?

Inspired by my earlier question Theorem packages: which to use, which conflict?, here is another similar question. There are many different packages for making cross references. Among them hyperref, ...
5k views

### varioref: \vref or \vpageref at page boundary (may loop)

Sometimes a have situations, where I'm not able to compile a document, because the varioref package result in a loop. Here is a MWE, which result not in an endless loop, but it demonstrate the issue (...
1k views

### Changing the number of figure or equation automatically in text by changing the places of figures and equations

Is it possible to automatically reference a figure and equations in text? I meant sth like bibliography references. Moreover, by changing the place of the figures or equations relevant figure or ...
385 views

### Getting the \pageref out from under hyperref

I thought I was pretty cool when I modified \ref to also print a page number when the referenced float was more than a few pages back. But I really want it to be a nice link using the hyperref package ...
1k views

### cleveref & varioref : Missing \endcsname inserted

I read the excellent question Difference between ref, varioref and cleveref. Decision for a thesis and various doc on the net (the varioref package documentation) and tried to use it... but with many ...
699 views

### How do I configure a \ref of a \label to print more than just the number? [duplicate]

I am using \label in conjunction with \ref for my equations. For example $$\label{eq:grav} F=\frac{G m_{1} m_{2}}{r^{2}}$$ as shown in equation \ref{eq:grav} which ...
30 views

### Include the target page number in a hyperref description?

\documentclass{article} \usepackage[pdfpagelabels=true]{hyperref} \begin{document} \tableofcontents \newpage \section{S1} \label{s1} \subsection{SS1} \label{ss1} Subsection 1 \newpage \...
7k views

### Impact of hyperref, when varioref and cleveref are used

I think I may have found a bug in either hyperref, cleverefoder varioref but can't determine the details any further. If do not load hyperref in the following example, the result is fine. \...
2k views

### Is cleveref safe to use?

I have sometimes been warned against using cleveref because it makes very fundamental changes of some of the basic LaTeX commands, like \label. Is this concern justified, and what are the issues of ...
953 views

### Lost labels using intertext with varioref and hyperref

I have a problem using \intertext together with \vref when hyperref is also used. Consider the following minimal example: \documentclass{article} \usepackage{amsmath, varioref} \usepackage{...