TeX - LaTeX Asked on December 20, 2021
I will add another simple solution if you like.
documentclass{article}
usepackage{arydshln}
usepackage{mathtools}
begin{document}
[ left[
begin{array}{c:c}
1 & 2 \
3 & 4 \
5 & 6 \
end{array} right] ]
end{document}
ADDENDUM: 2020-7-24. Using {bNiceArray}
of nicematrix
package you will have the square brackets at the same position as in {bmatrix}
of amsmath
.
documentclass[a4paper,12pt]{article}
usepackage{nicematrix}
usepackage{arydshln}
NiceMatrixOptions{letter-for-dotted-lines=V}
begin{document}
$begin{bNiceArray}{c:c}
1 & 2 \
3 & 4 \
5 & 6
end{bNiceArray}$
end{document}
Remark: If you don't put NiceMatrixOptions{letter-for-dotted-lines=V}
, you will have a dotted line (drawn by nicematrix
).
Answered by Sebastiano on December 20, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP