KTUG 한국 텍 사용자 그룹

Menu

KTUG :: Q&A 마당 › article class에서 Toc section number와 section 간 spacing 조정

jack.p78928 | 2022.02.07 00:41:17 | 메뉴 건너뛰기 쓰기

수고하십니다.

\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라는 명령어가 있는걸로 알고있습니다만 ㅠ

도와주시면 감사하겠습니다

댓글 [6]

댓글 쓰기

목록 삭제

KTUG 한국 텍 사용자 그룹