General ⇒ Repeat a previous figure?
Repeat a previous figure?
I'm writing my thesis and would like to repeat one or two key figures in the discussion chapter. Is there anyway to duplicate the previously inserted figures or do I have to insert them as new figure with new numbers. ie. Can I display figure 2.1 in multiple places? or does it have to be 6.1 if it is chapter 6?
Can I do this by doing something special to the caption command?
Thanks,
Theo
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
-
- Posts: 20
- Joined: Thu Sep 06, 2007 7:31 pm
Re: Repeat a previous figure?
\label{chap2:fig:2} then whenever u refer this figure using \ref{chap2:fig:2} it will display the figure number corresponding to the figure number in chapter 2.
Re: Repeat a previous figure?
Theo
Repeat a previous figure?
Code: Select all
\renewcommand\thefigure{\ref{...}}
Code: Select all
\documentclass{article}
\begin{document}
\section{A}
\begin{figure}
A
\caption{A}
\label{A}
\end{figure}
\begin{figure}
B
\caption{B}
\label{B}
\end{figure}
\begin{figure}
A
\renewcommand\thefigure{\ref{A}}
\caption{A (again)}
\end{figure}
\addtocounter{figure}{-1}
\begin{figure}
C
\caption{C}
\label{C}
\end{figure}
\end{document}
Axel