与表格、tabularx 一起使用时缺少脚注

与表格、tabularx 一起使用时缺少脚注

我在用着fitthesis3 类我无法进入工作表 + tabularx + 脚注 + 脚注引用。

我努力了

但无论我做什么,脚注要么不显示在表格下方,要么只显示脚注参考编号??

最小工作示例:

\documentclass[
  digital, %% digital / printed
  final,   %% draft / final
  nocover, %% cover / nocover
  12pt,    %% 10pt/ 11pt / 12pt
  table,   %% Causes the coloring of tables. table / notable
  nolof,     %% Prints the List of Figures. lof / nolof
  nolot,     %% Prints the List of Tables. lot / nolot
  oneside, %% oneside / twoside (generally oneside)
  %% More options are listed in the user guide at
  %% <http://mirrors.ctan.org/macros/latex/contrib/fithesis/guide/mu/fi.pdf>.
]{fithesis3}
\usepackage[resetfonts]{cmap} %% We need to load the T2A font encoding
\usepackage[T1,T2A]{fontenc}  %% to use the Cyrillic fonts with Russian texts.
\usepackage[
  main=english,czech
]{babel}
\usepackage{paratype} %% For non-Latin scripts, it may be necessary to load additional fonts:
\def\textrussian#1{{\usefont{T2A}{PTSerif-TLF}{m}{rm}#1}}
%% The following section sets up the bibliography.
\usepackage{csquotes}
\usepackage[              %% When typesetting the bibliography, the
  backend=biber,          %% `numeric` style will be used for the
  style=numeric,          %% entries and the `numeric-comp` style
  citestyle=numeric-comp, %% for the references to the entries. The
  sorting=none,           %% entries will be sorted in cite order.
  sortlocale=auto,         %% For more unformation about the available
  urldate=iso8601,   %% US date formatting
  date=iso8601,
  block=ragged,
]{biblatex}               %% `style`s and `citestyles`, see:
%% <http://mirrors.ctan.org/macros/latex/contrib/biblatex/doc/biblatex.pdf>.
\setlength{\bibitemsep}{\baselineskip} %% Add empty space between bibliography entries

\usepackage{makeidx}      %% The `makeidx` package contains
\makeindex                %% helper commands for index typesetting.
%% These additional packages are used within the document:
\usepackage{paralist}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{enumitem}   %% description list
\setlist[description]{style=nextline}   %% description starts on a new line
\usepackage{url}
\usepackage{ragged2e}   %% raggedright in bibliography

\usepackage{hyperref}
\usepackage{tablefootnote}
\usepackage{scrextend}

%  Document Start
\begin{document}
\chapter{Introduction}
Start

\begin{table}
\begin{tabularx}{\textwidth}{| X | X | X | X | X |}
\hline
cell1 dummy text dummy text dummy text& cell2 & cell3\footnote{Global footnote\label{my-ref}} \\ \hline
cell7 & cell8 & cell9\tablefootnote{Global tablefootnote\label{my-ref-2}} \\ \hline
cell1 dummy text dummy text dummy text & cell5 & cell6\footref{my-ref-2} \\ \hline
cell1 dummy text dummy text dummy text& cell2 & cell3 \\ \hline
cell1 dummy text dummy text dummy text & cell5 & cell6 \\ \hline
cell7 & cell8 & cell9 \\ \hline
cell1 dummy text dummy text dummy text& cell2 & cell3 \\ \hline
cell1 dummy text dummy text dummy text & cell5 & cell6 \\ \hline
cell7 & cell8 & cell9 \\ \hline
cell1 dummy text dummy text dummy text& cell2 & cell3 \\ \hline
cell1 dummy text dummy text dummy text & cell5 & cell6 \\ \hline
cell7 & cell8 & cell9 \\ \hline
cell1 dummy text dummy text dummy text& cell2 & cell3 \\ \hline
cell1 dummy text dummy text dummy text & cell5 & cell6 \\ \hline
cell7 & cell8 & cell9 \\ \hline
\end{tabularx}
\caption{Table Caption.}
\label{my-table-reference}
\end{table}

\newpage
END

\end{document}

答案1

您可以尝试parnotes

 \documentclass[
  digital, %% digital / printed
  final,   %% draft / final
  nocover, %% cover / nocover
  12pt,    %% 10pt/ 11pt / 12pt
  table,   %% Causes the coloring of tables. table / notable
  nolof,     %% Prints the List of Figures. lof / nolof
  nolot,     %% Prints the List of Tables. lot / nolot
  oneside, %% oneside / twoside (generally oneside)
  %% More options are listed in the user guide at
  %% <http://mirrors.ctan.org/macros/latex/contrib/fithesis/guide/mu/fi.pdf>.
]{fithesis3}
\usepackage[resetfonts]{cmap} %% We need to load the T2A font encoding
\usepackage[T1,T2A]{fontenc}  %% to use the Cyrillic fonts with Russian texts.
\usepackage[
  main=english,czech
]{babel}
\usepackage{paratype} %% For non-Latin scripts, it may be necessary to load additional fonts:
\def\textrussian#1{{\usefont{T2A}{PTSerif-TLF}{m}{rm}#1}}
%% The following section sets up the bibliography.
\usepackage{csquotes}
\usepackage[              %% When typesetting the bibliography, the
  backend=biber,          %% `numeric` style will be used for the
  style=numeric,          %% entries and the `numeric-comp` style
  citestyle=numeric-comp, %% for the references to the entries. The
  sorting=none,           %% entries will be sorted in cite order.
  sortlocale=auto,         %% For more unformation about the available
  urldate=iso8601,   %% US date formatting
  date=iso8601,
  block=ragged,
]{biblatex}               %% `style`s and `citestyles`, see:
%% <http://mirrors.ctan.org/macros/latex/contrib/biblatex/doc/biblatex.pdf>.
\setlength{\bibitemsep}{\baselineskip} %% Add empty space between bibliography entries

\usepackage{makeidx}      %% The `makeidx` package contains
\makeindex                %% helper commands for index typesetting.
%% These additional packages are used within the document:
\usepackage{paralist}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{enumitem}   %% description list
\setlist[description]{style=nextline}   %% description starts on a new line
\usepackage{url}
\usepackage{ragged2e}   %% raggedright in bibliography

\usepackage{hyperref}
\usepackage{tablefootnote}
\usepackage{scrextend}
\usepackage[roman]{parnotes}


%  Document Start
\begin{document}
%\chapter{Introduction}
%Start

\begin{table}
\begin{tabularx}{\textwidth}{| X | X | X | X | X |}
\hline
cell1\parnote{Here is my first footnote} dummy text dummy text dummy text& cell2 & cell3\footnote{Global footnote\label{my-ref}} 
\\ \hline
cell7 & cell8\parnote{Here is my second footnote} & cell9\tablefootnote{Global tablefootnote\label{my-ref-2}} 
\\ \hline
cell1 dummy text dummy text dummy text & cell5 & cell6\footref{my-ref-2} 
\\ \hline
cell1 dummy text dummy text dummy text& cell2 & cell3 \\ \hline
cell1 dummy text dummy text dummy text & cell5 & cell6 \\ \hline
cell7 & cell8 & cell9 \\ \hline
cell1 dummy text dummy text dummy text& cell2 & cell3 \\ \hline
cell1 dummy text dummy text dummy text & cell5 & cell6 \\ \hline
cell7 & cell8 & cell9 \\ \hline
cell1 dummy text dummy text dummy text& cell2 & cell3 \\ \hline
cell1 dummy text dummy text dummy text & cell5 & cell6 \\ \hline
cell7 & cell8 & cell9 \\ \hline
cell1 dummy text dummy text dummy text& cell2 & cell3 \\ \hline
cell1 dummy text dummy text dummy text & cell5 & cell6 \\ \hline
cell7 & cell8 & cell9 \\ \hline
\end{tabularx}
\caption{Table Caption.}
\parnotes
\label{my-table-reference}
\end{table}

\newpage
END

\end{document}

如果你想要不同的编号,你可以尝试类似\parnote[1]{bla}

相关内容