How remove the space in matrix?











up vote
1
down vote

favorite












Why the space? how remove the space?



enter image description here



begin{gather}
W =
begin{bmatrix}
{1^W}^T\
{2^W}^T \
. &\
. &\
{s^W}^T
end{bmatrix}
end{gather}









share|improve this question


















  • 1




    Get rid of the two & tabs, which create a second column.
    – Steven B. Segletes
    1 hour ago















up vote
1
down vote

favorite












Why the space? how remove the space?



enter image description here



begin{gather}
W =
begin{bmatrix}
{1^W}^T\
{2^W}^T \
. &\
. &\
{s^W}^T
end{bmatrix}
end{gather}









share|improve this question


















  • 1




    Get rid of the two & tabs, which create a second column.
    – Steven B. Segletes
    1 hour ago













up vote
1
down vote

favorite









up vote
1
down vote

favorite











Why the space? how remove the space?



enter image description here



begin{gather}
W =
begin{bmatrix}
{1^W}^T\
{2^W}^T \
. &\
. &\
{s^W}^T
end{bmatrix}
end{gather}









share|improve this question













Why the space? how remove the space?



enter image description here



begin{gather}
W =
begin{bmatrix}
{1^W}^T\
{2^W}^T \
. &\
. &\
{s^W}^T
end{bmatrix}
end{gather}






math-mode






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 1 hour ago









x-rw

33317




33317








  • 1




    Get rid of the two & tabs, which create a second column.
    – Steven B. Segletes
    1 hour ago














  • 1




    Get rid of the two & tabs, which create a second column.
    – Steven B. Segletes
    1 hour ago








1




1




Get rid of the two & tabs, which create a second column.
– Steven B. Segletes
1 hour ago




Get rid of the two & tabs, which create a second column.
– Steven B. Segletes
1 hour ago










1 Answer
1






active

oldest

votes

















up vote
4
down vote













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}


enter image description here



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}


enter image description here






share|improve this answer





















  • Why is there more space between {2^W}^T and vdots?
    – manooooh
    57 mins ago






  • 1




    @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
    28 mins ago










  • @barbarabeeton excellent! It is something similar with [begin{cases}...end{cases} equiv begin{cases}...end{cases}], right?
    – manooooh
    9 mins ago











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















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

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
4
down vote













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}


enter image description here



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}


enter image description here






share|improve this answer





















  • Why is there more space between {2^W}^T and vdots?
    – manooooh
    57 mins ago






  • 1




    @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
    28 mins ago










  • @barbarabeeton excellent! It is something similar with [begin{cases}...end{cases} equiv begin{cases}...end{cases}], right?
    – manooooh
    9 mins ago















up vote
4
down vote













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}


enter image description here



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}


enter image description here






share|improve this answer





















  • Why is there more space between {2^W}^T and vdots?
    – manooooh
    57 mins ago






  • 1




    @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
    28 mins ago










  • @barbarabeeton excellent! It is something similar with [begin{cases}...end{cases} equiv begin{cases}...end{cases}], right?
    – manooooh
    9 mins ago













up vote
4
down vote










up vote
4
down vote









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}


enter image description here



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}


enter image description here






share|improve this answer












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}


enter image description here



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}


enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered 1 hour ago









Steven B. Segletes

152k9191398




152k9191398












  • Why is there more space between {2^W}^T and vdots?
    – manooooh
    57 mins ago






  • 1




    @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
    28 mins ago










  • @barbarabeeton excellent! It is something similar with [begin{cases}...end{cases} equiv begin{cases}...end{cases}], right?
    – manooooh
    9 mins ago


















  • Why is there more space between {2^W}^T and vdots?
    – manooooh
    57 mins ago






  • 1




    @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
    28 mins ago










  • @barbarabeeton excellent! It is something similar with [begin{cases}...end{cases} equiv begin{cases}...end{cases}], right?
    – manooooh
    9 mins ago
















Why is there more space between {2^W}^T and vdots?
– manooooh
57 mins ago




Why is there more space between {2^W}^T and vdots?
– manooooh
57 mins ago




1




1




@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
28 mins ago




@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
28 mins ago












@barbarabeeton excellent! It is something similar with [begin{cases}...end{cases} equiv begin{cases}...end{cases}], right?
– manooooh
9 mins ago




@barbarabeeton excellent! It is something similar with [begin{cases}...end{cases} equiv begin{cases}...end{cases}], right?
– manooooh
9 mins ago


















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

404 Error Contact Form 7 ajax form submitting

How to know if a Active Directory user can login interactively

Refactoring coordinates for Minecraft Pi buildings written in Python