title: Not able to add footnote and caption below a table in Latex
body: <p>I am creating a table using tabularx package, and adding figtext and caption in the table package. I want both the footnote and the caption below the table, but as soon as I add a caption, the footnotes disappear. My code is as below:</p>
  <p>The main.tex file has the below code</p>
  <pre><code>\documentclass[12pt]{article}
  
  \usepackage{amssymb,amsmath,amsfonts,eurosym,geometry,ulem,graphicx,caption,color,setspace,sectsty,comment,footmisc,caption,pdflscape,subfigure,array,hyperref,booktabs,dcolumn,threeparttable, adjustbox,apacite,dirtytalk,multirow,tabularx,booktabs}
  
  \usepackage{ulem}
  
  \usepackage{float}
  \restylefloat{table}
  
  \begin{frame}
  \center
  \input{MangoShare}
  \label{mangoshare}
  \end{frame}
  </code></pre>
  <p>MangoShare.tex is the reference which is being called to the main.tex.</p>
  <pre><code>\begin{centre}
  \begin{table}[h!]
  \\[-1.8ex]\hline 
  \hline \\\\[-1.8ex] 
  %\renewcommand{\arraystretch}{1.8}
  \begin{tabularx}{1\textwidth}{&gt;{\raggedright\arraybackslash}X &gt;{\centering\arraybackslash}X &gt;{\centering\arraybackslash}X &gt;{\centering\arraybackslash}X &gt;{\centering\arraybackslash}X &gt;{\centering\arraybackslash}X &gt;{\centering\arraybackslash}X &gt;{\centering\arraybackslash}X}
  \small
  \\[-1.8ex]
  &amp; &amp; \multicolumn{6}{c}{Percentage Share} \\\\[-1.8ex]
  \cline{3-8} \\[-1.8ex]
                   &amp; &amp;\multicolumn{1}{c}{A} &amp;\multicolumn{1}{c}{B}   &amp;\multicolumn{1}{c}{C}   &amp;\multicolumn{1}{c}{D}   &amp;\multicolumn{1}{c}{E}  &amp;\multicolumn{1}{c}{F} \\
  \midrule
  \multicolumn{2}{l}{Mango} &amp; 0.58 &amp; 0.56 &amp; 0.92 &amp; 0.22 &amp; 0.72 &amp; 0.033 \\
  \tiny
  \end{tabularx}
  \hline 
  \hline %\\[-1.8ex]
  \figtext{\\[-1.8ex]\emph{Notes:} Controls Used} \\[-1.8ex]
  \caption{Mango Share}
  \end{table}
  \end{centre}
  </code></pre>
  <p>Any help on this front would be appreciated. Thanks a lot!</p>