1

我需要在 minipage 环境中使用 \footnote,但它总是给出错误

命令 \itshape 在数学模式下无效。一个\脚注{

米是

\documentclass{cta-author}
\begin{document}

\begin{table}
\begin{minipage}{\columnwidth}
    \begin{tabular}{|c|c|}
        \hline
        Column 1 & Column2 \\
        a\footnote{footnote example} & b\\
        \hline
    \end{tabular}
\end{minipage}
\end{table}
\end{document}

Latex 类文件在这里

4

1 回答 1

2

您可以重新定义cta-author制作脚注标记的方式。而不是$^{...}$,使用\textsuperscript{...}

在此处输入图像描述

\documentclass{cta-author}

\makeatletter
\def\@makefnmark{\textsuperscript{\@thefnmark}}
\makeatother

\begin{document}

\begin{table}
  \begin{minipage}{\columnwidth}
    \begin{tabular}{|c|c|}
      \hline
      Column 1 & Column2 \\
      a\footnote{footnote example} & b \\
      \hline
    \end{tabular}
  \end{minipage}
\end{table}

% A possible work-around
\begin{table}
  \begin{tabular}{|c|c|}
    \hline
    Column 1 & Column2 \\
    a$^*$ & b \\
    \hline
  \end{tabular}

  \medskip

  \footnoterule

  {\itshape\footnotesize $^*$footnote example}
\end{table}

\end{document}

这是变通方法的视觉效果:

在此处输入图像描述

于 2017-06-28T00:53:07.913 回答