设置方法一:在列表环境里进行设置,这样每次使用列表时自己随时设置,比较随意些: 效果图: 演示代码如下: 设置方法二:方法一有一个缺陷就是你要随时设置比较麻烦,下面的方法较为简单,可以进行统一的设置。简单方便: 效果图: 实验代码: 另外还可以如下设置: 效果图:\documentclass{article}
\usepackage{times}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{159.0pt}
\usepackage{pifont}
\renewcommand\labelitemi{\ding{43}}
\begin{document}
\begin{itemize}\setlength{\itemsep}{-\itemsep}
\item Text of the first item in the list.
\item Text of the first sentence in the second
item of the list. And the second sentence.
\end{itemize}
\begin{enumerate} \setlength{\itemsep}{0pt}
\item item of the list.
\item item of the list.
\item item of the list.
\end{enumerate}
\end{document}\documentclass{article}
\usepackage{times}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{159.0pt}
\usepackage{pifont}
\renewcommand\labelitemi{\ding{43}}
\makeatletter
\def\enumerate{%
\ifnum \@enumdepth >\thr@@\@toodeep\else
\advance\@enumdepth\@ne
\edef\@enumctr{enum\romannumeral\the\@enumdepth}%
\expandafter
\list
\csname label\@enumctr\endcsname
{\usecounter\@enumctr\def\makelabel##1{\hss\llap{##1}}%
%\addtolength{\leftmargin}{5pt}
\addtolength{\parsep}{10pt}
%\addtolength{\rightmargin}{20pt} %%%%
\addtolength{\listparindent}{10pt} %%%%
\addtolength{\itemsep}{-18pt} %%%%
\addtolength{\topsep}{-20pt}} %%%%
\fi}
\makeatother
\begin{document}
\begin{enumerate}
\item item of the list.
\item item of the list.
\item item of the list.
\end{enumerate}
\end{document}\documentclass{article}
\usepackage{times}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{159.0pt}
\usepackage{pifont}
\renewcommand\labelitemi{\ding{43}}
\usepackage{atbeginend} % 可选宏包, 能解决许多问题,
%比如itemize, enumerate环境\item之间的控制
%用法
\AfterBegin{itemize}{\addtolength{\itemsep}{-0.5\baselineskip}}
\AfterBegin{enumerate}{\addtolength{\itemsep}{-0.5\baselineskip}}
\begin{document}
\begin{itemize}
\item item of the list.
\item item of the list.
\item item of the list.
\end{itemize}
\begin{enumerate}
\item item of the list.
\item item of the list.
\item item of the list.
\end{enumerate}
\end{document}
发表评论 取消回复