amsmath 和任务环境改善根式内分数之间的间距

amsmath 和任务环境改善根式内分数之间的间距

垂直行距问题。下面显示的解决步骤在我看来太紧凑了,因为分数在根式内。

我尝试了几种方法来增加每个项目的垂直行距。但没有成功。

非常感谢您的帮助(尤其是学生)。

在此处输入图片描述

\documentclass[12pt]{exam}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{framed} %box para
\usepackage{multicol}
\usepackage{tasks}
\usepackage[margin=0.5in]{geometry}

%\usepackage{bm}%bold equation
\setlength{\parindent}{0pt} % removes paragraph indentation

\pagestyle{head}
\header{Algegra II: Assignment: 9-E}
       {}
       {Due 02/24/2023} 

\newcommand{\pagetop}{%
  %\makebox[\textwidth]%{Name:\enspace\hrulefill}\par
  \vspace{4mm}
  \fbox{\fbox{\parbox{\dimexpr\textwidth-4\fboxsep-4\fboxrule}{
    \textbf {Find all solutions (real and imaginary/complex roots) to each quadratic equation. Simplify answers.}
    %\par
    %\bigskip

  }}}\par
  \vspace{0.5mm}
}
  
\begin{document}
\pagetop

\settasks{
    after-item-skip=3em,    after-skip=2cm,
    label-width=2em,
    item-indent=3em,
    label=(\arabic*),
    column-sep=2em
}
\begin{tasks}(2)
%Prob #1
\task \(\begin{aligned}[t]
&3x^2+27=0 \\
& \hspace{2em}\begin{aligned}[t]
&3x^2=-27 \\
&x^2= -9 \\   &\sqrt{x^2}=\sqrt{-9}\\
&\sqrt{x^2}=i\sqrt{9}\\
&x=\pm3i
\end{aligned}
\end{aligned}\)
%Problem #2
\task \(\begin{aligned}[t]
&x^2=-12 \\
& \hspace{2em}\begin{aligned}[t]
&\sqrt{x^2}=\sqrt{-12} \\
&\sqrt{x^2}=i\sqrt{12}\\
&\sqrt{x^2}=i\sqrt{4}\sqrt{3}\\
&x=\pm2i\sqrt{3}
\end{aligned}
        \end{aligned}\)
%Problem #3
\task \(\begin{aligned}[t]
&-9x^2=16 \\
& \hspace{2em}\begin{aligned}[t]
&\dfrac{-9x^2}{-9}=\dfrac{16}{-9} \\
&x^2=\dfrac{-16}{9}\\
&\sqrt{x^2}=\pm\sqrt{\dfrac{-16}{9}}\\
&\sqrt{x^2}=\pm\dfrac{\sqrt{-16}}{\sqrt{9}}\\
&\sqrt{x^2}=\pm \dfrac{i\sqrt{16}}{3}\\
&x=\pm \dfrac{4i}{3}\\
\end{aligned}
        \end{aligned}\)
%Problem 4
        \task \(\begin{aligned}[t]
&4x^2+48=0 \\
& \hspace{2em}\begin{aligned}[t]
&\sqrt{x^2}=\sqrt{-12} \\
&\sqrt{x^2}=i\sqrt{12}\\
&\sqrt{x^2}=i\sqrt{4}\sqrt{3}\\
&x=\pm2i\sqrt{3}
\end{aligned}
        \end{aligned}\)
%Problem 5
        \task \(\begin{aligned}[t]
&5x^2=-81 \\
& \hspace{2em}\begin{aligned}[t]
&\dfrac{5x^2}{5}=\dfrac{-81}{5} \\
&x^2=\dfrac{-81}{5}\\
&\sqrt{x^2}=\pm\sqrt{\dfrac{-81}{5}}\\
&\sqrt{x^2}=\pm\dfrac{\sqrt{-81}}{\sqrt{5}}\\
&\sqrt{x^2}=\pm \dfrac{i\sqrt{81}}{\sqrt5}\\
&x=\pm \dfrac{9i\sqrt{5}}{5}\\
\end{aligned}
        \end{aligned}\)
\end{tasks}
\end{document}```

答案1

请提供我们可以编译的 MWE(从\documentclass...\end{document}),以显示您的问题以及您如何尝试解决它。

对我来说,您展示的排版结果看起来不错。

顺便说一句,\hspace产生水平间距,\vspace产生垂直间距。你不应该使用\vspace不是 吗\hspace

相关内容