Text Formattingmulticol | Bad Alignment in Question Items

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

multicol | Bad Alignment in Question Items

Post by coachbennett1981 »

Good evening. I am creating a study guide for my students and I am wondering why, when I use multicol there is a space between D and E choices when I have to two column multicol in use. Is there a way to get rid of the unwanted space?

Nick

Code: Select all

\documentclass[10pt,twocolumn]{exam}
\usepackage{amsmath}
\usepackage{geometry}                % See geometry.pdf to learn the layout options. There are lots.
\geometry{letterpaper}                   % ... or a4paper or a5paper or ... 
%\geometry{landscape}                % Activate for for rotated page geometry
%\usepackage[parfill]{parskip}    % Activate to begin paragraphs with an empty line rather than an indent
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{epstopdf}
\usepackage{multicol}
\DeclareGraphicsRule{.tif}{png}{.png}{`convert #1 `dirname #1`/`basename #1 .tif`.png}

\title{Test Chapter 1}
\author{Mr. Bennett}
\begin{document}
\center{\LARGE{Midterm Exam Review}}
\center{\large{Geometry}}
\center{\textbf{2011-2012}}
\flushright{Name:\underline{\hspace{2in}}
\flushright{Section:\underline{\hspace{2in}}
\flushright{Date:\underline{\hspace{2in}}
\setlength{\columnsep}{.5cm}
\begin{questions}


\question What does the symbol $\overrightarrow{BC}$ represent? \\
	\begin{multicols}{2}
		\begin{choices}
			\choice segment $BC$
			\choice line $BC$
			\choice point $B$
			\choice ray $CB$
			\choice ray $BC$
		\end{choices}
	\end{multicols}
\question Find the length of $\overline{AC}$ if $AB$ is 6, $BC$ is 10, and $B$ is between $A$ and $C$.  \\
	\begin{multicols}{3}
		\begin{choices}
			\choice 4
			
			\choice 16
			
			\choice -4
			
			\choice 60
			
			\choice 6
		\end{choices}
	\end{multicols}
\question Point $H$ is between $G$ and $I$. Use the segment addition postulate to solve for $x$ when $GH=8x+7$, $HI=3x-2$, and $GI=38$. \\
	\begin{multicols}{3}
		\begin{choices}
			\choice 3
			\choice 5
			\choice 7
			\choice 31
			\choice 39
		\end{choices}
	\end{multicols}
\question Use points $A(5,1)$, $B(5,6)$, $C(1,4)$ and $D(4,-2)$ to determine which of the following is true.  \\
	\begin{multicols}{2}
		\begin{choices}
			\choice $\overline{AB}\cong \overline{BC}$ \\
			
			\choice $\overline{AB}\cong \overline{CD}$ \\
			
			
			\choice $\overline{AB}\cong \overline{BD}$ \\
			
			\choice $\overline{AC}\cong \overline{AB}$\\ 
			
			\choice $\overline{BC}\cong \overline{CD}$\\
		\end{choices}
	\end{multicols}

\question Find the coordinates of the other endpoint of a segment with an endpoint of $X(-2,3)$ and midpoint $M(1,-2)$. \\
	\begin{multicols}{3}
		\begin{choices}
			\choice $(4,-7)$
			\choice $(-4,7)$
		
			\choice $(0,-1)$
			\choice $(-5,8)$
			\choice $(4,8)$
		\end{choices}
	\end{multicols}
\end{questions}
\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.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

multicol | Bad Alignment in Question Items

Post by localghost »

Now and again you should listen to the compiler and look at what it tells you in the log file. Fix the "bad boxes" warnings by changing the page geometry.

And next time please prepare a proper minimal example. Nearly half of the packages you are loading in your example are not necessary to reproduce the problem.


Thorsten
Post Reply