6
votes
Accepted
Unwanted horizontal space with Cref command from cleveref and amsthm
I think you are looking for something like:
\documentclass{article}
\usepackage[english]{babel}
\usepackage{amsthm}
\usepackage[colorlinks,linkcolor=red]{hyperref}
\usepackage[noabbrev,nameinlink]{...
3
votes
Accepted
How to make cleveref and nameref work with documentclass wlscirep and \section*?
Your class uses titlesec and titlesec doesn't properly support hyperref and nameref. You can try something like this:
\documentclass[fleqn,10pt]{article}
% loaded by the class
\RequirePackage[...
3
votes
Reference a theorem with its name "as is" using cleveref (in searching of a new way of implementing of the "originalref " mode in ProjLib)
I'm not sure exactly how you want this to interact with cleveref, but I think you're looking for something like ltproperties (available as of the 2023/11/1 release). You can define a new property like
...
1
vote
\labelcrefformat vs. \creflabelformat
creflabelformat is a "high-level" setting in cleveref terminology.
It allows you to change how the reference itself (without the type) will be rendered for a specific reference type.
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
cleveref × 907cross-referencing × 465
hyperref × 180
theorems × 46
equations × 41
amsthm × 38
varioref × 35
enumitem × 34
tcolorbox × 32
numbering × 29
subfloats × 29
labels × 28
amsmath × 27
babel × 25
subcaption × 23
captions × 22
floats × 21
sectioning × 21
appendices × 21
thmtools × 20
counters × 19
macros × 18
memoir × 18
listings × 15
lists × 14