how i could write matrix in two line as shown in the attachment
for example want this matrix in two line
Code: Select all
\begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}
Code: Select all
\begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Code: Select all
\documentclass{article}
%
\begin{document}
\[
\begin{array}{cc}
\left[
\begin{array}{c}
1 \\ 3
\end{array}
\right.
\\
&
\left.
\begin{array}{c}
2 \\ 4
\end{array}
\right]
\end{array}
\]
\end{document}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis