Labelling equations with eqnarrayPlace numbering in systeme package to the leftaligning a multiline formula with the bullet of itemizeHow can I number a few equations togetherAligning several '=' symbols across two linesAlign multiple equations with parts inside rootRight align a line in align-environmentHow can I align equations to the left and to the right?Align different equations on different equal signshorizontally align two minipages with matrizesVertical alignment of different systems of equationsAlign doesn´t align equations at equal sign

How did researchers find articles before the Internet and the computer era?

How does Resilient Sphere (cast via Contingency) interact with an existing Silence spell?

Is there reliable evidence that depleted uranium from the 1999 NATO bombing is causing cancer in Serbia?

What game is this character in the Pixels movie from?

Is there an equivalent of Parseval's theorem for wavelets?

I'm reinstalling my Linux desktop, how do I keep SSH logins working?

Should fiction mention song names and iPods?

If two black hole event horizons overlap (touch) can they ever separate again?

Why won't the ground take my seed?

How to describe POV characters?

Who voices the character "Finger" in The Fifth Element?

How can I deal with extreme temperatures in a hotel room?

Most important new papers in computational complexity

How exactly is a normal force exerted, at the molecular level?

Donkey as Democratic Party symbolic animal

What exactly did Ant-Man see that made him say that their plan worked?

Was it really unprofessional of me to leave without asking for a raise first?

Why do I need two parameters in an HTTP parameter pollution attack?

Could a Weapon of Mass Destruction, targeting only humans, be developed?

What does grep -v "grep" mean and do?

Integral from infinity to infinity

Buliding a larger matrix from a smaller one

What is the purpose of putting a capacitor on the primary side of a step-down transformer?

My colleague is constantly blaming me for his errors



Labelling equations with eqnarray


Place numbering in systeme package to the leftaligning a multiline formula with the bullet of itemizeHow can I number a few equations togetherAligning several '=' symbols across two linesAlign multiple equations with parts inside rootRight align a line in align-environmentHow can I align equations to the left and to the right?Align different equations on different equal signshorizontally align two minipages with matrizesVertical alignment of different systems of equationsAlign doesn´t align equations at equal sign






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I would like to produce the following output:



eqnarray*



To be precise, I would like the two equations to be aligned as produced by eqnarray*, and the two labels L_1 and L_2 to also be aligned. I could use beginarraycrcl L_1& left side & = & right side endarray, but then there is too much space before and after the = sign. I think I could adjust that space with some parameters, but I would like this to work also on a web page with MathJax, and in any case I feel there should be a better way to do it. The way I produced that output works but I don't feel is the right way to do it, here is what I did:



begineqnarray*
L_1: hspace3.1ex x+y&=&1\
L_2: hspace1ex 2x+2y&=&2
endeqnarray*









share|improve this question
























  • You shouldn't use eqnarray – the spacing around the = signs is not good.

    – Bernard
    9 hours ago

















1















I would like to produce the following output:



eqnarray*



To be precise, I would like the two equations to be aligned as produced by eqnarray*, and the two labels L_1 and L_2 to also be aligned. I could use beginarraycrcl L_1& left side & = & right side endarray, but then there is too much space before and after the = sign. I think I could adjust that space with some parameters, but I would like this to work also on a web page with MathJax, and in any case I feel there should be a better way to do it. The way I produced that output works but I don't feel is the right way to do it, here is what I did:



begineqnarray*
L_1: hspace3.1ex x+y&=&1\
L_2: hspace1ex 2x+2y&=&2
endeqnarray*









share|improve this question
























  • You shouldn't use eqnarray – the spacing around the = signs is not good.

    – Bernard
    9 hours ago













1












1








1








I would like to produce the following output:



eqnarray*



To be precise, I would like the two equations to be aligned as produced by eqnarray*, and the two labels L_1 and L_2 to also be aligned. I could use beginarraycrcl L_1& left side & = & right side endarray, but then there is too much space before and after the = sign. I think I could adjust that space with some parameters, but I would like this to work also on a web page with MathJax, and in any case I feel there should be a better way to do it. The way I produced that output works but I don't feel is the right way to do it, here is what I did:



begineqnarray*
L_1: hspace3.1ex x+y&=&1\
L_2: hspace1ex 2x+2y&=&2
endeqnarray*









share|improve this question
















I would like to produce the following output:



eqnarray*



To be precise, I would like the two equations to be aligned as produced by eqnarray*, and the two labels L_1 and L_2 to also be aligned. I could use beginarraycrcl L_1& left side & = & right side endarray, but then there is too much space before and after the = sign. I think I could adjust that space with some parameters, but I would like this to work also on a web page with MathJax, and in any case I feel there should be a better way to do it. The way I produced that output works but I don't feel is the right way to do it, here is what I did:



begineqnarray*
L_1: hspace3.1ex x+y&=&1\
L_2: hspace1ex 2x+2y&=&2
endeqnarray*






vertical-alignment align eqnarray






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 6 hours ago









Zarko

138k8 gold badges75 silver badges184 bronze badges




138k8 gold badges75 silver badges184 bronze badges










asked 9 hours ago









Valerio De AngelisValerio De Angelis

334 bronze badges




334 bronze badges












  • You shouldn't use eqnarray – the spacing around the = signs is not good.

    – Bernard
    9 hours ago

















  • You shouldn't use eqnarray – the spacing around the = signs is not good.

    – Bernard
    9 hours ago
















You shouldn't use eqnarray – the spacing around the = signs is not good.

– Bernard
9 hours ago





You shouldn't use eqnarray – the spacing around the = signs is not good.

– Bernard
9 hours ago










2 Answers
2






active

oldest

votes


















4














The alignat environment from amsmath gives you full control on the spacing between columns of equations:



documentclassarticle
usepackageamsmath

begindocument

beginalignat*2
& L_1: & x+y &=1 \
& L_2: & enspace 2x+2y&=2
endalignat*

enddocument


enter image description here






share|improve this answer

























  • This is just what I was looking for - and it works with MathJax too.

    – Valerio De Angelis
    3 hours ago


















3














Adapting the @Salim Bou's macro Place numbering in systeme package to the left, using systeme package, you can obtain, this little MWE with another similar result:



enter image description here



documentclass[a4paper,12pt]article
usepackagesysteme,mathtools
newcommandrightnum[1]syscodeextracolkern-#1hfill$$kern#1
newcommandleftnumsyscodeextracolkern1.5em$$% return to default
begindocument
sysdelim..
rightnum7.5em
[systemex+y=1 @L_1:, 2x+2y=2 @L_2:]
enddocument





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



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f497382%2flabelling-equations-with-eqnarray%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









    4














    The alignat environment from amsmath gives you full control on the spacing between columns of equations:



    documentclassarticle
    usepackageamsmath

    begindocument

    beginalignat*2
    & L_1: & x+y &=1 \
    & L_2: & enspace 2x+2y&=2
    endalignat*

    enddocument


    enter image description here






    share|improve this answer

























    • This is just what I was looking for - and it works with MathJax too.

      – Valerio De Angelis
      3 hours ago















    4














    The alignat environment from amsmath gives you full control on the spacing between columns of equations:



    documentclassarticle
    usepackageamsmath

    begindocument

    beginalignat*2
    & L_1: & x+y &=1 \
    & L_2: & enspace 2x+2y&=2
    endalignat*

    enddocument


    enter image description here






    share|improve this answer

























    • This is just what I was looking for - and it works with MathJax too.

      – Valerio De Angelis
      3 hours ago













    4












    4








    4







    The alignat environment from amsmath gives you full control on the spacing between columns of equations:



    documentclassarticle
    usepackageamsmath

    begindocument

    beginalignat*2
    & L_1: & x+y &=1 \
    & L_2: & enspace 2x+2y&=2
    endalignat*

    enddocument


    enter image description here






    share|improve this answer















    The alignat environment from amsmath gives you full control on the spacing between columns of equations:



    documentclassarticle
    usepackageamsmath

    begindocument

    beginalignat*2
    & L_1: & x+y &=1 \
    & L_2: & enspace 2x+2y&=2
    endalignat*

    enddocument


    enter image description here







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited 8 hours ago

























    answered 9 hours ago









    BernardBernard

    182k7 gold badges83 silver badges216 bronze badges




    182k7 gold badges83 silver badges216 bronze badges












    • This is just what I was looking for - and it works with MathJax too.

      – Valerio De Angelis
      3 hours ago

















    • This is just what I was looking for - and it works with MathJax too.

      – Valerio De Angelis
      3 hours ago
















    This is just what I was looking for - and it works with MathJax too.

    – Valerio De Angelis
    3 hours ago





    This is just what I was looking for - and it works with MathJax too.

    – Valerio De Angelis
    3 hours ago













    3














    Adapting the @Salim Bou's macro Place numbering in systeme package to the left, using systeme package, you can obtain, this little MWE with another similar result:



    enter image description here



    documentclass[a4paper,12pt]article
    usepackagesysteme,mathtools
    newcommandrightnum[1]syscodeextracolkern-#1hfill$$kern#1
    newcommandleftnumsyscodeextracolkern1.5em$$% return to default
    begindocument
    sysdelim..
    rightnum7.5em
    [systemex+y=1 @L_1:, 2x+2y=2 @L_2:]
    enddocument





    share|improve this answer





























      3














      Adapting the @Salim Bou's macro Place numbering in systeme package to the left, using systeme package, you can obtain, this little MWE with another similar result:



      enter image description here



      documentclass[a4paper,12pt]article
      usepackagesysteme,mathtools
      newcommandrightnum[1]syscodeextracolkern-#1hfill$$kern#1
      newcommandleftnumsyscodeextracolkern1.5em$$% return to default
      begindocument
      sysdelim..
      rightnum7.5em
      [systemex+y=1 @L_1:, 2x+2y=2 @L_2:]
      enddocument





      share|improve this answer



























        3












        3








        3







        Adapting the @Salim Bou's macro Place numbering in systeme package to the left, using systeme package, you can obtain, this little MWE with another similar result:



        enter image description here



        documentclass[a4paper,12pt]article
        usepackagesysteme,mathtools
        newcommandrightnum[1]syscodeextracolkern-#1hfill$$kern#1
        newcommandleftnumsyscodeextracolkern1.5em$$% return to default
        begindocument
        sysdelim..
        rightnum7.5em
        [systemex+y=1 @L_1:, 2x+2y=2 @L_2:]
        enddocument





        share|improve this answer















        Adapting the @Salim Bou's macro Place numbering in systeme package to the left, using systeme package, you can obtain, this little MWE with another similar result:



        enter image description here



        documentclass[a4paper,12pt]article
        usepackagesysteme,mathtools
        newcommandrightnum[1]syscodeextracolkern-#1hfill$$kern#1
        newcommandleftnumsyscodeextracolkern1.5em$$% return to default
        begindocument
        sysdelim..
        rightnum7.5em
        [systemex+y=1 @L_1:, 2x+2y=2 @L_2:]
        enddocument






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 6 hours ago

























        answered 6 hours ago









        SebastianoSebastiano

        13.2k5 gold badges25 silver badges71 bronze badges




        13.2k5 gold badges25 silver badges71 bronze badges



























            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f497382%2flabelling-equations-with-eqnarray%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

            ParseJSON using SSJSUsing AMPscript with SSJS ActivitiesHow to resubscribe a user in Marketing cloud using SSJS?Pulling Subscriber Status from Lists using SSJSRetrieving Emails using SSJSProblem in updating DE using SSJSUsing SSJS to send single email in Marketing CloudError adding EmailSendDefinition using SSJS

            Кампала Садржај Географија Географија Историја Становништво Привреда Партнерски градови Референце Спољашње везе Мени за навигацију0°11′ СГШ; 32°20′ ИГД / 0.18° СГШ; 32.34° ИГД / 0.18; 32.340°11′ СГШ; 32°20′ ИГД / 0.18° СГШ; 32.34° ИГД / 0.18; 32.34МедијиПодациЗванични веб-сајту

            19. јануар Садржај Догађаји Рођења Смрти Празници и дани сећања Види још Референце Мени за навигацијуу