I have a big image containing several subfigures, each with its own single letter caption already overlayed.
I'd like to reference these subcaptions from the text. As far as I recall something like this was achieavable with subcaption and its phantom commands, but I'm not that sure they covered this particular case.
Is there a way to do it from memoir?
Here's a sample figure to better explain what I'd like to do
It's a single image that I'd prefer not to split. And I'd like to reference the subimages as they were separate figures.
EDIT
Below what I'd do if I could use subcaption
, unfortunately as soon as I load it in a document using memoir's own subfigures it messes up with all the caption handling and styling.
So the question remains, is there a way to do phantom subcaptions within memoir?
\documentclass{memoir}
\usepackage{subcaption}
\begin{document}
\begin{figure}[t]
\centering
\includegraphics{figure.png}
\begingroup
\phantomsubcaption
\label{fig:somefiga}
\phantomsubcaption
\label{fig:somefigb}
\phantomsubcaption
\label{fig:somefigc}
\phantomsubcaption
\label{fig:somefigd}
\endgroup
\caption{some caption}
\label{fig:somefig}
\end{figure}
\noindent Figure~\ref{fig:somefig} has four subfigures:
figure~\ref{fig:somefiga} is a nice fat rectangle, figure\ref{fig:somefigb}
looks good too. Figures~\ref{fig:somefigc}~and~\ref{fig:somefigd} could do
better.
\end{document}
\includegraphics{bigimagewithsubfigures.png}
\phantomsubcaption
to create references. I'd like to do something like that within memoirsubfig
package