TexStudio 表格注释错误

TexStudio 表格注释错误

我在表格注释中发现一个错误。

这是我的桌子:

% Table generated by Excel2LaTeX from sheet 'BEKK'
\begin{table}[h]
\caption{BEKK estimates: Full Period}
\begin{center}
    \begin{threeparttable}
\begin{tabular}{rrr}
\toprule
Variables & Coefficient & T-Statistic \\
\midrule
\multicolumn{1}{l}{$\omega_{1}$} & 0.0086** & 10.4233 \\
\multicolumn{1}{l}{$\omega_{2}$} & 0.0014 & 0.7898 \\
\multicolumn{1}{l}{$\omega_{3}$} & -0.0012 & -0.3242 \\
\multicolumn{1}{l}{$\omega_{4}$} & 0.0124** & 4.6625 \\
\multicolumn{1}{l}{$\omega_{5}$} & 0.0149 **& 2.8992 \\
\multicolumn{1}{l}{$\omega_{6}$} & 0.0284** & 5.7328 \\
\multicolumn{1}{l}{$\beta_{1}$} & 0.9393** & 88.6428 \\
\multicolumn{1}{l}{$\beta_{2}$} & 0.9081** & 46.9686 \\
\multicolumn{1}{l}{$\beta_{3}$} & 0.8211** & 14.8787 \\
\multicolumn{1}{l}{$\alpha_{1}$} & 0.2444** & 7.6211 \\
\multicolumn{1}{l}{$\alpha_{2}$} & 0.4089** & 9.9248 \\
\multicolumn{1}{l}{$\alpha_{3}$} & 0.3615** & 7.1682 \\
      \bottomrule
\end{tabular}%
\begin{tablenotes}
Notes: Double asterisks (**) represent significance at the 1\% level.
\end{tablenotes}
\end{threeparttable}
\end{center}
\label{tab:bekk1}%
\end{table}%

我有以下所有软件包:

\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{textcomp}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage{booktabs}
\usepackage{threeparttable}

\usepackage{pdflscape}
\usepackage{makeidx}
\usepackage{multirow}
\usepackage{multicol}

\usepackage{longtable}

答案1

我不太清楚threeparttable ,但看起来这tablenotes是一个列表类型的环境,因此你需要其中一个或多个\item。因此,使用

\begin{tablenotes}
\item Notes: Double asterisks (**) represent significance at the 1\% level.
\end{tablenotes}

在此处输入图片描述

\documentclass{article}
\usepackage{booktabs}
\usepackage{threeparttable}

\begin{document}
\begin{table}
\caption{BEKK estimates: Full Period}
\begin{center}
    \begin{threeparttable}
\begin{tabular}{rrr}
\toprule
Variables & Coefficient & T-Statistic \\
\midrule
\multicolumn{1}{l}{$\omega_{1}$} & 0.0086** & 10.4233 \\
\multicolumn{1}{l}{$\omega_{2}$} & 0.0014 & 0.7898 \\
\multicolumn{1}{l}{$\omega_{3}$} & -0.0012 & -0.3242 \\
\multicolumn{1}{l}{$\omega_{4}$} & 0.0124** & 4.6625 \\
\multicolumn{1}{l}{$\omega_{5}$} & 0.0149 **& 2.8992 \\
\multicolumn{1}{l}{$\omega_{6}$} & 0.0284** & 5.7328 \\
\multicolumn{1}{l}{$\beta_{1}$} & 0.9393** & 88.6428 \\
\multicolumn{1}{l}{$\beta_{2}$} & 0.9081** & 46.9686 \\
\multicolumn{1}{l}{$\beta_{3}$} & 0.8211** & 14.8787 \\
\multicolumn{1}{l}{$\alpha_{1}$} & 0.2444** & 7.6211 \\
\multicolumn{1}{l}{$\alpha_{2}$} & 0.4089** & 9.9248 \\
\multicolumn{1}{l}{$\alpha_{3}$} & 0.3615** & 7.1682 \\
      \bottomrule
\end{tabular}%
\begin{tablenotes}
\item Notes: Double asterisks (**) represent significance at the 1\% level.
\end{tablenotes}
\end{threeparttable}
\end{center}
\label{tab:bekk1}%
\end{table}%
\end{document}    

相关内容