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?










share|improve this question




















  • 1




    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










  • 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

















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?










share|improve this question




















  • 1




    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










  • 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















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?










share|improve this question















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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




    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










  • 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
















  • 1




    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










  • 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










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












1 Answer
1






active

oldest

votes

















up vote
3
down vote



accepted










enter image description here



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)






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',
    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%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

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    3
    down vote



    accepted










    enter image description here



    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)






    share|improve this answer

























      up vote
      3
      down vote



      accepted










      enter image description here



      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)






      share|improve this answer























        up vote
        3
        down vote



        accepted







        up vote
        3
        down vote



        accepted






        enter image description here



        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)






        share|improve this answer












        enter image description here



        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)







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 24 at 22:09









        David Carlisle

        478k3811091842




        478k3811091842






























            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.





            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.




            draft saved


            draft discarded














            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





















































            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

            How to send String Array data to Server using php in android

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

            Is anime1.com a legal site for watching anime?