0

How to create an arrow which points on two adjacent rows of matrix (as in picture)? enter image description here

1
  • Do you have any work to show of what you've tried thus far?
    – Werner
    Apr 10 '19 at 18:54
1

Welcome to TeX-SE! The purpose of this site is to ask question on codes, not to convert screen shots into TeX code. For newcomers sometimes exceptions are made. In this case you could e.g. use TikZ.

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{matrix}
\begin{document}
\[\begin{tikzpicture}
 \matrix[matrix of math nodes,left delimiter={[},right delimiter={]}] (mat)
 { \times & \times & \times & ~ & ~ & ~ \\
 ~ & \times & \times & \times & ~ & ~ \\
 ~ & ~ & \times & \times & \times & ~  \\
 ~ & ~ & ~ & \times & \times & \times   \\
 ~ & ~ & ~ & ~ & \times & \times   \\
 ~ & ~ & ~ & ~ & ~ & \times   \\ 
 };
 \foreach \X [evaluate=\X as \Y using {int(\X+1)}] in {1,...,5}
 {\draw[<->] ([xshift=-7em+\X*1em]mat.west|-mat-\X-1) -|
 ([xshift=-7.5em+\X*1em]mat.west|-mat-\Y-1) -- ++(0.5em,0);}
\end{tikzpicture}\]
\end{document}

enter image description here

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.