How remove the space in matrix?
up vote
5
down vote
favorite
Why the space? how remove the space?
begin{gather}
W =
begin{bmatrix}
{1^W}^T\
{2^W}^T \
. &\
. &\
{s^W}^T
end{bmatrix}
end{gather}
math-mode
add a comment |
up vote
5
down vote
favorite
Why the space? how remove the space?
begin{gather}
W =
begin{bmatrix}
{1^W}^T\
{2^W}^T \
. &\
. &\
{s^W}^T
end{bmatrix}
end{gather}
math-mode
5
Get rid of the two&
tabs, which create a second column.
– Steven B. Segletes
Dec 4 at 3:14
although it isn't mentioned in the question, the dots don't look too good. (this was questioned in a comment to the accepted answer.) this problem is addressed in answers to this question: tex.stackexchange.com/q/286701/579
– barbara beeton
Dec 4 at 14:14
add a comment |
up vote
5
down vote
favorite
up vote
5
down vote
favorite
Why the space? how remove the space?
begin{gather}
W =
begin{bmatrix}
{1^W}^T\
{2^W}^T \
. &\
. &\
{s^W}^T
end{bmatrix}
end{gather}
math-mode
Why the space? how remove the space?
begin{gather}
W =
begin{bmatrix}
{1^W}^T\
{2^W}^T \
. &\
. &\
{s^W}^T
end{bmatrix}
end{gather}
math-mode
math-mode
asked Dec 4 at 3:10
x-rw
36717
36717
5
Get rid of the two&
tabs, which create a second column.
– Steven B. Segletes
Dec 4 at 3:14
although it isn't mentioned in the question, the dots don't look too good. (this was questioned in a comment to the accepted answer.) this problem is addressed in answers to this question: tex.stackexchange.com/q/286701/579
– barbara beeton
Dec 4 at 14:14
add a comment |
5
Get rid of the two&
tabs, which create a second column.
– Steven B. Segletes
Dec 4 at 3:14
although it isn't mentioned in the question, the dots don't look too good. (this was questioned in a comment to the accepted answer.) this problem is addressed in answers to this question: tex.stackexchange.com/q/286701/579
– barbara beeton
Dec 4 at 14:14
5
5
Get rid of the two
&
tabs, which create a second column.– Steven B. Segletes
Dec 4 at 3:14
Get rid of the two
&
tabs, which create a second column.– Steven B. Segletes
Dec 4 at 3:14
although it isn't mentioned in the question, the dots don't look too good. (this was questioned in a comment to the accepted answer.) this problem is addressed in answers to this question: tex.stackexchange.com/q/286701/579
– barbara beeton
Dec 4 at 14:14
although it isn't mentioned in the question, the dots don't look too good. (this was questioned in a comment to the accepted answer.) this problem is addressed in answers to this question: tex.stackexchange.com/q/286701/579
– barbara beeton
Dec 4 at 14:14
add a comment |
1 Answer
1
active
oldest
votes
up vote
14
down vote
accepted
Get rid of the two &
tab separators...they result in the creation of a 2nd column in the matrix.
documentclass{article}
usepackage{amsmath}
begin{document}
begin{gather}
W =
begin{bmatrix}
{1^W}^T\
{2^W}^T \
. \
. \
{s^W}^T
end{bmatrix}
end{gather}
end{document}
Also, consider replacing the .\.\
with vdots\
, as in
documentclass{article}
usepackage{amsmath}
begin{document}
begin{gather}
W =
begin{bmatrix}
{1^W}^T\
{2^W}^T \
vdots \
{s^W}^T
end{bmatrix}
end{gather}
end{document}
1
Why is there more space between{2^W}^T
andvdots
?
– manooooh
Dec 4 at 3:32
5
@manooooh --vdots
is constructed from periods, which sit on the baseline, so there's quite a lot of "air" above the top one. some methods for compacting them or adjusting the vertical space appear in answers to tex.stackexchange.com/q/412407/579 .
– barbara beeton
Dec 4 at 4:01
@barbarabeeton excellent! It is something similar with[begin{cases}...end{cases} equiv begin{cases}...end{cases}]
, right?
– manooooh
Dec 4 at 4:20
2
@manooooh it is similar if you wish the syntax ofcases
(left brace, no right brace). Another differrence,bmatrix
uses center alignment, where ascases
uses right/left, right/left alignment.
– Steven B. Segletes
Dec 4 at 4:43
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
14
down vote
accepted
Get rid of the two &
tab separators...they result in the creation of a 2nd column in the matrix.
documentclass{article}
usepackage{amsmath}
begin{document}
begin{gather}
W =
begin{bmatrix}
{1^W}^T\
{2^W}^T \
. \
. \
{s^W}^T
end{bmatrix}
end{gather}
end{document}
Also, consider replacing the .\.\
with vdots\
, as in
documentclass{article}
usepackage{amsmath}
begin{document}
begin{gather}
W =
begin{bmatrix}
{1^W}^T\
{2^W}^T \
vdots \
{s^W}^T
end{bmatrix}
end{gather}
end{document}
1
Why is there more space between{2^W}^T
andvdots
?
– manooooh
Dec 4 at 3:32
5
@manooooh --vdots
is constructed from periods, which sit on the baseline, so there's quite a lot of "air" above the top one. some methods for compacting them or adjusting the vertical space appear in answers to tex.stackexchange.com/q/412407/579 .
– barbara beeton
Dec 4 at 4:01
@barbarabeeton excellent! It is something similar with[begin{cases}...end{cases} equiv begin{cases}...end{cases}]
, right?
– manooooh
Dec 4 at 4:20
2
@manooooh it is similar if you wish the syntax ofcases
(left brace, no right brace). Another differrence,bmatrix
uses center alignment, where ascases
uses right/left, right/left alignment.
– Steven B. Segletes
Dec 4 at 4:43
add a comment |
up vote
14
down vote
accepted
Get rid of the two &
tab separators...they result in the creation of a 2nd column in the matrix.
documentclass{article}
usepackage{amsmath}
begin{document}
begin{gather}
W =
begin{bmatrix}
{1^W}^T\
{2^W}^T \
. \
. \
{s^W}^T
end{bmatrix}
end{gather}
end{document}
Also, consider replacing the .\.\
with vdots\
, as in
documentclass{article}
usepackage{amsmath}
begin{document}
begin{gather}
W =
begin{bmatrix}
{1^W}^T\
{2^W}^T \
vdots \
{s^W}^T
end{bmatrix}
end{gather}
end{document}
1
Why is there more space between{2^W}^T
andvdots
?
– manooooh
Dec 4 at 3:32
5
@manooooh --vdots
is constructed from periods, which sit on the baseline, so there's quite a lot of "air" above the top one. some methods for compacting them or adjusting the vertical space appear in answers to tex.stackexchange.com/q/412407/579 .
– barbara beeton
Dec 4 at 4:01
@barbarabeeton excellent! It is something similar with[begin{cases}...end{cases} equiv begin{cases}...end{cases}]
, right?
– manooooh
Dec 4 at 4:20
2
@manooooh it is similar if you wish the syntax ofcases
(left brace, no right brace). Another differrence,bmatrix
uses center alignment, where ascases
uses right/left, right/left alignment.
– Steven B. Segletes
Dec 4 at 4:43
add a comment |
up vote
14
down vote
accepted
up vote
14
down vote
accepted
Get rid of the two &
tab separators...they result in the creation of a 2nd column in the matrix.
documentclass{article}
usepackage{amsmath}
begin{document}
begin{gather}
W =
begin{bmatrix}
{1^W}^T\
{2^W}^T \
. \
. \
{s^W}^T
end{bmatrix}
end{gather}
end{document}
Also, consider replacing the .\.\
with vdots\
, as in
documentclass{article}
usepackage{amsmath}
begin{document}
begin{gather}
W =
begin{bmatrix}
{1^W}^T\
{2^W}^T \
vdots \
{s^W}^T
end{bmatrix}
end{gather}
end{document}
Get rid of the two &
tab separators...they result in the creation of a 2nd column in the matrix.
documentclass{article}
usepackage{amsmath}
begin{document}
begin{gather}
W =
begin{bmatrix}
{1^W}^T\
{2^W}^T \
. \
. \
{s^W}^T
end{bmatrix}
end{gather}
end{document}
Also, consider replacing the .\.\
with vdots\
, as in
documentclass{article}
usepackage{amsmath}
begin{document}
begin{gather}
W =
begin{bmatrix}
{1^W}^T\
{2^W}^T \
vdots \
{s^W}^T
end{bmatrix}
end{gather}
end{document}
answered Dec 4 at 3:16
Steven B. Segletes
152k9192399
152k9192399
1
Why is there more space between{2^W}^T
andvdots
?
– manooooh
Dec 4 at 3:32
5
@manooooh --vdots
is constructed from periods, which sit on the baseline, so there's quite a lot of "air" above the top one. some methods for compacting them or adjusting the vertical space appear in answers to tex.stackexchange.com/q/412407/579 .
– barbara beeton
Dec 4 at 4:01
@barbarabeeton excellent! It is something similar with[begin{cases}...end{cases} equiv begin{cases}...end{cases}]
, right?
– manooooh
Dec 4 at 4:20
2
@manooooh it is similar if you wish the syntax ofcases
(left brace, no right brace). Another differrence,bmatrix
uses center alignment, where ascases
uses right/left, right/left alignment.
– Steven B. Segletes
Dec 4 at 4:43
add a comment |
1
Why is there more space between{2^W}^T
andvdots
?
– manooooh
Dec 4 at 3:32
5
@manooooh --vdots
is constructed from periods, which sit on the baseline, so there's quite a lot of "air" above the top one. some methods for compacting them or adjusting the vertical space appear in answers to tex.stackexchange.com/q/412407/579 .
– barbara beeton
Dec 4 at 4:01
@barbarabeeton excellent! It is something similar with[begin{cases}...end{cases} equiv begin{cases}...end{cases}]
, right?
– manooooh
Dec 4 at 4:20
2
@manooooh it is similar if you wish the syntax ofcases
(left brace, no right brace). Another differrence,bmatrix
uses center alignment, where ascases
uses right/left, right/left alignment.
– Steven B. Segletes
Dec 4 at 4:43
1
1
Why is there more space between
{2^W}^T
and vdots
?– manooooh
Dec 4 at 3:32
Why is there more space between
{2^W}^T
and vdots
?– manooooh
Dec 4 at 3:32
5
5
@manooooh --
vdots
is constructed from periods, which sit on the baseline, so there's quite a lot of "air" above the top one. some methods for compacting them or adjusting the vertical space appear in answers to tex.stackexchange.com/q/412407/579 .– barbara beeton
Dec 4 at 4:01
@manooooh --
vdots
is constructed from periods, which sit on the baseline, so there's quite a lot of "air" above the top one. some methods for compacting them or adjusting the vertical space appear in answers to tex.stackexchange.com/q/412407/579 .– barbara beeton
Dec 4 at 4:01
@barbarabeeton excellent! It is something similar with
[begin{cases}...end{cases} equiv begin{cases}...end{cases}]
, right?– manooooh
Dec 4 at 4:20
@barbarabeeton excellent! It is something similar with
[begin{cases}...end{cases} equiv begin{cases}...end{cases}]
, right?– manooooh
Dec 4 at 4:20
2
2
@manooooh it is similar if you wish the syntax of
cases
(left brace, no right brace). Another differrence, bmatrix
uses center alignment, where as cases
uses right/left, right/left alignment.– Steven B. Segletes
Dec 4 at 4:43
@manooooh it is similar if you wish the syntax of
cases
(left brace, no right brace). Another differrence, bmatrix
uses center alignment, where as cases
uses right/left, right/left alignment.– Steven B. Segletes
Dec 4 at 4:43
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f463086%2fhow-remove-the-space-in-matrix%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
5
Get rid of the two
&
tabs, which create a second column.– Steven B. Segletes
Dec 4 at 3:14
although it isn't mentioned in the question, the dots don't look too good. (this was questioned in a comment to the accepted answer.) this problem is addressed in answers to this question: tex.stackexchange.com/q/286701/579
– barbara beeton
Dec 4 at 14:14