Aligning Systems of EquationsWhy is [ … ] preferable to $$ … $$?Best way to create an system of equations...

Manager has noticed coworker's excessive breaks. Should I warn him?

Do error bars on probabilities have any meaning?

How do I know my password or backup information is not being shared when creating a new wallet?

TikZtree with asymmetric siblings

How can I create unencrypted addresses?

Identical projects by students at two different colleges: still plagiarism?

How can I make my enemies feel real and make combat more engaging?

Use intersection in field calculator

Sauna: Wood does not feel so hot

Cryptic cross... with words

How should I ship cards?

Is corrosion inhibitor paste conductive?

Boss asked me to sign a resignation paper without a date on it along with my new contract

I hate taking lectures, can I still survive in academia?

Reading source code and extracting json from a url

What is the reason behind this musical reference to Pinocchio in the Close Encounters main theme?

How can a kingdom keep the secret of a missing monarch from the public?

Why is quixotic not Quixotic (a proper adjective)?

Taking an academic pseudonym?

Can I legally make a website about boycotting a certain company?

How can changes in personality/values of a person who turned into a vampire be explained?

Associate vertex coordinates and labels

Can you wish for more wishes from an Efreeti bound to service via an Efreeti Bottle?

Ramanujan's radical and how we define an infinite nested radical



Aligning Systems of Equations


Why is [ … ] preferable to $$ … $$?Best way to create an system of equations environment?Aligning equations with align*How to switch to upright greek in math mode?Aligning equationsBreaking and aligning equationsAligning two multiline equationsAligning equations in 3 columnsAligning systems of equations by symbol and variableAligning two systemsAligning sets of equationsAdvanced Math Mode Customization in XeLaTeX













4















I'm trying to line up the variables of systems of equations. The following code:



$$left\{
begin{aligned}
&alpha + 2&beta + &gamma & = 0 \\
3&alpha + 7&beta + 5&gamma & = 1
end{aligned}
right.$$


produces the following image:



enter image description here



I want the Greek letters and the math symbols to be aligned, with appropriate spacing in between coefficients. I've tried using begin{aligned} end{aligned} and begin{array}{ll} end{array}{ll} as well, but they also don't provide the desired outcome.



Would anyone be kind enough to help me out? Thank you.










share|improve this question









New contributor




Seankala is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1





    You can try the package systeme: ctan.org/pkg/systeme .

    – projetmbc
    3 hours ago











  • See also tex.stackexchange.com/questions/35174/…

    – Steven B. Segletes
    1 hour ago











  • See Why is [] preferable to $$?

    – Werner
    1 hour ago
















4















I'm trying to line up the variables of systems of equations. The following code:



$$left\{
begin{aligned}
&alpha + 2&beta + &gamma & = 0 \\
3&alpha + 7&beta + 5&gamma & = 1
end{aligned}
right.$$


produces the following image:



enter image description here



I want the Greek letters and the math symbols to be aligned, with appropriate spacing in between coefficients. I've tried using begin{aligned} end{aligned} and begin{array}{ll} end{array}{ll} as well, but they also don't provide the desired outcome.



Would anyone be kind enough to help me out? Thank you.










share|improve this question









New contributor




Seankala is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1





    You can try the package systeme: ctan.org/pkg/systeme .

    – projetmbc
    3 hours ago











  • See also tex.stackexchange.com/questions/35174/…

    – Steven B. Segletes
    1 hour ago











  • See Why is [] preferable to $$?

    – Werner
    1 hour ago














4












4








4








I'm trying to line up the variables of systems of equations. The following code:



$$left\{
begin{aligned}
&alpha + 2&beta + &gamma & = 0 \\
3&alpha + 7&beta + 5&gamma & = 1
end{aligned}
right.$$


produces the following image:



enter image description here



I want the Greek letters and the math symbols to be aligned, with appropriate spacing in between coefficients. I've tried using begin{aligned} end{aligned} and begin{array}{ll} end{array}{ll} as well, but they also don't provide the desired outcome.



Would anyone be kind enough to help me out? Thank you.










share|improve this question









New contributor




Seankala is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I'm trying to line up the variables of systems of equations. The following code:



$$left\{
begin{aligned}
&alpha + 2&beta + &gamma & = 0 \\
3&alpha + 7&beta + 5&gamma & = 1
end{aligned}
right.$$


produces the following image:



enter image description here



I want the Greek letters and the math symbols to be aligned, with appropriate spacing in between coefficients. I've tried using begin{aligned} end{aligned} and begin{array}{ll} end{array}{ll} as well, but they also don't provide the desired outcome.



Would anyone be kind enough to help me out? Thank you.







math-mode align






share|improve this question









New contributor




Seankala is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Seankala is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 3 hours ago









JouleV

4,1091938




4,1091938






New contributor




Seankala 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









SeankalaSeankala

1234




1234




New contributor




Seankala is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Seankala is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Seankala is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 1





    You can try the package systeme: ctan.org/pkg/systeme .

    – projetmbc
    3 hours ago











  • See also tex.stackexchange.com/questions/35174/…

    – Steven B. Segletes
    1 hour ago











  • See Why is [] preferable to $$?

    – Werner
    1 hour ago














  • 1





    You can try the package systeme: ctan.org/pkg/systeme .

    – projetmbc
    3 hours ago











  • See also tex.stackexchange.com/questions/35174/…

    – Steven B. Segletes
    1 hour ago











  • See Why is [] preferable to $$?

    – Werner
    1 hour ago








1




1





You can try the package systeme: ctan.org/pkg/systeme .

– projetmbc
3 hours ago





You can try the package systeme: ctan.org/pkg/systeme .

– projetmbc
3 hours ago













See also tex.stackexchange.com/questions/35174/…

– Steven B. Segletes
1 hour ago





See also tex.stackexchange.com/questions/35174/…

– Steven B. Segletes
1 hour ago













See Why is [] preferable to $$?

– Werner
1 hour ago





See Why is [] preferable to $$?

– Werner
1 hour ago










3 Answers
3






active

oldest

votes


















5














First of all, do not use $$ ... $$, which is plain TeX, use the LaTeX construct [ ... ].



Second, 4 alignment points require 7 ampersands, not 4: each new column of alignment has to be introduced by an ampersand. So n alignment points require 2n–1 ampersands.



Last: use alignat (or alignedat) to have full control on the spacing between columns of alignment.



Here is a possible code:



[ left{
begin{alignedat}{4}
&alpha &{} + 2&beta + {} & &gamma & & = 0 \\
3&alpha &{} + 7&beta + 5 & &gamma & & = 1
end{alignedat}


However, using the systeme package makes it simpler to type:



[ systeme[alphabetagamma]{alpha + 2beta +gamma = 0, 3alpha + 7beta + 5gamma = 1} ]


enter image description here






share|improve this answer


























  • I had no idea that $ was plain TeX, thanks! Unfortunately it seems that for the Github Markdown I'm trying to edit, [ doesn't seem to work... But begin{alignedat}{4} end{alignedat} works perfectly!

    – Seankala
    2 hours ago











  • I've updated with a simpler way to type (the systeme command from the homonymous package).

    – Bernard
    2 hours ago






  • 1





    In your first method, the spacing around the = is not correct.

    – Steven B. Segletes
    2 hours ago






  • 1





    amsldoc (amsmath documentation) and systeme. Feel free to ask any questions.

    – Bernard
    2 hours ago






  • 1





    The empty curly braces are there because $+$ (or $-$) are binary operators with a special spacing w.r.t. the elements on the right and on the left. This can be destroyed by an ampersand, and to compensate, one has to add an empty argument, namely {}. For the number of &, maybe I was not clear enough: each column of alignment, but the first, has to be introduced by an &. Inside this column, the alignment point is specified with another &. Check on my code, you should see this rule is respected. Is this clear?

    – Bernard
    1 hour ago



















6














Something like this?



documentclass{article}
usepackage{tabstackengine}
begin{document}
[
left{
setstackgap{L}{18pt}
Matrixstack[r]{
alpha +& 2beta +& gamma =& 0 \
3alpha +& 7beta +& 5gamma =& 1
}
right.
]
end{document}


enter image description here






share|improve this answer































    3














    Here's a solution that requires only the basic array package. The following code also sets up a custom array-like environment.



    enter image description here



    documentclass{article}
    usepackage{array} % for "newcolumntype" macro
    newcolumntype{C}{>{{}}c<{{}}}
    %% set up a little custom enrironment:
    newenvironment{myarray}[1]{%
    setlengtharraycolsep{0pt}
    left{ begin{array}{#1}}{%
    end{array} right.}

    begin{document}
    [
    begin{myarray}{rCrCrCl}
    alpha &+& 2beta &+& gamma &=& 0 \
    3alpha &+& 7beta &+& 5gamma &=& 1
    end{myarray}
    ]
    end{document}





    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',
      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
      });


      }
      });






      Seankala is a new contributor. Be nice, and check out our Code of Conduct.










      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f476010%2faligning-systems-of-equations%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      5














      First of all, do not use $$ ... $$, which is plain TeX, use the LaTeX construct [ ... ].



      Second, 4 alignment points require 7 ampersands, not 4: each new column of alignment has to be introduced by an ampersand. So n alignment points require 2n–1 ampersands.



      Last: use alignat (or alignedat) to have full control on the spacing between columns of alignment.



      Here is a possible code:



      [ left{
      begin{alignedat}{4}
      &alpha &{} + 2&beta + {} & &gamma & & = 0 \\
      3&alpha &{} + 7&beta + 5 & &gamma & & = 1
      end{alignedat}


      However, using the systeme package makes it simpler to type:



      [ systeme[alphabetagamma]{alpha + 2beta +gamma = 0, 3alpha + 7beta + 5gamma = 1} ]


      enter image description here






      share|improve this answer


























      • I had no idea that $ was plain TeX, thanks! Unfortunately it seems that for the Github Markdown I'm trying to edit, [ doesn't seem to work... But begin{alignedat}{4} end{alignedat} works perfectly!

        – Seankala
        2 hours ago











      • I've updated with a simpler way to type (the systeme command from the homonymous package).

        – Bernard
        2 hours ago






      • 1





        In your first method, the spacing around the = is not correct.

        – Steven B. Segletes
        2 hours ago






      • 1





        amsldoc (amsmath documentation) and systeme. Feel free to ask any questions.

        – Bernard
        2 hours ago






      • 1





        The empty curly braces are there because $+$ (or $-$) are binary operators with a special spacing w.r.t. the elements on the right and on the left. This can be destroyed by an ampersand, and to compensate, one has to add an empty argument, namely {}. For the number of &, maybe I was not clear enough: each column of alignment, but the first, has to be introduced by an &. Inside this column, the alignment point is specified with another &. Check on my code, you should see this rule is respected. Is this clear?

        – Bernard
        1 hour ago
















      5














      First of all, do not use $$ ... $$, which is plain TeX, use the LaTeX construct [ ... ].



      Second, 4 alignment points require 7 ampersands, not 4: each new column of alignment has to be introduced by an ampersand. So n alignment points require 2n–1 ampersands.



      Last: use alignat (or alignedat) to have full control on the spacing between columns of alignment.



      Here is a possible code:



      [ left{
      begin{alignedat}{4}
      &alpha &{} + 2&beta + {} & &gamma & & = 0 \\
      3&alpha &{} + 7&beta + 5 & &gamma & & = 1
      end{alignedat}


      However, using the systeme package makes it simpler to type:



      [ systeme[alphabetagamma]{alpha + 2beta +gamma = 0, 3alpha + 7beta + 5gamma = 1} ]


      enter image description here






      share|improve this answer


























      • I had no idea that $ was plain TeX, thanks! Unfortunately it seems that for the Github Markdown I'm trying to edit, [ doesn't seem to work... But begin{alignedat}{4} end{alignedat} works perfectly!

        – Seankala
        2 hours ago











      • I've updated with a simpler way to type (the systeme command from the homonymous package).

        – Bernard
        2 hours ago






      • 1





        In your first method, the spacing around the = is not correct.

        – Steven B. Segletes
        2 hours ago






      • 1





        amsldoc (amsmath documentation) and systeme. Feel free to ask any questions.

        – Bernard
        2 hours ago






      • 1





        The empty curly braces are there because $+$ (or $-$) are binary operators with a special spacing w.r.t. the elements on the right and on the left. This can be destroyed by an ampersand, and to compensate, one has to add an empty argument, namely {}. For the number of &, maybe I was not clear enough: each column of alignment, but the first, has to be introduced by an &. Inside this column, the alignment point is specified with another &. Check on my code, you should see this rule is respected. Is this clear?

        – Bernard
        1 hour ago














      5












      5








      5







      First of all, do not use $$ ... $$, which is plain TeX, use the LaTeX construct [ ... ].



      Second, 4 alignment points require 7 ampersands, not 4: each new column of alignment has to be introduced by an ampersand. So n alignment points require 2n–1 ampersands.



      Last: use alignat (or alignedat) to have full control on the spacing between columns of alignment.



      Here is a possible code:



      [ left{
      begin{alignedat}{4}
      &alpha &{} + 2&beta + {} & &gamma & & = 0 \\
      3&alpha &{} + 7&beta + 5 & &gamma & & = 1
      end{alignedat}


      However, using the systeme package makes it simpler to type:



      [ systeme[alphabetagamma]{alpha + 2beta +gamma = 0, 3alpha + 7beta + 5gamma = 1} ]


      enter image description here






      share|improve this answer















      First of all, do not use $$ ... $$, which is plain TeX, use the LaTeX construct [ ... ].



      Second, 4 alignment points require 7 ampersands, not 4: each new column of alignment has to be introduced by an ampersand. So n alignment points require 2n–1 ampersands.



      Last: use alignat (or alignedat) to have full control on the spacing between columns of alignment.



      Here is a possible code:



      [ left{
      begin{alignedat}{4}
      &alpha &{} + 2&beta + {} & &gamma & & = 0 \\
      3&alpha &{} + 7&beta + 5 & &gamma & & = 1
      end{alignedat}


      However, using the systeme package makes it simpler to type:



      [ systeme[alphabetagamma]{alpha + 2beta +gamma = 0, 3alpha + 7beta + 5gamma = 1} ]


      enter image description here







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited 1 hour ago

























      answered 2 hours ago









      BernardBernard

      170k775201




      170k775201













      • I had no idea that $ was plain TeX, thanks! Unfortunately it seems that for the Github Markdown I'm trying to edit, [ doesn't seem to work... But begin{alignedat}{4} end{alignedat} works perfectly!

        – Seankala
        2 hours ago











      • I've updated with a simpler way to type (the systeme command from the homonymous package).

        – Bernard
        2 hours ago






      • 1





        In your first method, the spacing around the = is not correct.

        – Steven B. Segletes
        2 hours ago






      • 1





        amsldoc (amsmath documentation) and systeme. Feel free to ask any questions.

        – Bernard
        2 hours ago






      • 1





        The empty curly braces are there because $+$ (or $-$) are binary operators with a special spacing w.r.t. the elements on the right and on the left. This can be destroyed by an ampersand, and to compensate, one has to add an empty argument, namely {}. For the number of &, maybe I was not clear enough: each column of alignment, but the first, has to be introduced by an &. Inside this column, the alignment point is specified with another &. Check on my code, you should see this rule is respected. Is this clear?

        – Bernard
        1 hour ago



















      • I had no idea that $ was plain TeX, thanks! Unfortunately it seems that for the Github Markdown I'm trying to edit, [ doesn't seem to work... But begin{alignedat}{4} end{alignedat} works perfectly!

        – Seankala
        2 hours ago











      • I've updated with a simpler way to type (the systeme command from the homonymous package).

        – Bernard
        2 hours ago






      • 1





        In your first method, the spacing around the = is not correct.

        – Steven B. Segletes
        2 hours ago






      • 1





        amsldoc (amsmath documentation) and systeme. Feel free to ask any questions.

        – Bernard
        2 hours ago






      • 1





        The empty curly braces are there because $+$ (or $-$) are binary operators with a special spacing w.r.t. the elements on the right and on the left. This can be destroyed by an ampersand, and to compensate, one has to add an empty argument, namely {}. For the number of &, maybe I was not clear enough: each column of alignment, but the first, has to be introduced by an &. Inside this column, the alignment point is specified with another &. Check on my code, you should see this rule is respected. Is this clear?

        – Bernard
        1 hour ago

















      I had no idea that $ was plain TeX, thanks! Unfortunately it seems that for the Github Markdown I'm trying to edit, [ doesn't seem to work... But begin{alignedat}{4} end{alignedat} works perfectly!

      – Seankala
      2 hours ago





      I had no idea that $ was plain TeX, thanks! Unfortunately it seems that for the Github Markdown I'm trying to edit, [ doesn't seem to work... But begin{alignedat}{4} end{alignedat} works perfectly!

      – Seankala
      2 hours ago













      I've updated with a simpler way to type (the systeme command from the homonymous package).

      – Bernard
      2 hours ago





      I've updated with a simpler way to type (the systeme command from the homonymous package).

      – Bernard
      2 hours ago




      1




      1





      In your first method, the spacing around the = is not correct.

      – Steven B. Segletes
      2 hours ago





      In your first method, the spacing around the = is not correct.

      – Steven B. Segletes
      2 hours ago




      1




      1





      amsldoc (amsmath documentation) and systeme. Feel free to ask any questions.

      – Bernard
      2 hours ago





      amsldoc (amsmath documentation) and systeme. Feel free to ask any questions.

      – Bernard
      2 hours ago




      1




      1





      The empty curly braces are there because $+$ (or $-$) are binary operators with a special spacing w.r.t. the elements on the right and on the left. This can be destroyed by an ampersand, and to compensate, one has to add an empty argument, namely {}. For the number of &, maybe I was not clear enough: each column of alignment, but the first, has to be introduced by an &. Inside this column, the alignment point is specified with another &. Check on my code, you should see this rule is respected. Is this clear?

      – Bernard
      1 hour ago





      The empty curly braces are there because $+$ (or $-$) are binary operators with a special spacing w.r.t. the elements on the right and on the left. This can be destroyed by an ampersand, and to compensate, one has to add an empty argument, namely {}. For the number of &, maybe I was not clear enough: each column of alignment, but the first, has to be introduced by an &. Inside this column, the alignment point is specified with another &. Check on my code, you should see this rule is respected. Is this clear?

      – Bernard
      1 hour ago











      6














      Something like this?



      documentclass{article}
      usepackage{tabstackengine}
      begin{document}
      [
      left{
      setstackgap{L}{18pt}
      Matrixstack[r]{
      alpha +& 2beta +& gamma =& 0 \
      3alpha +& 7beta +& 5gamma =& 1
      }
      right.
      ]
      end{document}


      enter image description here






      share|improve this answer




























        6














        Something like this?



        documentclass{article}
        usepackage{tabstackengine}
        begin{document}
        [
        left{
        setstackgap{L}{18pt}
        Matrixstack[r]{
        alpha +& 2beta +& gamma =& 0 \
        3alpha +& 7beta +& 5gamma =& 1
        }
        right.
        ]
        end{document}


        enter image description here






        share|improve this answer


























          6












          6








          6







          Something like this?



          documentclass{article}
          usepackage{tabstackengine}
          begin{document}
          [
          left{
          setstackgap{L}{18pt}
          Matrixstack[r]{
          alpha +& 2beta +& gamma =& 0 \
          3alpha +& 7beta +& 5gamma =& 1
          }
          right.
          ]
          end{document}


          enter image description here






          share|improve this answer













          Something like this?



          documentclass{article}
          usepackage{tabstackengine}
          begin{document}
          [
          left{
          setstackgap{L}{18pt}
          Matrixstack[r]{
          alpha +& 2beta +& gamma =& 0 \
          3alpha +& 7beta +& 5gamma =& 1
          }
          right.
          ]
          end{document}


          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 2 hours ago









          Steven B. SegletesSteven B. Segletes

          156k9201411




          156k9201411























              3














              Here's a solution that requires only the basic array package. The following code also sets up a custom array-like environment.



              enter image description here



              documentclass{article}
              usepackage{array} % for "newcolumntype" macro
              newcolumntype{C}{>{{}}c<{{}}}
              %% set up a little custom enrironment:
              newenvironment{myarray}[1]{%
              setlengtharraycolsep{0pt}
              left{ begin{array}{#1}}{%
              end{array} right.}

              begin{document}
              [
              begin{myarray}{rCrCrCl}
              alpha &+& 2beta &+& gamma &=& 0 \
              3alpha &+& 7beta &+& 5gamma &=& 1
              end{myarray}
              ]
              end{document}





              share|improve this answer






























                3














                Here's a solution that requires only the basic array package. The following code also sets up a custom array-like environment.



                enter image description here



                documentclass{article}
                usepackage{array} % for "newcolumntype" macro
                newcolumntype{C}{>{{}}c<{{}}}
                %% set up a little custom enrironment:
                newenvironment{myarray}[1]{%
                setlengtharraycolsep{0pt}
                left{ begin{array}{#1}}{%
                end{array} right.}

                begin{document}
                [
                begin{myarray}{rCrCrCl}
                alpha &+& 2beta &+& gamma &=& 0 \
                3alpha &+& 7beta &+& 5gamma &=& 1
                end{myarray}
                ]
                end{document}





                share|improve this answer




























                  3












                  3








                  3







                  Here's a solution that requires only the basic array package. The following code also sets up a custom array-like environment.



                  enter image description here



                  documentclass{article}
                  usepackage{array} % for "newcolumntype" macro
                  newcolumntype{C}{>{{}}c<{{}}}
                  %% set up a little custom enrironment:
                  newenvironment{myarray}[1]{%
                  setlengtharraycolsep{0pt}
                  left{ begin{array}{#1}}{%
                  end{array} right.}

                  begin{document}
                  [
                  begin{myarray}{rCrCrCl}
                  alpha &+& 2beta &+& gamma &=& 0 \
                  3alpha &+& 7beta &+& 5gamma &=& 1
                  end{myarray}
                  ]
                  end{document}





                  share|improve this answer















                  Here's a solution that requires only the basic array package. The following code also sets up a custom array-like environment.



                  enter image description here



                  documentclass{article}
                  usepackage{array} % for "newcolumntype" macro
                  newcolumntype{C}{>{{}}c<{{}}}
                  %% set up a little custom enrironment:
                  newenvironment{myarray}[1]{%
                  setlengtharraycolsep{0pt}
                  left{ begin{array}{#1}}{%
                  end{array} right.}

                  begin{document}
                  [
                  begin{myarray}{rCrCrCl}
                  alpha &+& 2beta &+& gamma &=& 0 \
                  3alpha &+& 7beta &+& 5gamma &=& 1
                  end{myarray}
                  ]
                  end{document}






                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited 2 hours ago

























                  answered 2 hours ago









                  MicoMico

                  279k31381769




                  279k31381769






















                      Seankala is a new contributor. Be nice, and check out our Code of Conduct.










                      draft saved

                      draft discarded


















                      Seankala is a new contributor. Be nice, and check out our Code of Conduct.













                      Seankala is a new contributor. Be nice, and check out our Code of Conduct.












                      Seankala 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.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f476010%2faligning-systems-of-equations%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

                      (145452) 2005 RN43 Классификация | Примечания | Ссылки |...

                      Щит и меч (фильм) Содержание Названия серий | Сюжет |...

                      Энтрерриос (город) Содержание История | Географическое...