빈 줄로 인해 시험 수업에서 들여쓰기 문제가 발생함

빈 줄로 인해 시험 수업에서 들여쓰기 문제가 발생함

시험 문서 수업에서 이상한 동작을 발견했습니다. 내가 달성하려는 것은 다음과 같은 형식입니다.

목표

그러나 빈 줄(아래 코드에 표시됨)을 추가하면 다음과 같은 형식이 적용됩니다. 여기에 이미지 설명을 입력하세요

\qformat이 동작을 수정하기 위해 변경할 수 있는 항목이 있습니까(아마도 에서 )?

\documentclass[a4paper]{exam}    
\begin{document}

\qformat{\thequestion \, \thequestiontitle \hfill}
\begin{questions}
\titledquestion{A question}
\begin{parts}
\part thing 1
\end{parts}
\titledquestion{Another question}
% remove the blank line below and the problem disappears 

\begin{parts}
\part thing 2
\end{parts}
\end{questions}
\end{document}

답변1

앞에 빈 줄을 추가하면 \titledquestion{Another question}원하는 출력을 얻을 수 있습니다.

관련 정보