Отступ текста по желанию

Отступ текста по желанию

Я хотел бы сделать отступ в тексте следующим образом:мойрис.png

Я пытался, но не смог найти хорошего решения. Любая помощь будет оценена...

решение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}

введите описание изображения здесь

Связанный контент