仅对第一行进行项目符号缩进

仅对第一行进行项目符号缩进

我看到一些关于项目符号行缩进的问题itemize。但是,我仍然在寻找一种解决我的问题的方法。默认布局是

xxxxxxxxxx:
    * xxxxxxxxxxxxxxxxxxxxxxxxxxx
      xxxxxxxxxxxxxxxxxxxxxxxxxxx
      xxxxxxxxxxxxxxxxxxxxxxxxxxx
    * xxxxxxxxxxxxxxxxxxxxxxxxxxx
      xxxxxxxxxxxxxxxxxxxxxxxxxxx
      xxxxxxxxxxxxxxxxxxxxxxxxxxx

我希望有

xxxxxxxxxx:
    * xxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    * xxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

换句话说,我只想缩进的第一行item。如果我使用类似的东西\begin{itemize}[leftmargin=3mm,itemsep=0mm,parsep=0mm,topsep=0mm],结果如下:

xxxxxxxxxx:
* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

如您所见,整个项目都向左移动了。我不想这样。

有什么办法可以解决这个问题吗?

答案1

使用wide以下选项enumitem

\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{geometry}
\geometry{showframe}
\usepackage{enumitem}

\begin{document}

\begin{itemize}[wide]
  \item Some text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text.
\end{itemize}

\end{document} 

在此处输入图片描述

相关内容