two equations on same line












1














I have seen some posts close to what I need, but not quite what I need.



I would like to produce two equations on the same line with one equation number adjusted to left and one to the right. Both equations should be multiline.



And I want to generate a tag for both equation labels.



So the output should look like what is produced by the code below.



begin{array}{llrr}     
& a=b & x=y & \
(eq1) & c=d & y=z & (eq2) \
& e=f & u=v
end{array}


Thank you









share









New contributor




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

























    1














    I have seen some posts close to what I need, but not quite what I need.



    I would like to produce two equations on the same line with one equation number adjusted to left and one to the right. Both equations should be multiline.



    And I want to generate a tag for both equation labels.



    So the output should look like what is produced by the code below.



    begin{array}{llrr}     
    & a=b & x=y & \
    (eq1) & c=d & y=z & (eq2) \
    & e=f & u=v
    end{array}


    Thank you









    share









    New contributor




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























      1












      1








      1


      1





      I have seen some posts close to what I need, but not quite what I need.



      I would like to produce two equations on the same line with one equation number adjusted to left and one to the right. Both equations should be multiline.



      And I want to generate a tag for both equation labels.



      So the output should look like what is produced by the code below.



      begin{array}{llrr}     
      & a=b & x=y & \
      (eq1) & c=d & y=z & (eq2) \
      & e=f & u=v
      end{array}


      Thank you









      share









      New contributor




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











      I have seen some posts close to what I need, but not quite what I need.



      I would like to produce two equations on the same line with one equation number adjusted to left and one to the right. Both equations should be multiline.



      And I want to generate a tag for both equation labels.



      So the output should look like what is produced by the code below.



      begin{array}{llrr}     
      & a=b & x=y & \
      (eq1) & c=d & y=z & (eq2) \
      & e=f & u=v
      end{array}


      Thank you







      equations line





      share









      New contributor




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










      share









      New contributor




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








      share



      share








      edited 5 mins ago









      Harald Hanche-Olsen

      12.9k24761




      12.9k24761






      New contributor




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









      asked 9 mins ago









      district9

      6




      6




      New contributor




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





      New contributor





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






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



























          active

          oldest

          votes











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


          }
          });






          district9 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%2f467784%2ftwo-equations-on-same-line%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








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










          draft saved

          draft discarded


















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













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












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





          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%2f467784%2ftwo-equations-on-same-line%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

          Accessing regular linux commands in Huawei's Dopra Linux

          Can't connect RFCOMM socket: Host is down

          Kernel panic - not syncing: Fatal Exception in Interrupt