1
\begin{bmatrix}
{2 \boldsymbol A \boldsymbol{A} ^{*}} & {\boldsymbol{O}} \\ 
{\boldsymbol{O}} & {3 \boldsymbol B \boldsymbol B^{*}}
\end{bmatrix}=
\begin{bmatrix}
{4 \boldsymbol{E}} & {} \\
{} & {9 \boldsymbol{E}}
\end{bmatrix}

I want to draw a curve,from 2 \boldsymbol A \boldsymbol{A} ^{*} to 4 \boldsymbol{E}, it could be better if the curve can addon text/formula.how to achieve this?

enter image description here

1 Answers1

4

You can use nicematrix which will create Tikz nodes for you and then, draw the arrow with a Tikz instruction.

\documentclass{article}
\usepackage{nicematrix}
\NiceMatrixOptions{transparent}
\begin{document}
$\begin{bmatrix}[name=A]
{2 \boldsymbol A \boldsymbol{A} ^{*}} & {\boldsymbol{O}} \\ 
{\boldsymbol{O}} & {3 \boldsymbol B \boldsymbol B^{*}}
\end{bmatrix}=
\begin{bmatrix}[name=B]
{4 \boldsymbol{E}} & {} \\
{} & {9 \boldsymbol{E}}
\end{bmatrix}$
\tikz [remember picture, overlay] \draw [red,->] (A-1-1) to [bend left=45] (B-1-1) ; 
\end{document}

Result of the above code

F. Pantigny
  • 40,250