Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

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}
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.