The primary purpose for this is to get the footnotes to have proper margins. For example,
Code: Select all
\begin{minipage}{\linewidth}
\begin{tabular}{l l}
\hline
Hello & world!\footnote{This is a long footnote that will overhang the table} \\
Hello & again! \\
\hline
\end{tabular}
\end{minipage}
\centering
inside the minipage, which would mean the footnote underruns both sides of the table. The only way I know of to do this "naturally" (i.e., with \footnote
and without using packages like 
With the new environment, the footnotes are always exactly the same as the width of the table itself (at least, they are after the second and subsequent runs). One can then apply centering (etc.) to the table, including footnotes, as a whole, which is typically what is desired. The result using the example above with this new environment (which I call "mptabular" for obvious reasons) produces the equivalent of
Code: Select all
\begin{minipage}{78.19461pt}
\begin{tabular}{l l}
\hline
Hello & world!\footnote{This is a long footnote that will overhang the table} \\
Hello & again! \\
\hline
\end{tabular}
\end{minipage}
The question I have is this: would this package be of interest to the community? If so, is it a duplication of something already out there, or does this functionality not yet exist?