Is possible to use the solution template in exams2nops?

后端 未结 2 1951
故里飘歌
故里飘歌 2021-01-21 16:41

When I try to generate the exams\' solution with the exams2nops(...template="solution"...) I get the following error message:

Error in exam         


        
相关标签:
2条回答
  • 2021-01-21 17:13

    You cannot do that in one go, you need two runs after setting the same seed, e.g.,

    set.seed(1)
    exams2nops(my_exam)
    set.seed(1)
    exams2pdf(my_exam, template = "my_solution.tex")      
    

    You can use the solution.tex provided within the package as a starting point for my_solution.tex. But you may want to translate it to your natural language, use the name of your university, possibly insert a logo, add your actual exam name, possibly some into text etc. In exams2pdf() you need to add these things in the template LaTeX file directly.

    0 讨论(0)
  • 2021-01-21 17:20

    won't the template="solution" not work in the exams2pdf? Also, can we do something like:

    usepackage = "pdfpages", intro = intro2,... ?

    0 讨论(0)
提交回复
热议问题