I use longtable for building tables in my text works & caption in the bottom. I like this multipage table environnement. But sometime, I see a problem : awful ! My caption is mixed with footnotes…
An exemple in my context, you can see the 7th footnote & the caption mixed :
Here, a minimal exemple code :
% !TEX encoding = UTF-8 Unicode
% !TEX TS-program = arara
\documentclass{scrbook}
\usepackage{lipsum}
\usepackage{longtable}
\usepackage{caption}\captionsetup[table]{name=\scshape Tableau, position=bottom}
\usepackage{tabularx}
\usepackage{multicol}
\usepackage{footnote}
\begin{document}
\lipsum[1]\footnote{\lipsum[2]}
\begin{longtable}{|c|c|c|c|}
\hline W&X&Y&Z\\\hline\endfirsthead
\hline W&X&Y&Z\\\hline\multicolumn{4}{|l|}{\emph{suite}}\\\hline\endhead
\hline\multicolumn{4}{|r|}{\emph{suite}}\\\hline\caption[]{Test}\\\endfoot
\caption{Test}\label{tab:test}\\\endlastfoot
A\footnote{ABCD}&B&C&D\\\hline
A\footnote{\lipsum[4]}&B&C&D\\\hline
A&B&C&D\\\hline
A&B&C&D\\\hline
A&B&C&D\\\hline
A&B&C&D\\\hline
A&B&C&D\\\hline
A&B&C&D\\\hline
A&B&C&D\\\hline
A&B&C&D\\\hline
A&B&C&D\\\hline
A&B&C&D\\\hline
A&B&C&D\\\hline
A&B&C&D\\\hline
A&B&C&D\\\hline
A&B&C&D\\\hline
A&B&C&D\\\hline
A&B&C&D\\\hline
A&B&C&D\\\hline
A&B&C&D\\\hline
A&B&C&D\\\hline
\end{longtable}
\end{document}
% arara: xelatex
% arara: xelatex
Some solution ? Thanks for your help.
babel
&\addto\captionsfrench{\def\tablename{\textsc{Tableau}}}