
Latexテンプレートに脚注を挿入したら、突然このように表示される
私がしたのはただ書くことだけだった
...as a crossed product\footnote{...}
なぜそこに右括弧だけが表示されるのか本当にわかりません。どうすれば削除できますか?
私が使用している .cls ファイルには、このコードが含まれている Footnotes というセクションがあります。
%-----------%
% 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