![다음과 같은 방법으로 작성하는 방법은 무엇입니까?](https://rvso.com/image/353016/%EB%8B%A4%EC%9D%8C%EA%B3%BC%20%EA%B0%99%EC%9D%80%20%EB%B0%A9%EB%B2%95%EC%9C%BC%EB%A1%9C%20%EC%9E%91%EC%84%B1%ED%95%98%EB%8A%94%20%EB%B0%A9%EB%B2%95%EC%9D%80%20%EB%AC%B4%EC%97%87%EC%9E%85%EB%8B%88%EA%B9%8C%3F.png)
나는 \documentclass[12pt]{exam}
환경을 사용하고 있으며 다음과 같은 방식으로 작성하고 싶다고 가정합니다.
내가하는 일은 다음과 같습니다.
\documentclass[12pt]{exam}
\begin{document}
\begin{questions}
\question Find the value of each of the following funcitons:\par
(i) $y=a+b$\hspace{100pt}(ii) $f(x)=c+d$\par
(iii) $y=e+f$\hspace{90pt}(iv) $f(x)=g+h$\par
(v)$f(x)=i+j$\hspace{85pt}(v) $y=k+l$
\end{questions}
\end{document}
하지만 저는 이것이 적합하지 않다고 생각합니다. 원하는 출력을 내기 위해서는 많은 조정이 필요합니다. 그럼 제가 쓸 수 있는 정확한 방법이 없을까요? 또는 명령을 사용하는 것과 같이 \part
위의 방식으로 어떻게 작성할 수 있습니까?
답변1
다음 중 하나를 결합하면Wikibook의 예그리고 일치하는 패키지 문서를 통해 다음을 얻습니다.
\documentclass[12pt]{exam}
\usepackage{tasks}
\settasks{
counter-format=(tsk[r]),
label-width=4ex
}
\begin{document}
\begin{questions}
\question Find the value of each of the following funcitons:\par
(i) $y=a+b$\hspace{100pt}(ii) $f(x)=c+d$\par
(iii) $y=e+f$\hspace{90pt}(iv) $f(x)=g+h$\par
(v)$f(x)=i+j$\hspace{85pt}(v) $y=k+l$
\question Which one of the entries does not fit with the others?
\begin{tasks}(2)
\task mercury
\task iron
\task lead
\task zinc
\end{tasks}
\question Find the value of each of the following funcitons:
\begin{tasks}(2)
\task $y=a+b$ \task $f(x)=c+d$
\task $y=e+f$ \task $f(x)=g+h$
\task $f(x)=i+j$ \task $y=k+l$
\end{tasks}
\end{questions}
\end{document}
수업 의 대안은 exam
패키지를 사용하여 exsheets
시험지를 만드는 것입니다. 이미 언급한 Wikibook에서는 다음과 같은 출력을 얻기 위해 패키지와 함께 사용하는 간단한 예를 제공합니다 tasks
(Wikibook에서).