
Я использую встроенный enumitem с маркерами, но я бы хотел, чтобы маркера не было перед первым элементом. После прочтения руководства я попробовал следующее, но оно все равно оставляет нежелательный пробел перед первым элементом. Я пытался устранить это, установив labelsep на 0, но это не дало эффекта. Есть ли хороший способ сделать это?
Минимальный (не)рабочий пример:
\documentclass[]{article}
\usepackage[inline]{enumitem}
\begin{document}
This is a short paragraph
\begin{enumerate*}[label={}, itemjoin={~\textbullet}]
\item First item\item Second item
\item Third item
\end{enumerate*}
This is another short paragraph
\end{document}
решение1
Ключевым моментом является установка afterlabel={}
, чтобы после пустой метки ничего не добавлялось:
\documentclass[]{article}
\usepackage[inline]{enumitem}
\usepackage{showframe} % just for the example
\setlength{\parindent}{0pt} % just for the example
\begin{document}
This is a short paragraph
\begin{enumerate*}[
label={},
itemjoin={~\textbullet\ },
afterlabel={},
]
\item First item
\item Second item
\item Third item
\end{enumerate*}
This is another short paragraph
\end{document}