Questions tagged [zref-clever]
Questions regarding the `zref-clever` package.
29 questions
4
votes
1
answer
181
views
LaTeX zref-clever: automatically generate dash-separated figure ranges including non-consecutive labels
I'm trying to use the zref-clever package in LaTeX to reference multiple figures in a compact, readable way. I want the output to:
Merge consecutive figure numbers with a dash (-)
Separate non-...
5
votes
2
answers
244
views
hyperref + algorithm2e + zref-clever = 🐛: referencing an algorithm and a line in it produces the same type name for both 😢
We try to reference a line in a shy algorithm and the algorithm itself with zref-clever. Running pdflatex twice on
\documentclass{article}
\pagestyle{empty}
\usepackage{hyperref}
\usepackage{...
4
votes
2
answers
136
views
When lemmas share the same counter as theorems, how to print “Lemma” in references produced by zcref-clever?
When cleveref died, we switched to zref-clever, but its \zcref refers to lemmas as theorems when we use the same counter. Namely, running pdflatex on
\documentclass{article}
\pagestyle{empty}
\...
0
votes
1
answer
47
views
Modifying casing of zref-titleref references or alternatives
I have multiple definitions I want to reference throughout the paper with a link back.
However instead of "Definition X" I want to use the title I gave the definitions, i.e. "Super ...
5
votes
2
answers
103
views
zref-clever: Use noname by default for equations?
I'm thinking about migrating several large documents from cleveref to zref-clever. I have read Migration from cleveref to zref-clever as well as the manual, but several questions remain.
One of them ...
2
votes
1
answer
102
views
supra/infra reference using \label and zref-clever
Starting with version v0.4.0 (2023-06-14), zref-clever makes use of the kernel’s new label hook, so that \label can be used instead of \zlabel. See the following mwe taken from the issue supra/infra ...
1
vote
2
answers
62
views
In `zref-clever` global options ovverride local ones
Some global options to zref-clever override a local one. This seems to contradict the documentation which says "zcsetup has local effects, so it can be issued inside the respective environments ...
5
votes
1
answer
112
views
Under `zref-clever`, command to retrieve name strings of a given reference type?
I’m using zref-clever, and looking for a way to explicitly retrieve the various name strings associated to a given reference type — so I can write e.g. \zcrefgetstring{theorem}{Name-pl} and get “...
0
votes
0
answers
57
views
Equation numbering with \pause and showonlyrefs
I have a tex file:
\documentclass{beamer}
\usepackage{zref-clever,mathtools}
\mathtoolsset{showonlyrefs}
% Numbering an equation when using \pause and showonlyrefs
% https://tex.stackexchange.com/a/...
0
votes
0
answers
39
views
Jump by \zcref is one line below the target
I have a tex file:
\documentclass{beamer}
\usepackage{amsthm,zref-clever}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{mathtools}
\mathtoolsset{showonlyrefs}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\hypersetup{
...
2
votes
0
answers
148
views
How to format the zref-clever's separator?
This question is from this link. Since cleveref was last updated in 2018, I am trying to do the same with zref-clever:
\documentclass{beamer}
\usepackage{hyperref}
% \usepackage{cleveref}
% \...
1
vote
1
answer
84
views
Wrong jump to proof environment: patch for amsthm not work for keytheorems
I have a tex file where I use keytheorems to create proof environment:
\documentclass[11pt]{amsart}
\usepackage{lipsum,zref-clever,mathtools,fullpage,amssymb}
\zcsetup{cap=true,comp=false,sort=false}
\...
1
vote
2
answers
103
views
\hyperref does not give a correct jump
I have a tex file
\documentclass[11pt]{amsart}
\usepackage{lipsum,zref-clever,mathtools,fullpage}
\zcsetup{cap=true,comp=false,sort=false}
\usepackage[hypertexnames=false]{hyperref}
\hypersetup{
...
2
votes
1
answer
118
views
zref-clever: format of a list of cross-references
I have a tex file
\documentclass{amsart}
\usepackage{zref-clever}
\zcsetup{cap=true,comp=false,sort=false}
\zcRefTypeSetup{equation}{
Name-sg=,
Name-pl=,
}
\usepackage[hypertexnames=false]{...
0
votes
1
answer
86
views
How use keytheorems with zref-clever
The following, with some irrelevant changes, is from https://tex.stackexchange.com/a/752203/13492:
\documentclass{article}
\usepackage{amsmath,amsthm}
\usepackage[svgnames]{xcolor}
\usepackage[...