Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

enter image description here

  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?

share|improve this question
1  
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
2  
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
add comment

1 Answer

up vote 3 down vote accepted

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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