模版使用的自定义如下:
\NewDocumentCommand\FigMinipage{mO{n}m}{\setlength{\lFigWidth}{\WSBZC@TuKuanXiShu\linewidth}%
\settowidth\WSBZC@ltempTF{#1}%
\begin{minipage}[b]{\WSBZC@ltempTF}%
\setlength\lFigWidth{\linewidth}%
\ifteacher#1\else\ifblank{#2}{\smash{#1}}{#1}\fi%
\end{minipage}}%
\NewDocumentCommand\FigMinipageA{O{n}mm}{\setlength{\lFigWidth}{\WSBZC@TuKuanXiShu\linewidth}%
\settowidth\WSBZC@ltempTF{\includegraphics[width=\lFigWidth]{#2}}%
\begin{minipage}[b]{\WSBZC@ltempTF}%
\setlength\lFigWidth{\linewidth}%
\ifteacher\includegraphics[width=\lFigWidth]{#2}%
\else\ifblank{#1}{\smash{\includegraphics[width=\lFigWidth,align=t]{#2}}}{\includegraphics[width=\lFigWidth]{#2}}\fi%
\end{minipage}}%
插图时引用如下:
{\FigMinipage
{\includegraphics[width=\lFigWidth,align=t]{image/image166.png}}{78}}
望大神能回复一下,我考虑了几晚上,其实无力了