4

In this code, I'm confused about why the space between First paragraph and Second paragraph is not equal to the space between Second paragraph and First bullet. How can I make them equal?

\documentclass[11pt]{article}
\setlength{\parskip}{0.7ex}
\setlength{\parindent}{0pt}
\topmargin -0.5in
\textheight 9in
\oddsidemargin 0in
\evensidemargin 0 in
\textwidth 6.4in
\usepackage{amsmath}
\usepackage{amsfonts}
\linespread{0.9}
\usepackage{hyperref}
\usepackage{enumerate}
\begin{document}
\large

{\Large\bfseries First paragraph\par}

{\large\bfseries Second paragraph\par}
\begin{itemize}

\item First bullet
\item Second bullet

\end{itemize}

\end{document}
3

You can customize lists and their spacing using the excellent enumitem package.

In your example, you might like to use

\begin{itemize}[topsep=\parskip]

for local customization, or else

\setlist[itemize]{topsep=\parskip}

for global customization in the preamble.

I'd also recommend using the geometry package to customize page dimensions, and you should almost always load the hyperref package last (unless it is a member of Which packages should be loaded after hyperref instead of before?)

\documentclass[11pt]{article}
\usepackage[top=1in,textheight=9in,textwidth=6.4in]{geometry}
\linespread{0.9}
\setlength{\parskip}{0.7ex}
\setlength{\parindent}{0pt}
\usepackage{enumitem}
\usepackage{hyperref}
\begin{document}

\large

{\Large\bfseries First paragraph\par}

{\large\bfseries Second paragraph}
\begin{itemize}[topsep=\parskip]
\item First bullet
\item Second bullet
\end{itemize}

\end{document}
  • Thanks for your answer! I tried compiling your code, but still the space between First paragraph and Second paragraph is less than the space between Second paragraph and First bullet. Any idea why that might be? – Paul S. Oct 31 '12 at 3:51
  • @PaulS. you're welcome :) Sorry about that, I had a stray blank line- try it now – cmhughes Oct 31 '12 at 3:56
  • My eyes might be fooling me, but I believe the first space is still a little less than the second space – Paul S. Oct 31 '12 at 4:00
  • Anyway, I think it's good enough! – Paul S. Oct 31 '12 at 4:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.