Is there any other way of typing aligned equations aside from cases and align?
up vote
2
down vote
favorite
I want to type aligned equations
x = a
y = b
z = c
I only know two ways of achieving this. One is using begin{align}, the other is by using begin{cases} wrapped within a begin{equations}.
Is there any other way to achieve aligned equations?
equations
add a comment |
up vote
2
down vote
favorite
I want to type aligned equations
x = a
y = b
z = c
I only know two ways of achieving this. One is using begin{align}, the other is by using begin{cases} wrapped within a begin{equations}.
Is there any other way to achieve aligned equations?
equations
1
alignis the most used one. Your second approach sounds ugly.
– Sigur
Nov 24 at 21:05
It mostly depends on what you're trying to achieve.
– egreg
Nov 24 at 21:07
You also havealignat, which lets you control the spacing between alignment columns , andflalign.
– Bernard
Nov 24 at 21:31
the amsmath package offersalign,flalign,alignat, as top level environemnts, or insideequationalignedoralignedatdepending if you want one equation number or 3. Don't usecasesfor such a display.
– David Carlisle
Nov 24 at 21:59
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I want to type aligned equations
x = a
y = b
z = c
I only know two ways of achieving this. One is using begin{align}, the other is by using begin{cases} wrapped within a begin{equations}.
Is there any other way to achieve aligned equations?
equations
I want to type aligned equations
x = a
y = b
z = c
I only know two ways of achieving this. One is using begin{align}, the other is by using begin{cases} wrapped within a begin{equations}.
Is there any other way to achieve aligned equations?
equations
equations
edited Nov 24 at 21:06
Sigur
23.4k354135
23.4k354135
asked Nov 24 at 21:02
Squaring the Circle is Easy
153
153
1
alignis the most used one. Your second approach sounds ugly.
– Sigur
Nov 24 at 21:05
It mostly depends on what you're trying to achieve.
– egreg
Nov 24 at 21:07
You also havealignat, which lets you control the spacing between alignment columns , andflalign.
– Bernard
Nov 24 at 21:31
the amsmath package offersalign,flalign,alignat, as top level environemnts, or insideequationalignedoralignedatdepending if you want one equation number or 3. Don't usecasesfor such a display.
– David Carlisle
Nov 24 at 21:59
add a comment |
1
alignis the most used one. Your second approach sounds ugly.
– Sigur
Nov 24 at 21:05
It mostly depends on what you're trying to achieve.
– egreg
Nov 24 at 21:07
You also havealignat, which lets you control the spacing between alignment columns , andflalign.
– Bernard
Nov 24 at 21:31
the amsmath package offersalign,flalign,alignat, as top level environemnts, or insideequationalignedoralignedatdepending if you want one equation number or 3. Don't usecasesfor such a display.
– David Carlisle
Nov 24 at 21:59
1
1
align is the most used one. Your second approach sounds ugly.– Sigur
Nov 24 at 21:05
align is the most used one. Your second approach sounds ugly.– Sigur
Nov 24 at 21:05
It mostly depends on what you're trying to achieve.
– egreg
Nov 24 at 21:07
It mostly depends on what you're trying to achieve.
– egreg
Nov 24 at 21:07
You also have
alignat, which lets you control the spacing between alignment columns , and flalign.– Bernard
Nov 24 at 21:31
You also have
alignat, which lets you control the spacing between alignment columns , and flalign.– Bernard
Nov 24 at 21:31
the amsmath package offers
align, flalign, alignat, as top level environemnts, or inside equation aligned or alignedat depending if you want one equation number or 3. Don't use cases for such a display.– David Carlisle
Nov 24 at 21:59
the amsmath package offers
align, flalign, alignat, as top level environemnts, or inside equation aligned or alignedat depending if you want one equation number or 3. Don't use cases for such a display.– David Carlisle
Nov 24 at 21:59
add a comment |
1 Answer
1
active
oldest
votes
up vote
3
down vote
accepted

documentclass{article}
usepackage{amsmath}
begin{document}
align
begin{align}
x &= a \
y &= b \
z &= c
end{align}
alignat
begin{alignat}{1}
x &= a \
y &= b \
z &= c
end{alignat}
flalign
begin{flalign}
x &= a \
y &= b \
z &= c
end{flalign}
equation/aligned
begin{equation}
begin{aligned}
x &= a \
y &= b \
z &= c
end{aligned}
end{equation}
equation/alignedat
begin{equation}
begin{alignedat}{1}
x &= a \
y &= b \
z &= c
end{alignedat}
end{equation}
equation/cases
begin{equation}
f(x)=begin{cases}
-1 &x = a \
0 &y = b \
1 &z = c
end{cases}
end{equation}
end{document}
There are more examples in amsldoc.pdf (texdoc amsmath in texlive)
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted

documentclass{article}
usepackage{amsmath}
begin{document}
align
begin{align}
x &= a \
y &= b \
z &= c
end{align}
alignat
begin{alignat}{1}
x &= a \
y &= b \
z &= c
end{alignat}
flalign
begin{flalign}
x &= a \
y &= b \
z &= c
end{flalign}
equation/aligned
begin{equation}
begin{aligned}
x &= a \
y &= b \
z &= c
end{aligned}
end{equation}
equation/alignedat
begin{equation}
begin{alignedat}{1}
x &= a \
y &= b \
z &= c
end{alignedat}
end{equation}
equation/cases
begin{equation}
f(x)=begin{cases}
-1 &x = a \
0 &y = b \
1 &z = c
end{cases}
end{equation}
end{document}
There are more examples in amsldoc.pdf (texdoc amsmath in texlive)
add a comment |
up vote
3
down vote
accepted

documentclass{article}
usepackage{amsmath}
begin{document}
align
begin{align}
x &= a \
y &= b \
z &= c
end{align}
alignat
begin{alignat}{1}
x &= a \
y &= b \
z &= c
end{alignat}
flalign
begin{flalign}
x &= a \
y &= b \
z &= c
end{flalign}
equation/aligned
begin{equation}
begin{aligned}
x &= a \
y &= b \
z &= c
end{aligned}
end{equation}
equation/alignedat
begin{equation}
begin{alignedat}{1}
x &= a \
y &= b \
z &= c
end{alignedat}
end{equation}
equation/cases
begin{equation}
f(x)=begin{cases}
-1 &x = a \
0 &y = b \
1 &z = c
end{cases}
end{equation}
end{document}
There are more examples in amsldoc.pdf (texdoc amsmath in texlive)
add a comment |
up vote
3
down vote
accepted
up vote
3
down vote
accepted

documentclass{article}
usepackage{amsmath}
begin{document}
align
begin{align}
x &= a \
y &= b \
z &= c
end{align}
alignat
begin{alignat}{1}
x &= a \
y &= b \
z &= c
end{alignat}
flalign
begin{flalign}
x &= a \
y &= b \
z &= c
end{flalign}
equation/aligned
begin{equation}
begin{aligned}
x &= a \
y &= b \
z &= c
end{aligned}
end{equation}
equation/alignedat
begin{equation}
begin{alignedat}{1}
x &= a \
y &= b \
z &= c
end{alignedat}
end{equation}
equation/cases
begin{equation}
f(x)=begin{cases}
-1 &x = a \
0 &y = b \
1 &z = c
end{cases}
end{equation}
end{document}
There are more examples in amsldoc.pdf (texdoc amsmath in texlive)

documentclass{article}
usepackage{amsmath}
begin{document}
align
begin{align}
x &= a \
y &= b \
z &= c
end{align}
alignat
begin{alignat}{1}
x &= a \
y &= b \
z &= c
end{alignat}
flalign
begin{flalign}
x &= a \
y &= b \
z &= c
end{flalign}
equation/aligned
begin{equation}
begin{aligned}
x &= a \
y &= b \
z &= c
end{aligned}
end{equation}
equation/alignedat
begin{equation}
begin{alignedat}{1}
x &= a \
y &= b \
z &= c
end{alignedat}
end{equation}
equation/cases
begin{equation}
f(x)=begin{cases}
-1 &x = a \
0 &y = b \
1 &z = c
end{cases}
end{equation}
end{document}
There are more examples in amsldoc.pdf (texdoc amsmath in texlive)
answered Nov 24 at 22:09
David Carlisle
478k3811091842
478k3811091842
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f461617%2fis-there-any-other-way-of-typing-aligned-equations-aside-from-cases-and-align%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
alignis the most used one. Your second approach sounds ugly.– Sigur
Nov 24 at 21:05
It mostly depends on what you're trying to achieve.
– egreg
Nov 24 at 21:07
You also have
alignat, which lets you control the spacing between alignment columns , andflalign.– Bernard
Nov 24 at 21:31
the amsmath package offers
align,flalign,alignat, as top level environemnts, or insideequationalignedoralignedatdepending if you want one equation number or 3. Don't usecasesfor such a display.– David Carlisle
Nov 24 at 21:59