객관식 문제와 구조화된 문제가 모두 포함된 시험을 만들고 있습니다. 논문을 편집할 때 총 점수에 객관식 질문의 점수가 포함되도록 객관식 질문에 자동으로 1점 또는 1점을 할당하려면 어떻게 해야 합니까?
이 코드를 사용하면 다음과 같은 결과를 얻습니다.
\documentclass[12pt,addpoints,answers]{exam}
\begin{document}
This exam has \numquestions\ questions, for a total of \numpoints\ points.
\begin{questions}
\question What is the function of nucleoli?
\begin{choices}
\choice the formation and breakdown of the nuclear envelope
\choice the formation of centromeres
\choice the formation of ribosomes
\choice the organisation of the spindle during nuclear division
\end{choices}
\question An actively growing cell is supplied with radioactive amino acids.\\
Which cell component would first show an increase in radioactivity? \\
\begin{oneparchoices}
\choice Golgi body
\choice mitochondrion
\choice nucleus
\choice rough endoplasmic reticulum
\end{oneparchoices}
\question \begin{parts}
\part There are 20 units of DNA in a cell during stage G2 of mitosis. Give the number of units of DNA you would expect to find in this cell
\begin{subparts}
\subpart[1] at prophase of mitosis; \fillwithdottedlines{0.25in}
\end{subparts}
\end{parts}
\end{questions}
\end{document}
답변1
기본 1점으로 수정하였으므로 부품별로 포인트를 할당하여 \question
사용하셔야 합니다 . \question[0]
인쇄 포인트를 억제하는 옵션을 찾을 수 없어서 \pointformat
하나를 만들곤 했습니다.
\documentclass[12pt,addpoints,answers]{exam}
\begin{document}
This exam has \numquestions\ questions, for a total of \numpoints\ points.
\begin{questions}
\let\normalquestion=\question
\renewcommand{\question}[2][1]{\normalquestion[#1]#2}
\pointformat{\hspace{-.5em}}
\question What is the function of nucleoli?
\begin{choices}
\choice the formation and breakdown of the nuclear envelope
\choice the formation of centromeres
\choice the formation of ribosomes
\choice the organisation of the spindle during nuclear division
\end{choices}
\question An actively growing cell is supplied with radioactive amino acids.\\
Which cell component would first show an increase in radioactivity? \\
\begin{oneparchoices}
\choice Golgi body
\choice mitochondrion
\choice nucleus
\choice rough endoplasmic reticulum
\end{oneparchoices}
\question[0] \begin{parts}
\part There are 20 units of DNA in a cell during stage G2 of mitosis. Give the number of units of DNA you would expect to find in this cell
\begin{subparts}
\subpart[1] at prophase of mitosis; \fillwithdottedlines{0.25in}
\end{subparts}
\end{parts}
\end{questions}
\end{document}