With the code:
$$A=\msq{\mat{ccccc}
2 & -1 & & \multi[2][2]{\Huge{$0$}} \\
-1& 2 & -1 \\
& \ddots & \ddots & \ddots \\
\multi[2][2]{\Huge{$0$}} & \ddots & \ddots & \ddots \\
& & & -1 & 2
\emat}.$$
I get:
Overfull \vbox (6.0pt too high) detected at line 45
Overfull \vbox (6.0pt too high) detected at line 45
where the code ends at line 45. How can I fix that?
NB \multi
is as in Problem with abbreviation of `\multirow` and `\multicolumn` (LaTeX), \msq
is \msq{#1}=\left[\!\!\!\!#1\!\!\!\!\right]
and \mat=\begin{array}
, \emat=end{array}
.
Best Answer
try
\smash{\Huge $0$}
to make the "apparent" height and depth zero.you might have to fiddle with the vertical position.
sorry i can't show output, but i'm on the road without any tex resources to test.