Spacing after equals sign in alignSums and differences spanning multiple linesspacing after “equals” sign in align environmentLyX Spacing after = sign in alignUsing gather and align togetherAlign multiline RHSHow can I make a single-aligned row under two double-aligned rows in an equation?Left aligning equations without align characterIs there a way to put two labelled equations into one beginequation and align both of them at the beginning?Align multiple equationsAlign different equations on different equal signsspacing after “equals” sign in align environmentAlign equations within one lineTrying to align the equations and labelling

Would this string work as string?

Are hand made posters acceptable in Academia?

Homology of the fiber

Why does Surtur say that Thor is Asgard's doom?

CLI: Get information Ubuntu releases

Norwegian Refugee travel document

Have the tides ever turned twice on any open problem?

"Marked down as someone wanting to sell shares." What does that mean?

When did hardware antialiasing start being available?

Should I be concerned about student access to a test bank?

Does the Shadow Magic sorcerer's Eyes of the Dark feature work on all Darkness spells or just his/her own?

PTIJ: At the Passover Seder, is one allowed to speak more than once during Maggid?

PTIJ: Why do we make a Lulav holder?

Asserting that Atheism and Theism are both faith based positions

What is it called when someone votes for an option that's not their first choice?

Pre-Employment Background Check With Consent For Future Checks

How to find the largest number(s) in a list of elements, possibly non-unique?

What kind of footwear is suitable for walking in micro gravity environment?

Print a physical multiplication table

UK Tourist Visa- Enquiry

10 year ban after applying for a UK student visa

What is 管理しきれず?

Writing in a Christian voice

Did Nintendo change its mind about 68000 SNES?



Spacing after equals sign in align


Sums and differences spanning multiple linesspacing after “equals” sign in align environmentLyX Spacing after = sign in alignUsing gather and align togetherAlign multiline RHSHow can I make a single-aligned row under two double-aligned rows in an equation?Left aligning equations without align characterIs there a way to put two labelled equations into one beginequation and align both of them at the beginning?Align multiple equationsAlign different equations on different equal signsspacing after “equals” sign in align environmentAlign equations within one lineTrying to align the equations and labelling













12















I find that I have unpleasant spacing between the equals sign and (e.g.) the exponential function in this particular case, while using the align environment. I have a long expression which has to be split up in multiple rows. The alignment character & appears to gobble up all space when it comes after the equals sign. How could I remedy this while still preserving the plus sign alignment below?



Ideally, I would like to have the second row from the first equation, and the first row from the second equation.



Compiled document



documentclassarticle
usepackageamsmath
begindocument
beginalign % bad spacing at first row, but correctly placed second row
2 cosh t =& e^t \
&+ e^-t
endalign
beginalign % good spacing at first row, but incorrectly placed second row
2cosh t &= e^t \
&+ e^-t
endalign
enddocument









share|improve this question

















  • 2





    Welcome to TeX.SE! To get the correct spacing around the = sign, one must write &= rather than =&.

    – Mico
    Nov 17 '14 at 13:50















12















I find that I have unpleasant spacing between the equals sign and (e.g.) the exponential function in this particular case, while using the align environment. I have a long expression which has to be split up in multiple rows. The alignment character & appears to gobble up all space when it comes after the equals sign. How could I remedy this while still preserving the plus sign alignment below?



Ideally, I would like to have the second row from the first equation, and the first row from the second equation.



Compiled document



documentclassarticle
usepackageamsmath
begindocument
beginalign % bad spacing at first row, but correctly placed second row
2 cosh t =& e^t \
&+ e^-t
endalign
beginalign % good spacing at first row, but incorrectly placed second row
2cosh t &= e^t \
&+ e^-t
endalign
enddocument









share|improve this question

















  • 2





    Welcome to TeX.SE! To get the correct spacing around the = sign, one must write &= rather than =&.

    – Mico
    Nov 17 '14 at 13:50













12












12








12


2






I find that I have unpleasant spacing between the equals sign and (e.g.) the exponential function in this particular case, while using the align environment. I have a long expression which has to be split up in multiple rows. The alignment character & appears to gobble up all space when it comes after the equals sign. How could I remedy this while still preserving the plus sign alignment below?



Ideally, I would like to have the second row from the first equation, and the first row from the second equation.



Compiled document



documentclassarticle
usepackageamsmath
begindocument
beginalign % bad spacing at first row, but correctly placed second row
2 cosh t =& e^t \
&+ e^-t
endalign
beginalign % good spacing at first row, but incorrectly placed second row
2cosh t &= e^t \
&+ e^-t
endalign
enddocument









share|improve this question














I find that I have unpleasant spacing between the equals sign and (e.g.) the exponential function in this particular case, while using the align environment. I have a long expression which has to be split up in multiple rows. The alignment character & appears to gobble up all space when it comes after the equals sign. How could I remedy this while still preserving the plus sign alignment below?



Ideally, I would like to have the second row from the first equation, and the first row from the second equation.



Compiled document



documentclassarticle
usepackageamsmath
begindocument
beginalign % bad spacing at first row, but correctly placed second row
2 cosh t =& e^t \
&+ e^-t
endalign
beginalign % good spacing at first row, but incorrectly placed second row
2cosh t &= e^t \
&+ e^-t
endalign
enddocument






math-mode align






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 17 '14 at 13:44









Martin LMartin L

16316




16316







  • 2





    Welcome to TeX.SE! To get the correct spacing around the = sign, one must write &= rather than =&.

    – Mico
    Nov 17 '14 at 13:50












  • 2





    Welcome to TeX.SE! To get the correct spacing around the = sign, one must write &= rather than =&.

    – Mico
    Nov 17 '14 at 13:50







2




2





Welcome to TeX.SE! To get the correct spacing around the = sign, one must write &= rather than =&.

– Mico
Nov 17 '14 at 13:50





Welcome to TeX.SE! To get the correct spacing around the = sign, one must write &= rather than =&.

– Mico
Nov 17 '14 at 13:50










5 Answers
5






active

oldest

votes


















7














Put the ampersand before the equals sign. Then use quad to create the indentation in the second row.



documentclassarticle
usepackageamsmath
begindocument
beginalign
2 cosh t &= e^t \
&quad+ e^-t
endalign
enddocument


You can also use hspace if you want a different length for the indentation.



alignment






share|improve this answer


















  • 3





    Wouldn't beginalign 2 cosh t &= e^t \ &phantom= + e^-t endalign be better? Then the plus symbol would be inset by the width of the equals sign, with the correct spacing.

    – Niel de Beaudrap
    Nov 17 '14 at 17:21











  • I'd say it's a matter of taste.

    – Ian Thompson
    Nov 18 '14 at 8:08


















6














I wouldn't try aligning the plus with e^t, but if you insist, here's how.



documentclassarticle
usepackageamsmath
begindocument

noindent
The plus is flush with $e^t$ (I wouldn't recommend it):
beginalign
2cosh t =& e^t \
& negmedspace+ e^-t
endalign
The plus is moved right (better):
beginalign
2cosh t &= e^t \
&qquad+ e^-t
endalign
enddocument


With negmedspace we kill the space at the left of the binary operation symbol.



enter image description here



However, align is the wrong tool here:



documentclassarticle
usepackageamsmath
begindocument

beginequation
beginsplit
2cosh t &= e^t \
&qquad + e^-t
endsplit
endequation


enter image description here






share|improve this answer






























    5














    Suppose you wish to ensure that the two instances of e are aligned vertically, while respecting the fact that a binary operator (+) precedes the e in the second row. The most direct way to obtain this type of alignment is to use a pair of hphantom ("horizonal phantom") statements. The one in the first row mimics the + symbol (a binary operator) from the second row, and the hphantom statement in the second row mimics the = symbol (a relational operator) from the first row. The pairs are there to help TeX figure out which type of operator applies.



    enter image description here



    documentclassarticle
    usepackageamsmath
    setlengthtextwidth3in %% just for this example
    begindocument
    beginalign
    2cosh t &= phantom+ mathrme^t \
    &phantom= + mathrme^-t
    endalign
    enddocument





    share|improve this answer






























      3














      You have placed the & wrong; it should go before the equal sign to get the correct spacing. Also, I've used hphantom to indent the expression in the second line to get the correct alignment. (Notice the before =.)



      documentclassarticle

      usepackageamsmath

      begindocument

      beginalign
      2cosh t
      &= e^t \
      &hphantom= + e^-t
      endalign

      enddocument


      output






      share|improve this answer




















      • 1





        It is not wrong, one just have to be a bit more careful. Besides ` = &` is a lot short to type than &hphantom= ;-)

        – daleif
        Nov 17 '14 at 15:19











      • @daleif Good point. The reason why I used hphantom is that it's more 'universal'.

        – Svend Tveskæg
        Nov 17 '14 at 16:33


















      0














      Strictly speaking, only the first part of egreg's answer solves the problem as intended by Martin L. All other answers require space corrections of at least 1 or 2 mu. Here is an alternative.



      LaTeX encloses relation symbols with thick spaces ;, and binary symbols with medium spaces :. The symbols = and + in our example are respectively of these kinds. Therefore, downgrading them to ordinary symbols, what we want is:



      2 cosh t & ; mathord= ; e^t \
      & ; phantom= ; mathord+ : e^-t


      A practical incarnation of the above is (see page 36 of l2kurz.pdf):



      2 cosh t & = e^t \
      & mathrelphantom= negmedspace + e^-t


      First, we redeem the relation status of = robbed by the phantom command. Second, we insert an empty group telling LaTeX to interpret + as a binary rather than a prefix symbol; but this creates a spurious medium space : that needs to be compensated.



      enter image description here






      share|improve this answer








      New contributor




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



















        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%2f212605%2fspacing-after-equals-sign-in-align%23new-answer', 'question_page');

        );

        Post as a guest















        Required, but never shown

























        5 Answers
        5






        active

        oldest

        votes








        5 Answers
        5






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        7














        Put the ampersand before the equals sign. Then use quad to create the indentation in the second row.



        documentclassarticle
        usepackageamsmath
        begindocument
        beginalign
        2 cosh t &= e^t \
        &quad+ e^-t
        endalign
        enddocument


        You can also use hspace if you want a different length for the indentation.



        alignment






        share|improve this answer


















        • 3





          Wouldn't beginalign 2 cosh t &= e^t \ &phantom= + e^-t endalign be better? Then the plus symbol would be inset by the width of the equals sign, with the correct spacing.

          – Niel de Beaudrap
          Nov 17 '14 at 17:21











        • I'd say it's a matter of taste.

          – Ian Thompson
          Nov 18 '14 at 8:08















        7














        Put the ampersand before the equals sign. Then use quad to create the indentation in the second row.



        documentclassarticle
        usepackageamsmath
        begindocument
        beginalign
        2 cosh t &= e^t \
        &quad+ e^-t
        endalign
        enddocument


        You can also use hspace if you want a different length for the indentation.



        alignment






        share|improve this answer


















        • 3





          Wouldn't beginalign 2 cosh t &= e^t \ &phantom= + e^-t endalign be better? Then the plus symbol would be inset by the width of the equals sign, with the correct spacing.

          – Niel de Beaudrap
          Nov 17 '14 at 17:21











        • I'd say it's a matter of taste.

          – Ian Thompson
          Nov 18 '14 at 8:08













        7












        7








        7







        Put the ampersand before the equals sign. Then use quad to create the indentation in the second row.



        documentclassarticle
        usepackageamsmath
        begindocument
        beginalign
        2 cosh t &= e^t \
        &quad+ e^-t
        endalign
        enddocument


        You can also use hspace if you want a different length for the indentation.



        alignment






        share|improve this answer













        Put the ampersand before the equals sign. Then use quad to create the indentation in the second row.



        documentclassarticle
        usepackageamsmath
        begindocument
        beginalign
        2 cosh t &= e^t \
        &quad+ e^-t
        endalign
        enddocument


        You can also use hspace if you want a different length for the indentation.



        alignment







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 17 '14 at 13:49









        Ian ThompsonIan Thompson

        32.1k379155




        32.1k379155







        • 3





          Wouldn't beginalign 2 cosh t &= e^t \ &phantom= + e^-t endalign be better? Then the plus symbol would be inset by the width of the equals sign, with the correct spacing.

          – Niel de Beaudrap
          Nov 17 '14 at 17:21











        • I'd say it's a matter of taste.

          – Ian Thompson
          Nov 18 '14 at 8:08












        • 3





          Wouldn't beginalign 2 cosh t &= e^t \ &phantom= + e^-t endalign be better? Then the plus symbol would be inset by the width of the equals sign, with the correct spacing.

          – Niel de Beaudrap
          Nov 17 '14 at 17:21











        • I'd say it's a matter of taste.

          – Ian Thompson
          Nov 18 '14 at 8:08







        3




        3





        Wouldn't beginalign 2 cosh t &= e^t \ &phantom= + e^-t endalign be better? Then the plus symbol would be inset by the width of the equals sign, with the correct spacing.

        – Niel de Beaudrap
        Nov 17 '14 at 17:21





        Wouldn't beginalign 2 cosh t &= e^t \ &phantom= + e^-t endalign be better? Then the plus symbol would be inset by the width of the equals sign, with the correct spacing.

        – Niel de Beaudrap
        Nov 17 '14 at 17:21













        I'd say it's a matter of taste.

        – Ian Thompson
        Nov 18 '14 at 8:08





        I'd say it's a matter of taste.

        – Ian Thompson
        Nov 18 '14 at 8:08











        6














        I wouldn't try aligning the plus with e^t, but if you insist, here's how.



        documentclassarticle
        usepackageamsmath
        begindocument

        noindent
        The plus is flush with $e^t$ (I wouldn't recommend it):
        beginalign
        2cosh t =& e^t \
        & negmedspace+ e^-t
        endalign
        The plus is moved right (better):
        beginalign
        2cosh t &= e^t \
        &qquad+ e^-t
        endalign
        enddocument


        With negmedspace we kill the space at the left of the binary operation symbol.



        enter image description here



        However, align is the wrong tool here:



        documentclassarticle
        usepackageamsmath
        begindocument

        beginequation
        beginsplit
        2cosh t &= e^t \
        &qquad + e^-t
        endsplit
        endequation


        enter image description here






        share|improve this answer



























          6














          I wouldn't try aligning the plus with e^t, but if you insist, here's how.



          documentclassarticle
          usepackageamsmath
          begindocument

          noindent
          The plus is flush with $e^t$ (I wouldn't recommend it):
          beginalign
          2cosh t =& e^t \
          & negmedspace+ e^-t
          endalign
          The plus is moved right (better):
          beginalign
          2cosh t &= e^t \
          &qquad+ e^-t
          endalign
          enddocument


          With negmedspace we kill the space at the left of the binary operation symbol.



          enter image description here



          However, align is the wrong tool here:



          documentclassarticle
          usepackageamsmath
          begindocument

          beginequation
          beginsplit
          2cosh t &= e^t \
          &qquad + e^-t
          endsplit
          endequation


          enter image description here






          share|improve this answer

























            6












            6








            6







            I wouldn't try aligning the plus with e^t, but if you insist, here's how.



            documentclassarticle
            usepackageamsmath
            begindocument

            noindent
            The plus is flush with $e^t$ (I wouldn't recommend it):
            beginalign
            2cosh t =& e^t \
            & negmedspace+ e^-t
            endalign
            The plus is moved right (better):
            beginalign
            2cosh t &= e^t \
            &qquad+ e^-t
            endalign
            enddocument


            With negmedspace we kill the space at the left of the binary operation symbol.



            enter image description here



            However, align is the wrong tool here:



            documentclassarticle
            usepackageamsmath
            begindocument

            beginequation
            beginsplit
            2cosh t &= e^t \
            &qquad + e^-t
            endsplit
            endequation


            enter image description here






            share|improve this answer













            I wouldn't try aligning the plus with e^t, but if you insist, here's how.



            documentclassarticle
            usepackageamsmath
            begindocument

            noindent
            The plus is flush with $e^t$ (I wouldn't recommend it):
            beginalign
            2cosh t =& e^t \
            & negmedspace+ e^-t
            endalign
            The plus is moved right (better):
            beginalign
            2cosh t &= e^t \
            &qquad+ e^-t
            endalign
            enddocument


            With negmedspace we kill the space at the left of the binary operation symbol.



            enter image description here



            However, align is the wrong tool here:



            documentclassarticle
            usepackageamsmath
            begindocument

            beginequation
            beginsplit
            2cosh t &= e^t \
            &qquad + e^-t
            endsplit
            endequation


            enter image description here







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Nov 17 '14 at 14:13









            egregegreg

            727k8819223231




            727k8819223231





















                5














                Suppose you wish to ensure that the two instances of e are aligned vertically, while respecting the fact that a binary operator (+) precedes the e in the second row. The most direct way to obtain this type of alignment is to use a pair of hphantom ("horizonal phantom") statements. The one in the first row mimics the + symbol (a binary operator) from the second row, and the hphantom statement in the second row mimics the = symbol (a relational operator) from the first row. The pairs are there to help TeX figure out which type of operator applies.



                enter image description here



                documentclassarticle
                usepackageamsmath
                setlengthtextwidth3in %% just for this example
                begindocument
                beginalign
                2cosh t &= phantom+ mathrme^t \
                &phantom= + mathrme^-t
                endalign
                enddocument





                share|improve this answer



























                  5














                  Suppose you wish to ensure that the two instances of e are aligned vertically, while respecting the fact that a binary operator (+) precedes the e in the second row. The most direct way to obtain this type of alignment is to use a pair of hphantom ("horizonal phantom") statements. The one in the first row mimics the + symbol (a binary operator) from the second row, and the hphantom statement in the second row mimics the = symbol (a relational operator) from the first row. The pairs are there to help TeX figure out which type of operator applies.



                  enter image description here



                  documentclassarticle
                  usepackageamsmath
                  setlengthtextwidth3in %% just for this example
                  begindocument
                  beginalign
                  2cosh t &= phantom+ mathrme^t \
                  &phantom= + mathrme^-t
                  endalign
                  enddocument





                  share|improve this answer

























                    5












                    5








                    5







                    Suppose you wish to ensure that the two instances of e are aligned vertically, while respecting the fact that a binary operator (+) precedes the e in the second row. The most direct way to obtain this type of alignment is to use a pair of hphantom ("horizonal phantom") statements. The one in the first row mimics the + symbol (a binary operator) from the second row, and the hphantom statement in the second row mimics the = symbol (a relational operator) from the first row. The pairs are there to help TeX figure out which type of operator applies.



                    enter image description here



                    documentclassarticle
                    usepackageamsmath
                    setlengthtextwidth3in %% just for this example
                    begindocument
                    beginalign
                    2cosh t &= phantom+ mathrme^t \
                    &phantom= + mathrme^-t
                    endalign
                    enddocument





                    share|improve this answer













                    Suppose you wish to ensure that the two instances of e are aligned vertically, while respecting the fact that a binary operator (+) precedes the e in the second row. The most direct way to obtain this type of alignment is to use a pair of hphantom ("horizonal phantom") statements. The one in the first row mimics the + symbol (a binary operator) from the second row, and the hphantom statement in the second row mimics the = symbol (a relational operator) from the first row. The pairs are there to help TeX figure out which type of operator applies.



                    enter image description here



                    documentclassarticle
                    usepackageamsmath
                    setlengthtextwidth3in %% just for this example
                    begindocument
                    beginalign
                    2cosh t &= phantom+ mathrme^t \
                    &phantom= + mathrme^-t
                    endalign
                    enddocument






                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Nov 17 '14 at 14:03









                    MicoMico

                    283k31388775




                    283k31388775





















                        3














                        You have placed the & wrong; it should go before the equal sign to get the correct spacing. Also, I've used hphantom to indent the expression in the second line to get the correct alignment. (Notice the before =.)



                        documentclassarticle

                        usepackageamsmath

                        begindocument

                        beginalign
                        2cosh t
                        &= e^t \
                        &hphantom= + e^-t
                        endalign

                        enddocument


                        output






                        share|improve this answer




















                        • 1





                          It is not wrong, one just have to be a bit more careful. Besides ` = &` is a lot short to type than &hphantom= ;-)

                          – daleif
                          Nov 17 '14 at 15:19











                        • @daleif Good point. The reason why I used hphantom is that it's more 'universal'.

                          – Svend Tveskæg
                          Nov 17 '14 at 16:33















                        3














                        You have placed the & wrong; it should go before the equal sign to get the correct spacing. Also, I've used hphantom to indent the expression in the second line to get the correct alignment. (Notice the before =.)



                        documentclassarticle

                        usepackageamsmath

                        begindocument

                        beginalign
                        2cosh t
                        &= e^t \
                        &hphantom= + e^-t
                        endalign

                        enddocument


                        output






                        share|improve this answer




















                        • 1





                          It is not wrong, one just have to be a bit more careful. Besides ` = &` is a lot short to type than &hphantom= ;-)

                          – daleif
                          Nov 17 '14 at 15:19











                        • @daleif Good point. The reason why I used hphantom is that it's more 'universal'.

                          – Svend Tveskæg
                          Nov 17 '14 at 16:33













                        3












                        3








                        3







                        You have placed the & wrong; it should go before the equal sign to get the correct spacing. Also, I've used hphantom to indent the expression in the second line to get the correct alignment. (Notice the before =.)



                        documentclassarticle

                        usepackageamsmath

                        begindocument

                        beginalign
                        2cosh t
                        &= e^t \
                        &hphantom= + e^-t
                        endalign

                        enddocument


                        output






                        share|improve this answer















                        You have placed the & wrong; it should go before the equal sign to get the correct spacing. Also, I've used hphantom to indent the expression in the second line to get the correct alignment. (Notice the before =.)



                        documentclassarticle

                        usepackageamsmath

                        begindocument

                        beginalign
                        2cosh t
                        &= e^t \
                        &hphantom= + e^-t
                        endalign

                        enddocument


                        output







                        share|improve this answer














                        share|improve this answer



                        share|improve this answer








                        edited Nov 17 '14 at 14:03

























                        answered Nov 17 '14 at 13:51









                        Svend TveskægSvend Tveskæg

                        20.8k1052140




                        20.8k1052140







                        • 1





                          It is not wrong, one just have to be a bit more careful. Besides ` = &` is a lot short to type than &hphantom= ;-)

                          – daleif
                          Nov 17 '14 at 15:19











                        • @daleif Good point. The reason why I used hphantom is that it's more 'universal'.

                          – Svend Tveskæg
                          Nov 17 '14 at 16:33












                        • 1





                          It is not wrong, one just have to be a bit more careful. Besides ` = &` is a lot short to type than &hphantom= ;-)

                          – daleif
                          Nov 17 '14 at 15:19











                        • @daleif Good point. The reason why I used hphantom is that it's more 'universal'.

                          – Svend Tveskæg
                          Nov 17 '14 at 16:33







                        1




                        1





                        It is not wrong, one just have to be a bit more careful. Besides ` = &` is a lot short to type than &hphantom= ;-)

                        – daleif
                        Nov 17 '14 at 15:19





                        It is not wrong, one just have to be a bit more careful. Besides ` = &` is a lot short to type than &hphantom= ;-)

                        – daleif
                        Nov 17 '14 at 15:19













                        @daleif Good point. The reason why I used hphantom is that it's more 'universal'.

                        – Svend Tveskæg
                        Nov 17 '14 at 16:33





                        @daleif Good point. The reason why I used hphantom is that it's more 'universal'.

                        – Svend Tveskæg
                        Nov 17 '14 at 16:33











                        0














                        Strictly speaking, only the first part of egreg's answer solves the problem as intended by Martin L. All other answers require space corrections of at least 1 or 2 mu. Here is an alternative.



                        LaTeX encloses relation symbols with thick spaces ;, and binary symbols with medium spaces :. The symbols = and + in our example are respectively of these kinds. Therefore, downgrading them to ordinary symbols, what we want is:



                        2 cosh t & ; mathord= ; e^t \
                        & ; phantom= ; mathord+ : e^-t


                        A practical incarnation of the above is (see page 36 of l2kurz.pdf):



                        2 cosh t & = e^t \
                        & mathrelphantom= negmedspace + e^-t


                        First, we redeem the relation status of = robbed by the phantom command. Second, we insert an empty group telling LaTeX to interpret + as a binary rather than a prefix symbol; but this creates a spurious medium space : that needs to be compensated.



                        enter image description here






                        share|improve this answer








                        New contributor




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
























                          0














                          Strictly speaking, only the first part of egreg's answer solves the problem as intended by Martin L. All other answers require space corrections of at least 1 or 2 mu. Here is an alternative.



                          LaTeX encloses relation symbols with thick spaces ;, and binary symbols with medium spaces :. The symbols = and + in our example are respectively of these kinds. Therefore, downgrading them to ordinary symbols, what we want is:



                          2 cosh t & ; mathord= ; e^t \
                          & ; phantom= ; mathord+ : e^-t


                          A practical incarnation of the above is (see page 36 of l2kurz.pdf):



                          2 cosh t & = e^t \
                          & mathrelphantom= negmedspace + e^-t


                          First, we redeem the relation status of = robbed by the phantom command. Second, we insert an empty group telling LaTeX to interpret + as a binary rather than a prefix symbol; but this creates a spurious medium space : that needs to be compensated.



                          enter image description here






                          share|improve this answer








                          New contributor




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






















                            0












                            0








                            0







                            Strictly speaking, only the first part of egreg's answer solves the problem as intended by Martin L. All other answers require space corrections of at least 1 or 2 mu. Here is an alternative.



                            LaTeX encloses relation symbols with thick spaces ;, and binary symbols with medium spaces :. The symbols = and + in our example are respectively of these kinds. Therefore, downgrading them to ordinary symbols, what we want is:



                            2 cosh t & ; mathord= ; e^t \
                            & ; phantom= ; mathord+ : e^-t


                            A practical incarnation of the above is (see page 36 of l2kurz.pdf):



                            2 cosh t & = e^t \
                            & mathrelphantom= negmedspace + e^-t


                            First, we redeem the relation status of = robbed by the phantom command. Second, we insert an empty group telling LaTeX to interpret + as a binary rather than a prefix symbol; but this creates a spurious medium space : that needs to be compensated.



                            enter image description here






                            share|improve this answer








                            New contributor




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










                            Strictly speaking, only the first part of egreg's answer solves the problem as intended by Martin L. All other answers require space corrections of at least 1 or 2 mu. Here is an alternative.



                            LaTeX encloses relation symbols with thick spaces ;, and binary symbols with medium spaces :. The symbols = and + in our example are respectively of these kinds. Therefore, downgrading them to ordinary symbols, what we want is:



                            2 cosh t & ; mathord= ; e^t \
                            & ; phantom= ; mathord+ : e^-t


                            A practical incarnation of the above is (see page 36 of l2kurz.pdf):



                            2 cosh t & = e^t \
                            & mathrelphantom= negmedspace + e^-t


                            First, we redeem the relation status of = robbed by the phantom command. Second, we insert an empty group telling LaTeX to interpret + as a binary rather than a prefix symbol; but this creates a spurious medium space : that needs to be compensated.



                            enter image description here







                            share|improve this answer








                            New contributor




                            Christoph 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 answer



                            share|improve this answer






                            New contributor




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









                            answered 11 mins ago









                            ChristophChristoph

                            1




                            1




                            New contributor




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





                            New contributor





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






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



























                                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%2f212605%2fspacing-after-equals-sign-in-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

                                Isabella Eugénie Boyer Biographie | Références | Menu de navigationmodifiermodifier le codeComparator to Compute the Relative Value of a U.S. Dollar Amount – 1774 to Present.

                                Lioubotyn Sommaire Géographie | Histoire | Population | Notes et références | Liens externes | Menu de navigationlubotin.kharkov.uamodifier« Recensements et estimations de la population depuis 1897 »« Office des statistiques d'Ukraine : population au 1er janvier 2010, 2011 et 2012 »« Office des statistiques d'Ukraine : population au 1er janvier 2011, 2012 et 2013 »Informations officiellesCartes topographiquesCarte routièrem

                                Mpande kaSenzangakhona Biographie | Références | Menu de navigationmodifierMpande kaSenzangakhonavoir la liste des auteursm