我想在演示文稿中使用一些 ams 符号,如箭头或其他类型的符号。当我使用命令 \ding 和相关代码显示符号时,我在编译过程中收到错误:
! Undefined control sequence.
\beamer@doifinframe ...ne & n. \\ \midrule A\ding
{221}B\ding {221}C\ding {2...
l.40 \end{frame}
The control sequence at the end of the top line
of your error message was never \def'ed
我的代码是:
\documentclass[xcolor=table, t]{beamer}
\usepackage{booktabs}
\usepackage{tikz}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\title{my presentation}
\author{name}
\begin{document}
\begin{frame}
\maketitle
\end{frame}
\begin{frame}
\frametitle{title}
\begin{table}[]%\footnotesize
\centering
\medskip
\begin{tabular}{lr}
\toprule
Transizione & n. \\
\midrule
A\ding{221}B\ding{221}C\ding{221}A & 54 \\
D\ding{221}C\ding{221}B\ding{221}C\ding{221}D & 30 \\
D\ding{221}C\ding{221}B\ding{221}C & 23 \\
\bottomrule
\end{tabular}
\end{table}
\end{frame}
\end{document}
先谢谢您的帮助
答案1
\usepackage{pifont}
没有 ams 符号