How to control the height of square brackets of matrix












0















Here is my code for creating a matrix:



        begin{equation}
left [
begin{array}{ccc}
1 & 2 & 3\
1 & 2 & 3\
1 & 2 & 3\
end{array}
right ]
end{equation}


In my Tex release, it is printed as
enter image description here



But when I edit the same code in Mathematics Stack Exchange, it appears as
enter image description here



So how to fit the length of square brackets to actual size of matrix?
Furthermore, I found the same problem when using following environment:



begin{bmatrix} 
...
end{bmatrix}


Can anyone help out?










share|improve this question


















  • 5





    Welcome to TeX.SE! Mathematics Stack Exchange uses MathJax to typeset formulas, but MathJax is not latex.MathJay does only know a few LaTeX commands and MathJax does not use LaTeX to write formulas. Therefore the differences ...

    – Kurt
    Mar 3 at 3:19






  • 1





    In your LaTeX document, do you by any chance modify a low-level parameter such as baselinestretch or arraystretch? Or do you load the setspace package? Please advise.

    – Mico
    Mar 3 at 7:47






  • 2





    please always show a complete small document that shows the problem, not just a fragment. The spacing is affected by settings you have not shown.

    – David Carlisle
    Mar 3 at 8:13











  • @Mico Sorry, I am really a newbie to Latex. I am using a complex template in which I cannot determine whether any low-level parameters were modified. Basically it solved by using setstretch{ } :)

    – Finley
    Mar 3 at 12:26
















0















Here is my code for creating a matrix:



        begin{equation}
left [
begin{array}{ccc}
1 & 2 & 3\
1 & 2 & 3\
1 & 2 & 3\
end{array}
right ]
end{equation}


In my Tex release, it is printed as
enter image description here



But when I edit the same code in Mathematics Stack Exchange, it appears as
enter image description here



So how to fit the length of square brackets to actual size of matrix?
Furthermore, I found the same problem when using following environment:



begin{bmatrix} 
...
end{bmatrix}


Can anyone help out?










share|improve this question


















  • 5





    Welcome to TeX.SE! Mathematics Stack Exchange uses MathJax to typeset formulas, but MathJax is not latex.MathJay does only know a few LaTeX commands and MathJax does not use LaTeX to write formulas. Therefore the differences ...

    – Kurt
    Mar 3 at 3:19






  • 1





    In your LaTeX document, do you by any chance modify a low-level parameter such as baselinestretch or arraystretch? Or do you load the setspace package? Please advise.

    – Mico
    Mar 3 at 7:47






  • 2





    please always show a complete small document that shows the problem, not just a fragment. The spacing is affected by settings you have not shown.

    – David Carlisle
    Mar 3 at 8:13











  • @Mico Sorry, I am really a newbie to Latex. I am using a complex template in which I cannot determine whether any low-level parameters were modified. Basically it solved by using setstretch{ } :)

    – Finley
    Mar 3 at 12:26














0












0








0








Here is my code for creating a matrix:



        begin{equation}
left [
begin{array}{ccc}
1 & 2 & 3\
1 & 2 & 3\
1 & 2 & 3\
end{array}
right ]
end{equation}


In my Tex release, it is printed as
enter image description here



But when I edit the same code in Mathematics Stack Exchange, it appears as
enter image description here



So how to fit the length of square brackets to actual size of matrix?
Furthermore, I found the same problem when using following environment:



begin{bmatrix} 
...
end{bmatrix}


Can anyone help out?










share|improve this question














Here is my code for creating a matrix:



        begin{equation}
left [
begin{array}{ccc}
1 & 2 & 3\
1 & 2 & 3\
1 & 2 & 3\
end{array}
right ]
end{equation}


In my Tex release, it is printed as
enter image description here



But when I edit the same code in Mathematics Stack Exchange, it appears as
enter image description here



So how to fit the length of square brackets to actual size of matrix?
Furthermore, I found the same problem when using following environment:



begin{bmatrix} 
...
end{bmatrix}


Can anyone help out?







matrices arrays






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 3 at 2:57









FinleyFinley

1011




1011








  • 5





    Welcome to TeX.SE! Mathematics Stack Exchange uses MathJax to typeset formulas, but MathJax is not latex.MathJay does only know a few LaTeX commands and MathJax does not use LaTeX to write formulas. Therefore the differences ...

    – Kurt
    Mar 3 at 3:19






  • 1





    In your LaTeX document, do you by any chance modify a low-level parameter such as baselinestretch or arraystretch? Or do you load the setspace package? Please advise.

    – Mico
    Mar 3 at 7:47






  • 2





    please always show a complete small document that shows the problem, not just a fragment. The spacing is affected by settings you have not shown.

    – David Carlisle
    Mar 3 at 8:13











  • @Mico Sorry, I am really a newbie to Latex. I am using a complex template in which I cannot determine whether any low-level parameters were modified. Basically it solved by using setstretch{ } :)

    – Finley
    Mar 3 at 12:26














  • 5





    Welcome to TeX.SE! Mathematics Stack Exchange uses MathJax to typeset formulas, but MathJax is not latex.MathJay does only know a few LaTeX commands and MathJax does not use LaTeX to write formulas. Therefore the differences ...

    – Kurt
    Mar 3 at 3:19






  • 1





    In your LaTeX document, do you by any chance modify a low-level parameter such as baselinestretch or arraystretch? Or do you load the setspace package? Please advise.

    – Mico
    Mar 3 at 7:47






  • 2





    please always show a complete small document that shows the problem, not just a fragment. The spacing is affected by settings you have not shown.

    – David Carlisle
    Mar 3 at 8:13











  • @Mico Sorry, I am really a newbie to Latex. I am using a complex template in which I cannot determine whether any low-level parameters were modified. Basically it solved by using setstretch{ } :)

    – Finley
    Mar 3 at 12:26








5




5





Welcome to TeX.SE! Mathematics Stack Exchange uses MathJax to typeset formulas, but MathJax is not latex.MathJay does only know a few LaTeX commands and MathJax does not use LaTeX to write formulas. Therefore the differences ...

– Kurt
Mar 3 at 3:19





Welcome to TeX.SE! Mathematics Stack Exchange uses MathJax to typeset formulas, but MathJax is not latex.MathJay does only know a few LaTeX commands and MathJax does not use LaTeX to write formulas. Therefore the differences ...

– Kurt
Mar 3 at 3:19




1




1





In your LaTeX document, do you by any chance modify a low-level parameter such as baselinestretch or arraystretch? Or do you load the setspace package? Please advise.

– Mico
Mar 3 at 7:47





In your LaTeX document, do you by any chance modify a low-level parameter such as baselinestretch or arraystretch? Or do you load the setspace package? Please advise.

– Mico
Mar 3 at 7:47




2




2





please always show a complete small document that shows the problem, not just a fragment. The spacing is affected by settings you have not shown.

– David Carlisle
Mar 3 at 8:13





please always show a complete small document that shows the problem, not just a fragment. The spacing is affected by settings you have not shown.

– David Carlisle
Mar 3 at 8:13













@Mico Sorry, I am really a newbie to Latex. I am using a complex template in which I cannot determine whether any low-level parameters were modified. Basically it solved by using setstretch{ } :)

– Finley
Mar 3 at 12:26





@Mico Sorry, I am really a newbie to Latex. I am using a complex template in which I cannot determine whether any low-level parameters were modified. Basically it solved by using setstretch{ } :)

– Finley
Mar 3 at 12:26










0






active

oldest

votes











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',
autoActivateHeartbeat: false,
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%2f477500%2fhow-to-control-the-height-of-square-brackets-of-matrix%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f477500%2fhow-to-control-the-height-of-square-brackets-of-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

Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

ComboBox Display Member on multiple fields

Is it possible to collect Nectar points via Trainline?