Skip to main content
5 votes
Accepted

Include clickable 'Fig.'/'Table' in \ref without duplication in captions

I want [cross-]references to include 'Fig.'/'Table' before the number so they are clickable and in link color. In addition to employing the hyperref package (which you do already), you only need to (...
Mico's user avatar
  • 515k
4 votes

How to reference a picture with two images?

The subfigure package has been obsolete for several years. You can use either subfig or subcaption and the latter is usually recommended, unless the class doesn't support it, which is not the case of ...
egreg's user avatar
  • 1.1m
3 votes

How to reference a picture with two images?

Use the package subcaption and its options, omit subfig. You need the following lines in the preamble. \usepackage{subcaption} \captionsetup{labelfont=sc} \subcaptionsetup{labelfont=rm,position=bottom}...
gernot's user avatar
  • 50k
3 votes

Include clickable 'Fig.'/'Table' in \ref without duplication in captions

Maybe you can use the cleveref package. \documentclass[12pt]{article} \usepackage[colorlinks,citecolor=blue, linkcolor=blue, urlcolor=blue]{hyperref} \usepackage{cleveref} \crefformat{figure}{#2Fig.~#...
NBur's user avatar
  • 5,166
2 votes
Accepted

Problem with labels when there are multiple tex files

hyperref uses the section and equation number to create anchors. And if you reset the section manually to zero you get duplicate names and pdftex will ignore the second anchor. There is then a warning ...
Ulrike Fischer's user avatar
2 votes

How to avoid page breaks before or after 'figure' environments

I would like to have those [two] pictures and the text ["SEND HELP"] on the same page. It would be lovely if the [cross-]reference could be 1.1(a) rather than 1.1a. To address the first ...
Mico's user avatar
  • 515k
1 vote

Problem using \ref with a specific counter in a new environment

There are several issues with your code, e.g., adding extra spaces by using something like: Théorème \addtocounter{compteur}{1} \thesection. which adds an extra space because of the not commented end-...
cabohah's user avatar
  • 14.1k
1 vote
Accepted

MakeIndex cross reference "see|" does not work for more than one word

There are two issues here. see is not expected to add a page reference. Rather, it just adds something to the index as a cross-reference. Usually, I put all my sees for a document together at the ...
cfr's user avatar
  • 208k
1 vote

How do I get rid of "pp." when referencing in Harvard with biblatex?

The classic way to remove "p."/"pp." from citation postnotes is by redefining the relevant field formats. \documentclass[british]{article} \usepackage[T1]{fontenc} \usepackage{...
moewe's user avatar
  • 178k
1 vote
Accepted

Changing referencing style depending on context

I've done the unthinkable (for me at least). We rely on the powerful zref package by tracking the necessary data with properties, namely chapter and theorem number. For differentiating between the two ...
Gargantuar's user avatar
  • 1,241
1 vote

\pagestyle{fancy} from fancyhdr seems to break \label-\ref if \label happens to be placed close to the upper edge of a page

As I have noted in my comments, I think paragraph hooks in the main text shouldn't be processed by fancyhdr. So I am preparing a new version (4.3) of fancyhdr, with a fix that disables paragraph hooks ...
Pieter van Oostrum's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible