
箇条書き付きのインライン列挙項目を使用していますが、最初の項目の前には箇条書きがないようにしたいです。マニュアルを読んだ後、次のことを試しましたが、それでも最初の項目の前に不要なスペースが残ります。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}