# wileysev document class messes up bmatrix etc. from amsmath

Consider the following example using wileysevdocument class (used for books by John Wiley, available in this zip file):

\documentclass{wileysev}
\usepackage{amsmath}

\begin{document}
$\begin{bmatrix} 16 & 19 & 30 & 4 \end{bmatrix}$
\end{document}


which gives

1. I am guessing that this is because of all the fudging around with \@array... macros that wileysev.cls does.

2. How do I restore the default output of bmatrix?

3. Does anyone know the right forum to report this bug to Wiley?

-
i haven't yet found a source for the class file, but i have found documentation on line, at texnology.com/docs.pdf that gives an address for help with the package. as one of the maintenance group for amsmath, i would like to find out more about this problem. –  barbara beeton Jun 12 '13 at 14:09
@barbarabeeton: The source of class file is in the link that I provide in the question. –  Aditya Jun 12 '13 at 14:24
well, that was certainly dopey. thanks. i'll take a look, but i think it's likely the problem should be reported to the publisher's technical representative. –  barbara beeton Jun 12 '13 at 14:37
The class redefines array to add @{} fore and aft the column specifications for the environment; since amsmath's code for matrix does a similar thing, you end up with reducing too much the space around the array and the delimiters are too close. Imposing a value of \arraystretch of 1.25 could improve multiline arrays, but it definitely spoils one liners. I'd simply restore the standard definition of \@array and the value 1 for \arraystretch. –  egreg Jun 12 '13 at 15:01

The wileysev class redefines array to add @{} fore and aft the column specifications for the environment; since amsmath's code for matrix does a similar thing, you end up with reducing too much the space around the array and the delimiters are too close. Imposing a value of \arraystretch of 1.25 could improve multiline arrays, but it definitely spoils one liners. I'd simply restore the standard definition of \@array and the value 1 for \arraystretch.