![使用 xlop 改进加法工作表](https://linux22.com/image/476131/%E4%BD%BF%E7%94%A8%20xlop%20%E6%94%B9%E8%BF%9B%E5%8A%A0%E6%B3%95%E5%B7%A5%E4%BD%9C%E8%A1%A8.png)
我有以下工作表,
\documentclass{article}
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage{enumitem}
\usepackage{tikz}
\usepackage{xlop}
\newcommand*{\DifficultyOne}{999}%
\newcommand*{\DifficultyTwo}{99}%
\newcounter{RandSeed}
\setcounter{RandSeed}{6} % choose an integer random seed for this build of problems and answers <<<<<
%% \OneXLine{<true or false>}{<result color>}
\newcommand{\OneXline}[2]{% one line of 8 problems, workings or answers
\hspace*{\fill}
\opadd[carryadd=#1, voperator=bottom, resultstyle=\color{#2}]{\AddOnea} {\AddTwoa} \hfill
\opadd[carryadd=#1, voperator=bottom, resultstyle=\color{#2}]{\AddOneb}{\AddTwob}
\hspace*{\fill}\\
}
\newcommand{\GenerateRandom}{% % \GenerateRandom
\pgfmathtruncatemacro{\AddOnea}{random(\DifficultyOne)}%
\pgfmathtruncatemacro{\AddTwoa}{random(\DifficultyTwo)}
\pgfmathtruncatemacro{\AddOneb}{random(\DifficultyOne)}%
\pgfmathtruncatemacro{\AddTwob}{random(\DifficultyTwo)}
}
%---------------------------------------%
\newcommand{\AddQuestion}[1]{%
\foreach \i in {1,...,#1}{%
\pgfmathsetseed{\i+\value{RandSeed}}
\GenerateRandom
\OneXline{false}{white}
~\newline
~\newline
}
\newpage% added <<<<<<<<<<
\foreach \i in {1,...,#1}{%
\pgfmathsetseed{\i+\value{RandSeed}}
\GenerateRandom
\OneXline{true}{white}
~\newline
}
\newpage% added <<<<<<<<<<
\foreach \i in {1,...,#1}{%
\pgfmathsetseed{\i+\value{RandSeed}}
\GenerateRandom
\OneXline{true}{black}
~\newline
}%
}%
\begin{document}
\AddQuestion{1} % number of lines of problems
\end{document}
是否可以使用 xlop 在第二页显示中间步骤?第二页不仅可以显示进位,还可以给出第一次加法和进位的答案,然后在第三页中显示总和?