Skip to main content

New answers tagged

2 votes
Accepted

Add the prefix "Supplementary" to a subfigure when cross-referencing it (with "zref-clever")

Well, this is all mostly missing data or packages in main.tex. When you are importing something from supplementary.tex to main.tex you need to make sure what you are bringing in makes sense in the ...
gusbrs's user avatar
  • 14.3k
1 vote

Context sensitive cross reference using Cleveref and Varioref

Here's a solution using ltproperties. You can change the counters for which the title is printed by adding to \c_bastien_counters_seq. \documentclass{article} \usepackage{varioref} \usepackage[...
mbert's user avatar
  • 5,006
2 votes
Accepted

Automatic Numbering and Cross-Referencing for Custom Elements (Research Questions, Objectives, Contributions)

The main aspects of the following solution are (a) the use of \StateRQ and \StateCont macros to state the research questions and contributions, respectively, and (b) the use of a bespoke enumerate-...
Mico's user avatar
  • 519k
0 votes

How to hyperref the subfigures (with tikzpicture)?

Thanks a lot to @samcarter_is_at_topanswers.xyz and to @Qrrbrbirlbel for your suggestions! By following the @Qrrbrbirlbel indications I got this solution: \documentclass{article} \usepackage{tikz} \...
Ommo's user avatar
  • 897
2 votes
Accepted

How can I pass the name of a section from a tex file to another (with "zref-clever")?

You can just load zref-titleref (for the problem at hand, in supplementary.tex, but you probably want it in both files anyway). Then you refer to imported labels using the regular zref or zref-clever ...
gusbrs's user avatar
  • 14.3k
2 votes
Accepted

Add the word "Supplementary" to tables and figures, in a cross-referenced file

This is how I'd go about this using zref-clever (you may be able to pull off a similar approach using cleveref, but I'm not sure it would be this straightforward to remap the reference types). ...
gusbrs's user avatar
  • 14.3k
0 votes

cleveref and amsthm -- incorrect environment name

In some cases, one has to use a document class provided by a .cls file that should not be modified. If the .cls file defines its own environments without requiring cleveref, and if for whatever reason ...
germinael's user avatar
5 votes
Accepted

conflict of \counterwithin and cleveref package when sectioncounter is reset

\documentclass[paper=A4,12pt,numbers=noenddot]{scrartcl} \usepackage{graphicx} \usepackage[noabbrev]{cleveref} % No need for this, \counterwithin already handles that. In fact, this is % outright ...
gusbrs's user avatar
  • 14.3k
5 votes
Accepted

Cleveref, biblatex and automatic equation numbering

You can use mathtools and package zref-clever instead of cleveref: % !BIB program = biber \documentclass[a4paper, 11pt, oneside]{book} \usepackage[utf8]{inputenc} \usepackage{mathtools} \mathtoolsset{...
cabohah's user avatar
  • 15.6k
5 votes

How to fix fncychap changing appendix cref name to "chapter"?

As already told in a comment by @cfr you should load cleveref last (even after hyperref if you use hyperref): \documentclass{book} \usepackage{fncychap} \usepackage{cleveref} \begin{document} \...
cabohah's user avatar
  • 15.6k

Top 50 recent answers are included