Specific alignment within beginalign environmentIgnoring specific ampersand formatting on a specific line of an align blockTricky alignment within an equation with a case environmentalign: using aligned within align troublesLaTeX beginalign twice alignHow to align two beginequationbegincases?Labeling for two systems of two equationsleft alignment for equation using splitAlign equations within one lineAlignment of terms within align environmentAlignment in nested align

Electricity free spaceship

Overlapping String-Blocks

Russian word for a male zebra

Is an entry level DSLR going to shoot nice portrait pictures?

Extreme flexible working hours: how to get to know people and activities?

CSV how to trim values to 2 places in multiple columns using UNIX

Live action TV show where High school Kids go into the virtual world and have to clear levels

Fermat's statement about the ancients: How serious was he?

Someone whose aspirations exceed abilities or means

How to hide an urban landmark?

How to communicate to my GM that not being allowed to use stealth isn't fun for me?

How to decline a wedding invitation from a friend I haven't seen in years?

Traversing Oceania: A Cryptic Journey

Who enforces MPAA rating adherence?

Getting UPS Power from One Room to Another

Is it possible to have 2 different but equal size real number sets that have the same mean and standard deviation?

If I leave the US through an airport, do I have to return through the same airport?

How to hide rifle during medieval town entrance inspection?

How can I end combat quickly when the outcome is inevitable?

How to use memset in c++?

Is White controlling this game?

Heap allocation on microcontroller

Check if three arrays contains the same element

Is it expected that a reader will skip parts of what you write?



Specific alignment within beginalign environment


Ignoring specific ampersand formatting on a specific line of an align blockTricky alignment within an equation with a case environmentalign: using aligned within align troublesLaTeX beginalign twice alignHow to align two beginequationbegincases?Labeling for two systems of two equationsleft alignment for equation using splitAlign equations within one lineAlignment of terms within align environmentAlignment in nested align













6















I would like to produce the following alignment with beginalign*...endalign*.



 -0,1 < E < 0,1 
6,3 < S < 6,4
6,3-0,1 < S+E < 6,4+0,1
6,2 < I < 6,5


I can't figure out where to place the & signs.
Thanks for your help.










share|improve this question




























    6















    I would like to produce the following alignment with beginalign*...endalign*.



     -0,1 < E < 0,1 
    6,3 < S < 6,4
    6,3-0,1 < S+E < 6,4+0,1
    6,2 < I < 6,5


    I can't figure out where to place the & signs.
    Thanks for your help.










    share|improve this question


























      6












      6








      6


      1






      I would like to produce the following alignment with beginalign*...endalign*.



       -0,1 < E < 0,1 
      6,3 < S < 6,4
      6,3-0,1 < S+E < 6,4+0,1
      6,2 < I < 6,5


      I can't figure out where to place the & signs.
      Thanks for your help.










      share|improve this question
















      I would like to produce the following alignment with beginalign*...endalign*.



       -0,1 < E < 0,1 
      6,3 < S < 6,4
      6,3-0,1 < S+E < 6,4+0,1
      6,2 < I < 6,5


      I can't figure out where to place the & signs.
      Thanks for your help.







      align






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 23 at 10:38









      muxoveji

      3119




      3119










      asked May 23 at 10:31









      JulienJulien

      1335




      1335




















          4 Answers
          4






          active

          oldest

          votes


















          7














          With array:



          documentclassarticle
          usepackageamsmath,array

          begindocument

          beginequation*
          renewcommandarraystretch1.2 % like in cases
          setlengtharraycolsep0pt % use math spacings
          beginarray r< c >l
          -0,1 < & E & < 0,1 \
          6,3 < & S & < 6,4 \
          6,3-0,1 < & S+E & < 6,4+0,1 \
          6,2 < & I & < 6,5
          endarray
          endequation*

          enddocument


          enter image description here






          share|improve this answer






























            7














            enter image description here



            documentclassarticle
            usepackageamsmath

            begindocument



            alignat:
            beginalignat2
            -0,1 &< E &&< 0,1 \
            6,3 &< S &&< 6,4 \
            6,3-0,1 &<S+E&&< 6,4+0,1 \
            -0,1 &< I &&< 6,5
            endalignat
            enddocument





            share|improve this answer























            • I'm curious: why does it need &&?

              – muxoveji
              May 23 at 10:47






            • 1





              @muxoveji all ams alignments alternate between right and left alignment as if beginarrayrlrlrlrlrlrlrlrlrlrl and you have no new entries to the left of the second < so that column is empty. (put x in between the & to see what I mean.)

              – David Carlisle
              May 23 at 10:54











            • That makes sense! Thanks a lot for the explanation!

              – muxoveji
              May 23 at 10:55


















            5














            align family environments, by nature, produce right/left alignments of successive columns. Thus they are not easily adapted to achieve the center-alignment of the middle column that was requested.



            Also, in order to not treat the comma as punctuation, one can either enclose each comma in its own braces , (yuck!), or use the cmac macro provided to use active commas to fix the problem...Just make sure you don't use commas in another context while cmac is active.



            With tabstackengine...



            documentclassarticle
            usepackagetabstackengine
            letsvcm,

            catcode`,=active %
            gdef,svcm

            newcommandcmaccatcode`,=active
            TABstackMath
            begindocument
            [
            TABbinary
            cmac
            setstacktabulargap0pt
            tabularCenterstackrcl
            -0,1 <& E &< 0,1 \
            6,3 <& S &< 6,4 \
            6,3-0,1 <&S+E&< 6,4+0,1 \
            6,2 <& I &< 6,5
            ]
            enddocument


            enter image description here



            If one wants more vertical spacing between the lines, simply add setstackgapL1.2baselineskip to the mix:



            enter image description here






            share|improve this answer
































              2














              Another solution with the eqparbox package:



              documentclassarticle
              usepackageamsmath
              usepackageeqparbox
              newcommandeqmathbox[2][M]eqmakebox[#1]$displaystyle#2$

              begindocument

              beginalign*
              -0,1 &< eqmathboxE < 0,1 \
              6,3 &< eqmathboxS < 6,4 \
              6,3-0,1 & <eqmathboxS+E < 6,4+0,1 \
              6,2 & < eqmathboxI < 6,5
              endalign*

              enddocument


              enter image description here






              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%2f492254%2fspecific-alignment-within-beginalign-environment%23new-answer', 'question_page');

                );

                Post as a guest















                Required, but never shown

























                4 Answers
                4






                active

                oldest

                votes








                4 Answers
                4






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes









                7














                With array:



                documentclassarticle
                usepackageamsmath,array

                begindocument

                beginequation*
                renewcommandarraystretch1.2 % like in cases
                setlengtharraycolsep0pt % use math spacings
                beginarray r< c >l
                -0,1 < & E & < 0,1 \
                6,3 < & S & < 6,4 \
                6,3-0,1 < & S+E & < 6,4+0,1 \
                6,2 < & I & < 6,5
                endarray
                endequation*

                enddocument


                enter image description here






                share|improve this answer



























                  7














                  With array:



                  documentclassarticle
                  usepackageamsmath,array

                  begindocument

                  beginequation*
                  renewcommandarraystretch1.2 % like in cases
                  setlengtharraycolsep0pt % use math spacings
                  beginarray r< c >l
                  -0,1 < & E & < 0,1 \
                  6,3 < & S & < 6,4 \
                  6,3-0,1 < & S+E & < 6,4+0,1 \
                  6,2 < & I & < 6,5
                  endarray
                  endequation*

                  enddocument


                  enter image description here






                  share|improve this answer

























                    7












                    7








                    7







                    With array:



                    documentclassarticle
                    usepackageamsmath,array

                    begindocument

                    beginequation*
                    renewcommandarraystretch1.2 % like in cases
                    setlengtharraycolsep0pt % use math spacings
                    beginarray r< c >l
                    -0,1 < & E & < 0,1 \
                    6,3 < & S & < 6,4 \
                    6,3-0,1 < & S+E & < 6,4+0,1 \
                    6,2 < & I & < 6,5
                    endarray
                    endequation*

                    enddocument


                    enter image description here






                    share|improve this answer













                    With array:



                    documentclassarticle
                    usepackageamsmath,array

                    begindocument

                    beginequation*
                    renewcommandarraystretch1.2 % like in cases
                    setlengtharraycolsep0pt % use math spacings
                    beginarray r< c >l
                    -0,1 < & E & < 0,1 \
                    6,3 < & S & < 6,4 \
                    6,3-0,1 < & S+E & < 6,4+0,1 \
                    6,2 < & I & < 6,5
                    endarray
                    endequation*

                    enddocument


                    enter image description here







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered May 23 at 11:07









                    egregegreg

                    747k8919543295




                    747k8919543295





















                        7














                        enter image description here



                        documentclassarticle
                        usepackageamsmath

                        begindocument



                        alignat:
                        beginalignat2
                        -0,1 &< E &&< 0,1 \
                        6,3 &< S &&< 6,4 \
                        6,3-0,1 &<S+E&&< 6,4+0,1 \
                        -0,1 &< I &&< 6,5
                        endalignat
                        enddocument





                        share|improve this answer























                        • I'm curious: why does it need &&?

                          – muxoveji
                          May 23 at 10:47






                        • 1





                          @muxoveji all ams alignments alternate between right and left alignment as if beginarrayrlrlrlrlrlrlrlrlrlrl and you have no new entries to the left of the second < so that column is empty. (put x in between the & to see what I mean.)

                          – David Carlisle
                          May 23 at 10:54











                        • That makes sense! Thanks a lot for the explanation!

                          – muxoveji
                          May 23 at 10:55















                        7














                        enter image description here



                        documentclassarticle
                        usepackageamsmath

                        begindocument



                        alignat:
                        beginalignat2
                        -0,1 &< E &&< 0,1 \
                        6,3 &< S &&< 6,4 \
                        6,3-0,1 &<S+E&&< 6,4+0,1 \
                        -0,1 &< I &&< 6,5
                        endalignat
                        enddocument





                        share|improve this answer























                        • I'm curious: why does it need &&?

                          – muxoveji
                          May 23 at 10:47






                        • 1





                          @muxoveji all ams alignments alternate between right and left alignment as if beginarrayrlrlrlrlrlrlrlrlrlrl and you have no new entries to the left of the second < so that column is empty. (put x in between the & to see what I mean.)

                          – David Carlisle
                          May 23 at 10:54











                        • That makes sense! Thanks a lot for the explanation!

                          – muxoveji
                          May 23 at 10:55













                        7












                        7








                        7







                        enter image description here



                        documentclassarticle
                        usepackageamsmath

                        begindocument



                        alignat:
                        beginalignat2
                        -0,1 &< E &&< 0,1 \
                        6,3 &< S &&< 6,4 \
                        6,3-0,1 &<S+E&&< 6,4+0,1 \
                        -0,1 &< I &&< 6,5
                        endalignat
                        enddocument





                        share|improve this answer













                        enter image description here



                        documentclassarticle
                        usepackageamsmath

                        begindocument



                        alignat:
                        beginalignat2
                        -0,1 &< E &&< 0,1 \
                        6,3 &< S &&< 6,4 \
                        6,3-0,1 &<S+E&&< 6,4+0,1 \
                        -0,1 &< I &&< 6,5
                        endalignat
                        enddocument






                        share|improve this answer












                        share|improve this answer



                        share|improve this answer










                        answered May 23 at 10:43









                        David CarlisleDavid Carlisle

                        508k4311581913




                        508k4311581913












                        • I'm curious: why does it need &&?

                          – muxoveji
                          May 23 at 10:47






                        • 1





                          @muxoveji all ams alignments alternate between right and left alignment as if beginarrayrlrlrlrlrlrlrlrlrlrl and you have no new entries to the left of the second < so that column is empty. (put x in between the & to see what I mean.)

                          – David Carlisle
                          May 23 at 10:54











                        • That makes sense! Thanks a lot for the explanation!

                          – muxoveji
                          May 23 at 10:55

















                        • I'm curious: why does it need &&?

                          – muxoveji
                          May 23 at 10:47






                        • 1





                          @muxoveji all ams alignments alternate between right and left alignment as if beginarrayrlrlrlrlrlrlrlrlrlrl and you have no new entries to the left of the second < so that column is empty. (put x in between the & to see what I mean.)

                          – David Carlisle
                          May 23 at 10:54











                        • That makes sense! Thanks a lot for the explanation!

                          – muxoveji
                          May 23 at 10:55
















                        I'm curious: why does it need &&?

                        – muxoveji
                        May 23 at 10:47





                        I'm curious: why does it need &&?

                        – muxoveji
                        May 23 at 10:47




                        1




                        1





                        @muxoveji all ams alignments alternate between right and left alignment as if beginarrayrlrlrlrlrlrlrlrlrlrl and you have no new entries to the left of the second < so that column is empty. (put x in between the & to see what I mean.)

                        – David Carlisle
                        May 23 at 10:54





                        @muxoveji all ams alignments alternate between right and left alignment as if beginarrayrlrlrlrlrlrlrlrlrlrl and you have no new entries to the left of the second < so that column is empty. (put x in between the & to see what I mean.)

                        – David Carlisle
                        May 23 at 10:54













                        That makes sense! Thanks a lot for the explanation!

                        – muxoveji
                        May 23 at 10:55





                        That makes sense! Thanks a lot for the explanation!

                        – muxoveji
                        May 23 at 10:55











                        5














                        align family environments, by nature, produce right/left alignments of successive columns. Thus they are not easily adapted to achieve the center-alignment of the middle column that was requested.



                        Also, in order to not treat the comma as punctuation, one can either enclose each comma in its own braces , (yuck!), or use the cmac macro provided to use active commas to fix the problem...Just make sure you don't use commas in another context while cmac is active.



                        With tabstackengine...



                        documentclassarticle
                        usepackagetabstackengine
                        letsvcm,

                        catcode`,=active %
                        gdef,svcm

                        newcommandcmaccatcode`,=active
                        TABstackMath
                        begindocument
                        [
                        TABbinary
                        cmac
                        setstacktabulargap0pt
                        tabularCenterstackrcl
                        -0,1 <& E &< 0,1 \
                        6,3 <& S &< 6,4 \
                        6,3-0,1 <&S+E&< 6,4+0,1 \
                        6,2 <& I &< 6,5
                        ]
                        enddocument


                        enter image description here



                        If one wants more vertical spacing between the lines, simply add setstackgapL1.2baselineskip to the mix:



                        enter image description here






                        share|improve this answer





























                          5














                          align family environments, by nature, produce right/left alignments of successive columns. Thus they are not easily adapted to achieve the center-alignment of the middle column that was requested.



                          Also, in order to not treat the comma as punctuation, one can either enclose each comma in its own braces , (yuck!), or use the cmac macro provided to use active commas to fix the problem...Just make sure you don't use commas in another context while cmac is active.



                          With tabstackengine...



                          documentclassarticle
                          usepackagetabstackengine
                          letsvcm,

                          catcode`,=active %
                          gdef,svcm

                          newcommandcmaccatcode`,=active
                          TABstackMath
                          begindocument
                          [
                          TABbinary
                          cmac
                          setstacktabulargap0pt
                          tabularCenterstackrcl
                          -0,1 <& E &< 0,1 \
                          6,3 <& S &< 6,4 \
                          6,3-0,1 <&S+E&< 6,4+0,1 \
                          6,2 <& I &< 6,5
                          ]
                          enddocument


                          enter image description here



                          If one wants more vertical spacing between the lines, simply add setstackgapL1.2baselineskip to the mix:



                          enter image description here






                          share|improve this answer



























                            5












                            5








                            5







                            align family environments, by nature, produce right/left alignments of successive columns. Thus they are not easily adapted to achieve the center-alignment of the middle column that was requested.



                            Also, in order to not treat the comma as punctuation, one can either enclose each comma in its own braces , (yuck!), or use the cmac macro provided to use active commas to fix the problem...Just make sure you don't use commas in another context while cmac is active.



                            With tabstackengine...



                            documentclassarticle
                            usepackagetabstackengine
                            letsvcm,

                            catcode`,=active %
                            gdef,svcm

                            newcommandcmaccatcode`,=active
                            TABstackMath
                            begindocument
                            [
                            TABbinary
                            cmac
                            setstacktabulargap0pt
                            tabularCenterstackrcl
                            -0,1 <& E &< 0,1 \
                            6,3 <& S &< 6,4 \
                            6,3-0,1 <&S+E&< 6,4+0,1 \
                            6,2 <& I &< 6,5
                            ]
                            enddocument


                            enter image description here



                            If one wants more vertical spacing between the lines, simply add setstackgapL1.2baselineskip to the mix:



                            enter image description here






                            share|improve this answer















                            align family environments, by nature, produce right/left alignments of successive columns. Thus they are not easily adapted to achieve the center-alignment of the middle column that was requested.



                            Also, in order to not treat the comma as punctuation, one can either enclose each comma in its own braces , (yuck!), or use the cmac macro provided to use active commas to fix the problem...Just make sure you don't use commas in another context while cmac is active.



                            With tabstackengine...



                            documentclassarticle
                            usepackagetabstackengine
                            letsvcm,

                            catcode`,=active %
                            gdef,svcm

                            newcommandcmaccatcode`,=active
                            TABstackMath
                            begindocument
                            [
                            TABbinary
                            cmac
                            setstacktabulargap0pt
                            tabularCenterstackrcl
                            -0,1 <& E &< 0,1 \
                            6,3 <& S &< 6,4 \
                            6,3-0,1 <&S+E&< 6,4+0,1 \
                            6,2 <& I &< 6,5
                            ]
                            enddocument


                            enter image description here



                            If one wants more vertical spacing between the lines, simply add setstackgapL1.2baselineskip to the mix:



                            enter image description here







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited May 23 at 11:21

























                            answered May 23 at 10:40









                            Steven B. SegletesSteven B. Segletes

                            166k9210427




                            166k9210427





















                                2














                                Another solution with the eqparbox package:



                                documentclassarticle
                                usepackageamsmath
                                usepackageeqparbox
                                newcommandeqmathbox[2][M]eqmakebox[#1]$displaystyle#2$

                                begindocument

                                beginalign*
                                -0,1 &< eqmathboxE < 0,1 \
                                6,3 &< eqmathboxS < 6,4 \
                                6,3-0,1 & <eqmathboxS+E < 6,4+0,1 \
                                6,2 & < eqmathboxI < 6,5
                                endalign*

                                enddocument


                                enter image description here






                                share|improve this answer



























                                  2














                                  Another solution with the eqparbox package:



                                  documentclassarticle
                                  usepackageamsmath
                                  usepackageeqparbox
                                  newcommandeqmathbox[2][M]eqmakebox[#1]$displaystyle#2$

                                  begindocument

                                  beginalign*
                                  -0,1 &< eqmathboxE < 0,1 \
                                  6,3 &< eqmathboxS < 6,4 \
                                  6,3-0,1 & <eqmathboxS+E < 6,4+0,1 \
                                  6,2 & < eqmathboxI < 6,5
                                  endalign*

                                  enddocument


                                  enter image description here






                                  share|improve this answer

























                                    2












                                    2








                                    2







                                    Another solution with the eqparbox package:



                                    documentclassarticle
                                    usepackageamsmath
                                    usepackageeqparbox
                                    newcommandeqmathbox[2][M]eqmakebox[#1]$displaystyle#2$

                                    begindocument

                                    beginalign*
                                    -0,1 &< eqmathboxE < 0,1 \
                                    6,3 &< eqmathboxS < 6,4 \
                                    6,3-0,1 & <eqmathboxS+E < 6,4+0,1 \
                                    6,2 & < eqmathboxI < 6,5
                                    endalign*

                                    enddocument


                                    enter image description here






                                    share|improve this answer













                                    Another solution with the eqparbox package:



                                    documentclassarticle
                                    usepackageamsmath
                                    usepackageeqparbox
                                    newcommandeqmathbox[2][M]eqmakebox[#1]$displaystyle#2$

                                    begindocument

                                    beginalign*
                                    -0,1 &< eqmathboxE < 0,1 \
                                    6,3 &< eqmathboxS < 6,4 \
                                    6,3-0,1 & <eqmathboxS+E < 6,4+0,1 \
                                    6,2 & < eqmathboxI < 6,5
                                    endalign*

                                    enddocument


                                    enter image description here







                                    share|improve this answer












                                    share|improve this answer



                                    share|improve this answer










                                    answered May 23 at 16:46









                                    BernardBernard

                                    181k781213




                                    181k781213



























                                        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%2f492254%2fspecific-alignment-within-beginalign-environment%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

                                        Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

                                        Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

                                        What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company