Jump to content

Numbering matrices in Latex


Guest black_duck

Recommended Posts

Guest black_duck

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

 

Many thanks

Link to comment
Share on other sites

Guest black_duck

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).

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Guest black_duck

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.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

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.