\任务\alpha

\任务\alpha

我需要给出一个庞大的矩阵列表来进行对角化。我读到这个答案,但我不知道如何让它工作。

这是我的代码,事实上,我还有更多的矩阵。

\documentclass{article}
\usepackage{blindtext}
\usepackage{tasks} 
\usepackage{etex, 
amsmath,
amsthm,
amsfonts, 
amssymb,     
latexsym, 
mathtools,
etoolbox,
thmtools,
float}
\NewPatternFormat{aa}{\alphalph}
\settasks{counter-format = {tsk[aa]}, label-offset = 5mm}
\begin{document}
Which one of the entries does not fit with the others?
\begin{tasks}(2)
  \task     $\begin{bmatrix*}[r]4 & 3\\ 2 & 3 \end{bmatrix*}$   
  \task     $\begin{bmatrix*}[r]2 & 4\\ 5 & 3 \end{bmatrix*}$   
  \task     $\begin{bmatrix*}[r] 4 & 1\\ 4 & 4\end{bmatrix*}$
  \task     $\begin{bmatrix*}[r]2 & 1\\ 2 & 3 \end{bmatrix*}$   
\end{tasks}
\end{document}

答案1

\alphalph由包提供alphalph

\documentclass{article}
\usepackage{blindtext}
\usepackage{tasks}
\usepackage{
  etex,
  alphalph, % ADDED
  amsmath,
  amsthm,
  amsfonts,
  amssymb,
  latexsym,
  mathtools,
  etoolbox,
  thmtools,
  float,
}
\NewPatternFormat{aa}{\alphalph}
\settasks{counter-format = {tsk[aa]}, label-offset = 5mm}
\begin{document}
Which one of the entries does not fit with the others?
\begin{tasks}(2)
  \task     $\begin{bmatrix*}[r]4 & 3\\ 2 & 3 \end{bmatrix*}$
  \task     $\begin{bmatrix*}[r]2 & 4\\ 5 & 3 \end{bmatrix*}$
  \task     $\begin{bmatrix*}[r] 4 & 1\\ 4 & 4\end{bmatrix*}$
  \task     $\begin{bmatrix*}[r]2 & 1\\ 2 & 3 \end{bmatrix*}$
\end{tasks}
\end{document}

结果

相关内容