0

I need your help to create this picture in Latexenter image description here

1 Answers1

6

With the latest version of the circledsteps package which appeared on CTAN just now you can do

\documentclass{article}
\usepackage{amsmath}
\usepackage{xcolor}
\usepackage{circledsteps}
\begin{document}
\[\begin{bmatrix}
 \textcolor{magenta}{1} & 2 & -1 & 1 \\ 
 \Circled[outer color=cyan]{3} & 2 & -1 & 1 \\ 
 \Circled[outer color=cyan]{-2} & 2 & -1 & 1 \\ 
\end{bmatrix}\]
\end{document}

enter image description here

In order to run this code you need to update your LaTeX installation (or download the package from here).