{cleveref} is a package that enhances LaTeX's {cross-referencing} features, allowing the format of references to be determined automatically according to the type of reference.

learn more… | top users | synonyms

4
votes
1answer
46 views

How to reference an inequality with \cref?

I have inequalities being referenced by cref as equations. 1-) How can I change that? (and still have inequalities with the same numbering as equations) 2-) How can I change that and have ...
1
vote
1answer
48 views

Why cleveref references don´t works in this example?

I was compiling with PDFLATEX and appears ?? instead references. \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[spanish]{babel} ...
2
votes
1answer
29 views

How can I refer to the bibliography chapter generated by biblatex using cleveref?

I am using biblatex to generate my bibliography using printbibliography. I want to reference the bibliography from another chapter, using cleveref like this: \Cref{chap:bibliography} lists the ...
2
votes
0answers
23 views

Is it a bug? (LuaLaTeX AND [russian](Polyglossia OR Babel) AND Cleveref) => ERROR [duplicate]

So, with the following code \documentclass[12pt, russian]{article} \usepackage{fontspec} \defaultfontfeatures{Ligatures={TeX},Renderer=Basic} \setmainfont[Ligatures={TeX,Historical}]{Linux Libertine ...
4
votes
0answers
37 views

How to change cleveref references to 'verbal' varioref style?

I would like to use cleveref's automatic ref target type recognition but with the more verbal page reference of varioref. This is my MWE: \documentclass{report} \usepackage{varioref} ...
1
vote
0answers
56 views

amsmath package clash

Just this afternoon I seem to have a package clash that resulted in all my equation numbers disappearing. I seem to have resolved the issue by putting \usepackage{amsmath} at the top of the preamble ...
0
votes
0answers
18 views

Customize auto-completion in Texmaker to give multiple arguments to a function

So i saw this question, and it does what i want. Almost. yes it works for \cref{#label#}, but \cref{} can also take a list of labels, is there a way to make this work? I can't see any other options ...
3
votes
2answers
39 views

How to change the word “table”/“cuadro” for “tabla” using \cref?

I´m starting using cleveref package. I like it. But now I´m typing in spanish and when \cref is pointing to a table I want that use the word "tabla" instead "cuadro", in the text. When I type "is ...
1
vote
1answer
51 views

cleveref — using both abbreviated and full form references?

The words chapter, part, appendix, table, figure, and the like are lowercased and spelled out in text (though sometimes abbreviated in parenthetical references). (Chicago Manual of Style, 16th ...
3
votes
1answer
91 views

How to correctly label an included PDF?

I have this: \label{appendix:b} \includepdf[scale=0.8,pages=1,pagecommand=\chapter{interview}]{interview/interview} \includepdf[scale=0.8,pages=2-,pagecommand={}]{interview/interview} ...
4
votes
1answer
57 views

hyperref and cleveref together with enumitem

I am working on lecture paper and I am referencing theorem-like environments a lot. I have written down a simple example how my layout might look like: \documentclass[a4paper]{article} % ...
2
votes
1answer
44 views

Cleveref mislabels figures when using \ContinuedFloat

When using subfloats over multiple pages I have used \ContinuedFloat to carry on the figure environment which also preserves the numbering. However, when I try to reference the whole figure, cleveref ...
3
votes
1answer
52 views

Subcaption format with cleveref

I need to get Figure 1.1 (a) when i put \Cref{fig:NiceImage1}. I have to use \Cref{fig:NiceImage}\subref{fig:NiceImage1} for getting same result. \documentclass{scrbook} \usepackage[demo]{graphicx} ...
4
votes
1answer
82 views

removing underline from journal title when using hyperref

When I am using hyperref, the package puts underline to the journal title in my references. How can I get rid of this underline? A similar question is asked here: Turning underlines OFF in hyperref ...
3
votes
1answer
24 views

Change the \crefrange title once

I'm using cleveref and want to use \crefrange in a German sentence but it doesn't create the correct title for this case: In den Abschnitte 7.3.1 bis 7.3.3 wurde für den […] In den ...
2
votes
1answer
38 views

Hyperref, cleveref and algpseudocode same identifier warning

I get the warning pdfTeX warning (ext4): destination with the same identifier (name{ALG@line.2}) has been already used, duplicate ignored with the MWE down below. \documentclass{article} ...
2
votes
1answer
57 views

Editing the reference style for subfigures using cleveref and memoir

I'm using the cleveref package to reference floats (in this case subfigures) in the memoir class. Currently the output looks like this (sorry for the danish, I don't think it matters): Using the ...
1
vote
0answers
17 views

Cleverref does not use default language after \foreignlanguage

I have the following code: \documentclass[a4paper]{article} % PACKAGES \usepackage[english,ngerman]{babel} \usepackage[utf8]{inputenc} \usepackage[ngerman]{varioref} \usepackage{hyperref} ...
2
votes
1answer
77 views

Cleveref displays ?? 3.2.2 instead of the correct reference name

I'm trying to use cleverref for my references but up to now it does not work for me. Currently my setup looks like this: \documentclass[a4paper]{article} % PACKAGES ...
3
votes
1answer
63 views

How can I set RefTex default reference format?

I'm using RefTex and cleveref. When I want to add a cross-reference I need to enter C-c ) C <SPC> to select the uppercase (\Cref) reference format and show all label types. I use this method to ...
6
votes
1answer
57 views

Theorem and lemma sharing counter with mdframed and cleveref

Problem Essentially I've got the same problem described in Cleveref with counters with same name: I've got theorems, lemmata and corollaries all sharing the same counter, and when referencing them ...
0
votes
0answers
42 views

cleveref and subcaption: how to handle subfigure reference?

Given \usepackage{caption} \usepackage{subcaption} \usepackage{cleveref} \crefname{subfigure}{figure}{figures} \Crefname{subfigure}{Figure}{Figures} \begin{figure}[h] \centering ...
4
votes
3answers
67 views

Using \cref on a \minipage label?

A couple of times I've had trouble using labels on minipage. I use minipage to create subfigures a) and b), each with their own \subcaption and \label, the whole figure also got a \caption with a ...
2
votes
1answer
36 views

Change how hyperlinks are displayed

By using \usepackage{varioref} \usepackage{hyperref} \usepackage{cleveref} one automatically gets hyperlinks in a red box or a green box . Is it possible to change this? For example instead of ...
2
votes
0answers
54 views

\cref does not work for Section in emulateapj.cls

While \cref works quite well for me, it doesn't seem to recognise section labels when used in emulateapj.cls framework. Here's an example: ...
3
votes
1answer
60 views

including chapters in mdframed references

I'd like to have chapter.theorem numbers for an mdframed theorem environment. I can modify the environment definition to include this, as in: \documentclass{memoir} \usepackage{amsmath} ...
4
votes
1answer
48 views

Splitting a caption and cross-referencing

I'm currently writing my thesis and I'm struggling with my redefinition of the caption command. I've got large captions which I don't want to show up in my list of figures. Of each caption I want ...
7
votes
1answer
93 views

How to put numbers in parenthesis using cleveref

I am using the cleveref package for cross-referencing. When I use \cref{tab1} and \cref{fig1} I got the output as table 1 and fig. 1 respectively. I would instead like to get table ...
3
votes
1answer
91 views

chemmacros reaction environment and cleveref reference

I have a problem with the automatic reference by cleveref and the chemmacros package. When i refer to a reaction with cleveref, then cleveref types "eq. (1)" because chemmacros use the equation ...
1
vote
0answers
24 views

How can I make \cref{foo,bar} from cleveref work with htlatex?

I have the following test2.tex file: \documentclass{article} \usepackage{tex4ht} \usepackage{etoolbox} \usepackage{hyperref} \AtEndPreamble{\usepackage{cleveref}} \begin{document} ...
0
votes
1answer
33 views

How can I get htlatex to work with amsmath's align and cleveref?

I have a document test.tex: \documentclass{article} \usepackage{amsmath} \usepackage{etoolbox} \AtEndPreamble{\usepackage{cleveref}} \begin{document} \begin{align} . \end{align} \end{document} It ...
0
votes
1answer
33 views

How can I make amsthm and cleveref to work with htlatex?

I have the following test.tex document: \documentclass{article} \usepackage{hyperref} \usepackage{amsthm} \usepackage{cleveref} \newtheorem{thm}{Theorem}[section] \newtheorem{rmk}[thm]{Remark} ...
0
votes
2answers
37 views

How do I use aliascnt with cleveref?

I'm trying to compile the HoTT book with htlatex, and was trying to reproduce an issue that occurs with htlatex but not pdflatex. However, I couldn't even manage to get a small working example using ...
3
votes
1answer
60 views

How to place text flushed right in math mode (next to equation number)?

I have equations like this: \documentclass[DVI=17]{scrartcl} \usepackage{amsmath} \usepackage{cleveref} \DeclareMathOperator{\FA}{FA} \DeclareMathOperator{\RA}{RA} \DeclareMathOperator{\MD}{MD} ...
2
votes
0answers
42 views

No cleveref in beamer?

I am trying to get a math beamer presentation to work and it seems that cleveref is causing problems. The MWE below gives the error Paragraph ended before \@ynthm was complete In the ...
5
votes
1answer
46 views

How to change the number of a subsection used in a cross-reference? [duplicate]

I was wondering if I could change the number that appears in my "\labelcref"? (I use hyperref, cleveref and nameref packages) More precisely, I'm writing a document where there are several sections ...
4
votes
1answer
47 views

Suppress hyperlinks to current page

Is it possible to suppress hyperlinks pointing to the same page as the hyperlink? I currently use the hyperref and cleveref packages for the hyperlinks, but I don't find any option to disable ...
3
votes
1answer
49 views

Cleveref Links missing

i have a problem with cleveref. I'm using cleveref with the nameinlink-option but there is still no link. This is my header: \documentclass[12pt,a4paper]{scrreprt} \usepackage[latin1]{inputenc} ...
3
votes
0answers
70 views

Prefix for \externaldocument references in \cleveref

The question Special case for last element with \foreach manually changed the references, and added the ability to have a prefix on references. Can I do the same thing using \cleveref? (Note: This ...
4
votes
1answer
53 views

Gene-logic package and bizarre cross-referencing behavior

I am getting some bizarre behavior using the gn-logic (gene-logic) package with some of the various cross-referencing packages. In particular varioref and cleveref. Here is a MWE illustrating the ...
4
votes
1answer
78 views

Format reference to items in nested list with cleveref

I'm using the cleveref package to format references in my documents. However I am having difficulties implementing different formats for labels referring to enumerate-lists, in particular nested list. ...
0
votes
1answer
48 views

Are subcaption, cleveref and hyperref compatible? [duplicate]

I tried with this MWE: \documentclass{article} \usepackage{caption,subcaption} \usepackage{cleveref} \usepackage{hyperref} \begin{document} See \cref{subfig1}, \ref{subfig1} \begin{figure} ...
8
votes
1answer
38 views

eledmac and cleveref?

I'd like to use eledmac and cleveref in the same document, but I'm running into trouble with something like this: \documentclass{article} \usepackage{eledmac} \usepackage{cleveref} \begin{document} ...
6
votes
1answer
129 views

How to rename \cref{} for lstlisting

At the moment I'm working on my Diploma thesis and after a long time of searching and trying, I still can't find a solution for my problem. Long story short: I want to refer to a ...
21
votes
3answers
733 views

Can cleveref be made to use the Oxford comma for multiple citations?

Simple question: Is there a simple way to get cleveref to use the Oxford comma? \documentclass{article} \usepackage[standard]{ntheorem} \usepackage{cleveref} \begin{document} ...
3
votes
2answers
100 views

Cleveref to Nomenclature?

I am writing a book and use nomencl to print a list of symbols at the end. How do I cleveref to this list? In the introduction of the book, I would like to write something like "All the notation we ...
2
votes
0answers
90 views

Varioref, cleveref and autonum together

I'm trying to mix varioref, cleveref and autonum to have the following behaviors: Automatic adding of reference type (i.e. adding "section" when referencing a section). -> cleveref; Adding the "on ...
6
votes
2answers
206 views

Splitting(!) one latex document into two pdf outputs including references

I have a quite huge thesis-latex-document with lots of references to the appendix. The whole document I would like to split into two pdf-files. That means: I would like to have the thesis and the ...
2
votes
0answers
22 views

Error using hyperref, cleveref and \newtheorem: no counter defined [duplicate]

Here's my problem: I'm writing some mathematics lecture notes. I needed some different theorem types, such as propositions, lemmas, plus observations, examples and definitions whose numbering depends ...
9
votes
2answers
155 views

Cleveref: Parentheses around references to subequations using \labelcref

Using the Cleveref package (v0.19) i have a problem with missing parentheses when referencing to subequations, using the \labelcref command. Here is a MWE: \documentclass{article} ...