다음과 같은 방법으로 작성하는 방법은 무엇입니까?

다음과 같은 방법으로 작성하는 방법은 무엇입니까?

나는 \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의 예그리고 일치하는 패키지 문서를 통해 다음을 얻습니다.

kvijay시험과제

\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에서).

Wikibooks목록작업

관련 정보