[Tex/LaTex] How to add notes ABOVE a table in latex

notestables

I need to write a paper with the style of Jounal of Finance. I am having problems when trying to create a table with notes at the beggining. Here I attach a picture of how the table should look like:

enter image description here

I hope you could help me with the code. Thanks

Code:

\begin{table}[h!] 
\centering 
\begin{threeparttable} 
\caption{} \label{Table1}{\textbf{Descriptive Statistics for the Industry. 2007 - 2017}} 
\begin{tablenotes} 
\small 
\item Text here 
\end{tablenotes} 
\begin{tabular}{lcccc} 
.... 
\end{tabular} 
\end{threeparttable} 
\end{table}

Best Answer

I think threeparttable is messing you up. Remove it and just write under the label or under the caption, whichever it is you prefer.

\documentclass{article}
\usepackage{booktabs,caption}
%\usepackage{threeparttable}
\begin{document}

\begin{table}[h!] 
\centering 
\caption{Sample ANOVA table}
write here option 1 \\
\label{Table1}{\textbf{Descriptive Statistics for the Industry. 2007 - 2017}} \\
write here option 2 \\
\begin{tabular}{lcccc}
        \toprule
        Stubhead & \( df \) & \( f \) & \( \eta \) & \( p \) \\
        \midrule
                 &     \multicolumn{4}{c}{Spanning text}     \\
        Row 1    & 1        & 0.67    & 0.55       & 0.41    \\
        Row 2    & 2        & 0.02    & 0.01       & 0.39    \\
        Row 3    & 3        & 0.15    & 0.33       & 0.34    \\
        Row 4    & 4        & 1.00    & 0.76       & 0.54    \\
        \bottomrule
     \end{tabular}  
\end{table}

\end{document}

enter image description here