xepersian 中的脚注问题:“未定义控制序列 \small By me\footnote”

xepersian 中的脚注问题:“未定义控制序列 \small By me\footnote”

我在使用包时遇到问题xepersian。当我使用脚注时,它会出现错误Undefined control sequence \end ,但没有xepersian它,它就可以正常工作。

我使用 MiKTeX 2.9


这是代码

    \documentclass[]{article}
    \usepackage{graphicx}
    \usepackage{xepersian}
    \begin{document}
    \begin{center}

    \includegraphics{../Pictures/tehran}

    \huge This is My First work!

    \small By me\footnote{dfgdtjk}
    \end{center}
    \end{document}

这是错误

    Undefined control sequence \small By me\footnote{
    Undefined control sequence \small By me\footnote{
    Undefined control sequence \small By me\footnote{
    Undefined control sequence \small By me\footnote{
    Undefined control sequence \small By me\footnote{
    Undefined control sequence \small By me\footnote{
    Undefined control sequence \small By me\footnote{
    Undefined control sequence \small By me\footnote{
    Undefined control sequence \small By me\footnote{
    Undefined control sequence \small By me\footnote{
    Undefined control sequence \small By me\footnote{
    Undefined control sequence \small By me\footnote{
    Undefined control sequence \small By me\footnote{
    Undefined control sequence \small By me\footnote{dfgdtjk}
    Undefined control sequence \small By me\footnote{dfgdtjk}
    Undefined control sequence \small By me\footnote{dfgdtjk}
    Undefined control sequence \small By me\footnote{dfgdtjk}
    Undefined control sequence \small By me\footnote{dfgdtjk}
    Undefined control sequence \small By me\footnote{dfgdtjk}
    Undefined control sequence \small By me\footnote{dfgdtjk}
    Undefined control sequence \small By me\footnote{dfgdtjk}
    Undefined control sequence \small By me\footnote{dfgdtjk}
    Undefined control sequence \small By me\footnote{dfgdtjk}
    Undefined control sequence \small By me\footnote{dfgdtjk}
    Undefined control sequence \small By me\footnote{dfgdtjk}
    Undefined control sequence \small By me\footnote{dfgdtjk}
    Undefined control sequence \end{document}
    Overfull \hbox (0.99916pt too wide) in paragraph
    Overfull \hbox (172.67282pt too wide) in paragraph

答案1

当我添加时,示例似乎可以工作\let\Umathcode\XeTeXmathcode \let\Umathchardef\XeTeXmathchardef。也许该包应该进行适当的测试,以避免与旧引擎发生冲突。

相关内容