How to align braces and mid in a set in order to get the same heightSame height for list of comma-separated vectorsWhy does widehat behave differently if I insert hspace0pt?Left aligning equations without align characterWhy don't the curly braces and the mid bar become bigger?Circles at the same heightHow to ensure that vectors have the same width (equation)?Using printeranswers environment, how to print solutions in the box without the title “Solutions”middle align and move images to the leftHow would I correctly align the following?How do I reduce spacing between 2 segments of a line in a multiple alignment environment?

How come the Russian cognate for the Czech word "čerstvý" (fresh) means entirely the opposite thing (stale)?

Redirect output on-the-fly - looks not possible in Linux, why?

When can this condition on linear codes be satisfied?

Was there an autocomplete utility in MS-DOS?

Why didn't the Universal Translator speak whale?

Should I hang doors before or after drywall?

Use floats or doubles when writing mobile games

Dotted footnote rule

Power Adapter for Traveling to Scotland (I live in the US)

Is there any problem with students seeing faculty naked in university gym?

Determine the Winner of a Game of Australian Football

Can I voluntarily exit from the US after a 20 year overstay, or could I be detained at the airport?

Why do many websites hide input when entering a OTP

Are there manual immigration checks for non EU citizens in airports when travelling inside the EU?

Does python reuse repeated calculation results?

Does every Ubuntu question answer apply to it's derivatives? (Xubuntu, Lubuntu, Kubuntu)

Was Smaug sealed inside the Lonely Mountain?

Does SQL Server's serializable isolation level lock entire table

What are the limits on an impeached and not convicted president?

Why is it more suitable to use 「V辞書形 」 than 「N+の」 right before 「代わりに」 in the following sentence?

Mac no longer boots

Does Hogwarts have its own anthem?

Should I reveal productivity tricks to peers?

Would Great Old Ones care about the Blood War?



How to align braces and mid in a set in order to get the same height


Same height for list of comma-separated vectorsWhy does widehat behave differently if I insert hspace0pt?Left aligning equations without align characterWhy don't the curly braces and the mid bar become bigger?Circles at the same heightHow to ensure that vectors have the same width (equation)?Using printeranswers environment, how to print solutions in the box without the title “Solutions”middle align and move images to the leftHow would I correctly align the following?How do I reduce spacing between 2 segments of a line in a multiple alignment environment?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









3















Main question




How to align braces and mid in a set in order to get the same height?




Code:



My following code



documentclassarticle
usepackage[utf8]inputenc
usepackageamsmath
usepackageamssymb

begindocument

$G_1=left beginpmatrix 1 \ -2 \ 3 \ 4 endpmatrix + lambda beginpmatrix -2 \ 3 \ 4 \ -5 endpmatrix mid lambda in mathbbRright$
enddocument


compiles to:
tex-1



Does this is a better visualization than:



documentclassarticle
usepackage[utf8]inputenc
usepackageamsmath
usepackageamssymb

begindocument

$G_1= beginpmatrix 1 \ -2 \ 3 \ 4 endpmatrix + lambda beginpmatrix -2 \ 3 \ 4 \ -5 endpmatrix mid lambda in mathbbR$
enddocument


which compiles to:
tex-2



?




Other questions



  1. How do I align the negative numbers of the vectors correctly?

  2. How do I manage to change the relational symbol mid to a bigger one that fits the height of the vectors/braces?

  3. Which is the best way to visualize G_1 if none of the visualizations above are good enough?









share|improve this question


























  • what do you mean by "formal" and "fancy" here? (I know what the words mean, but I can not guess what you mean in this context)

    – David Carlisle
    Apr 16 at 18:49






  • 1





    middlevert should grow the vertical bar in a left...right construct.

    – Steven B. Segletes
    Apr 16 at 18:50











  • Sry for the misleading words. I wanted to express, that the braces, mid and all vectors have the same height. Furthermore, it would be good, if the negative numbers are aligned correctly

    – Doesbaddel
    Apr 16 at 18:52











  • @DavidCarlisle alright, I will change it.

    – Doesbaddel
    Apr 16 at 18:59











  • thanks:-)......

    – David Carlisle
    Apr 16 at 19:01

















3















Main question




How to align braces and mid in a set in order to get the same height?




Code:



My following code



documentclassarticle
usepackage[utf8]inputenc
usepackageamsmath
usepackageamssymb

begindocument

$G_1=left beginpmatrix 1 \ -2 \ 3 \ 4 endpmatrix + lambda beginpmatrix -2 \ 3 \ 4 \ -5 endpmatrix mid lambda in mathbbRright$
enddocument


compiles to:
tex-1



Does this is a better visualization than:



documentclassarticle
usepackage[utf8]inputenc
usepackageamsmath
usepackageamssymb

begindocument

$G_1= beginpmatrix 1 \ -2 \ 3 \ 4 endpmatrix + lambda beginpmatrix -2 \ 3 \ 4 \ -5 endpmatrix mid lambda in mathbbR$
enddocument


which compiles to:
tex-2



?




Other questions



  1. How do I align the negative numbers of the vectors correctly?

  2. How do I manage to change the relational symbol mid to a bigger one that fits the height of the vectors/braces?

  3. Which is the best way to visualize G_1 if none of the visualizations above are good enough?









share|improve this question


























  • what do you mean by "formal" and "fancy" here? (I know what the words mean, but I can not guess what you mean in this context)

    – David Carlisle
    Apr 16 at 18:49






  • 1





    middlevert should grow the vertical bar in a left...right construct.

    – Steven B. Segletes
    Apr 16 at 18:50











  • Sry for the misleading words. I wanted to express, that the braces, mid and all vectors have the same height. Furthermore, it would be good, if the negative numbers are aligned correctly

    – Doesbaddel
    Apr 16 at 18:52











  • @DavidCarlisle alright, I will change it.

    – Doesbaddel
    Apr 16 at 18:59











  • thanks:-)......

    – David Carlisle
    Apr 16 at 19:01













3












3








3


1






Main question




How to align braces and mid in a set in order to get the same height?




Code:



My following code



documentclassarticle
usepackage[utf8]inputenc
usepackageamsmath
usepackageamssymb

begindocument

$G_1=left beginpmatrix 1 \ -2 \ 3 \ 4 endpmatrix + lambda beginpmatrix -2 \ 3 \ 4 \ -5 endpmatrix mid lambda in mathbbRright$
enddocument


compiles to:
tex-1



Does this is a better visualization than:



documentclassarticle
usepackage[utf8]inputenc
usepackageamsmath
usepackageamssymb

begindocument

$G_1= beginpmatrix 1 \ -2 \ 3 \ 4 endpmatrix + lambda beginpmatrix -2 \ 3 \ 4 \ -5 endpmatrix mid lambda in mathbbR$
enddocument


which compiles to:
tex-2



?




Other questions



  1. How do I align the negative numbers of the vectors correctly?

  2. How do I manage to change the relational symbol mid to a bigger one that fits the height of the vectors/braces?

  3. Which is the best way to visualize G_1 if none of the visualizations above are good enough?









share|improve this question
















Main question




How to align braces and mid in a set in order to get the same height?




Code:



My following code



documentclassarticle
usepackage[utf8]inputenc
usepackageamsmath
usepackageamssymb

begindocument

$G_1=left beginpmatrix 1 \ -2 \ 3 \ 4 endpmatrix + lambda beginpmatrix -2 \ 3 \ 4 \ -5 endpmatrix mid lambda in mathbbRright$
enddocument


compiles to:
tex-1



Does this is a better visualization than:



documentclassarticle
usepackage[utf8]inputenc
usepackageamsmath
usepackageamssymb

begindocument

$G_1= beginpmatrix 1 \ -2 \ 3 \ 4 endpmatrix + lambda beginpmatrix -2 \ 3 \ 4 \ -5 endpmatrix mid lambda in mathbbR$
enddocument


which compiles to:
tex-2



?




Other questions



  1. How do I align the negative numbers of the vectors correctly?

  2. How do I manage to change the relational symbol mid to a bigger one that fits the height of the vectors/braces?

  3. Which is the best way to visualize G_1 if none of the visualizations above are good enough?






math-mode amsmath alignment vector






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 16 at 20:59







Doesbaddel

















asked Apr 16 at 18:36









DoesbaddelDoesbaddel

1678 bronze badges




1678 bronze badges















  • what do you mean by "formal" and "fancy" here? (I know what the words mean, but I can not guess what you mean in this context)

    – David Carlisle
    Apr 16 at 18:49






  • 1





    middlevert should grow the vertical bar in a left...right construct.

    – Steven B. Segletes
    Apr 16 at 18:50











  • Sry for the misleading words. I wanted to express, that the braces, mid and all vectors have the same height. Furthermore, it would be good, if the negative numbers are aligned correctly

    – Doesbaddel
    Apr 16 at 18:52











  • @DavidCarlisle alright, I will change it.

    – Doesbaddel
    Apr 16 at 18:59











  • thanks:-)......

    – David Carlisle
    Apr 16 at 19:01

















  • what do you mean by "formal" and "fancy" here? (I know what the words mean, but I can not guess what you mean in this context)

    – David Carlisle
    Apr 16 at 18:49






  • 1





    middlevert should grow the vertical bar in a left...right construct.

    – Steven B. Segletes
    Apr 16 at 18:50











  • Sry for the misleading words. I wanted to express, that the braces, mid and all vectors have the same height. Furthermore, it would be good, if the negative numbers are aligned correctly

    – Doesbaddel
    Apr 16 at 18:52











  • @DavidCarlisle alright, I will change it.

    – Doesbaddel
    Apr 16 at 18:59











  • thanks:-)......

    – David Carlisle
    Apr 16 at 19:01
















what do you mean by "formal" and "fancy" here? (I know what the words mean, but I can not guess what you mean in this context)

– David Carlisle
Apr 16 at 18:49





what do you mean by "formal" and "fancy" here? (I know what the words mean, but I can not guess what you mean in this context)

– David Carlisle
Apr 16 at 18:49




1




1





middlevert should grow the vertical bar in a left...right construct.

– Steven B. Segletes
Apr 16 at 18:50





middlevert should grow the vertical bar in a left...right construct.

– Steven B. Segletes
Apr 16 at 18:50













Sry for the misleading words. I wanted to express, that the braces, mid and all vectors have the same height. Furthermore, it would be good, if the negative numbers are aligned correctly

– Doesbaddel
Apr 16 at 18:52





Sry for the misleading words. I wanted to express, that the braces, mid and all vectors have the same height. Furthermore, it would be good, if the negative numbers are aligned correctly

– Doesbaddel
Apr 16 at 18:52













@DavidCarlisle alright, I will change it.

– Doesbaddel
Apr 16 at 18:59





@DavidCarlisle alright, I will change it.

– Doesbaddel
Apr 16 at 18:59













thanks:-)......

– David Carlisle
Apr 16 at 19:01





thanks:-)......

– David Carlisle
Apr 16 at 19:01










3 Answers
3






active

oldest

votes


















3
















I suggest using the pmatrix*[r] environment, from mathtools, in a medium-sized version thanks to the medsize environment from nccmath. Also, I used a set command based on DeclarePairedDelimiterX (again from mathtools), which uses two arguments, separated by a semi-colon:



documentclassarticle
usepackage[utf8]inputenc
usepackageamssymb
usepackagemathtools, nccmath

newenvironmentpmmatrix*[1][c]medsizebeginpmatrix*[#1] endpmatrix*endmedsize
usepackagexparse
DeclarePairedDelimiterXset[1]setargs#1
NewDocumentCommandsetargs>SplitArgument1;m
setargsaux#1
NewDocumentCommandsetargsauxmm
IfNoValueTF#2#1nonscript,#1nonscript;delimsizevertnonscript:allowbreakmathopen#2nonscript,

begindocument

[set*beginpmmatrix*[r]1\ -2 \ 3 \ 4 endpmmatrix* + lambdabeginpmmatrix*[r]-2 \ 3 \ 4 \ -5 endpmmatrix*; lambdainmathbfR ]

enddocument


enter image description here






share|improve this answer



























  • Thank you for a different approach of the problem!

    – Doesbaddel
    Apr 16 at 20:25


















2
















documentclassarticle
usepackage[utf8]inputenc
usepackageamsmath
usepackageamssymb
usepackagetabstackengine
begindocument

$G_1=left parenVectorstack[r] 1 \ -2 \ 3 \ 4 +
lambda parenVectorstack[r] -2 \ 3 \ 4 \ -5
middlevert, lambda in mathbbRright$
enddocument


enter image description here






share|improve this answer



























  • Thank you! This is what I actually was looking for but one last question: How can you change the spacing of the vertical line so that it has the same space to the vector and the lambda?

    – Doesbaddel
    Apr 16 at 18:59






  • 1





    @Doesbaddel Either add ! before middlevert or add , after middlevert. I have edited my answer to reflect this.

    – Steven B. Segletes
    Apr 16 at 19:00







  • 1





    @Doesbaddel Note: you can also change the row spacing (baselineskip) prior to building the vector stacks, with setstackgapL14pt (currently baselineskip = 12pt).

    – Steven B. Segletes
    Apr 16 at 19:05



















2
















Using spalign package you can obtain same result of the best answers of @Bernard and @Steven B. Segletes. The code is not very long.



enter image description here



documentclass[12pt]article
usepackagespalign
usepackageamssymb

begindocument

[G_1=left spalignvector[r]1 -2 3 4+lambdaspalignvector[r]1 -2 3 4 middlevert lambdain mathbbRright]
enddocument





share|improve this answer


























    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/4.0/"u003ecc by-sa 4.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%2f485186%2fhow-to-align-braces-and-mid-in-a-set-in-order-to-get-the-same-height%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3
















    I suggest using the pmatrix*[r] environment, from mathtools, in a medium-sized version thanks to the medsize environment from nccmath. Also, I used a set command based on DeclarePairedDelimiterX (again from mathtools), which uses two arguments, separated by a semi-colon:



    documentclassarticle
    usepackage[utf8]inputenc
    usepackageamssymb
    usepackagemathtools, nccmath

    newenvironmentpmmatrix*[1][c]medsizebeginpmatrix*[#1] endpmatrix*endmedsize
    usepackagexparse
    DeclarePairedDelimiterXset[1]setargs#1
    NewDocumentCommandsetargs>SplitArgument1;m
    setargsaux#1
    NewDocumentCommandsetargsauxmm
    IfNoValueTF#2#1nonscript,#1nonscript;delimsizevertnonscript:allowbreakmathopen#2nonscript,

    begindocument

    [set*beginpmmatrix*[r]1\ -2 \ 3 \ 4 endpmmatrix* + lambdabeginpmmatrix*[r]-2 \ 3 \ 4 \ -5 endpmmatrix*; lambdainmathbfR ]

    enddocument


    enter image description here






    share|improve this answer



























    • Thank you for a different approach of the problem!

      – Doesbaddel
      Apr 16 at 20:25















    3
















    I suggest using the pmatrix*[r] environment, from mathtools, in a medium-sized version thanks to the medsize environment from nccmath. Also, I used a set command based on DeclarePairedDelimiterX (again from mathtools), which uses two arguments, separated by a semi-colon:



    documentclassarticle
    usepackage[utf8]inputenc
    usepackageamssymb
    usepackagemathtools, nccmath

    newenvironmentpmmatrix*[1][c]medsizebeginpmatrix*[#1] endpmatrix*endmedsize
    usepackagexparse
    DeclarePairedDelimiterXset[1]setargs#1
    NewDocumentCommandsetargs>SplitArgument1;m
    setargsaux#1
    NewDocumentCommandsetargsauxmm
    IfNoValueTF#2#1nonscript,#1nonscript;delimsizevertnonscript:allowbreakmathopen#2nonscript,

    begindocument

    [set*beginpmmatrix*[r]1\ -2 \ 3 \ 4 endpmmatrix* + lambdabeginpmmatrix*[r]-2 \ 3 \ 4 \ -5 endpmmatrix*; lambdainmathbfR ]

    enddocument


    enter image description here






    share|improve this answer



























    • Thank you for a different approach of the problem!

      – Doesbaddel
      Apr 16 at 20:25













    3














    3










    3









    I suggest using the pmatrix*[r] environment, from mathtools, in a medium-sized version thanks to the medsize environment from nccmath. Also, I used a set command based on DeclarePairedDelimiterX (again from mathtools), which uses two arguments, separated by a semi-colon:



    documentclassarticle
    usepackage[utf8]inputenc
    usepackageamssymb
    usepackagemathtools, nccmath

    newenvironmentpmmatrix*[1][c]medsizebeginpmatrix*[#1] endpmatrix*endmedsize
    usepackagexparse
    DeclarePairedDelimiterXset[1]setargs#1
    NewDocumentCommandsetargs>SplitArgument1;m
    setargsaux#1
    NewDocumentCommandsetargsauxmm
    IfNoValueTF#2#1nonscript,#1nonscript;delimsizevertnonscript:allowbreakmathopen#2nonscript,

    begindocument

    [set*beginpmmatrix*[r]1\ -2 \ 3 \ 4 endpmmatrix* + lambdabeginpmmatrix*[r]-2 \ 3 \ 4 \ -5 endpmmatrix*; lambdainmathbfR ]

    enddocument


    enter image description here






    share|improve this answer















    I suggest using the pmatrix*[r] environment, from mathtools, in a medium-sized version thanks to the medsize environment from nccmath. Also, I used a set command based on DeclarePairedDelimiterX (again from mathtools), which uses two arguments, separated by a semi-colon:



    documentclassarticle
    usepackage[utf8]inputenc
    usepackageamssymb
    usepackagemathtools, nccmath

    newenvironmentpmmatrix*[1][c]medsizebeginpmatrix*[#1] endpmatrix*endmedsize
    usepackagexparse
    DeclarePairedDelimiterXset[1]setargs#1
    NewDocumentCommandsetargs>SplitArgument1;m
    setargsaux#1
    NewDocumentCommandsetargsauxmm
    IfNoValueTF#2#1nonscript,#1nonscript;delimsizevertnonscript:allowbreakmathopen#2nonscript,

    begindocument

    [set*beginpmmatrix*[r]1\ -2 \ 3 \ 4 endpmmatrix* + lambdabeginpmmatrix*[r]-2 \ 3 \ 4 \ -5 endpmmatrix*; lambdainmathbfR ]

    enddocument


    enter image description here







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Apr 16 at 20:32

























    answered Apr 16 at 20:20









    BernardBernard

    192k8 gold badges86 silver badges230 bronze badges




    192k8 gold badges86 silver badges230 bronze badges















    • Thank you for a different approach of the problem!

      – Doesbaddel
      Apr 16 at 20:25

















    • Thank you for a different approach of the problem!

      – Doesbaddel
      Apr 16 at 20:25
















    Thank you for a different approach of the problem!

    – Doesbaddel
    Apr 16 at 20:25





    Thank you for a different approach of the problem!

    – Doesbaddel
    Apr 16 at 20:25













    2
















    documentclassarticle
    usepackage[utf8]inputenc
    usepackageamsmath
    usepackageamssymb
    usepackagetabstackengine
    begindocument

    $G_1=left parenVectorstack[r] 1 \ -2 \ 3 \ 4 +
    lambda parenVectorstack[r] -2 \ 3 \ 4 \ -5
    middlevert, lambda in mathbbRright$
    enddocument


    enter image description here






    share|improve this answer



























    • Thank you! This is what I actually was looking for but one last question: How can you change the spacing of the vertical line so that it has the same space to the vector and the lambda?

      – Doesbaddel
      Apr 16 at 18:59






    • 1





      @Doesbaddel Either add ! before middlevert or add , after middlevert. I have edited my answer to reflect this.

      – Steven B. Segletes
      Apr 16 at 19:00







    • 1





      @Doesbaddel Note: you can also change the row spacing (baselineskip) prior to building the vector stacks, with setstackgapL14pt (currently baselineskip = 12pt).

      – Steven B. Segletes
      Apr 16 at 19:05
















    2
















    documentclassarticle
    usepackage[utf8]inputenc
    usepackageamsmath
    usepackageamssymb
    usepackagetabstackengine
    begindocument

    $G_1=left parenVectorstack[r] 1 \ -2 \ 3 \ 4 +
    lambda parenVectorstack[r] -2 \ 3 \ 4 \ -5
    middlevert, lambda in mathbbRright$
    enddocument


    enter image description here






    share|improve this answer



























    • Thank you! This is what I actually was looking for but one last question: How can you change the spacing of the vertical line so that it has the same space to the vector and the lambda?

      – Doesbaddel
      Apr 16 at 18:59






    • 1





      @Doesbaddel Either add ! before middlevert or add , after middlevert. I have edited my answer to reflect this.

      – Steven B. Segletes
      Apr 16 at 19:00







    • 1





      @Doesbaddel Note: you can also change the row spacing (baselineskip) prior to building the vector stacks, with setstackgapL14pt (currently baselineskip = 12pt).

      – Steven B. Segletes
      Apr 16 at 19:05














    2














    2










    2









    documentclassarticle
    usepackage[utf8]inputenc
    usepackageamsmath
    usepackageamssymb
    usepackagetabstackengine
    begindocument

    $G_1=left parenVectorstack[r] 1 \ -2 \ 3 \ 4 +
    lambda parenVectorstack[r] -2 \ 3 \ 4 \ -5
    middlevert, lambda in mathbbRright$
    enddocument


    enter image description here






    share|improve this answer















    documentclassarticle
    usepackage[utf8]inputenc
    usepackageamsmath
    usepackageamssymb
    usepackagetabstackengine
    begindocument

    $G_1=left parenVectorstack[r] 1 \ -2 \ 3 \ 4 +
    lambda parenVectorstack[r] -2 \ 3 \ 4 \ -5
    middlevert, lambda in mathbbRright$
    enddocument


    enter image description here







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Apr 16 at 19:01

























    answered Apr 16 at 18:55









    Steven B. SegletesSteven B. Segletes

    171k9 gold badges216 silver badges444 bronze badges




    171k9 gold badges216 silver badges444 bronze badges















    • Thank you! This is what I actually was looking for but one last question: How can you change the spacing of the vertical line so that it has the same space to the vector and the lambda?

      – Doesbaddel
      Apr 16 at 18:59






    • 1





      @Doesbaddel Either add ! before middlevert or add , after middlevert. I have edited my answer to reflect this.

      – Steven B. Segletes
      Apr 16 at 19:00







    • 1





      @Doesbaddel Note: you can also change the row spacing (baselineskip) prior to building the vector stacks, with setstackgapL14pt (currently baselineskip = 12pt).

      – Steven B. Segletes
      Apr 16 at 19:05


















    • Thank you! This is what I actually was looking for but one last question: How can you change the spacing of the vertical line so that it has the same space to the vector and the lambda?

      – Doesbaddel
      Apr 16 at 18:59






    • 1





      @Doesbaddel Either add ! before middlevert or add , after middlevert. I have edited my answer to reflect this.

      – Steven B. Segletes
      Apr 16 at 19:00







    • 1





      @Doesbaddel Note: you can also change the row spacing (baselineskip) prior to building the vector stacks, with setstackgapL14pt (currently baselineskip = 12pt).

      – Steven B. Segletes
      Apr 16 at 19:05

















    Thank you! This is what I actually was looking for but one last question: How can you change the spacing of the vertical line so that it has the same space to the vector and the lambda?

    – Doesbaddel
    Apr 16 at 18:59





    Thank you! This is what I actually was looking for but one last question: How can you change the spacing of the vertical line so that it has the same space to the vector and the lambda?

    – Doesbaddel
    Apr 16 at 18:59




    1




    1





    @Doesbaddel Either add ! before middlevert or add , after middlevert. I have edited my answer to reflect this.

    – Steven B. Segletes
    Apr 16 at 19:00






    @Doesbaddel Either add ! before middlevert or add , after middlevert. I have edited my answer to reflect this.

    – Steven B. Segletes
    Apr 16 at 19:00





    1




    1





    @Doesbaddel Note: you can also change the row spacing (baselineskip) prior to building the vector stacks, with setstackgapL14pt (currently baselineskip = 12pt).

    – Steven B. Segletes
    Apr 16 at 19:05






    @Doesbaddel Note: you can also change the row spacing (baselineskip) prior to building the vector stacks, with setstackgapL14pt (currently baselineskip = 12pt).

    – Steven B. Segletes
    Apr 16 at 19:05












    2
















    Using spalign package you can obtain same result of the best answers of @Bernard and @Steven B. Segletes. The code is not very long.



    enter image description here



    documentclass[12pt]article
    usepackagespalign
    usepackageamssymb

    begindocument

    [G_1=left spalignvector[r]1 -2 3 4+lambdaspalignvector[r]1 -2 3 4 middlevert lambdain mathbbRright]
    enddocument





    share|improve this answer





























      2
















      Using spalign package you can obtain same result of the best answers of @Bernard and @Steven B. Segletes. The code is not very long.



      enter image description here



      documentclass[12pt]article
      usepackagespalign
      usepackageamssymb

      begindocument

      [G_1=left spalignvector[r]1 -2 3 4+lambdaspalignvector[r]1 -2 3 4 middlevert lambdain mathbbRright]
      enddocument





      share|improve this answer



























        2














        2










        2









        Using spalign package you can obtain same result of the best answers of @Bernard and @Steven B. Segletes. The code is not very long.



        enter image description here



        documentclass[12pt]article
        usepackagespalign
        usepackageamssymb

        begindocument

        [G_1=left spalignvector[r]1 -2 3 4+lambdaspalignvector[r]1 -2 3 4 middlevert lambdain mathbbRright]
        enddocument





        share|improve this answer













        Using spalign package you can obtain same result of the best answers of @Bernard and @Steven B. Segletes. The code is not very long.



        enter image description here



        documentclass[12pt]article
        usepackagespalign
        usepackageamssymb

        begindocument

        [G_1=left spalignvector[r]1 -2 3 4+lambdaspalignvector[r]1 -2 3 4 middlevert lambdain mathbbRright]
        enddocument






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jun 27 at 19:27









        SebastianoSebastiano

        16.4k5 gold badges27 silver badges82 bronze badges




        16.4k5 gold badges27 silver badges82 bronze badges































            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%2f485186%2fhow-to-align-braces-and-mid-in-a-set-in-order-to-get-the-same-height%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

            Tamil (spriik) Luke uk diar | Nawigatjuun

            Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

            Where does the image of a data connector as a sharp metal spike originate from?Where does the concept of infected people turning into zombies only after death originate from?Where does the motif of a reanimated human head originate?Where did the notion that Dragons could speak originate?Where does the archetypal image of the 'Grey' alien come from?Where did the suffix '-Man' originate?Where does the notion of being injured or killed by an illusion originate?Where did the term “sophont” originate?Where does the trope of magic spells being driven by advanced technology originate from?Where did the term “the living impaired” originate?