Results 1 to 3 of 3

Math Help - Question about carriage returns.

  1. #1
    Junior Member
    Joined
    May 2011
    Posts
    24
    Thanks
    1

    Question about carriage returns.

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

    \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:

    \begin{bmatrix}<br />
1 & 0 & 0 & 0 \\<br />
 0 & 1 & 0 & 0 \\ <br />
0 & 0 & 1 & 0 \\ <br />
0 & 0 & 0 & 1 \end{bmatrix} <br />
\begin{bmatrix} <br />
1 \\ <br />
1 \\ <br />
1 \\ <br />
1 \end{bmatrix} <br />
= \begin{bmatrix} <br />
1 \\ <br />
 1 \\ <br />
 1 \\ <br />
 1 \end{bmatrix}}


    \begin{bmatrix}  T \\ h \\ a \\ n \\k \\s \end{bmatrix}}
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor

    Joined
    Aug 2006
    Posts
    18,910
    Thanks
    1759
    Awards
    1

    Re: Question about carriage returns.

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

    \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:

    \begin{bmatrix}<br />
1 & 0 & 0 & 0 \\<br />
 0 & 1 & 0 & 0 \\ <br />
0 & 0 & 1 & 0 \\ <br />
0 & 0 & 0 & 1 \end{bmatrix} <br />
\begin{bmatrix} <br />
1 \\ <br />
1 \\ <br />
1 \\ <br />
1 \end{bmatrix} <br />
= \begin{bmatrix} <br />
1 \\ <br />
 1 \\ <br />
 1 \\ <br />
 1 \end{bmatrix}}
    \begin{bmatrix}  T \\ h \\ a \\ n \\k \\s \end{bmatrix}}

    The answer is simply no.
    The LaTeX compiler used here inserts a <br> at every 'linefeed' within the [TEX][/TEX] wrap.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Junior Member
    Joined
    May 2011
    Posts
    24
    Thanks
    1

    Re: Question about carriage returns.

    Oh pooh.

    Well, that's ok. I have a trick I can use in my word processor to get around this. It'll just cost a few extra steps is all. But it'll be worth it since I'm going to be doing a lot of matrices. Thanks for the quick reply.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 0
    Last Post: December 5th 2012, 11:35 PM
  2. question on calculating returns
    Posted in the Business Math Forum
    Replies: 0
    Last Post: November 30th 2011, 08:00 PM
  3. TI-89 returns the series I entered
    Posted in the Calculators Forum
    Replies: 2
    Last Post: April 16th 2011, 12:19 AM
  4. Geometric linking of returns
    Posted in the Business Math Forum
    Replies: 2
    Last Post: December 23rd 2009, 09:28 PM
  5. Replies: 2
    Last Post: March 22nd 2009, 01:48 AM

Search Tags


/mathhelpforum @mathhelpforum