Skip to main content

New answers tagged

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
0 votes

Changing referencing style depending on context

Just for fun, here is an implementation with ltproperties. \documentclass{book} \renewcommand{\thechapter}{\Roman{chapter}} \counterwithout{section}{chapter} \counterwithin*{section}{chapter} \...
mbert's user avatar
  • 4,531
0 votes
Accepted

Dynamic references with \zcref

Here is one way to do it. It feels a bit like cheating the intended use of the reference structure, but I think it should work as expected. The tricky part is to have access to the label itself, which ...
gusbrs's user avatar
  • 14k
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
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
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
  • 514k
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
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
0 votes

Table reference

I had this frustrating experience too. Even followed the exact syntax that worked successfully in another file. I ended up deleting .aux, .log, and .gz files, running it again, and it worked.
Jonathan Breitzer's user avatar
0 votes
Accepted

Reference appear twice inside the article document of synopsis

Since you're using unsrtnat as bibliography style, you should load also natbib and in this case it's simple to have a numbered reference section. Here's your test document with some fixes: I ...
egreg's user avatar
  • 1.1m
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
0 votes

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

You can redefine the labels for whichever language(s) you need. For example, \DefineBibliographyStrings{english}{% page = {}, pages = {}, } Either add ...
cfr's user avatar
  • 208k
0 votes
Accepted

How to get the intended name of a referenced item?

I have found the solution: \documentclass[11pt]{article} \usepackage{enumitem} \usepackage{hyperref} \hypersetup{colorlinks=true,linkcolor=blue} \begin{document} \begin{enumerate}[label=(\Alph*)] \...
Akira's user avatar
  • 1,441

Top 50 recent answers are included