Hi you guys!
I wonder if there is a straight way of inserting nxn-size matrices in math mode without using the menu or adding lines and row one at the time.
That is i wan't to be able to write \bmatrix (something) where this something is me specifying the number of rows and columns directly.
I hope some of you are able to help.
Thank you,
Henrik
LyX ⇒ Insert (n×n) Matrices directly
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Insert (n×n) Matrices directly
Hi Henrik,
welcome to the board!
You could simply write LaTeX code in ERT, no need to specify columns or rows:
Stefan
welcome to the board!
You could simply write LaTeX code in ERT, no need to specify columns or rows:
Code: Select all
\begin{bmatrix}
1 & 2 \\
3 & 4
\end{bmatrix}
LaTeX.org admin
Re: Insert (n×n) Matrices directly
Wow thanks for the fast response!
I haven't used ERT before, how is the most convenient way of inserting it?
I understand why learing ERT is smart, but if there is a "LyX" way of doing it i would like to know that aswell.
best regards,
Henrik
I haven't used ERT before, how is the most convenient way of inserting it?
I understand why learing ERT is smart, but if there is a "LyX" way of doing it i would like to know that aswell.
best regards,
Henrik