Haga coincidir el ancho de la nota al pie de la minipágina con el entorno de la tabla en la que se encuentra

Haga coincidir el ancho de la nota al pie de la minipágina con el entorno de la tabla en la que se encuentra

He colocado notas de mesa dentro de un \minipageambiente, dentro de un \tableambiente. Quiero entregar el \minipageargumento de ancho de modo que coincida con cualquier ancho arbitrario del \tableen el que se encuentra.

MWE:

\documentclass[12pt]{article}
\usepackage{booktabs}
\begin{document}
    \begin{table}
        \centering
        \begin{tabular}{l*{4}{c}}
            \toprule
            & (1) & (2) & (3) & (4) \\
            \midrule
            Outcome & 0.057 & 0.066 & 0.054 & 0.051 \\
            & (0.025) & (0.032) & (0.041) & (0.028) \\
            \bottomrule
        \end{tabular}
        \begin{minipage}{\linewidth}
%       \begin{minipage}{\textwidth} -- what should go in this width argument?
            \footnotesize \textit{This is my footnote explaining the table. I would like to substitute something in for minipage's width argument such that this minipage footnote will have the same width as the table in whose environment it sits. }
        \end{minipage}
    \end{table}
Here's some text just to show how wide a paragraph is for comparison. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
\end{document}

Captura de pantalla:

Captura de pantalla de una tabla con una nota al pie demasiado ancha

Ya lo probé linewidthy \textwidth, con resultados idénticos. Si existe una configuración mejor para lograr mi objetivo que no implique minipage, me alegra escucharla, pero debería ser compatible tabularsi es posible.

Mi tabla se produce mediante el esttabcomando de Stata. No creo que eso deba afectar la respuesta, pero la menciono en caso de que ayude a otros usuarios de Stata que buscan la misma pregunta.

Respuesta1

Con la ayuda del threeparttablepaquete:

ingrese la descripción de la imagen aquí

\documentclass[12pt]{article}
\usepackage{booktabs}
\usepackage{threeparttable}
\begin{document}
    \begin{table}
        \centering
        \begin{threeparttable}
            \begin{tabular}{l*{4}{c}}
                \toprule
                  & (1) & (2) & (3) & (4) \\
                \midrule
                Outcome & 0.057 & 0.066 & 0.054 & 0.051 \\
                & (0.025) & (0.032) & (0.041) & (0.028) \\
                \bottomrule
            \end{tabular}
            \begin{tablenotes}[flushleft]
                \setlength\labelsep{0pt}
                \footnotesize 
                \itshape
                \item This is my footnote explaining the table. I would like to substitute something in for minipage's width argument such that this minipage footnote will have the same width as the table in whose environment it sits. 
            \end{tablenotes}
        \end{threeparttable}
    \end{table}
Here's some text just to show how wide a paragraph is for comparison. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
\end{document}

\end{document}

información relacionada