Bulleted and numbered lists · Маркированные и нумерованные списки
Bulleted lists
- A bulleted list is an environment — it opens with
\beginand closes with\end:
- Every entry starts with
\item. The bullets and spacing are handled for you.
Маркированные списки
- Маркированный список — это окружение: оно открывается
\beginи закрывается\end:
\begin{itemize}
\item First thing
\item Second thing
\end{itemize}
- Каждый пункт начинается с
\item. Маркеры и отступы обрабатываются автоматически.
Numbered lists
- Want 1, 2, 3 instead of bullets? Use
enumerate— everything else is the same:
- The numbers are automatic, so you can reorder items freely.
Нумерованные списки
- Хотите 1, 2, 3 вместо маркеров? Используйте
enumerate— всё остальное остаётся прежним:
\begin{enumerate}
\item Wake up
\item Have breakfast
\end{enumerate}
- Нумерация автоматическая, поэтому элементы можно свободно переставлять.
Lists inside lists
- Put a list inside an
\itemto make sub-points. LaTeX indents them and changes the bullet style. - Now try turning a few lines into a tidy bulleted list.
Списки внутри списков
- Поместите список внутрь
\item, чтобы создать подпункты. LaTeX автоматически делает отступ и меняет стиль маркера. - Теперь попробуйте превратить несколько строк в аккуратный маркированный список.
Common mistakes
- Use
itemizefor bullets andenumeratefor numbers; each entry starts with\item. - Close the list with
\end{itemize}(orenumerate).
Распространенные ошибки
- Используйте
itemizeдля маркеров списка иenumerateдля нумерации; каждая запись начинается с\item. - Закройте список с помощью
\end{itemize}(илиenumerate).
Turn the three foods into a bulleted list. Wrap them in \begin{itemize} … \end{itemize} and put \item before each one. · Превратите три продукта в маркированный список. Оберните их в \begin{itemize} … \end{itemize} и добавьте \item перед каждым пунктом.
Order matters here, so use a numbered list. Wrap the three steps in \begin{enumerate} … \end{enumerate} with an \item before each. LaTeX numbers them 1, 2, 3 for you. · Здесь важен порядок, поэтому используйте нумерованный список. Оберните три шага в \begin{enumerate} … \end{enumerate}, добавляя \item перед каждым. LaTeX автоматически пронумерует их 1, 2, 3.