Say I have the following code in a document typeset with memoir
:
\begin{figure}
\centering
\subbottom[]{
\label{sub1}
\includegraphics[width=0.4\linewidth]{test.png}}%
\subbottom[]{
\label{sub2}
\includegraphics[width=0.4\linewidth]{test.png}}%
\caption{\subcaptionref{sub1}: Left of the figure. \subcaptionref{sub2}: Right of the figure}
\end{figure}
which generates the following figure:
I would like to be able to overlay some text and mathematical formula on each of the images (with coordinates relative to each image).
I read these two posts:
I really like the solution described in the first of them, i.e. using tikz
commands to overlay text and formulae.
However, the examples they provide require using a tikzpicture
environment, which seems to prevent me from using \subbottom[]
for subfigures in memoir.
How can I use tikzpicture and
scope in combination with subbottom
in memoir
?
For the sake of the example, say I want to overlay the symbol $\phi$
on the center of the subfigure of the left, and the symbol $\psi$
on the center of the subfigure on the right (both inside small white boxes).
\subbottom
andtikzpicture
? I use it daily. How do you use it?