![带有动画的自定义棋盘](https://linux22.com/image/365023/%E5%B8%A6%E6%9C%89%E5%8A%A8%E7%94%BB%E7%9A%84%E8%87%AA%E5%AE%9A%E4%B9%89%E6%A3%8B%E7%9B%98.png)
答案1
您需要动画包(以及支持该包的 pdf 查看器)。例如
\documentclass[11pt, a4paper]{article}
\usepackage{xskak, chessboard}
\storechessboardstyle{3x5}{maxfield=e3,showmover=false}
\setchessboard{style=3x5}
\usepackage{animate}
\begin{document}
\begin{animateinline}[controls,loop]{1}
\chessboard[setblack={Na1}]
\newframe
\chessboard[setblack={Nb3}]
\newframe
\chessboard[setblack={Nc1}]
\newframe
\chessboard[setblack={Nd3}]
\newframe
\chessboard[setblack={Ne1}]
\newframe
\chessboard[setblack={Nc2}]
\end{animateinline}
\end{document}