![]() If you don't wish to redefine that internal macro, you could give it a different name and build your amatrix environment on it exactly the same way that amsmath does with pmatrix. ![]() I've used this code and examples in a blog post in 2008: An extension to amsmath matrix environments. ![]() Just remove the optional argument in brackets and you will get the standard pmatrix or bmatrix. More complex use, with different alignment, spacing and color: & b & 1 & 4 \\ Augment matrices in Matlab using commas to put to the right and semi-colons to put below (similar to how you define matrices to begin with). Here's the redefinition, just put it in your preamble after loading amsmath: c] If there's a change in the matrices later, you could adjust your own macro. -> B ans 0246 1357 We can augment two matrices side-by-side if they have the same number of rows. But amsmath.sty has not been changed for more than 10 years.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |