how to get two align point with split equations
I have this equation:
begin{equation}
begin{split}
alpha &= frac{1}{100} S sqrt{2g} = 2.2444e^{-05} [m^frac52/s]\
beta &= pi r^2 = 0.0079 [m^2]\
gamma &= frac{2 pi r}{tan(theta)} = 0.1814 [m] \
delta &= frac{pi}{(tan(theta))^2} = 1.0472
end{split}
end{equation}
and would like to add a second align point on the second '=' symbol. Is there a way to do that?
Thank
align split
add a comment |
I have this equation:
begin{equation}
begin{split}
alpha &= frac{1}{100} S sqrt{2g} = 2.2444e^{-05} [m^frac52/s]\
beta &= pi r^2 = 0.0079 [m^2]\
gamma &= frac{2 pi r}{tan(theta)} = 0.1814 [m] \
delta &= frac{pi}{(tan(theta))^2} = 1.0472
end{split}
end{equation}
and would like to add a second align point on the second '=' symbol. Is there a way to do that?
Thank
align split
1
Welcome to TeX.SE! Can you please complete your given code snippet to be compilable? Then we do not have to guess what you are doing and we can see, if you use math related packages likeamsmath
etc.
– Kurt
Mar 29 at 2:55
Split only supports a single&
per line. Usealigned
instead, oralignat/alignedat
as mentioned below. I tend to always usealigned
in situations like this, and will only switch tosplit
when I need the specific features it provides.
– daleif
Mar 29 at 10:23
Sorry, it was my first post, I will write all the code on the next one.
– Leonardo Garberoglio
Mar 30 at 3:15
add a comment |
I have this equation:
begin{equation}
begin{split}
alpha &= frac{1}{100} S sqrt{2g} = 2.2444e^{-05} [m^frac52/s]\
beta &= pi r^2 = 0.0079 [m^2]\
gamma &= frac{2 pi r}{tan(theta)} = 0.1814 [m] \
delta &= frac{pi}{(tan(theta))^2} = 1.0472
end{split}
end{equation}
and would like to add a second align point on the second '=' symbol. Is there a way to do that?
Thank
align split
I have this equation:
begin{equation}
begin{split}
alpha &= frac{1}{100} S sqrt{2g} = 2.2444e^{-05} [m^frac52/s]\
beta &= pi r^2 = 0.0079 [m^2]\
gamma &= frac{2 pi r}{tan(theta)} = 0.1814 [m] \
delta &= frac{pi}{(tan(theta))^2} = 1.0472
end{split}
end{equation}
and would like to add a second align point on the second '=' symbol. Is there a way to do that?
Thank
align split
align split
edited Mar 29 at 9:51
Bernard
175k778208
175k778208
asked Mar 29 at 2:41
Leonardo GarberoglioLeonardo Garberoglio
31
31
1
Welcome to TeX.SE! Can you please complete your given code snippet to be compilable? Then we do not have to guess what you are doing and we can see, if you use math related packages likeamsmath
etc.
– Kurt
Mar 29 at 2:55
Split only supports a single&
per line. Usealigned
instead, oralignat/alignedat
as mentioned below. I tend to always usealigned
in situations like this, and will only switch tosplit
when I need the specific features it provides.
– daleif
Mar 29 at 10:23
Sorry, it was my first post, I will write all the code on the next one.
– Leonardo Garberoglio
Mar 30 at 3:15
add a comment |
1
Welcome to TeX.SE! Can you please complete your given code snippet to be compilable? Then we do not have to guess what you are doing and we can see, if you use math related packages likeamsmath
etc.
– Kurt
Mar 29 at 2:55
Split only supports a single&
per line. Usealigned
instead, oralignat/alignedat
as mentioned below. I tend to always usealigned
in situations like this, and will only switch tosplit
when I need the specific features it provides.
– daleif
Mar 29 at 10:23
Sorry, it was my first post, I will write all the code on the next one.
– Leonardo Garberoglio
Mar 30 at 3:15
1
1
Welcome to TeX.SE! Can you please complete your given code snippet to be compilable? Then we do not have to guess what you are doing and we can see, if you use math related packages like
amsmath
etc.– Kurt
Mar 29 at 2:55
Welcome to TeX.SE! Can you please complete your given code snippet to be compilable? Then we do not have to guess what you are doing and we can see, if you use math related packages like
amsmath
etc.– Kurt
Mar 29 at 2:55
Split only supports a single
&
per line. Use aligned
instead, or alignat/alignedat
as mentioned below. I tend to always use aligned
in situations like this, and will only switch to split
when I need the specific features it provides.– daleif
Mar 29 at 10:23
Split only supports a single
&
per line. Use aligned
instead, or alignat/alignedat
as mentioned below. I tend to always use aligned
in situations like this, and will only switch to split
when I need the specific features it provides.– daleif
Mar 29 at 10:23
Sorry, it was my first post, I will write all the code on the next one.
– Leonardo Garberoglio
Mar 30 at 3:15
Sorry, it was my first post, I will write all the code on the next one.
– Leonardo Garberoglio
Mar 30 at 3:15
add a comment |
2 Answers
2
active
oldest
votes
You can use alignat
for this:
documentclass{article}
usepackage{amsmath}
begin{document}
begin{alignat*}{2}
alpha&=frac{1}{100} S sqrt{2g} &&=2.2444e^{-05} [m^frac52/s]\
beta&=pi r^2&&=0.0079 [m^2]\
gamma&=frac{2 pi r}{tan(theta)}&&=0.1814 [m]\
delta&=frac{pi}{(tan(theta))^2}&&=1.0472
end{alignat*}
end{document}
1
tan should use a backslash to be typeset upright.
– Bernard
Mar 29 at 9:52
add a comment |
There are multiple questions on the same topic. I am taking the answer of Werner from the question Multiple alignment
Multiple alignment points with no gap between expressions is obtained using the alignat
environment from amsmath.
With that, the code changes to:
documentclass{article}
usepackage{amsmath}
begin{document}
begin{equation}
begin{split}
alpha &= frac{1}{100} S sqrt{2g} = 2.2444e^{-05} [m^frac52/s]\
beta &= pi r^2 = 0.0079 [m^2]\
gamma &= frac{2 pi r}{tan(theta)} = 0.1814 [m] \
delta &= frac{pi}{(tan(theta))^2} = 1.0472
end{split}
end{equation}
begin{alignat}{2}
alpha &= frac{1}{100} S sqrt{2g} &&= 2.2444e^{-05} [m^frac52/s] notag\
beta &= pi r^2 &&= 0.0079 [m^2]\
gamma &= frac{2 pi r}{tan(theta)} &&= 0.1814 [m] notag\
delta &= frac{pi}{(tan(theta))^2} &&= 1.0472 notag
end{alignat}
end{document}
Why to use{3}
inbegin{alignat}{3}
? I reckon{2}
alignments should be also fine.
– Majid Abdolshah
Mar 29 at 3:50
@MajidAbdolshah - Yes you are right. I have updated the answer.
– subham soni
Mar 29 at 4:17
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%2f482032%2fhow-to-get-two-align-point-with-split-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
You can use alignat
for this:
documentclass{article}
usepackage{amsmath}
begin{document}
begin{alignat*}{2}
alpha&=frac{1}{100} S sqrt{2g} &&=2.2444e^{-05} [m^frac52/s]\
beta&=pi r^2&&=0.0079 [m^2]\
gamma&=frac{2 pi r}{tan(theta)}&&=0.1814 [m]\
delta&=frac{pi}{(tan(theta))^2}&&=1.0472
end{alignat*}
end{document}
1
tan should use a backslash to be typeset upright.
– Bernard
Mar 29 at 9:52
add a comment |
You can use alignat
for this:
documentclass{article}
usepackage{amsmath}
begin{document}
begin{alignat*}{2}
alpha&=frac{1}{100} S sqrt{2g} &&=2.2444e^{-05} [m^frac52/s]\
beta&=pi r^2&&=0.0079 [m^2]\
gamma&=frac{2 pi r}{tan(theta)}&&=0.1814 [m]\
delta&=frac{pi}{(tan(theta))^2}&&=1.0472
end{alignat*}
end{document}
1
tan should use a backslash to be typeset upright.
– Bernard
Mar 29 at 9:52
add a comment |
You can use alignat
for this:
documentclass{article}
usepackage{amsmath}
begin{document}
begin{alignat*}{2}
alpha&=frac{1}{100} S sqrt{2g} &&=2.2444e^{-05} [m^frac52/s]\
beta&=pi r^2&&=0.0079 [m^2]\
gamma&=frac{2 pi r}{tan(theta)}&&=0.1814 [m]\
delta&=frac{pi}{(tan(theta))^2}&&=1.0472
end{alignat*}
end{document}
You can use alignat
for this:
documentclass{article}
usepackage{amsmath}
begin{document}
begin{alignat*}{2}
alpha&=frac{1}{100} S sqrt{2g} &&=2.2444e^{-05} [m^frac52/s]\
beta&=pi r^2&&=0.0079 [m^2]\
gamma&=frac{2 pi r}{tan(theta)}&&=0.1814 [m]\
delta&=frac{pi}{(tan(theta))^2}&&=1.0472
end{alignat*}
end{document}
edited Mar 29 at 3:47
answered Mar 29 at 3:30
Majid AbdolshahMajid Abdolshah
71828
71828
1
tan should use a backslash to be typeset upright.
– Bernard
Mar 29 at 9:52
add a comment |
1
tan should use a backslash to be typeset upright.
– Bernard
Mar 29 at 9:52
1
1
tan should use a backslash to be typeset upright.
– Bernard
Mar 29 at 9:52
tan should use a backslash to be typeset upright.
– Bernard
Mar 29 at 9:52
add a comment |
There are multiple questions on the same topic. I am taking the answer of Werner from the question Multiple alignment
Multiple alignment points with no gap between expressions is obtained using the alignat
environment from amsmath.
With that, the code changes to:
documentclass{article}
usepackage{amsmath}
begin{document}
begin{equation}
begin{split}
alpha &= frac{1}{100} S sqrt{2g} = 2.2444e^{-05} [m^frac52/s]\
beta &= pi r^2 = 0.0079 [m^2]\
gamma &= frac{2 pi r}{tan(theta)} = 0.1814 [m] \
delta &= frac{pi}{(tan(theta))^2} = 1.0472
end{split}
end{equation}
begin{alignat}{2}
alpha &= frac{1}{100} S sqrt{2g} &&= 2.2444e^{-05} [m^frac52/s] notag\
beta &= pi r^2 &&= 0.0079 [m^2]\
gamma &= frac{2 pi r}{tan(theta)} &&= 0.1814 [m] notag\
delta &= frac{pi}{(tan(theta))^2} &&= 1.0472 notag
end{alignat}
end{document}
Why to use{3}
inbegin{alignat}{3}
? I reckon{2}
alignments should be also fine.
– Majid Abdolshah
Mar 29 at 3:50
@MajidAbdolshah - Yes you are right. I have updated the answer.
– subham soni
Mar 29 at 4:17
add a comment |
There are multiple questions on the same topic. I am taking the answer of Werner from the question Multiple alignment
Multiple alignment points with no gap between expressions is obtained using the alignat
environment from amsmath.
With that, the code changes to:
documentclass{article}
usepackage{amsmath}
begin{document}
begin{equation}
begin{split}
alpha &= frac{1}{100} S sqrt{2g} = 2.2444e^{-05} [m^frac52/s]\
beta &= pi r^2 = 0.0079 [m^2]\
gamma &= frac{2 pi r}{tan(theta)} = 0.1814 [m] \
delta &= frac{pi}{(tan(theta))^2} = 1.0472
end{split}
end{equation}
begin{alignat}{2}
alpha &= frac{1}{100} S sqrt{2g} &&= 2.2444e^{-05} [m^frac52/s] notag\
beta &= pi r^2 &&= 0.0079 [m^2]\
gamma &= frac{2 pi r}{tan(theta)} &&= 0.1814 [m] notag\
delta &= frac{pi}{(tan(theta))^2} &&= 1.0472 notag
end{alignat}
end{document}
Why to use{3}
inbegin{alignat}{3}
? I reckon{2}
alignments should be also fine.
– Majid Abdolshah
Mar 29 at 3:50
@MajidAbdolshah - Yes you are right. I have updated the answer.
– subham soni
Mar 29 at 4:17
add a comment |
There are multiple questions on the same topic. I am taking the answer of Werner from the question Multiple alignment
Multiple alignment points with no gap between expressions is obtained using the alignat
environment from amsmath.
With that, the code changes to:
documentclass{article}
usepackage{amsmath}
begin{document}
begin{equation}
begin{split}
alpha &= frac{1}{100} S sqrt{2g} = 2.2444e^{-05} [m^frac52/s]\
beta &= pi r^2 = 0.0079 [m^2]\
gamma &= frac{2 pi r}{tan(theta)} = 0.1814 [m] \
delta &= frac{pi}{(tan(theta))^2} = 1.0472
end{split}
end{equation}
begin{alignat}{2}
alpha &= frac{1}{100} S sqrt{2g} &&= 2.2444e^{-05} [m^frac52/s] notag\
beta &= pi r^2 &&= 0.0079 [m^2]\
gamma &= frac{2 pi r}{tan(theta)} &&= 0.1814 [m] notag\
delta &= frac{pi}{(tan(theta))^2} &&= 1.0472 notag
end{alignat}
end{document}
There are multiple questions on the same topic. I am taking the answer of Werner from the question Multiple alignment
Multiple alignment points with no gap between expressions is obtained using the alignat
environment from amsmath.
With that, the code changes to:
documentclass{article}
usepackage{amsmath}
begin{document}
begin{equation}
begin{split}
alpha &= frac{1}{100} S sqrt{2g} = 2.2444e^{-05} [m^frac52/s]\
beta &= pi r^2 = 0.0079 [m^2]\
gamma &= frac{2 pi r}{tan(theta)} = 0.1814 [m] \
delta &= frac{pi}{(tan(theta))^2} = 1.0472
end{split}
end{equation}
begin{alignat}{2}
alpha &= frac{1}{100} S sqrt{2g} &&= 2.2444e^{-05} [m^frac52/s] notag\
beta &= pi r^2 &&= 0.0079 [m^2]\
gamma &= frac{2 pi r}{tan(theta)} &&= 0.1814 [m] notag\
delta &= frac{pi}{(tan(theta))^2} &&= 1.0472 notag
end{alignat}
end{document}
edited Mar 29 at 4:16
answered Mar 29 at 3:32
subham sonisubham soni
4,93183187
4,93183187
Why to use{3}
inbegin{alignat}{3}
? I reckon{2}
alignments should be also fine.
– Majid Abdolshah
Mar 29 at 3:50
@MajidAbdolshah - Yes you are right. I have updated the answer.
– subham soni
Mar 29 at 4:17
add a comment |
Why to use{3}
inbegin{alignat}{3}
? I reckon{2}
alignments should be also fine.
– Majid Abdolshah
Mar 29 at 3:50
@MajidAbdolshah - Yes you are right. I have updated the answer.
– subham soni
Mar 29 at 4:17
Why to use
{3}
in begin{alignat}{3}
? I reckon {2}
alignments should be also fine.– Majid Abdolshah
Mar 29 at 3:50
Why to use
{3}
in begin{alignat}{3}
? I reckon {2}
alignments should be also fine.– Majid Abdolshah
Mar 29 at 3:50
@MajidAbdolshah - Yes you are right. I have updated the answer.
– subham soni
Mar 29 at 4:17
@MajidAbdolshah - Yes you are right. I have updated the answer.
– subham soni
Mar 29 at 4:17
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%2f482032%2fhow-to-get-two-align-point-with-split-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
1
Welcome to TeX.SE! Can you please complete your given code snippet to be compilable? Then we do not have to guess what you are doing and we can see, if you use math related packages like
amsmath
etc.– Kurt
Mar 29 at 2:55
Split only supports a single
&
per line. Usealigned
instead, oralignat/alignedat
as mentioned below. I tend to always usealigned
in situations like this, and will only switch tosplit
when I need the specific features it provides.– daleif
Mar 29 at 10:23
Sorry, it was my first post, I will write all the code on the next one.
– Leonardo Garberoglio
Mar 30 at 3:15