Multiline equation with aligned (amsmath) and brackets that contains the entire equationUsing aligned and align without amsmathphantom and parentheses in multiline equationVspace after amsmath aligned equation gets ignoredBrackets not tall enough with smallmatrix from amsmathvertical spacing in multiline gather with amsmathOmit round brackets around equation numbers with cleverefScaling Absolute Value brackets in multiline equationmath equation, problem with bracketsMultiline equation with some characters that span all linesAligning reaction equation with amsmath

What is the color of artificial intelligence?

Extreme flexible working hours: how to get to know people and activities?

English word for "product of tinkering"

A map of non-pathological topology?

How to hide rifle during medieval town entrance inspection?

Ability To Change Root User Password (Vulnerability?)

With Ubuntu 18.04, how can I have a hot corner that locks the computer?

Why didn't Voldemort recognize that Dumbledore was affected by his curse?

I have a problematic assistant manager, but I can't fire him

Is it possible to fly backward if you have 'really strong' headwind?

Longest bridge/tunnel that can be cycled over/through?

Non-aqueous eyes?

How can I end combat quickly when the outcome is inevitable?

Is an entry level DSLR going to shoot nice portrait pictures?

Traversing Oceania: A Cryptic Journey

Russian word for a male zebra

You have (3^2 + 2^3 + 2^2) Guesses Left. Figure out the Last one

How does the Around command at zero work?

Wooden cooking layout

Is it possible for a vehicle to be manufactured without a catalytic converter?

What aircraft was used as Air Force One for the flight between Southampton and Shannon?

Interval of parallel 5ths in the resolution of a German 6th chord

Can I utilise a baking stone to make crepes?

US doctor working in Tripoli wants me to open online account



Multiline equation with aligned (amsmath) and brackets that contains the entire equation


Using aligned and align without amsmathphantom and parentheses in multiline equationVspace after amsmath aligned equation gets ignoredBrackets not tall enough with smallmatrix from amsmathvertical spacing in multiline gather with amsmathOmit round brackets around equation numbers with cleverefScaling Absolute Value brackets in multiline equationmath equation, problem with bracketsMultiline equation with some characters that span all linesAligning reaction equation with amsmath













5















I want to have the right side of the equation surrounded by square brackets with appropriate size.



How do I make the brackets contain many lines without ruining the alignment?



Minimal code that won't compile:



documentclass[
paper=a4,
oneside,
fontsize=13pt,
headsepline=.5pt,
numbers=noenddot,
parskip=half,
captions=tableheading,
DIV=12,
toc=bibliography,
final
]scrartcl
usepackageamsmath, amsfonts
begindocument
beginequation
beginaligned
vecnabla = left[ &fracpartialpartial x_1 \
&fracpartialpartial x_2 \
&fracpartialpartial x_3 right]
endaligned
endequation
enddocument


This gives following errors:



! Extra }, or forgotten right.
<template> }
$endtemplate
l.17 vecnabla left[ &
fracpartialpartial x_1 \
?
! Missing right. inserted.
<inserted text>
right .
l.17 vecnabla left[ &
fracpartialpartial x_1 \
?
! Missing } inserted.
<inserted text>
}
l.17 vecnabla left[ &
fracpartialpartial x_1 \
?
! Missing } inserted.
<inserted text>
}
l.19 ... &fracpartialpartial x_3 right
]
?
! Extra right.
l.19 ... &fracpartialpartial x_3 right]

?
! Missing inserted.
<inserted text>
improve this question
























  • Please provide a bit more information about the object you're trying to typeset. E.g., are you trying to typeset an elaborate version of a gradient vector? Please advise.

    – Mico
    8 hours ago






























  • Please provide a bit more information about the object you're trying to typeset. E.g., are you trying to typeset an elaborate version of a gradient vector? Please advise.

    – Mico
    8 hours ago






















I want to have the right side of the equation surrounded by square brackets with appropriate size.



How do I make the brackets contain many lines without ruining the alignment?



Minimal code that won't compile:



documentclass[
paper=a4,
oneside,
fontsize=13pt,
headsepline=.5pt,
numbers=noenddot,
parskip=half,
captions=tableheading,
DIV=12,
toc=bibliography,
final
]scrartcl
usepackageamsmath, amsfonts
begindocument
beginequation
beginaligned
vecnabla = left[ &fracpartialpartial x_1 \
&fracpartialpartial x_2 \
&fracpartialpartial x_3 right]
endaligned
endequation
enddocument


This gives following errors:



! Extra , or forgotten right.
<template>
$endtemplate
l.17 vecnabla left[ &
fracpartialpartial x_1 \
?
! Missing right. inserted.
<inserted text>
right .
l.17 vecnabla left[ &
fracpartialpartial x_1 \
?
! Missing } inserted.
<inserted text>
}
l.17 vecnabla left[ &
fracpartialpartial x_1 \
?
! Missing } inserted.
<inserted text>
}
l.19 ... &fracpartialpartial x_3 right
]
?
! Extra right.
l.19 ... &fracpartialpartial x_3 right]

?
! Missing { inserted.
<inserted text>
{
l.20 endaligned

?






amsmath brackets alignment






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 8 hours ago







Toma

















asked 8 hours ago









TomaToma

574




574












  • Please provide a bit more information about the object you're trying to typeset. E.g., are you trying to typeset an elaborate version of a gradient vector? Please advise.

    – Mico
    8 hours ago


















  • Please provide a bit more information about the object you're trying to typeset. E.g., are you trying to typeset an elaborate version of a gradient vector? Please advise.

    – Mico
    8 hours ago

















Please provide a bit more information about the object you're trying to typeset. E.g., are you trying to typeset an elaborate version of a gradient vector? Please advise.

– Mico
8 hours ago






Please provide a bit more information about the object you're trying to typeset. E.g., are you trying to typeset an elaborate version of a gradient vector? Please advise.

– Mico
8 hours ago











1 Answer
1






active

oldest

votes


















6














You should place left. and right] outside the aligned environment.



enter image description here



documentclass[paper=a4,oneside,fontsize=13pt,
headsepline=.5pt,numbers=noenddot,parskip=half,
captions=tableheading,DIV=12,toc=bibliography,
final]scrartcl
usepackageamsmath, amssymb

begindocument
beginequation
left.
beginaligned
vecnabla &fracpartialpartial x_1 \
&fracpartialpartial x_2 \
&fracpartialpartial x_3
endaligned
right]
endequation
enddocument



However, I suspect that you don't actually wan't to use an aligned environment at all. Aren't you just trying to typeset a column vector, surrounded by square brackets? If so, a bmatrix environment is the way to go.



enter image description here



documentclass[paper=a4,oneside,fontsize=13pt,
headsepline=.5pt,numbers=noenddot,parskip=half,
captions=tableheading,DIV=12,toc=bibliography,
final]scrartcl
usepackageamsmath, amssymb

begindocument
beginequation
renewcommandarraystretch1.25
vecnabla=
beginbmatrix
fracpartialpartial x_1 \
fracpartialpartial x_2 \
fracpartialpartial x_3
endbmatrix
endequation
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/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%2f494518%2fmultiline-equation-with-aligned-amsmath-and-brackets-that-contains-the-entire%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









    6














    You should place left. and right] outside the aligned environment.



    enter image description here



    documentclass[paper=a4,oneside,fontsize=13pt,
    headsepline=.5pt,numbers=noenddot,parskip=half,
    captions=tableheading,DIV=12,toc=bibliography,
    final]scrartcl
    usepackageamsmath, amssymb

    begindocument
    beginequation
    left.
    beginaligned
    vecnabla &fracpartialpartial x_1 \
    &fracpartialpartial x_2 \
    &fracpartialpartial x_3
    endaligned
    right]
    endequation
    enddocument



    However, I suspect that you don't actually wan't to use an aligned environment at all. Aren't you just trying to typeset a column vector, surrounded by square brackets? If so, a bmatrix environment is the way to go.



    enter image description here



    documentclass[paper=a4,oneside,fontsize=13pt,
    headsepline=.5pt,numbers=noenddot,parskip=half,
    captions=tableheading,DIV=12,toc=bibliography,
    final]scrartcl
    usepackageamsmath, amssymb

    begindocument
    beginequation
    renewcommandarraystretch1.25
    vecnabla=
    beginbmatrix
    fracpartialpartial x_1 \
    fracpartialpartial x_2 \
    fracpartialpartial x_3
    endbmatrix
    endequation
    enddocument





    share|improve this answer





























      6














      You should place left. and right] outside the aligned environment.



      enter image description here



      documentclass[paper=a4,oneside,fontsize=13pt,
      headsepline=.5pt,numbers=noenddot,parskip=half,
      captions=tableheading,DIV=12,toc=bibliography,
      final]scrartcl
      usepackageamsmath, amssymb

      begindocument
      beginequation
      left.
      beginaligned
      vecnabla &fracpartialpartial x_1 \
      &fracpartialpartial x_2 \
      &fracpartialpartial x_3
      endaligned
      right]
      endequation
      enddocument



      However, I suspect that you don't actually wan't to use an aligned environment at all. Aren't you just trying to typeset a column vector, surrounded by square brackets? If so, a bmatrix environment is the way to go.



      enter image description here



      documentclass[paper=a4,oneside,fontsize=13pt,
      headsepline=.5pt,numbers=noenddot,parskip=half,
      captions=tableheading,DIV=12,toc=bibliography,
      final]scrartcl
      usepackageamsmath, amssymb

      begindocument
      beginequation
      renewcommandarraystretch1.25
      vecnabla=
      beginbmatrix
      fracpartialpartial x_1 \
      fracpartialpartial x_2 \
      fracpartialpartial x_3
      endbmatrix
      endequation
      enddocument





      share|improve this answer



























        6












        6








        6







        You should place left. and right] outside the aligned environment.



        enter image description here



        documentclass[paper=a4,oneside,fontsize=13pt,
        headsepline=.5pt,numbers=noenddot,parskip=half,
        captions=tableheading,DIV=12,toc=bibliography,
        final]scrartcl
        usepackageamsmath, amssymb

        begindocument
        beginequation
        left.
        beginaligned
        vecnabla &fracpartialpartial x_1 \
        &fracpartialpartial x_2 \
        &fracpartialpartial x_3
        endaligned
        right]
        endequation
        enddocument



        However, I suspect that you don't actually wan't to use an aligned environment at all. Aren't you just trying to typeset a column vector, surrounded by square brackets? If so, a bmatrix environment is the way to go.



        enter image description here



        documentclass[paper=a4,oneside,fontsize=13pt,
        headsepline=.5pt,numbers=noenddot,parskip=half,
        captions=tableheading,DIV=12,toc=bibliography,
        final]scrartcl
        usepackageamsmath, amssymb

        begindocument
        beginequation
        renewcommandarraystretch1.25
        vecnabla=
        beginbmatrix
        fracpartialpartial x_1 \
        fracpartialpartial x_2 \
        fracpartialpartial x_3
        endbmatrix
        endequation
        enddocument





        share|improve this answer















        You should place left. and right] outside the aligned environment.



        enter image description here



        documentclass[paper=a4,oneside,fontsize=13pt,
        headsepline=.5pt,numbers=noenddot,parskip=half,
        captions=tableheading,DIV=12,toc=bibliography,
        final]scrartcl
        usepackageamsmath, amssymb

        begindocument
        beginequation
        left.
        beginaligned
        vecnabla &fracpartialpartial x_1 \
        &fracpartialpartial x_2 \
        &fracpartialpartial x_3
        endaligned
        right]
        endequation
        enddocument



        However, I suspect that you don't actually wan't to use an aligned environment at all. Aren't you just trying to typeset a column vector, surrounded by square brackets? If so, a bmatrix environment is the way to go.



        enter image description here



        documentclass[paper=a4,oneside,fontsize=13pt,
        headsepline=.5pt,numbers=noenddot,parskip=half,
        captions=tableheading,DIV=12,toc=bibliography,
        final]scrartcl
        usepackageamsmath, amssymb

        begindocument
        beginequation
        renewcommandarraystretch1.25
        vecnabla=
        beginbmatrix
        fracpartialpartial x_1 \
        fracpartialpartial x_2 \
        fracpartialpartial x_3
        endbmatrix
        endequation
        enddocument






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 7 hours ago

























        answered 8 hours ago









        MicoMico

        293k32403792




        293k32403792



























            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%2f494518%2fmultiline-equation-with-aligned-amsmath-and-brackets-that-contains-the-entire%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

            Sahara Skak | Bilen | Luke uk diar | NawigatsjuunCommonskategorii: SaharaWikivoyage raisfeerer: Sahara26° N, 13° O

            The fall designs the understood secretary. Looking glass Science Shock Discovery Hot Everybody Loves Raymond Smile 곳 서비스 성실하다 Defas Kaloolon Definition: To combine or impregnate with sulphur or any of its compounds as to sulphurize caoutchouc in vulcanizing Flame colored Reason Useful Thin Help 갖다 유명하다 낙엽 장례식 Country Iron Definition: A fencer a gladiator one who exhibits his skill in the use of the sword Definition: The American black throated bunting Spiza Americana Nostalgic Needy Method to my madness 시키다 평가되다 전부 소설가 우아하다 Argument Tin Feeling Representative Gym Music Gaur Chicken 일쑤 코치 편 학생증 The harbor values the sugar. Vasagle Yammoe Enstatite Definition: Capable of being limited Road Neighborly Five Refer Built Kangaroo 비비다 Degree Release Bargain Horse 하루 형님 유교 석 동부 괴롭히다 경제력

            19. јануар Садржај Догађаји Рођења Смрти Празници и дани сећања Види још Референце Мени за навигацијуу