I am using the mutlirow and bigdelim package to create a block matrix where specific rows and columns are identified. The \ldelim and \rdelim seem to be causing a bad box that I can't get rid of, despite my setting hfuzz.
Here is an MWE
Code: Select all
\documentclass{article}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{array}
\usepackage{multirow}
\usepackage{bigdelim}
\hfuzz=10pt
\begin{document}
\[
\begin{array}{c@{}ccccc|cccc@{}c}
~ & ~ & ~ & ~ & ~ & ~ & a & ~ & b & ~ & ~ \\
~ & \ldelim[{12}{0.5em} & * & 0 & \cdots & 0 & \multicolumn{4}{c}{\multirow{4}{*}{X}} & \rdelim]{12}{0mm} \\
~ & ~ & 0 & * & \cdots & 0 & ~ & ~ & ~ & ~ & ~ \\
~ & ~ & \vdots & \vdots & \ddots & \vdots & ~ & ~ & ~ & ~ & ~ \\
~ & ~ & 0 & 0 & \cdots & * & ~ & ~ & ~ & ~ & ~ \\
\hline
c & ~ & \multicolumn{4}{c|}{\multirow{8}{*}{Y}} & 1 & \cdots & 1 & \cdots & ~ \\
~ & ~ & ~ & ~ & ~ & ~ & 0 & ~ & 0 & ~ & ~ \\
~ & ~ & ~ & ~ & ~ & ~ & \vdots & ~ & \vdots & ~ & ~ \\
~ & ~ & ~ & ~ & ~ & ~ & 0 & ~ & 0 & ~ & ~ \\
d & ~ & ~ & ~ & ~ & ~ & 1 & \cdots & 1 & \cdots & ~ \\
~ & ~ & ~ & ~ & ~ & ~ & 0 & ~ & 0 & ~ & ~ \\
~ & ~ & ~ & ~ & ~ & ~ & \vdots & ~ & \vdots & ~ & ~ \\
~ & ~ & ~ & ~ & ~ & ~ & 0 & ~ & 0 & ~ & ~
\end{array}
\]
\end{document}