The pinyinscope
environment of the xpinyin
package adds pinyin annotations to all Chinese characters therein, including those that appear in the footnote.
Is it possible to suppress pinyin annotation for footnotes inside a pinyinscope
environment (or inside an \xpinyin*
command)?
My current work around is to use the \footnotemark
+\footnotetext
combination. But this is hardly efficient when there are a lot of footnotes to be entered.
MWE
\documentclass{article}
\usepackage[UTF8]{ctex}
\usepackage{xpinyin}
\begin{document}
\begin{pinyinscope}
文字文字文字\footnote{腳註\ inside \texttt{pinyinscope}}
\end{pinyinscope}
\begin{pinyinscope}
文字文字文字\footnotemark % work-around
\end{pinyinscope}
\footnotetext{腳註\ using \texttt{\string\footnotemark} and \texttt{\string\footnotetext}}
\end{document}