시험 수업에서 확인란의 들여쓰기를 줄이고 싶습니다.

시험 수업에서 확인란의 들여쓰기를 줄이고 싶습니다.

확인란의 들여쓰기가 너무 큽니다. 질문의 첫 글자에 맞춰 정렬하고 싶습니다.

\documentclass[11pt,a4paper,addpoints]{exam} 
\usepackage[utf8]{inputenc} 
\usepackage{amsmath} 
\usepackage{geometry} 
\geometry{margin=1in} 
\usepackage[dutch]{babel}
\usepackage{amssymb} 
\pointpoints{punt}{punten}
\pointsinmargin 
\boxedpoints
\begin{document}
\checkboxchar{$\Box$}
\begin{questions}
\question[1] Een brekingsindex wordt uitgedrukt in
\begin{checkboxes}
\choice Graden
\choice Graden/meter
\CorrectChoice Heeft geen eenheid
\end{checkboxes}
\end{questions}
\end{document}

여기에 이미지 설명을 입력하세요

답변1

examcheckboxes라는 환경 에 대한 후크를 제공합니다 \checkboxeshook. 이를 통해 checkboxes전체 환경을 재정의할 필요 없이 환경이 호출되기 직전에 환경 에 변경 사항을 삽입할 수 있습니다 . 아래에서는 왼쪽 여백에 추가된 수평 건너뛰기를 제거하여 들여쓰기를 상당히 많이 \labelsep했습니다 . 2.5em아마도 이 제거만으로 충분할 것입니다.

여기에 이미지 설명을 입력하세요

\documentclass{exam}
\usepackage{amsmath,amssymb}
\usepackage[margin=1in]{geometry}

\pointpoints{punt}{punten}
\pointsinmargin 
\boxedpoints

\renewcommand{\checkboxeshook}{%
  \settowidth{\leftmargin}{W.}% Included an additional \labelsep + 2.5em skip (now removed)
  \labelwidth\leftmargin\advance\labelwidth-\labelsep%
}

\begin{document}
\checkboxchar{$\Box$}
\begin{questions}
  \question[1] Een brekingsindex wordt uitgedrukt in
  \begin{checkboxes}
    \choice Graden
    \choice Graden/meter
    \CorrectChoice Heeft geen eenheid
  \end{checkboxes}
\end{questions}
\end{document}

관련 정보