3

I need to give a huge list of matrices to diagonalise. I read this answer, but I can't figure how to make it work.

Here is my code, in fact, I have many more matrices.

\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}
8

Macro \alphalph is provided by package 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}

Result

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.