Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 785939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T20:57:28+00:00 2026-05-14T20:57:28+00:00

I have a 3×12 matrix I’d like to input into my LaTeX (with amsmath)

  • 0

I have a 3×12 matrix I’d like to input into my LaTeX (with amsmath) document but LaTeX seems to choke when the matrix gets larger than 3×10:

\begin{equation}
\textbf{e} = 
\begin{bmatrix} 
1&1&1&1&0&0&0&0&-1&-1&-1&-1\\
1&-1&0&0&1&1&-1&-1&0&0&1&-1\\
0&0&1&-1&1&-1&1&-1&1&-1&0&0
\end{bmatrix}
\end{equation}

The error: Extra alignment tab has been changed to \cr. tells me that I have more & than the bmatrix environment can handle. Is there a proper way to handle this? It also seems that the alignment for 1’s and the -1’s are different, is that also expected of the bmatrix?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T20:57:29+00:00Added an answer on May 14, 2026 at 8:57 pm

    From the amsmath documentation (texdoc amsmath):

    The amsmath package provides some
    environments for matrices beyond the
    basic array environment of LATEX. The
    pmatrix, bmatrix, Bmatrix, vmatrix and
    Vmatrix have (respectively) ( ), [
    ], { }, | |, and ∥
    ∥ delimiters built in. For naming
    consistency there is a matrix
    environment sans delimiters. This is
    not entirely redundant with the array
    environment; the matrix environments
    all use more economical horizontal
    spacing than the rather prodigal
    spacing of the array environment.
    Also, unlike the array environment,
    you don’t have to give column
    specifications for any of the matrix
    environments; by default you can have
    up to 10 centered columns. (If you
    need left or right alignment in a
    column or other special formats you
    must resort to array.)

    i.e. bmatrix defaults to a 10 column maximum.

    A footnote adds

    More precisely: The maximum number of
    columns in a matrix is determined by
    the counter MaxMatrixCols (normal
    value = 10), which you can change if
    necessary using LATEX’s \setcounter or
    \addtocounter commands.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Have dict like: mydict= {'a':[],'b':[],'c':[],'d':[]} list like: log = [['a',917],['b', 312],['c',303],['d',212],['a',215],['b',212].['c',213],['d',202]] How do i
I'd like to have my table's headers repeated for every printed page, but it
Have a procedure which looks like Procedure TestProc(TVar1, TVar2 : variant); Begin TVar1 :=
I have a 63row x 7column matrix. xmax=63; ymax=7; for i=1:xmax for j=1:ymax n=(i-1)*ymax+j;
I have a file which is space delimited which looks like this: probeset_id submitted_id
i have some xaml files that include text, this text is in paterns, like
I have written a small example C++ program, using boost::thread. Since it's 215 lines,
I have this string: 525,294,475,215,365,745 and i need to remove 475..and comma. and if
I'm running Google Chrome 8.0.552.215 on Windows 7 x64 Ultimate. I have a simple
I have a php array like this: [ ['url_id' => 2191238, 'time_spent' => 41],

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.