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
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
add a comment , 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
add a comment , 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
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
amsmath brackets alignment
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
You should place left. and right] outside the aligned environment.

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.

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
add a comment |
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
);
);
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%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
You should place left. and right] outside the aligned environment.

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.

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
add a comment |
You should place left. and right] outside the aligned environment.

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.

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
add a comment |
You should place left. and right] outside the aligned environment.

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.

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
You should place left. and right] outside the aligned environment.

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.

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
edited 7 hours ago
answered 8 hours ago
MicoMico
293k32403792
293k32403792
add a comment |
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.
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%2f494518%2fmultiline-equation-with-aligned-amsmath-and-brackets-that-contains-the-entire%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
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