2
votes
1answer
50 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 ...
4
votes
3answers
66 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 ...
3
votes
1answer
51 views

Memoir's \NumToName doesn't work with cross-referenced items

I got external references to work with memoir and hyperref here: hyperref and xr-hyper break memoir's \titleref, but references to external documents don't work with memoir \NumToName: ...
5
votes
2answers
85 views

hyperref and xr-hyper break memoir's \titleref

I have one document that has hyperref loaded, and works fine. I have a second document that I am using xr-hyper to reference the first. If I remove hyperref from the first document, the \titleref{} ...
6
votes
1answer
147 views

Hyperref does not work for legend labels inside \subbottom

When I use Hyperref package together with memoir class, and when I put a label to a PGFPlot inside a subbottom environment, and try to reference to it, an error reported: ! File ended while scanning ...
6
votes
1answer
117 views

What is the DRY way to get Theorem 1(a)?

I am typesetting a document with the memoir class and the cleveref package. Often I have a numbered theorem and enumerated parts. I would like to be able to refer to a part of a theorem as simply as ...
2
votes
1answer
110 views

Using memoir and hyperref, can I get a “\subref” in the caption of a figure?

I am writing a document using the memoir class. I would like to create a figure with two subfigures and to display a caption like "Plot of Y vs X with z=1 (a) and with z=2 (b)", where "(a)" and "(b)" ...
3
votes
3answers
641 views

Memoir sub table numbering wrong

I am using sub tables and it seems because I but the table caption above I get the wrong number in the sub table references. How can I fix this? I am pretty sure it is related to the package float ...
16
votes
4answers
5k views

Get current “section” name without label

Update: I accepted the solution provided by Heiko Oberdiek, because that was doing exactly what I asked. When interested only in the chapter name, egreg's solution works fine. However, to get it ...
13
votes
2answers
1k views

“Automatic” section labeling?

I would like to be able to link within a document to another section without having to explicitly put a label after that other section command. hyperref does this with the TOC labels, so I think that ...
1
vote
1answer
426 views

cross reference doesn't work with memoir

I'm getting to know memoir, and I cannot make cross references work. \usepackage[utf8]{inputenc} \usepackage{lipsum} \usepackage{graphicx} \usepackage{subfig} \usepackage{array} \usepackage{color} ...
2
votes
1answer
267 views

cleveref and marginfigure in memoir

I'm running into a problem when using cleveref to refer to marginfigures in memoir. The following code illustrates the problem (apologies for the somewhat long preamble, but I need the space in the ...
6
votes
1answer
330 views

How can I reset sectional counters in memoir class to avoid breaking ToC cross-referencing in a complex document?

I have already asked a similar question here: Incorrect ToC/Index cross-references when resetting memoir class counters and received a satisfactory answer. Now, I wish to apply the chapter counter ...
6
votes
1answer
482 views

Incorrect ToC/Index cross-references when resetting memoir class counters

The quasi-MWE below uses the memoir class and works fine. It produces a document with the following structure: ToC Book Part1 Chapter1 Part2 Chapter2 Index Here, cross-references in the ToC and ...
2
votes
2answers
274 views

Customize referencing of subcaptions in “memoir”?

When I use \subcaption{... \label{myfig}} in memoir, and then reference it, the result is something like "Figure 1(a)". But I would like to customize the reference by removing the parentheses, thus ...
12
votes
4answers
15k views

How to reference subfigure in caption

I used to have code like this: \caption{In \subref{fig:foo:a} you can see...}. Now I switched to using memoirs subtop/subbottom command instead of \subfigure. How can I refer to that subfigure? As a ...
5
votes
1answer
682 views

How to \ref to subcaption numbers (a, b) when using memoirs subcaptions?

How can I get references to subcaption numbers when using memoir? In this example: \documentclass{memoir} \newsubfloat{figure} \begin{document} \chapter{Lorem} \section{ipsum} \begin{figure}[b] ...
5
votes
2answers
123 views

How to get chapter numbers to work in sections with memoir pagestyle{headings} and using babel?

I have a very strange behavior which I have managed to get boil downed into this minimal example. It's probably a bug report for either memoir or babel developers (where should that be sent?) but I ...
7
votes
1answer
515 views

pagenote: Adding a cross-referencing mechanism

This question originates from a bug report at SourceForge.net: biblatex from April 2010. A user pointed out that a certain biblatex style (verbose-inote) produced wrong references when used together ...
3
votes
1answer
794 views

How to make sub figure referencing work in memoir + cleveref?

In the following example: \documentclass{memoir} \usepackage{cleveref} \newsubfloat{figure} \begin{document} \chapter{Example} \begin{figure} \centering \subtop[apple]{fig ...