Text FormattingEnumerate space

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
coachbennett1981
Posts: 274
Joined: Fri Feb 05, 2010 10:15 pm

Enumerate space

Post by coachbennett1981 »

Good morning,

Is there a way to make the space between the answer choices to be less? Here is the code:

Code: Select all

\documentclass[12pt,a4paper]{article}
\usepackage{amsmath,amssymb,amsfonts}
\begin{document}
\paragraph{Example 1} Which of the following best expresses the following statement: ``A number is greater than or equal to 15?''
	\begin{enumerate}
 		\item[A.] $x < 15$
		\item[B.] $x = 15$
		\item[ C.] $x > 15$
		\item[D.] $x \geq 15$
		\item[E.] $x \leq 15$
	\end{enumerate}

\end{document}
Also, is there a way that the text for question could align with the start of the problem and not go directly under the Example 1 part.

Thank you for your time

Nick
Last edited by coachbennett1981 on Fri Feb 11, 2011 7:00 pm, edited 1 time in total.

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Montag
Posts: 340
Joined: Wed Jul 15, 2009 9:25 am

Re: Enumerate space

Post by Montag »

Put "\setlength{\itemsep}{-3pt}" after each \begin{itemize} or \begin{enumerate} you want to shorten. You can, of course, tweak the last argument (i. e. "-3pt").
OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Enumerate space

Post by frabjous »

Code: Select all

\documentclass[12pt,a4paper]{article}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{enumitem}
\begin{document}
\paragraph{Example 1} Which of the following best expresses the following statement: ``A number is greater than or equal to 15?''
   \begin{enumerate}[noitemsep]
      \item[A.] $x < 15$
      \item[B.] $x = 15$
      \item[C.] $x > 15$
      \item[D.] $x \geq 15$
      \item[E.] $x \leq 15$
   \end{enumerate}

\end{document}
will eliminate the separation between the items. You can also directly set itemsep=... in the brackets to get an intermediate value. See the enumitem documentation for more info.
coachbennett1981
Posts: 274
Joined: Fri Feb 05, 2010 10:15 pm

Re: Enumerate space

Post by coachbennett1981 »

That's perfect.. Thanks
Post Reply