项目第一行与第二行之间的间距

项目第一行与第二行之间的间距

抱歉,如果这个问题之前已经回答过了。项目符号的第一行和第二行之间有多余的空格。有什么方法可以删除它吗?提前谢谢。

\documentclass[12pt,letterpaper,sans]{moderncv}
\moderncvstyle{banking}         
\moderncvcolor{blue}            
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[scale=.75,left=1cm,top=1cm,right=1cm,bottom=1cm,nohead,nofoot]{geometry}
\usepackage{textcomp}
\usepackage{import}
\usepackage{lmodern}
\usepackage{anyfontsize}
\usepackage{xpatch} 
\xpatchcmd{\makehead}{\null}{[-2ex]\null}{}{} %Gets rid of space between name and address
\setlength{\parskip}{3pt}
\setlength{\itemsep}{8pt}
\linespread{0.8}
\name{first}{last}
\begin{document}
\begin{itemize}
\item{Cosmological parameters deduced from the Planck  measurements 
of anisotropies in the cosmic microwave background are at some 
tension with direct astronomical measurements of various parameters 
at low redshifts}
\item{Investigating whether an ensemble of fields (with varying masses and abundances) from a hidden sector that satisfies the properties of dark matter could reconcile this discrepancy without affecting the development of the early universe.Investigating whether an ensemble of fields (with varying masses and abundances) from a hidden sector that satisfies the properties of dark matter could reconcile this discrepancy without affecting the development of the early universe}
\end{itemize}
\end{document}

每个要点的第一行和第二行之间的间距看起来很奇怪

答案1

你有

  \linespread{0.8}

这告诉 latex 将所有文本放置在只有默认大小 80% 的基线间距中。由于这个间距太小,无法容纳字母,因此您不得不获得不均匀的间距,因为(这样会迫使行间距更大。

答案2

我发现这个答案并提出以下建议:

\begin{itemize}
\setlength{\itemindent}{3em}
\item Test
\item Test
\item Long text, long text, long text, long text, long text, long
  text, long text, long text, long text, long text, long text, long
  text, long text. 
\end{itemize}

相关内容