4

I'm writing abook about Matlab and I do want to have two lists of tables; one of them for tables which are related to .m files and the other one list of tables which are related to other subjects. How can I do make these two lists of tables?

1 Answer 1

5

Use float or caption package to define two different type of floats.

Example:

\documentclass{article}
\usepackage{caption}
\DeclareCaptionType{mtable}[M Table][List of M Tables]
\begin{document}

\listoftables
\listofmtables

\begin{table}[ht]
foo
\caption{Foo A}
\end{table}
\begin{table}[ht]
foo
\caption{Foo B}
\end{table}

\begin{mtable}[ht]
bar
\caption{Bar A}
\end{mtable}
\begin{mtable}[ht]
bar
\caption{Bar B}
\end{mtable}

\end{document}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .