I would like to prepare an exam using exams2nops() function. However, I want to change margins in a questions section. I tried to modify the header argument in the exams2nops function to:
exams2nops(...header = "\\usepackage[margin=1cm]{geometry}"...)
however it only had an effect on a first page. I do not know how to solve that issue.