The following code:



typesets to:

enter image description here

Why does that vertical bar on the "second" row move down as the multicolumn-multirows of that row move up? And why does this macro, with cc|cc in the array definition, create a vertical line that stops at the \hline and doesn't go below it?

  • It's quite hard to follow what those macros are supposed to do. They seem to be ad hoc for that problem; do you mind if I show a completely different realization? – egreg Jan 18 '14 at 11:40
  • OK go ahead, try it. – MickG Jan 18 '14 at 12:05

I'd never use a macro with nine arguments.


% Let's go all the way and define \mathbbold at every size
   {  <-5.5> bbold5 <5.5-6.5> bbold6 <6.5-7.5> bbold7
      <7.5-8.5> bbold8 <8.5-9.5> bbold9 <9.5-11> bbold10
      <11-15> bbold12 <15-> bbold17 }{}



\cosh\theta_v & -\sinh\theta_v \\
\sinh\theta_v & \cosh\theta_v
  & \bigblock{0} \\
  \bigblock{0} & \bigblock{1}


enter image description here

The command \bigblock has an optional argument, default value \Huge; you can use \bigblock[\Large]{0} or even \bigblock[\fontsize{54}{0}\selectfont]{0} if you want an extralarge symbol.

|improve this answer|||||
  • Seems fine. What do \mkern9mu, \kern.3ex, \m@th, \mathstrut and @{} do? – MickG Jan 18 '14 at 15:21
  • @MickG \mkern9mu is to give a bit more room to the big numbers; \kern.3ex to lower them a bit; \m@th for avoiding possible interaction with mathsurround, \mathstrut inserts an invisible character as high and deep as a parenthesis; @{} removes the padding space before or after a column in array or tabular. – egreg Jan 18 '14 at 15:41
  • And what is mathsurround? – MickG Jan 18 '14 at 16:34
  • @MickG See tex.stackexchange.com/questions/149694/… – egreg Jan 18 '14 at 16:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.