{\contentslabel{0em}} %creates the space at the beginning and prints the section number
{\hspace*{0em}}
{}
와 같이 \titlecontents{section}대신 \titlecontents*{section}로 바꿔주니 section 제목이 한 줄로 나오는군요.
그나저나 \usepackage{tocloft}는 에러가 발생하지 않는데 \usepackage[title]{tocloft}는 "Option clash for package tocloft"오류가 발생하네요. 그래서 일단 제껴둔 상태인데 제 코드에 이 패키지와 안맞는게 있나요? 왜 에러가 발생하는지 모르겠습니다.
2번 문제는 해결했습니다.
\titlecontents*{section}
[4.8em]
{\sffamily\tiny}
{\contentslabel{0em}} %creates the space at the beginning and prints the section number
{\hspace*{0em}}
{}
와 같이 \titlecontents{section}대신 \titlecontents*{section}로 바꿔주니 section 제목이 한 줄로 나오는군요.
그나저나 \usepackage{tocloft}는 에러가 발생하지 않는데 \usepackage[title]{tocloft}는 "Option clash for package tocloft"오류가 발생하네요. 그래서 일단 제껴둔 상태인데 제 코드에 이 패키지와 안맞는게 있나요? 왜 에러가 발생하는지 모르겠습니다.