
Existem três problemas: 1. Todas as opções de pergunta não estão logo abaixo da pergunta, elas passam para a próxima coluna. (isso pode ser resolvido usando \vspace \vfill \mbox etc.) Existe alguma maneira de poder ser controlado dinamicamente? 2. O espaçamento entre as opções. Existe algo que pode ser escrito na parte do preâmbulo para que o espaçamento possa ser corrigido. 3. Quero definir enumerar como A). É possível fazer uma definição global?
\documentclass[11pt,a4paper,twoside]{book}
\usepackage{multicol}
\begin{document}
\begin{multicols}{2}
\begin{enumerate}
\item
$$\sqrt{9x^2}$$
If $x>0$, which of the following is equivalent to the given expression?\\
\begin{enumerate}
\item[A)] $3x$\\
\item[B)] $3x^2$\\
\item[C)] $18x$\\
\item[D)] $18x^4$\\
\end{enumerate}
\end{enumerate}
\end{multicols}
\end{document}
Responder1
Você pode decidir parar uma coluna com
\columnbreak
.Você pode decidir o espaçamento entre colunas colocando
\setlength\columnsep{10pt}
antes do\begin{multicols}{2}
.10pt
é o valor padrão.Usar
\renewcommand{\theenumi}{\Alph{enumi}}
. Veresse tópico aquipara obter informações detalhadas.
Além disso, tenho certeza de que você não vai gostar que a coluna vá até o final da página, porque fica feia. Isso significa que você precisará adicionar \vspace*{\fill}
um pouco antes de \columnbreak
.
O que significa que seu código ficaria assim:
\documentclass[11pt,a4paper,twoside]{book}
\usepackage{multicol}
\renewcommand{\theenumi}{\Alph{enumi}} %putting the numbers as upper-case letters
\setlength\columnsep{10pt} %setting the space between columns
\begin{document}
\begin{multicols*}{2}
\begin{enumerate}
\item
$$\sqrt{9x^2}$$
If $x>0$, which of the following is equivalent to the given expression?\\
\begin{enumerate}
\item[A)] $3x$\\
\item[B)] $3x^2$\\
\item[C)] $18x$\\
\item[D)] $18x^4$\\
\end{enumerate}
\vspace*{\fill} %so it won't justify to the bottom of the page
\columnbreak %telling to go to the next column
\item
$$\sqrt{4y^2}$$
If $y>0$, which of the following is equivalent to the given expression?\\
\begin{enumerate}
\item[A)] $3y$\\
\item[B)] $3y^2$\\
\item[C)] $18y$\\
\item[D)] $18y^4$\\
\item[E)] $2y$\\
\item[A)] $3y$\\
\item[B)] $3y^2$\\
\item[C)] $18y$\\
\item[D)] $18y^4$\\
\item[E)] $2y$\\
\end{enumerate}
\end{enumerate}
\end{multicols*}
\end{document}
Aqui está o resultado:
Responder2
Se entendi corretamente sua pergunta, você fará o seguinte:
Com o uso do enumitem
pacote você pode resolver problemas de listas, para outras considerações@xport resposta:
\documentclass[11pt,a4paper,twoside]{book}
\usepackage{multicol}
\usepackage{enumitem}
\setlist[enumerate,1]{nosep=0pt,
label=\bfseries\arabic*.,}
\setlist[enumerate,2]{topsep=0pt,
leftmargin=2em,
label=Alph*, % Alph items labels
itemsep=2\baselineskip % set desired distance between items
}
\setlength\columnsep{10pt} %setting the space between columns
\begin{document}
\begin{multicols*}{2}
\begin{enumerate}
\item
\[ \sqrt{9x^2} \]
If $x>0$, which of the following is equivalent to the given expression?\\
\begin{enumerate}
\item[A)] $3x$
\item[B)] $3x^2$
\item[C)] $18x$
\item[D)] $18x^4$
\end{enumerate}
\vfill\null % see https://tex.stackexchange.com/questions/8683/
\columnbreak % telling to go to the next column
\item
\[\sqrt{4y^2}$$
If $y>0$, which of the following is equivalent to the given expression?\\
\begin{enumerate}
\item[A)] $3y$
\item[B)] $3y^2$
\item[C)] $18y$
\item[D)] $18y^4$
\item[E)] $2y$
\item[A)] $3y$
\item[B)] $3y^2$
\item[C)] $18y$
\item[D)] $18y^4$
\item[E)] $2y$
\end{enumerate}
\end{enumerate}
\end{multicols*}
\end{document}