註腳與 mathalfa 衝突

註腳與 mathalfa 衝突

這是我的最小工作範例(在 PDFLaTeX 中):

\documentclass[12pt]{article} \usepackage{amsmath, amsthm, amssymb, geometry, setspace} \usepackage[frak=esstix]{mathalfa} \usepackage{hyperref} \title{Title} \author{Author} \date{\today} \setstretch{1.2} \begin{document} \maketitle $\mathfrak{G}$\footnote{This is footnote}.$\mathfrak{G}$ \end{document}

第一個\mathfrak{G}看起來不錯,但第二個則不然。看來任何\mathfrak之後都\footnote無法正確處理。如果我們刪除該mathalfa包,則不會發生錯誤。但這不是我想要的。我嘗試了很多,但所有嘗試都失敗了。任何幫助表示讚賞。

答案1

您應該加載mathalfa之前的amsmath.以下程式碼非常適合我:

\documentclass[12pt]{article} 
\usepackage[frak=esstix]{mathalfa} 
\usepackage{amsmath, amsthm, amssymb, geometry, setspace} 
\usepackage{hyperref} 
\title{Title} 
\author{Author} 
\date{\today} 
\setstretch{1.2} 
\begin{document} 
\maketitle 
$\mathfrak{G}$\footnote{This is footnote}.$\mathfrak{G}$ 
\end{document}

相關內容