Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass{article}
- usepackage{amsmath}
- usepackage{multirow}
- usepackage{easybmat}
- newcommandbigzero{makebox(0,0){text{Huge0}}}
- begin{document}
- [
- sbox0{$begin{array}{c c c |}0&1&0\0&0&1\0&0&0\ hlineend{array}$}
- sbox1{$begin{array}{| r|}hline \ 2\ hlineend{array}$}
- sbox2{$begin{matrix}2&1&0\0&2&1\0&0&2end{matrix}$}
- sbox3{$begin{array}{c c c |}2&1&0\0&2&1\0&0&2\ hlineend{array}$}
- %
- A=left[
- begin{array}{c c c c}
- usebox{0}& & bigzero & \
- & usebox{1} & & \
- bigzero & & usebox{3} & \
- & & & 0 \
- end{array}
- right]
- ]
- end{document}
- documentclass{article}
- usepackage{tikz}
- usetikzlibrary{matrix}
- begin{document}
- [ A =
- begin{tikzpicture}[baseline=(current bounding box.center),
- large/.style={font=large}]
- matrix (M)[matrix of math nodes, nodes in empty cells,
- left delimiter={[}, right delimiter={]},
- column sep={1.2em,between origins},
- row sep={1.2em,between origins}
- ]{ 0 & 1 & 0 & & \
- 0 & 0 & 1 & & & & & \
- 0 & 0 & 0 & & & \
- & & & 2 & & \
- & & & & 2 & 1 & 0 & \
- & & & & 0 & 2 & 1 & \
- & & & & 0 & 0 & 2 & \
- & & & & & & & 0\
- };
- draw(M-3-1.south west)--([xshift=2mm]M-3-4.south east);
- draw(M-4-3.south)--(M-4-4.south east);
- draw(M-7-5.south)--([xshift=2mm]M-7-7.south);
- draw(M-1-3.north east)--(M-4-4.south west);
- draw(M-4-4.north east)--(M-5-5.south west);
- draw(M-5-7.north east)--(M-7-7.south east);
- node[large] at (M-2-7){$0$};
- node[large] at (M-7-2){$0$};
- end{tikzpicture}
- ]
- end{document}
- documentclass{article}
- usepackage{tikz}
- usetikzlibrary{matrix}
- begin{document}
- [ A =
- begin{tikzpicture}[baseline=(current bounding box.center),
- large/.style={font=large}]
- matrix (M)[matrix of math nodes, nodes in empty cells,
- left delimiter={[}, right delimiter={]},
- column sep={1.2em,between origins},
- row sep={1.2em,between origins}
- ]{ 0 & 1 & 0 & & \
- 0 & 0 & 1 & & & & & \
- 0 & 0 & 0 & & & \
- & & & 2 & & \
- & & & & 2 & 1 & 0 & \
- & & & & 0 & 2 & 1 & \
- & & & & 0 & 0 & 2 & \
- & & & & & & & 0\
- };
- draw(M-3-1.south west)--([xshift=2mm]M-3-4.south east);
- draw([xshift=1mm]M-4-3.south)--([xshift=1mm]M-4-4.south east);
- draw(M-7-5.south)--([xshift=3mm]M-7-7.south);
- draw(M-1-3.north east)--(M-4-4.south west);
- draw(M-4-4.north east)--(M-5-5.south west);
- draw(M-5-7.north east)--([yshift=-1mm]M-7-7.south east);
- node[] at (M-2-7){Huge 0};
- node[] at (M-7-2){Huge 0};
- end{tikzpicture}
- ]
- end{document}
Add Comment
Please, Sign In to add comment