
Me gustaría tener una lista de figuras y tablas, juntas, como enesta pregunta, excepto que las figuras y tablas deberían seguir teniendo sistemas de numeración separados. Por ejemplo, para terminar con
Lista de figuras y tablas
- Figura 1: una imagen
- Tabla 1: números
- Figura 2: otra imagen
¿Cómo se puede hacer esto?
Respuesta1
Puede guardar la información de las figuras en el mismo lugar que las tablas y, por lo tanto, generarla al mismo tiempo, agregando las siguientes líneas en su preámbulo:
\makeatletter
\def\ext@figure{lot}
\makeatother
\renewcommand*\listtablename{List of Figures and Tables}
Aquí hay un ejemplo de trabajo mínimo:
\documentclass{article}
\makeatletter
\def\ext@figure{lot}
\makeatother
\renewcommand*\listtablename{List of Figures and Tables}
\begin{document}
\listoftables
\clearpage
\begin{figure}
\caption{A picture}
\end{figure}
\begin{table}
\caption{Numbers}
\end{table}
\begin{figure}
\caption{Another picture}
\end{figure}
\end{document}
Producción
Si desea esa lista exactamente como en su ejemplo, cargue el tocloft
paquete y agregue las siguientes líneas en su preámbulo
\renewcommand{\cftfigpresnum}{Figure~}
\renewcommand{\cftfigaftersnum}{:}
\setlength{\cftfignumwidth}{5.5em}
\renewcommand{\cfttabpresnum}{Table~}
\renewcommand{\cfttabaftersnum}{:}
\setlength{\cfttabnumwidth}{5.5em}
MWE
\documentclass{article}
\usepackage{tocloft}
\makeatletter
\def\ext@figure{lot}
\makeatother
\renewcommand*\listtablename{List of Figures and Tables}
\renewcommand{\cftfigpresnum}{Figure~}
\renewcommand{\cftfigaftersnum}{:}
\setlength{\cftfignumwidth}{5.5em}
\renewcommand{\cfttabpresnum}{Table~}
\renewcommand{\cfttabaftersnum}{:}
\setlength{\cfttabnumwidth}{5.5em}
\begin{document}
\listoftables
\clearpage
\begin{figure}
\caption{A picture}
\end{figure}
\begin{table}
\caption{Numbers}
\end{table}
\begin{figure}
\caption{Another picture}
\end{figure}
\end{document}
Producción