![\newpage 命令不会在 mcexam 中开始新页面](https://linux22.com/image/466183/%5Cnewpage%20%E5%91%BD%E4%BB%A4%E4%B8%8D%E4%BC%9A%E5%9C%A8%20mcexam%20%E4%B8%AD%E5%BC%80%E5%A7%8B%E6%96%B0%E9%A1%B5%E9%9D%A2.png)
该命令\newpage
不会在 中开始新页面mcexam
。我需要\begin{mcquestioninstruction}
从下一页开始,因为它与后面的问题无关。
更新: \newpage
现已插入后行\begin{mcquestioninstruction}
。这确实会按照需要将说明放在下一页上。
\documentclass[a4paper]{article}
\usepackage[output=exam
,numberofversions=2
,version=1
,seed=1
,randomizequestions=false
,randomizeanswers=true
,writeRfile=true
]{mcexam}
\usepackage{tikz,framed}
\usepackage{fancyhdr,lastpage}
\usepackage{tcolorbox}
\tcbuselibrary{skins}
\usepackage{chemformula}
\usepackage{chemmacros}
\usepackage{graphicx}
\usepackage{enumitem}
\usepackage{array}
\graphicspath{ {./images/} }
\hyphenpenalty=2000
\pagestyle{fancy}
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{1pt}
\lfoot{\mctheversion}
\rfoot{Page \thepage\ of \pageref{LastPage}}
\usepackage{calc}
\renewenvironment{setmcquestion}{\begin{minipage}[t]{\linewidth-\labelwidth}}{\end{minipage}\par}
\begin{document}
\mcifoutput{concept,exam}
\section*{}
\begin{mcquestions}
\question Question 1
\begin{mcanswerslist}[fixlast]
\answer [correct] answer 1
\answer answer 2
\answer answer 3
\answer answer 4
\end{mcanswerslist}
\begin{mcquestioninstruction}
\newpage
My instructions that must be at the top of the next page:
\end{mcquestioninstruction}
\question Question 2
\begin{mcanswerslist}%[fixlast]
\answer answer 1
\answer answer 2
\answer answer 3
\answer answer 4
\end{mcanswerslist}
\end{mcquestions}
\end{document}