GeneralReduce Space - First list item and Paragraph

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
curiouslearn
Posts: 105
Joined: Fri Nov 30, 2007 11:32 pm

Reduce Space - First list item and Paragraph

Post by curiouslearn »

Can someone please help me also reduce the space between a paragraph and the first item of the following enumerate environment. I am using package paralist and mdwlist. Also, it would be nice if I could reduce the space between the items within the list. \plitemsep is already at 0pt. Here is the minimal example:

Code: Select all

\documentclass[12pt]{article}

\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{mdwlist}
\usepackage{natbib}
\usepackage{showkeys} %To see labels (of equations, proof and lemma numbers) when working on a draft.
\usepackage{paralist}% Package that allows different types of lists such as in paragraph lists.
\usepackage{pdfsync}
\usepackage{setspace}
\usepackage[margin=1in,left=1.2in]{geometry}
\usepackage[T1]{fontenc}
\usepackage[charter]{mathdesign}  
\usepackage{lipsum}
\def\sm{\scriptscriptstyle}
\usepackage{tikz}

\newtheorem{proposition}{Proposition}

\setlength{\parindent}{0in}
\setlength{\parskip}{2ex plus 0.5ex minus 0.2ex}

\doublespacing

\begin{document}
   	\lipsum[1]
	\begin{proposition}\label{propPB}
		Look at the space below this line. It is too much. How can I reduce it?
		\begin{enumerate}[(a)] 	      
			\item I want to be closer to the line above. Please help me.
			\item I am pushing the item above, but it just does not move.
				\begin{equation}
	                  \frac{\delta_{0}}{\delta_{1}} >(<)  \frac{F_{\sm D}(EG_{\sm D}^{\sm 0B}) f_{D}(EG_{\sm D}^{\sm 1B})}{F_{D}(EG_{\sm D}^{\sm 1B}) f_{D}(EG_{\sm D}^{\sm 0B})}
				\end{equation}
		\end{enumerate} 
	\end{proposition}
	\lipsum[2] 
	\the\plitemsep

\end{document}                

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Reduce Space - First list item and Paragraph

Post by gmedina »

Hi curiouslearn,

the code below shows a possible solution using \vspace* and some of the features provided by the enumiten package (I prefer this package to paralist or mdwlist):

Code: Select all

\documentclass[12pt]{article}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{mdwlist}
\usepackage{natbib}
\usepackage{showkeys} %To see labels (of equations, proof and lemma numbers) when working on a draft.
\usepackage{paralist}% Package that allows different types of lists such as in paragraph lists.
\usepackage{pdfsync}
\usepackage{setspace}
\usepackage[margin=1in,left=1.2in]{geometry}
\usepackage[T1]{fontenc}
\usepackage[charter]{mathdesign} 
\usepackage{lipsum}
\def\sm{\scriptscriptstyle}
\usepackage{tikz}
\usepackage{enumitem}
\newtheorem{proposition}{Proposition}

\setlength{\parindent}{0in}
\setlength{\parskip}{2ex plus 0.5ex minus 0.2ex}

\doublespacing

\begin{document}

\lipsum[1]
\begin{proposition}\label{propPB}
  Look at the space below this line. It is too much. How can I reduce it?
  \vspace*{-1em}
  \begin{enumerate}[label=(\alph*),nolistsep] 
    \item I want to be closer to the line above. Please help me.
    \item I am pushing the item above, but it just does not move.
    \begin{equation}
      \frac{\delta_{0}}{\delta_{1}} >(<)  \frac{F_{\sm D}(EG_{\sm D}^{\sm 0B}) f_{D}(EG_{\sm D}^{\sm 1B})}{F_{D}(EG_{\sm D}^{\sm 1B}) f_{D}(EG_{\sm D}^{\sm 0B})}
    \end{equation}
  \end{enumerate}
\end{proposition}
\lipsum[2]

\end{document}
Please refer to the enumitem documentation for further information.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
curiouslearn
Posts: 105
Joined: Fri Nov 30, 2007 11:32 pm

Re: Reduce Space - First list item and Paragraph

Post by curiouslearn »

Thanks gmedina. I will look at the enumitem package.

I knew I could use the vspace here, but was wondering if there was a better method (such as \abovedisplayskip in case of displays). I suppose vspace is not bad, just that I will have to enter it in many places.

Thanks again. I appreciate your help.
Post Reply