Jump to content

Numbering matrices in Latex

Featured Replies

Does anybody know how to number matrices in Latex, it should follow the equation numbering, so I can effectively refere them.

 

Many thanks

Yes, but I would also like to add the number of matrix, I mean, that if first I have an equation, latex would show it as eq. 1,

 

y = 34x (1)

 

then it would go the matrix,

 

(1 2 1)

(0 4 1) (2)

(0 0 1)

 

and finally another equation,

 

x = yz (3)

 

so my problem is that latex is not numbering the matrix as (2), therefore, the last equation is numbered as (2) when it should be (3).

It shuold be possible to use an array within an equation environment. Or just define your own numbering. Any decent intro to latex will tell you how, though asking people here to regurgitate it would be probably a waste of time given the Tex users groups that exist and all the online resources.

You were right Matt!,

 

I used the equation environment and it worked.

 

Many thanks to both of you, your comments were really helpful and they helped me to solve my problem.

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.