수고하십니다.
\documentclass{article} \usepackage{tocloft} \setlength\cftsectionnumwidth{6pt} \begin{document} \tableofcontents \section{Test section one} \subsection{test section one one} \subsection{test section one two} \section{Test section two} \subsection{test section two one} \subsection{test section two two} \end{document}
위 코드를 돌렸을 때 3번째줄에서 Undefined control sequence. 에러가 뜹니다.
stackexchange에서 가져온 예제를 overleaf환경에서 실행시킨 것 인데 제가 아직 중학생이다 보니 latex가 숙련되지 않아 무엇이 문제인지 모르겠습니다.
오타도 아니고 분명 \cftsectionnumwidth라는 명령어가 있는걸로 알고있습니다만 ㅠ
도와주시면 감사하겠습니다
KTUG 한국 텍 사용자 그룹