我不明白为什么脚注在这里不起作用
\documentclass[JMC]{degruyter-journal} % Journal of Mathematical Cryptology
% https://svn.kwarc.info/repos/arXMLiv/trunk/sty/degruyter-journal_2.cls
\usepackage{bm}
\usepackage{listings}
\lstset{
language=C,
basicstyle=\ttfamily,
mathescape,
morekeywords={append,to},
escapechar=\%
}
\firstpage{1}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage[OT1]{eulervm}
\newtheorem {exam}{Example}
%\newcommand{\qed}{\hfill$\blacksquare$}
\setlength{\parskip}{1.5mm}
\renewcommand{\theequation}{\thesection.\arabic{equation}}
%\pagestyle{empty}
%\font\euler=eurm10
\newcommand{\MST}{\mbox{$MST_3$}}
\newcommand{\G}{\mbox{$\cal{G}$}}
\newcommand{\HH}{\mbox{$\cal{H}$}}
\newcommand{\C}{\mbox{$\cal{C}$}}
\newcommand{\J}{\mbox{$\cal{J}$}}
\newcommand{\ZZ}{\mbox{$\cal{Z}$}}
\newcommand{\BB}{\mbox{$\cal B$}}
\newcommand{\M}{\mbox{$\cal M$}}
\newcommand{\CI}{\mbox{$\cal I$}}
\newcommand{\K}{\mbox{$\cal K$}}
\newcommand{\CS}{\mbox{$\cal S$}}
\newcommand{\GL}{\mbox{$\mathsf{GL}$}}
\newcommand{\GF}{\mbox{${\mathbb F}$}}
\newcommand{\N}{\mbox{${\mathbb N}$}}
\newcommand{\Z}{\mbox{${\mathbb Z}$}}
\newcommand{\R}{\mbox{${\mathbb R}$}}
\newcommand{\X}{\mbox{${\cal X}$}}
%\pagestyle{empty}
\setlength{\parskip}{2mm}
\setlength{\parindent}{4mm}
%\setlength{\textheight}{9.5in} \setlength{\textwidth}{6.5in}
%\addtolength{\topmargin}{-0.75in}
%\addtolength{\oddsidemargin}{-0.4in}
\renewcommand{\tabcolsep}{4pt}
\usepackage{mathtools}
%\usepackage{footnote}
\usepackage{multirow}
\usepackage{caption}
\newcommand{\breakline}{\\}
\newcommand{\algline}{\line(0,1){8}\line(1,0){65}}
\newcommand{\algorithmend}{\vspace{-4mm}\noindent\algline\\\vspace{-2mm}}
\newcommand{\algorithmendnoitem}{\par\vspace{-1mm}\noindent\algline\\}
\newcommand{\skipbeforealgorithm}{\vspace{2mm}}
\newcommand{\skipafteralgorithm}{\vspace{-1.5mm}\noindent}
\newcommand{\skipbeforesection}{\vspace{1mm}}
\doi{xxx}
\communicated{xxx}
\received{xxx}
\revised{xxx}
%
%
\title{gggg}
\headlinetitle{hhh}
\lastnameone{ L}
\firstnameone{Y}
\nameshortone{Y L}
\addressone{State }
\countryone{H }
\emailone{[email protected]}
\abstract{
In this paper\footnote{footnotes working fine}
}
\begin{document}
\section{Introduction}
\end{document}
答案1
最终,您的文档将以与以下最小示例类似的方式失败:
\documentclass{article}
\usepackage{ifthen}
\def\test{\footnote{test}}
\begin{document}
test is \ifthenelse{\equal{\test}{}}{}{not }blank.
\end{document}
归根结底就是ifthen
测试空白参数。您需要在以下情况下展开\protect
:\footnote
\abstract{%
In this paper\protect\footnote{footnotes working fine}...
}