SHARE
TWEET

Untitled

a guest Feb 22nd, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. documentclass{article}
  2. usepackage{tikz}
  3. usetikzlibrary{fit}
  4.  
  5. newcommand{tikzmark}[2]{tikz[overlay,remember picture,baseline=(#1.base)] node (#1) {#2};}
  6.  
  7. begin{document}
  8. [
  9.  left[begin{array}{*3{c}}
  10.     tikzmark{left_end}{0} & 2 & tikzmark{right_end}{1}\
  11.     3 & -1 & 2 \
  12.     tikzmark{down_left}{4} & 0 & tikzmark{down}{1}
  13.   end{array}right]
  14. ]
  15. tikz[overlay,remember picture] {
  16. draw[red,thick,dashed] (left_end) circle (0.2cm);
  17.     draw[-,red,thick] (left_end) -- ++ (1.5,0) (right_end);
  18.     draw[-,red,thick] (left_end) -- ++ (0,-1) (down_left);
  19. }
  20. end{document}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top