How can I configure longtable in table environment such that it creates tables with normal numbering rather than just even-numbered tables as shown below.
The code snippet I used is shown below.
Code: Select all
\documentclass{book}
\usepackage{longtable}
\usepackage{multido}
\begin{document}
\multido{\i=1+1}{10}{
\begin{table}
\begin{longtable}[\linewidth]{l}
x
\end{longtable}
\caption{caption \i}
\end{table}
}
\end{document}
Thank you in advance.
Yuko