在\tasks
这个数学问题集的环境中,我需要强制换行,因为文本溢出了右边距,如下所示。
我尝试了以下命令,但没有成功:
\\
\newline
\linebreak
非常感谢您花时间阅读并回复我的帖子。如果可能的话,请解释为什么我尝试的命令没有执行。
母语:
\usepackage[a4paper,margin=0.5in,include head]{geometry}
\usepackage{amsmath}
\usepackage{framed}
\usepackage{bm}
\usepackage{multicol}
\usepackage{tasks}
\pagestyle{head}
\header{\textbf{ Algebra II: Q4 Final Exam R E V I E W (Units 12-15)\\ Part 2 of 2}}
{}
{}
\newcommand{\pagetop}{%
}
\newlength{\lwidth}% added <<<<<
\settowidth{\lwidth}{(99)\enspace} % added
\settasks{after-item-skip=1em,
after-skip=2cm,
label-width=\lwidth, % changed <<<<<<<<<
item-indent=0pt, % changed <<<<<<<<<<
%label-format = \bfseries,
%add \bf to make numbers bold <<<<<<<<<<
label=(\arabic*), %
label-offset = -\lwidth,% added <<<<<
item-format = \hspace{\lwidth},% added <<<<<
column-sep=2em, % changed <<<<<<<<<
}
\makeatletter
\renewcommand{\fullwidth}[1]{%
\vbox{%
\leftskip=-\lwidth \rightskip=0pt
\advance\linewidth\@totalleftmargin%
\@totalleftmargin=0pt%
#1}%
\nobreak
}
\makeatother
%definition for bigskip = 1 line to replace all \bigskip
\def\bigskip{\vskip\bigskipamount}
\begin{document}
\begin{tasks}
%code changes start # to 44
[style=enumerate,start=44](2)
\task![]\fullwidth{\textbf
{Simplify each expression to a single value without using a calculator. \emph{Show work.}\\(NO calculators)}}
%%% Prob #44
\task
\text{In 2015, there were 75 wolves in Yellowstone National Park. Due to the efforts of park officials,
the population grew to }$90$\text{ wolves in 2016. This trend continues and the wolf population increases exponentially.}
\begin{solutionorbox}
$answer here$
\end{solutionorbox}
\bigskip
\end{tasks}
\end{document}```