從腳註中刪除右括號

從腳註中刪除右括號

我在Latex模板中插入腳註,它突然像這樣顯示

註腳

我所做的就是寫

...as a crossed product\footnote{...}

我真的不知道為什麼它只顯示一個右括號。我該如何刪除它?

在我使用的 .cls 檔案中,有一個名為「腳註」的部分,其中包含此程式碼。

%-----------%
% Footnotes %
%-----------%

%% The \vfill forces footnotes to the bottom of the page,
%% which is necessary since \raggedbottom is in effect.
%% 30mm is the width of the line.
\renewcommand\footnoterule{%
  \kern-3\p@ \vfill
  \hrule width 30mm
  \kern2.6\p@}

\newcommand\xxfntext{%
  \long\def\@makefnmark{\mbox{\textsuperscript{\normalfont\@thefnmark)}}}
  \long\def\@makefntext##1{%
    \parindent\XxIndent
    \makebox[1.2em][l]{\@makefnmark}##1}
}

\xxfntext

答案1

您使用的類別\long\def\@makefnmark{\mbox{\textsuperscript{\normalfont\@thefnmark)}}}中的行包含一個導致您不需要的輸出的行。由於您不希望更改類別本身中的命令定義,.cls).cls坎帕的建議可能是最好的選擇:在您自己的文件中重新定義命令並忽略有問題的)

\makeatletter
\renewcommand\xxfntext{%
  \long\def\@makefnmark{\mbox{\textsuperscript{\normalfont\@thefnmark}}}
  \long\def\@makefntext##1{%
    \parindent\XxIndent
    \makebox[1.2em][l]{\@makefnmark}##1}
}
\makeatother

相關內容