在以下示例中,我在第二个问题的多列环境中遇到了尴尬的间距。请注意,“下列哪项”这几个字的间距与第一个问题中的不同。我宁愿间距均匀,并在行末留出一些空白。请记住,我需要此文档中的两列。
\documentclass[10pt]{article}
\usepackage[inner=1.1in,outer=.7in,top=.9in,bottom=1in,paperwidth=8.5in,paperheight=11in,twoside]{geometry}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage{multicol}
\begin{document}
\begin{multicols*}{2}
\raggedcolumns
\begin{enumerate}
\item For ${i = \sqrt{-1}}$, which of the following is equivalent to $(5 - 3i) - (-2 + 5i)$? % C
\begin{enumerate}
\item
\item
\item
\item
\end{enumerate}
\item Which of the following is equal to ${(5 + 2i)(5 - 2i)}$? (Note: $i = \sqrt{-1}$) % B
\begin{enumerate}
\item
\item
\item
\item
\end{enumerate}
\end{enumerate}
\end{multicols*}
\end{document}
答案1
在窄列中排版材料时,通常建议放弃完全对齐,而采用“右对齐”(又称:左对齐)外观。要使整个文档都呈现这种外观,请使用ragged2e
选项加载包document
。
\documentclass[10pt]{article}
\usepackage[inner=1.1in,outer=.7in,top=.9in,bottom=1in,
letterpaper,twoside]{geometry}
\usepackage{amsmath,amsthm,amssymb,multicol}
\usepackage[document]{ragged2e} % <- new
\begin{document}
\begin{multicols*}{2}
\raggedcolumns
\begin{enumerate}
\item For ${i = \sqrt{-1}}$, which of the following
is equivalent to $(5 - 3i) - (-2 + 5i)$? % C
\begin{enumerate}
\item
\item
\item
\item
\end{enumerate}
\item Which of the following is equal to
${(5 + 2i)(5 - 2i)}$? (Note: $i = \sqrt{-1}$\,) % B
\begin{enumerate}
\item
\item
\item
\item
\end{enumerate}
\end{enumerate}
\end{multicols*}
\end{document}
答案2
一如既往,microtype
是你的朋友。
简要解释一下它的作用有没有,您可能也想看看文档(texdoc microtype
如果使用最新的 pdfviewer 打开,会附带其功能的精彩示例)。
\documentclass[10pt]{article}
\usepackage[inner=1.1in,outer=.7in,top=.9in,bottom=1in,paperwidth=8.5in,paperheight=11in,twoside]{geometry}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage{multicol}
\usepackage{microtype} % Load this package to obtain a fine composition.
\begin{document}
\begin{multicols*}{2}
\raggedcolumns
\begin{enumerate}
\item For ${i = \sqrt{-1}}$, which of the following is equivalent to $(5 - 3i) - (-2 + 5i)$? % C
\begin{enumerate}
\item
\item
\item
\item
\end{enumerate}
\item Which of the following is equal to ${(5 + 2i)(5 - 2i)}$? (Note: $i = \sqrt{-1}$) % B
\begin{enumerate}
\item
\item
\item
\item
\end{enumerate}
\end{enumerate}
\end{multicols*}
\end{document}
生产