I am trying to compile a longtable with table notes, but I am getting an error with the codes below:
\begin{landscape}
\thispagestyle{empty}
\begin{threeparttable}
\begin{longtable}{|c|c|c|c|c|c|c|}
\toprule
\midrule
some table
\bottomrule
\begin{tablenotes}[para,flushleft]
TS: The time span of relevant measurement.
No: The number of measurements, those are given for the ease to refer the measurement, therefore they are not the arrangement of the measurements.
\end{tablenotes}
\end{threeparttable}
\end{longtable}
\end{landscape}
and the error is:
! You can't use `\prevdepth' in restricted horizontal mode.
\TPTdoTablenotes ->\par \prevdepth
\z@ \TPT@hsize \TPTnoteSettings \parinden...
l.231 \begin{tablenotes}[para,flushleft]
finally my preamble:
\usepackage{epstopdf}
\usepackage{cite}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{siunitx}
\usepackage{booktabs,caption,fixltx2e}
\usepackage{threeparttable}
\usepackage[fleqn]{mathtools}
\usepackage{float}
\usepackage{bigints}
\usepackage{cleveref}
\usepackage{lscape}
\usepackage{longtable}
A MWE:
\documentclass[12pt]{article}
\usepackage{epstopdf}
\usepackage{cite}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{siunitx}
\usepackage{booktabs,caption,fixltx2e}
\usepackage{threeparttable}
\usepackage[fleqn]{mathtools}
\usepackage{float}
\usepackage{bigints}
\usepackage{cleveref}
\usepackage{lscape}
\usepackage{longtable}
\begin{document}
\begin{landscape}
\thispagestyle{empty}
\begin{threeparttable}
\begin{longtable}{|c|c|c|c|c|c|c|}
\caption{Adsorption and desorption measurement characteristics of MFU4.Br-1 and MFU4.Br-2.} \label{tab:meacon} \\
some table
\begin{tablenotes}[para,flushleft]
TS: The time span of relevant measurement.
No: The number of measurements, those are given for the ease to refer the measurement, therefore they are not related with the arrangement of the measurements.
\end{tablenotes}
\end{threeparttable}
\end{longtable}%
\end{landscape}
\end{document}