I reference the float in different chapters. To make it easier for the reader, I would like to repeat the whole float, so the reader does not need to flick back to the chapter where the float occurred first. How does one do that properly? Ideally, it should involve the float's label to determine which float should be repeated and should make it possible to give it a new label command.
This is not a duplicate to Using the same figure twice with no new number because neither do I want to repeat the same figure number nor does the answer solve the problem of repeating the content (image or table).
\documentclass{book}
\usepackage{float}
\usepackage{graphicx}
\usepackage{nameref}
\usepackage{refstyle}
\begin{document}
\chapter{One}
Consider \figref{MyImage}.
\begin{figure}
\includegraphics{example-image-a}
\caption{My Image\label{fig:MyImage}}
\end{figure}
\chapter{Two}
Consider again \figref{MyImageAgain}.
% Some command to repeat a figure with two arguments
% 1. its label, "fig:MyImage", so it is known what should be repeated
% 2. its new custom label command, "\label{fig:MyFigureAgain}"
% - repeats its content
% - sets its caption to \caption{\nameref{fig:MyImage} (repeated from page \pageref{fig:MyImage})}.
% - set its label by using "\label{fig:MyFigureAgain}"
% So it should produce something like
%
% \begin{figure}
% \includegraphics{example-image-a}
% \caption{\nameref{fig:MyImage} (repeated from page \pageref{fig:MyImage})\label{fig:MyImageAgain}}
% \end{figure}
\end{document}
From figure 3.15 we have blah. – Apr 11 '19 at 08:13\vbox", If you do not think that is a valid approach to repeat the content of a figure, you have not been paying attention. – Bananguin Apr 11 '19 at 13:44\reusefigurewhich takes two parameters: placement information (which is optional) and a label and it does automatically repeat the content. I have no idea what you are looking for. – Bananguin Apr 14 '19 at 06:29