1. ## Question about carriage returns.

Let's say that I'd like to type in the following matrix equation.

$\displaystyle \begin{bmatrix}1 & 0 & 0 & 0 \\0 & 1 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \end{bmatrix} \begin{bmatrix} 1 \\ 1 \\ 1 \\ 1 \end{bmatrix} = \begin{bmatrix} 1 \\ 1 \\ 1 \\ 1 \end{bmatrix}}$

But let's say that I'd like to actually type in the Latex as follows: For clarity of editing the text.

[ TEX]\begin{bmatrix}
1 & 0 & 0 & 0 \\
0 & 1 & 0 & 0 \\
0 & 0 & 1 & 0 \\
0 & 0 & 0 & 1 \end{bmatrix}
\begin{bmatrix}
1 \\
1 \\
1 \\
1 \end{bmatrix}
= \begin{bmatrix}
1 \\
1 \\
1 \\
1 \end{bmatrix}}[/TEX ]

Is there any way I can do that and suppress the breaks from showing up as they do in the following:

$\displaystyle \begin{bmatrix} 1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \end{bmatrix} \begin{bmatrix} 1 \\ 1 \\ 1 \\ 1 \end{bmatrix} = \begin{bmatrix} 1 \\ 1 \\ 1 \\ 1 \end{bmatrix}}$

$\displaystyle \begin{bmatrix} T \\ h \\ a \\ n \\k \\s \end{bmatrix}}$

2. ## Re: Question about carriage returns.

Originally Posted by Zeno
Let's say that I'd like to type in the following matrix equation.

$\displaystyle \begin{bmatrix}1 & 0 & 0 & 0 \\0 & 1 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \end{bmatrix} \begin{bmatrix} 1 \\ 1 \\ 1 \\ 1 \end{bmatrix} = \begin{bmatrix} 1 \\ 1 \\ 1 \\ 1 \end{bmatrix}}$

But let's say that I'd like to actually type in the Latex as follows: For clarity of editing the text.

[ TEX]\begin{bmatrix}
1 & 0 & 0 & 0 \\
0 & 1 & 0 & 0 \\
0 & 0 & 1 & 0 \\
0 & 0 & 0 & 1 \end{bmatrix}
\begin{bmatrix}
1 \\
1 \\
1 \\
1 \end{bmatrix}
= \begin{bmatrix}
1 \\
1 \\
1 \\
1 \end{bmatrix}}[/TEX ]

Is there any way I can do that and suppress the breaks from showing up as they do in the following:

$\displaystyle \begin{bmatrix} 1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \end{bmatrix} \begin{bmatrix} 1 \\ 1 \\ 1 \\ 1 \end{bmatrix} = \begin{bmatrix} 1 \\ 1 \\ 1 \\ 1 \end{bmatrix}}$
$\displaystyle \begin{bmatrix} T \\ h \\ a \\ n \\k \\s \end{bmatrix}}$