我正在写一些笔记,当我添加图形标题时出现以下错误:
Illegal parameter number in definition of reservad@a
<to be read again>
\crcr
这是代码:
\documentclass[12pt]{article}
\usepackage{amsmath, amssymb, graphicx, tikz}
\begin{document}
\begin{figure}
\centering
\includegraphics[width=.7\textwidth]{pic.png}
\caption{\overrightarrow{\mathbf{AB}}}\label{some-label}
\end{figure}
\end{document}