我已经下载了这允许我在 LaTeX 文档中包含扑克牌符号的软件包。我遵循这安装新包,但我将包安装到了 中/usr/share/texmf-texlive/tex/latex/poker
。按照包内的文档,我尝试编译以下几行
\documentclass[11pt,twoside,a4paper]{article}
\usepackage{poker}
\begin{document}
\begin{cards}
\crdAs
\end{cards}
\end{document}
LaTeX 本地化了该包,但无法理解新命令
(/usr/share/texmf-texlive/tex/latex/txfonts/ot1txr.fd)
! Undefined control sequence.
<argument> \scaleboxto
(\pkr@pvw ,\pkr@pvh ){\pkr@col \sf \pkr@val }
l.5 \crdAs
返回奇怪的输出。我犯了什么错误吗?错误在哪里?
>latex --version
pdfTeX 3.1415926-1.40.10-2.2 (TeX Live 2009/Debian)
kpathsea version 5.0.0
Copyright 2009 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.2.46; using libpng 1.2.46
Compiled with zlib 1.2.3.4; using zlib 1.2.3.4
Compiled with poppler version 0.18.2