2

A minimal working sample is provided.

\documentclass{article}
\usepackage{mdwlist,lipsum}

\begin{document}
\lipsum[6]
\begin{basedescript}{\desclabelstyle{\pushlabel}\desclabelwidth{6em}}
\item[ITEM 1] \lipsum[1]
\item[ITEM 12] \lipsum[2]
\item[ITEM 1234] \lipsum[3]
\end{basedescript}
\end{document}

The complied PDF is as follows.

enter image description here

My QUESTION is how to increase/decrease the spaces before and after the basedescript environment?

I read the mdwlist package but found no answer, so any help is welcome!

1 Answer 1

2

The parameter to set is \topsep (used on either end of the list)

\documentclass{article}
\usepackage{mdwlist,lipsum}

\begin{document}

\lipsum[6]
\begin{basedescript}{%
  \desclabelstyle{\pushlabel}%
  \desclabelwidth{6em}%
  \setlength{\topsep}{20ex}% or whatever you prefer
}
\item[ITEM 1] \lipsum[1]
\item[ITEM 12] \lipsum[2]
\item[ITEM 1234] \lipsum[3]
\end{basedescript}
\lipsum[6]

\end{document}

enter image description here

However, I suggest to use the enumitem package, as mdwlist has been abandoned.

\documentclass{article}
\usepackage{enumitem}
\usepackage{lipsum}

\begin{document}

\lipsum[6]
\begin{description}[
  align=left,
  leftmargin=6em,
  labelwidth=6em,
  labelsep=0pt,
  topsep=20ex,
]
\item[ITEM 1] \lipsum[1]
\item[ITEM 12] \lipsum[2]
\item[ITEM 1234] \lipsum[3]
\end{description}
\lipsum[6]

\end{document}
1
  • Thank you very much! And as a supplement, we can also change the items space in this way: \setlength{\itemsep}{20ex}.
    – M. Logic
    Jun 9, 2018 at 4:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .