我的 latex 代码(实际上是 XeTex)中有一个 itemize 块。我希望减少多行项目的缩进。你能帮我吗?我的代码及其外观如下。
\begin{itemize}[noitemsep,itemindent=-1.25em]
\item Implemented cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool
\item How to remove the above gap
\end{itemize}
答案1
您可以使用以下wide
选项enumitem
:
\documentclass[draft, 12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{enumitem}
\begin{document}
\noindent\textbf{Summer research, AAAA}\\
\textbf{Title}\\
\emph{Advisor: AAA, AAA, AAA}
\begin{itemize}[noitemsep,wide=0pt, leftmargin=\dimexpr\labelwidth + 2\labelsep\relax]
\item Implemented cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool
\item How to remove the above gap
\end{itemize}
\end{document}