Asked
Active
Viewed 123 times
1 Answers
2
You can adapt my answer https://tex.stackexchange.com/a/145718/4427
\documentclass{article}
\usepackage{amsmath}
\newcommand{\underbracedmatrix}[2]{%
\left(\;
\smash[b]{\underbrace{
\begin{matrix}#1\end{matrix}
}_{#2}}
\;\right)
\vphantom{\underbrace{\begin{matrix}#1\end{matrix}}_{#2}}
}
\begin{document}
\[
\Delta_n=\det
\underbracedmatrix{
A & B \\
B & A & B \\
& B & \ddots & \ddots \\
& & \ddots & \ddots & B \\
& & & B & A
}{n\times n}
\]
\end{document}
-
Thank you! Now I will try to understand that :) My first time using TeX. – Andrii V. Feb 03 '16 at 12:46


\left(...\right)inside the\underbraceand remove$ $after\det– percusse Feb 03 '16 at 12:41{}button). This way people can read it more easily and they can copy and use it when they try to solve your problem. – Feb 03 '16 at 12:58