# footnotemark and footnotetext work wrong in endfloat package

I want to use endfloat package to push all my fiugres and table at the end of the document like this (footnotes after end longtable.

But when i submit my latex file online (Scholarone manuscript) i get this result

Mydocument.tex

%any document class
\usepackage[nomarkers,nolists ]{endfloat}
\begin(document)

\begin{longtable}[!H]{lllllllll}
%my longtable here

\renewcommand{\footnoterule}{}
\footnotetext[1]{Teacher $\backslash$ pupils ratio (per school).}
\footnotetext[2]{Teacher $\backslash$ pupils quality (per school)}
\footnotetext[3]{Class size ratio(per school).}
\footnotetext[4]{Class size quality(per school).}
\footnotetext[5]{teacher $\backslash$ pupils quality per district.}
\footnotetext[6]{Class size quality per district.}
\end {longtable}

\end(document)

• BTW, the optional arguments for longtable are l (left), r (right) and c (center), not !H. See page 7 of the manual. Aug 11 '18 at 14:49

Normally you should place \footnotetext after longtable, but then endfloat would not move the source to the end. Instead you can create a wrapper environment for endfloat and put the longtable and \footnotetext both inside.

\documentclass{article}
\usepackage{longtable}
\usepackage[nomarkers,nolists ]{endfloat}
\usepackage{lipsum}

\newenvironment{wrapper}{}{}
\DeclareDelayedFloatFlavour*{wrapper}{table}

\begin{document}

\begin{wrapper}
\begin{longtable}[c]{lllllllll}
\endfoot
a & b & c & d & e & f & g & h & i
\end {longtable}
\footnotetext[1]{Teacher $\backslash$ pupils ratio (per school).}
\footnotetext[2]{Teacher $\backslash$ pupils quality (per school)}
\footnotetext[3]{Class size ratio(per school).}
\footnotetext[4]{Class size quality(per school).}
\footnotetext[5]{teacher $\backslash$ pupils quality per district.}
\footnotetext[6]{Class size quality per district.}
\end{wrapper}

\lipsum[1-4]
\end{document}

• thqnk youm but it's not working and still get the same preview (my footnote splti my longtable into two parts) Aug 11 '18 at 20:05
• I will post you the log file that generate online after upload my texfile Aug 11 '18 at 20:17
• MyLog : pastebin.com/raw/pmN1b63E Aug 11 '18 at 20:27
• Try deleting the .ttt file and running it again. There is no way the footnotes should appear until after the longtable is done (at least for version). Aug 11 '18 at 22:26
• i am just uploading my tex file online to a journal, and the system is compiling tex file to generate an article, and this happen online not in at desktop version Aug 12 '18 at 9:46