다음과 같이 텍스트를 들여쓰고 싶습니다.
시도했지만 이에 대한 좋은 해결책을 찾지 못했습니다. 어떤 도움이라도 감사하겠습니다 ...
답변1
환경 을 이용하고 싶습니다 description
.
\documentclass{book}
\begin{document}
\mainmatter
\chapter{Introduction}
Something to tell what this book is about. Now we
describe the contents of each chapter.
\begin{description}
\item[Chapter 2] deals with gnus, big animals rarely found in Arctic
regions, but that frequently plague silly text examples like this.
Note that gnus are not to be confused with gnats, that are much
smaller animals; enough of this silliness to fill up more than
two lines.
\item[Chapter 3] deals with reindeer, big animals that live in
cold countries and that are very important in this time of the year.
We'll tell how to possibly see reindeer, by remaining awake all the
night between 24 and 25 December.
\end{description}
Something more about the text.
\end{document}
설명 목록을 사용자 정의할 수 있습니다. 이 경우 enumitem
패키지를 권장합니다. 예제에서는 들여쓰기가 일반 단락 들여쓰기와 동일하게 설정되어 있습니다.
\documentclass{book}
\usepackage{enumitem}
\begin{document}
\mainmatter
\chapter{Introduction}
Something to tell what this book is about. Now we
describe the contents of each chapter.
\begin{description}[leftmargin=\parindent]
\item[Chapter 2] deals with gnus, big animals rarely found in Arctic
regions, but that frequently plague silly text examples like this.
Note that gnus are not to be confused with gnats, that are much
smaller animals; enough of this silliness to fill up more than
two lines.
\item[Chapter 3] deals with reindeer, big animals that live in
cold countries and that are very important in this time of the year.
We'll tell how to possibly see reindeer, by remaining awake all the
night between 24 and 25 December.
\end{description}
Something more about the text.
\end{document}