将列表与长句子对齐

将列表与长句子对齐
\begin{enumerate}
\item This is a really really really reall.....long sentence
\end{enumerate}

1. This is a really really really ....
....long sentence

我希望它的格式如下

1. This is a really really really ....
   ...long sentence

因此它与单词对齐,而不是数字。我遇到的所有示例似乎都显示了我想要的格式的默认行为,所以我感觉它是在moderncv我使用的类样式中定义的。

编辑 平均能量损失

\documentclass[11pt,a4paper]{moderncv}
\moderncvtheme[green]{classic}  
\firstname{John}
\familyname{Doe}
\begin{document}
\cventry{2009-2014}{Graduate Research Assistant}{College Town}{MO}{USA}{%
\begin{enumerate}
\setlength{\itemindent}{.25in}
\setlength{\itemsep}{1mm}
\setlength{\parskip}{1mm}
\item Multi-state antibody design to interrogate mechanisms for antibody polyspecificity. How do antibodies use a limited sequence repertoire to bind many antigens? 
\end{enumerate}}
\end{document}

答案1

如果你添加enumitem包裹在您的序言中,您可以全局指定对列表的调整,也可以使用 的可选参数在本地指定调整。我在下面通过设置而不是我们的项目缩进(正式称为中的键)enumerate使用了后者:leftmarginitemindentenumitem

enter image description here

\documentclass{moderncv}
\moderncvtheme[green]{classic}
\usepackage{enumitem}
\firstname{John}
\familyname{Doe}
\begin{document}
\cventry{2009-2014}{Graduate Research Assistant}{College Town}{MO}{USA}{%
  \begin{enumerate}
    \item Multi-state antibody design to interrogate mechanisms for antibody polyspecificity. 
    How do antibodies use a limited sequence repertoire to bind many antigens? 
  \end{enumerate}%
}
\cventry{2009-2014}{Graduate Research Assistant}{College Town}{MO}{USA}{%
  \begin{enumerate}[itemsep=1mm,topsep=0pt,leftmargin=.25in]
    \item Multi-state antibody design to interrogate mechanisms for antibody polyspecificity. 
    How do antibodies use a limited sequence repertoire to bind many antigens? 
  \end{enumerate}%
}
\end{document}

当然,你也可以添加其他调整(请参阅enumitem文档为了这)。

相关内容