![多列对齐](https://linux22.com/image/443497/%E5%A4%9A%E5%88%97%E5%AF%B9%E9%BD%90.png)
我一直在尝试寻找我发过的类似帖子,但找不到。从我的文档中您可以看到,每列的数字没有对齐。我想知道如何解决这个问题。
\usepackage[margin=.5in]{geometry}
\usepackage{amsmath}
\usepackage{multicol}
\begin{document}
\subsection*{Derivatives with Product and Quotient Rules}
Find the derivative of each of the functions below. Be sure to show your work.
\begin{multicols}{2}
\begin{enumerate}
\item $y=\big(4x-4\big)\big(\sqrt{x}+2\big)$
\vspace{1.5in}
\item $y=\dfrac{x+4}{x-4}$
\vspace{1.5in}
\item $y=\dfrac{x^3}{x-1}$
\vspace{1.5in}
\item $y=11-x^6\cos x$
\vspace{1.5in}
\item $y=2x^2e^x$
\vspace{1.5in}
\item $y=x^7\tan x-\sqrt{x}$
\vspace{1.5in}
\item $y=\Big(x+\dfrac{1}{x}\Big)\Big(x-\dfrac{1}{x}\Big)$
\vspace{1.5in}
\item $y=x^3\cos x-9x$
\vspace{1.5in}
\item $\dfrac{x^8+3x+7}{x^2}$
\vspace{1.5in}
\item $y=2\sin x\big(e^x\big)$
\vspace{1.5in}
\item $y=\dfrac{\tan x}{x}$
\vspace{1.5in}
\item $y=\dfrac{\sin x}{10x}+\dfrac{10x}{\sin x}$
\vspace{1.5in}
\end{enumerate}
\vspace{1.5in}
\end{multicols}
\end{document}
参见问题 8、9 和 10。
答案1
multicol
不是合适的工具。有一个tasks
包,用于此。
\documentclass{article}
\usepackage[margin=.5in,showframe]{geometry}
\usepackage{amsmath}
\usepackage{tasks}
\pagestyle{empty}
\begin{document}
\subsection*{Derivatives with Product and Quotient Rules}
Find the derivative of each of the functions below. Be sure to show your work.
\begin{tasks}[
label=\arabic*.,
label-width=1.5em,
label-align=right,
item-indent=2em,
label-offset=0.5em,
after-item-skip=\fill
](2)
\task $f(x)=\bigl(4x-4\bigr)\bigl(\sqrt{x}+2\bigr)$
\task $f(x)=\dfrac{x+4}{x-4}$
\task $f(x)=\dfrac{x^3}{x-1}$
\task $f(x)=11-x^6\cos x$
\task $f(x)=2x^2e^x$
\task $f(x)=x^7\tan x-\sqrt{x}$
\task $f(x)=\Bigl(x+\dfrac{1}{x}\Bigr)\Bigl(x-\dfrac{1}{x}\Bigr)$
\task $f(x)=x^3\cos x-9x$
\task $f(x)=\dfrac{x^8+3x+7}{x^2}$
\task $f(x)=2e^x\sin x$
\task $f(x)=\dfrac{\tan x}{x}$
\task $f(x)=\dfrac{\sin x}{10x}+\dfrac{10x}{\sin x}$
\end{tasks}
\vspace*{\fill}
\end{document}
该showframe
选项已用于显示文本块边距。
编号是先按列然后按行,但这就是人们的阅读方式。
我必须更换所有是来自F(X),如果这打扰到你,我很抱歉,但是做来烦我。