How to align multiple equations Announcing the arrival of Valued Associate #679: Cesar...
How many morphisms from 1 to 1+1 can there be?
What does Turing mean by this statement?
What happened to Thoros of Myr's flaming sword?
Would it be easier to apply for a UK visa if there is a host family to sponsor for you in going there?
What is Adi Shankara referring to when he says "He has Vajra marks on his feet"?
What is the meaning of 'breadth' in breadth first search?
Did any compiler fully use 80-bit floating point?
What to do with repeated rejections for phd position
Where is the Data Import Wizard Error Log
How did Fremen produce and carry enough thumpers to use Sandworms as de facto Ubers?
A term for a woman complaining about things/begging in a cute/childish way
Hangman Game with C++
One-one communication
Flash light on something
Do I really need to have a message in a novel to appeal to readers?
How do living politicians protect their readily obtainable signatures from misuse?
C's equality operator on converted pointers
Project Euler #1 in C++
Why weren't discrete x86 CPUs ever used in game hardware?
Is CEO the "profession" with the most psychopaths?
Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?
Why can't I install Tomboy in Ubuntu Mate 19.04?
How to pronounce 伝統色
Amount of permutations on an NxNxN Rubik's Cube
How to align multiple equations
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)How to left align the element when usig begin align, not the whole equation?Align equations with multiple subequation groupsLeft alignment of multiple equations with one labelIs there a way to put two labelled equations into one begin{equation} and align both of them at the beginning?Align multiple equationsHow can I align equations to the left and to the right?How to align the lines in a multiline equation while using the space optimally?Splitting and flushing equations inside alignHow to use multiple label across multiple align* environments?Align doesn´t align equations at equal sign
I want to align multiple equations and two "conditions".
begin{align}
begin{split}
||pmb{x}||_p &= left(sum_i |x_i|^pright)^{frac{1}{p}} label{formel:pnorm}\
p & in mathbb{R}\
p & geq 1 \
end{split} \
||pmb{x}||_1 &= sum_i |x_i|label{formel:1norm} \
||pmb{x}||_infty &= max_i |x_i|label{formel:maxnorm}
end{align}
Now:

align
New contributor
spitzbuaamy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I want to align multiple equations and two "conditions".
begin{align}
begin{split}
||pmb{x}||_p &= left(sum_i |x_i|^pright)^{frac{1}{p}} label{formel:pnorm}\
p & in mathbb{R}\
p & geq 1 \
end{split} \
||pmb{x}||_1 &= sum_i |x_i|label{formel:1norm} \
||pmb{x}||_infty &= max_i |x_i|label{formel:maxnorm}
end{align}
Now:

align
New contributor
spitzbuaamy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I want to align multiple equations and two "conditions".
begin{align}
begin{split}
||pmb{x}||_p &= left(sum_i |x_i|^pright)^{frac{1}{p}} label{formel:pnorm}\
p & in mathbb{R}\
p & geq 1 \
end{split} \
||pmb{x}||_1 &= sum_i |x_i|label{formel:1norm} \
||pmb{x}||_infty &= max_i |x_i|label{formel:maxnorm}
end{align}
Now:

align
New contributor
spitzbuaamy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I want to align multiple equations and two "conditions".
begin{align}
begin{split}
||pmb{x}||_p &= left(sum_i |x_i|^pright)^{frac{1}{p}} label{formel:pnorm}\
p & in mathbb{R}\
p & geq 1 \
end{split} \
||pmb{x}||_1 &= sum_i |x_i|label{formel:1norm} \
||pmb{x}||_infty &= max_i |x_i|label{formel:maxnorm}
end{align}
Now:

align
align
New contributor
spitzbuaamy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
spitzbuaamy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 2 hours ago
Bernard
176k778210
176k778210
New contributor
spitzbuaamy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 3 hours ago
spitzbuaamyspitzbuaamy
1111
1111
New contributor
spitzbuaamy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
spitzbuaamy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
spitzbuaamy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Removing the \ in the last line of split.
documentclass{article}
usepackage{amsmath}
usepackage{amssymb}
begin{document}
begin{align}
begin{split}
lVertpmb{x}rVert_p &= left(sum_i lvert x_irvert^pright)^{frac{1}{p}} label{formel:pnorm}\
p & in mathbb{R}\
p & geq 1
end{split} \
lVertpmb{x}rVert_1 &= sum_i lvert x_irvertlabel{formel:1norm} \
lVertpmb{x}rVert_infty &= max_i lvert x_irvertlabel{formel:maxnorm}
end{align}
end{document}

add a comment |
I propose a different layout with alignat, and some improvement:
documentclass{article}
usepackage{mathtools}
usepackage{amssymb, bm}
begin{document}
begin{alignat}{2}
lVertbm{x}rVert_p &= Bigl(sum_i lvert x_irvert^pBigr)^{!frac{1}{p}!} label{formel:pnorm} & qquad (p in mathbb{R},: pge 1) \
lVertbm{x}rVert_1 &= sum_i lvert x_irvertlabel{formel:1norm} \
lVertbm{x}rVert_{mkern-1.5mumathrlap{infty},hphantom{1}} &= max_i lvert x_irvertlabel{formel:maxnorm}
end{alignat}
end{document}

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
});
}
});
spitzbuaamy is a new contributor. Be nice, and check out our Code of Conduct.
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%2f485629%2fhow-to-align-multiple-equations%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Removing the \ in the last line of split.
documentclass{article}
usepackage{amsmath}
usepackage{amssymb}
begin{document}
begin{align}
begin{split}
lVertpmb{x}rVert_p &= left(sum_i lvert x_irvert^pright)^{frac{1}{p}} label{formel:pnorm}\
p & in mathbb{R}\
p & geq 1
end{split} \
lVertpmb{x}rVert_1 &= sum_i lvert x_irvertlabel{formel:1norm} \
lVertpmb{x}rVert_infty &= max_i lvert x_irvertlabel{formel:maxnorm}
end{align}
end{document}

add a comment |
Removing the \ in the last line of split.
documentclass{article}
usepackage{amsmath}
usepackage{amssymb}
begin{document}
begin{align}
begin{split}
lVertpmb{x}rVert_p &= left(sum_i lvert x_irvert^pright)^{frac{1}{p}} label{formel:pnorm}\
p & in mathbb{R}\
p & geq 1
end{split} \
lVertpmb{x}rVert_1 &= sum_i lvert x_irvertlabel{formel:1norm} \
lVertpmb{x}rVert_infty &= max_i lvert x_irvertlabel{formel:maxnorm}
end{align}
end{document}

add a comment |
Removing the \ in the last line of split.
documentclass{article}
usepackage{amsmath}
usepackage{amssymb}
begin{document}
begin{align}
begin{split}
lVertpmb{x}rVert_p &= left(sum_i lvert x_irvert^pright)^{frac{1}{p}} label{formel:pnorm}\
p & in mathbb{R}\
p & geq 1
end{split} \
lVertpmb{x}rVert_1 &= sum_i lvert x_irvertlabel{formel:1norm} \
lVertpmb{x}rVert_infty &= max_i lvert x_irvertlabel{formel:maxnorm}
end{align}
end{document}

Removing the \ in the last line of split.
documentclass{article}
usepackage{amsmath}
usepackage{amssymb}
begin{document}
begin{align}
begin{split}
lVertpmb{x}rVert_p &= left(sum_i lvert x_irvert^pright)^{frac{1}{p}} label{formel:pnorm}\
p & in mathbb{R}\
p & geq 1
end{split} \
lVertpmb{x}rVert_1 &= sum_i lvert x_irvertlabel{formel:1norm} \
lVertpmb{x}rVert_infty &= max_i lvert x_irvertlabel{formel:maxnorm}
end{align}
end{document}

answered 2 hours ago
JouleVJouleV
14.4k22664
14.4k22664
add a comment |
add a comment |
I propose a different layout with alignat, and some improvement:
documentclass{article}
usepackage{mathtools}
usepackage{amssymb, bm}
begin{document}
begin{alignat}{2}
lVertbm{x}rVert_p &= Bigl(sum_i lvert x_irvert^pBigr)^{!frac{1}{p}!} label{formel:pnorm} & qquad (p in mathbb{R},: pge 1) \
lVertbm{x}rVert_1 &= sum_i lvert x_irvertlabel{formel:1norm} \
lVertbm{x}rVert_{mkern-1.5mumathrlap{infty},hphantom{1}} &= max_i lvert x_irvertlabel{formel:maxnorm}
end{alignat}
end{document}

add a comment |
I propose a different layout with alignat, and some improvement:
documentclass{article}
usepackage{mathtools}
usepackage{amssymb, bm}
begin{document}
begin{alignat}{2}
lVertbm{x}rVert_p &= Bigl(sum_i lvert x_irvert^pBigr)^{!frac{1}{p}!} label{formel:pnorm} & qquad (p in mathbb{R},: pge 1) \
lVertbm{x}rVert_1 &= sum_i lvert x_irvertlabel{formel:1norm} \
lVertbm{x}rVert_{mkern-1.5mumathrlap{infty},hphantom{1}} &= max_i lvert x_irvertlabel{formel:maxnorm}
end{alignat}
end{document}

add a comment |
I propose a different layout with alignat, and some improvement:
documentclass{article}
usepackage{mathtools}
usepackage{amssymb, bm}
begin{document}
begin{alignat}{2}
lVertbm{x}rVert_p &= Bigl(sum_i lvert x_irvert^pBigr)^{!frac{1}{p}!} label{formel:pnorm} & qquad (p in mathbb{R},: pge 1) \
lVertbm{x}rVert_1 &= sum_i lvert x_irvertlabel{formel:1norm} \
lVertbm{x}rVert_{mkern-1.5mumathrlap{infty},hphantom{1}} &= max_i lvert x_irvertlabel{formel:maxnorm}
end{alignat}
end{document}

I propose a different layout with alignat, and some improvement:
documentclass{article}
usepackage{mathtools}
usepackage{amssymb, bm}
begin{document}
begin{alignat}{2}
lVertbm{x}rVert_p &= Bigl(sum_i lvert x_irvert^pBigr)^{!frac{1}{p}!} label{formel:pnorm} & qquad (p in mathbb{R},: pge 1) \
lVertbm{x}rVert_1 &= sum_i lvert x_irvertlabel{formel:1norm} \
lVertbm{x}rVert_{mkern-1.5mumathrlap{infty},hphantom{1}} &= max_i lvert x_irvertlabel{formel:maxnorm}
end{alignat}
end{document}

answered 1 hour ago
BernardBernard
176k778210
176k778210
add a comment |
add a comment |
spitzbuaamy is a new contributor. Be nice, and check out our Code of Conduct.
spitzbuaamy is a new contributor. Be nice, and check out our Code of Conduct.
spitzbuaamy is a new contributor. Be nice, and check out our Code of Conduct.
spitzbuaamy is a new contributor. Be nice, and check out our Code of Conduct.
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%2f485629%2fhow-to-align-multiple-equations%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