\documentclass[12pt,a4paper]{article}
\usepackage{amsmath}
\usepackage[top=2cm,bottom=2cm,left=1cm,right=1cm]{geometry}
\usepackage{tasks}
\NewTasks[
counter-format={tsk[a])}, %%a,A,r,R
label-format=\bfseries,
label-width=1.5em,
label-align=left, %% or right as you wish
label-offset=0.5em,
item-indent=2em,
after-item-skip=0pt,
after-skip=-0.5\baselineskip,,
before-skip=-0.5\baselineskip,,
resume=false %% comment this for not to resume
]{problems}[\item](3) %% (4) here makes all of them in 4 columns
\begin{document}
\begin{problems}
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\end{problems}
\end{document}
使用较少的 s 一切都运行良好\item
。这是否意味着当行数太多时它不支持?或者继续到第二页?
我收到警告:
)
! Undefined control sequence.
\GenericError ...
#4 \errhelp \@err@
答案1
已分类!
我正在使用字母,只有 26 个字母。
所以解决方案是使用counter-format={tsk[1])}
。
天哪,这个警告信息具有误导性!