split large formula in alignLarge formula in alignLine break in large formula and error message in align?Name a formula in alignsplit and align long equationspan and align large multi-line equationsAlign part of formulaCombine split and align environmentAlign $:=$ with $=$ in align/split modeEquation* with split same as align*Large formula in align - 2

Gofer work in exchange for Letter of Recommendation

What causes burn marks on the air handler in the attic?

Mixtures readily oxidzing organic matter

Do predators tend to have vertical slit pupils versus horizontal for prey animals?

Why should I pay for an SSL certificate?

Vegetarian dishes on Russian trains (European part)

Why did St. Jerome use "virago" in Gen. 2:23?

Do banks' profitability really suffer under low interest rates

Earliest evidence of objects intended for future archaeologists?

How can I train a replacement without them knowing?

Why doesn't mathematics collapse down, even though humans quite often make mistakes in their proofs?

Rotate List by K places

Is there a commercial liquid with refractive index greater than n=2?

Installing certbot - error - "nothing provides pyparsing"

Why should P.I be willing to write strong LOR even if that means losing a undergraduate from his/her lab?

Reducing contention in thread-safe LruCache

Replacing old plug-in 220V range with new hardwire 3-wire electric cooktop: remove outlet or add a plug?

Why do aircraft leave cruising altitude long before landing just to circle?

Metal that glows when near pieces of itself

Tabularx with hline and overrightarrow vertical spacing

Radix2 Fast Fourier Transform implemented in C++

Can I check a small array of bools in one go?

Are there categories whose internal hom is somewhat 'exotic'?

From France west coast to Portugal via ship?



split large formula in align


Large formula in alignLine break in large formula and error message in align?Name a formula in alignsplit and align long equationspan and align large multi-line equationsAlign part of formulaCombine split and align environmentAlign $:=$ with $=$ in align/split modeEquation* with split same as align*Large formula in align - 2






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








4















I have a large formula in align:



beginalign
overliner_D(n_D) = begincases
r_D(n_D) & textrm if r_D(n_D) < b_min \
maxb_min , max b_l-f(rho_E) mid b_l leq r_D(n_D), ; 1leq l leq m& textrmotherwise
endcases
nonumber
endalign


And it looks like this:



enter image description here



It overlaps with the the column on the right. How can I fix it ?



EDIT:



Here is the compilable script:



documentclass[10pt,a4paper,twocolumn]IEEEtran

usepackagegraphicx,amssymb,amsmath,amsfonts,mathtools, bm


begindocument


Postremo ad id indignitatis est ventum, ut cum peregrini ob formidatam haut ita dudum alimentorum inopiam pellerentur ab urbe praecipites, sectatoribus disciplinarum liberalium inpendio paucis sine respiratione ulla extrusis, tenerentur minimarum adseclae veri, quique id simularunt ad tempus.


beginalign
overliner_D(vecn) = begincases
r_D(vecn) & textrm if r_D(vecn) < b_min \
maxb_min , max b_l-f(rho_E) mid b_l leq r_D(vecn), ; 1leq l leq m& textrmotherwise
endcases
nonumber
endalign

Postremo ad id indignitatis est ventum, ut cum peregrini ob formidatam haut ita dudum alimentorum inopiam pellerentur ab urbe praecipites, sectatoribus disciplinarum liberalium inpendio paucis sine respiratione ulla extrusis, tenerentur minimarum adseclae veri, quique id simularunt ad tempus, et tria milia saltatricum ne interpellata quidem cum choris totidemque remanerent magistris.


enddocument









share|improve this question





















  • 3





    Could you please make you script compilable? because I think it has to do with the gemoetry of the page. Without that, I think, it is very hard to answer your question.

    – Raaja
    Aug 6 at 13:29











  • Don't use align for a single line display; cases doesn't qualify for multiline.

    – egreg
    Aug 6 at 13:48






  • 1





    @Raaja I edited the question

    – A.Afaf
    Aug 6 at 13:53

















4















I have a large formula in align:



beginalign
overliner_D(n_D) = begincases
r_D(n_D) & textrm if r_D(n_D) < b_min \
maxb_min , max b_l-f(rho_E) mid b_l leq r_D(n_D), ; 1leq l leq m& textrmotherwise
endcases
nonumber
endalign


And it looks like this:



enter image description here



It overlaps with the the column on the right. How can I fix it ?



EDIT:



Here is the compilable script:



documentclass[10pt,a4paper,twocolumn]IEEEtran

usepackagegraphicx,amssymb,amsmath,amsfonts,mathtools, bm


begindocument


Postremo ad id indignitatis est ventum, ut cum peregrini ob formidatam haut ita dudum alimentorum inopiam pellerentur ab urbe praecipites, sectatoribus disciplinarum liberalium inpendio paucis sine respiratione ulla extrusis, tenerentur minimarum adseclae veri, quique id simularunt ad tempus.


beginalign
overliner_D(vecn) = begincases
r_D(vecn) & textrm if r_D(vecn) < b_min \
maxb_min , max b_l-f(rho_E) mid b_l leq r_D(vecn), ; 1leq l leq m& textrmotherwise
endcases
nonumber
endalign

Postremo ad id indignitatis est ventum, ut cum peregrini ob formidatam haut ita dudum alimentorum inopiam pellerentur ab urbe praecipites, sectatoribus disciplinarum liberalium inpendio paucis sine respiratione ulla extrusis, tenerentur minimarum adseclae veri, quique id simularunt ad tempus, et tria milia saltatricum ne interpellata quidem cum choris totidemque remanerent magistris.


enddocument









share|improve this question





















  • 3





    Could you please make you script compilable? because I think it has to do with the gemoetry of the page. Without that, I think, it is very hard to answer your question.

    – Raaja
    Aug 6 at 13:29











  • Don't use align for a single line display; cases doesn't qualify for multiline.

    – egreg
    Aug 6 at 13:48






  • 1





    @Raaja I edited the question

    – A.Afaf
    Aug 6 at 13:53













4












4








4








I have a large formula in align:



beginalign
overliner_D(n_D) = begincases
r_D(n_D) & textrm if r_D(n_D) < b_min \
maxb_min , max b_l-f(rho_E) mid b_l leq r_D(n_D), ; 1leq l leq m& textrmotherwise
endcases
nonumber
endalign


And it looks like this:



enter image description here



It overlaps with the the column on the right. How can I fix it ?



EDIT:



Here is the compilable script:



documentclass[10pt,a4paper,twocolumn]IEEEtran

usepackagegraphicx,amssymb,amsmath,amsfonts,mathtools, bm


begindocument


Postremo ad id indignitatis est ventum, ut cum peregrini ob formidatam haut ita dudum alimentorum inopiam pellerentur ab urbe praecipites, sectatoribus disciplinarum liberalium inpendio paucis sine respiratione ulla extrusis, tenerentur minimarum adseclae veri, quique id simularunt ad tempus.


beginalign
overliner_D(vecn) = begincases
r_D(vecn) & textrm if r_D(vecn) < b_min \
maxb_min , max b_l-f(rho_E) mid b_l leq r_D(vecn), ; 1leq l leq m& textrmotherwise
endcases
nonumber
endalign

Postremo ad id indignitatis est ventum, ut cum peregrini ob formidatam haut ita dudum alimentorum inopiam pellerentur ab urbe praecipites, sectatoribus disciplinarum liberalium inpendio paucis sine respiratione ulla extrusis, tenerentur minimarum adseclae veri, quique id simularunt ad tempus, et tria milia saltatricum ne interpellata quidem cum choris totidemque remanerent magistris.


enddocument









share|improve this question
















I have a large formula in align:



beginalign
overliner_D(n_D) = begincases
r_D(n_D) & textrm if r_D(n_D) < b_min \
maxb_min , max b_l-f(rho_E) mid b_l leq r_D(n_D), ; 1leq l leq m& textrmotherwise
endcases
nonumber
endalign


And it looks like this:



enter image description here



It overlaps with the the column on the right. How can I fix it ?



EDIT:



Here is the compilable script:



documentclass[10pt,a4paper,twocolumn]IEEEtran

usepackagegraphicx,amssymb,amsmath,amsfonts,mathtools, bm


begindocument


Postremo ad id indignitatis est ventum, ut cum peregrini ob formidatam haut ita dudum alimentorum inopiam pellerentur ab urbe praecipites, sectatoribus disciplinarum liberalium inpendio paucis sine respiratione ulla extrusis, tenerentur minimarum adseclae veri, quique id simularunt ad tempus.


beginalign
overliner_D(vecn) = begincases
r_D(vecn) & textrm if r_D(vecn) < b_min \
maxb_min , max b_l-f(rho_E) mid b_l leq r_D(vecn), ; 1leq l leq m& textrmotherwise
endcases
nonumber
endalign

Postremo ad id indignitatis est ventum, ut cum peregrini ob formidatam haut ita dudum alimentorum inopiam pellerentur ab urbe praecipites, sectatoribus disciplinarum liberalium inpendio paucis sine respiratione ulla extrusis, tenerentur minimarum adseclae veri, quique id simularunt ad tempus, et tria milia saltatricum ne interpellata quidem cum choris totidemque remanerent magistris.


enddocument






equations align






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 6 at 13:53







A.Afaf

















asked Aug 6 at 13:23









A.AfafA.Afaf

235 bronze badges




235 bronze badges










  • 3





    Could you please make you script compilable? because I think it has to do with the gemoetry of the page. Without that, I think, it is very hard to answer your question.

    – Raaja
    Aug 6 at 13:29











  • Don't use align for a single line display; cases doesn't qualify for multiline.

    – egreg
    Aug 6 at 13:48






  • 1





    @Raaja I edited the question

    – A.Afaf
    Aug 6 at 13:53












  • 3





    Could you please make you script compilable? because I think it has to do with the gemoetry of the page. Without that, I think, it is very hard to answer your question.

    – Raaja
    Aug 6 at 13:29











  • Don't use align for a single line display; cases doesn't qualify for multiline.

    – egreg
    Aug 6 at 13:48






  • 1





    @Raaja I edited the question

    – A.Afaf
    Aug 6 at 13:53







3




3





Could you please make you script compilable? because I think it has to do with the gemoetry of the page. Without that, I think, it is very hard to answer your question.

– Raaja
Aug 6 at 13:29





Could you please make you script compilable? because I think it has to do with the gemoetry of the page. Without that, I think, it is very hard to answer your question.

– Raaja
Aug 6 at 13:29













Don't use align for a single line display; cases doesn't qualify for multiline.

– egreg
Aug 6 at 13:48





Don't use align for a single line display; cases doesn't qualify for multiline.

– egreg
Aug 6 at 13:48




1




1





@Raaja I edited the question

– A.Afaf
Aug 6 at 13:53





@Raaja I edited the question

– A.Afaf
Aug 6 at 13:53










3 Answers
3






active

oldest

votes


















6














I would suggest using a temporary variable



Sample output



documentclassamsart

begindocument

Text text text text text text text text text text text text text text
text text text text text text text text text text text text text text
text text text text text text text text text text text text text text
beginalign
r_D(n_D)
=
begincases
r_D(n_D), & textrm if r_D(n_D) < b_min, \
maxb_min,c,& textrmotherwise,
endcases
nonumber
endalign
where
( c = max b_ell-f(rho_E) mid b_ell leq r_D(n_D), ; 1leq
ell leq m ).

enddocument





share|improve this answer
































    6














    You can move “otherwise” to another line, adding some vertical space for better clarity.



    documentclassarticle
    usepackageamsmath

    usepackagelipsum % for mock text

    begindocument

    lipsum*[1][1-3]
    beginequation*
    overliner_D(n_D) =
    begincases
    beginalignedat2
    &r_D(n_D) && textif $r_D(n_D) < b_min$ \[2ex]
    &!maxb_min, max b_l-f(rho_E) mid b_l leq r_D(n_D), 1 leq l &&leq m \
    &&& textotherwise
    endalignedat
    endcases
    endequation*
    lipsum*[2]

    enddocument


    enter image description here



    For two-column output, you need some more. Something like



    max b_l-f(rho_E) mid b_l leq r_D(n_D), 1 leq l leq m


    should be given a name; choose what you like more, here I use B(n_D,m).



    documentclass[a4paper]IEEEtran
    usepackageamsmath
    usepackagenewtxtext,newtxmath

    usepackagelipsum % for mock text

    begindocument

    lipsum*[1][1-3]
    beginalign*
    &overliner_D(n_D) =
    begincases
    r_D(n_D) & textif $r_D(n_D) < b_min$, \
    maxb_min, B(n_D,m)& textotherwise,
    endcases
    \
    &B(n_D,m)=max b_l-f(rho_E) mid b_l leq r_D(n_D), 1 leq l leq m.
    endalign*
    lipsum*[2][1-3]
    lipsum[4-9]

    enddocument


    Note I used newtxtext and newtxmath to avoid (horrible) formulas in Computer Modern along with Times for text.



    enter image description here






    share|improve this answer



























    • If it was only the "otherwise" I would have adopted your solution, but I think I will have to do the same for the "if" condition as it overlaps also. I don't know how it is going to be perceived.

      – A.Afaf
      Aug 6 at 13:44











    • @A.Afaf You should make clear that you're using a two column format; also, please, add the document class you're using.

      – egreg
      Aug 6 at 13:50











    • I am sorry I edited my question

      – A.Afaf
      Aug 6 at 13:54



















    4














    You can write this equation smaller by help of macro medmath... from the package nccmath:



    enter image description here



    (red lines indicate text borders)



    documentclassamsart
    usepackagenccmath

    usepackagelipsum
    begindocument
    lipsum[66]
    beginalign*
    medmath
    overliner_D(n_D) = begincases
    r_D(n_D)
    & text if r_D(n_D) < b_min \
    maxbiglb_min, maxb_l-f(rho_E) mid b_l leq r_D(n_D), ; 1leq l leq mbigr
    & textotherwise
    endcases

    endalign*
    enddocument


    Edit:
    After your editing of your question only answer of Andrew Swann (+1) can solve your problem. To his solution (and your new MWE) I can only add some off-topic remarks (see comments in code below):



    documentclass[10pt,a4paper]IEEEtran % it is default twocolumn
    usepackageamssymb, % load amsfonts too
    mathtools, % it is supersede of the amsmath, no need to load it (again)
    bm
    usepackagegraphicx

    usepackagelipsum

    begindocument
    lipsum[1]
    beginalign* % no numbered
    overliner_D(n_D) = begincases
    r_D(n_D)
    & text if r_D(n_D) < b_min \
    maxbiglb_min, c_maxbigr
    & textotherwise
    endcases
    endalign*
    where $c_max=maxb_l-f(rho_E) mid b_l leq r_D(n_D), ; 1leq l leq m$.

    lipsum[2-7]
    enddocument


    which gives:



    enter image description here






    share|improve this answer



























    • Thanks, it makes the equation smaller, but that's not enough in my case: I am using two column format (see EDIT in my post)

      – A.Afaf
      Aug 6 at 14:02






    • 2





      @A.Afaf, now you see, that our request for MWE is not trivial. How we should know how your document looks? Now only Andrew Swann answer is sensible...

      – Zarko
      Aug 6 at 14:06











    • I am sorry I edited my question after realising it

      – A.Afaf
      Aug 6 at 14:13











    • There is only Y at the start: Can you edit your question with "Yes"? :-)

      – Sebastiano
      Aug 6 at 16:27






    • 1





      @Sebastiano, thank you very much for the tip. Corrected (Y --> You).

      – Zarko
      Aug 6 at 18:54













    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%2f503062%2fsplit-large-formula-in-align%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    6














    I would suggest using a temporary variable



    Sample output



    documentclassamsart

    begindocument

    Text text text text text text text text text text text text text text
    text text text text text text text text text text text text text text
    text text text text text text text text text text text text text text
    beginalign
    r_D(n_D)
    =
    begincases
    r_D(n_D), & textrm if r_D(n_D) < b_min, \
    maxb_min,c,& textrmotherwise,
    endcases
    nonumber
    endalign
    where
    ( c = max b_ell-f(rho_E) mid b_ell leq r_D(n_D), ; 1leq
    ell leq m ).

    enddocument





    share|improve this answer





























      6














      I would suggest using a temporary variable



      Sample output



      documentclassamsart

      begindocument

      Text text text text text text text text text text text text text text
      text text text text text text text text text text text text text text
      text text text text text text text text text text text text text text
      beginalign
      r_D(n_D)
      =
      begincases
      r_D(n_D), & textrm if r_D(n_D) < b_min, \
      maxb_min,c,& textrmotherwise,
      endcases
      nonumber
      endalign
      where
      ( c = max b_ell-f(rho_E) mid b_ell leq r_D(n_D), ; 1leq
      ell leq m ).

      enddocument





      share|improve this answer



























        6












        6








        6







        I would suggest using a temporary variable



        Sample output



        documentclassamsart

        begindocument

        Text text text text text text text text text text text text text text
        text text text text text text text text text text text text text text
        text text text text text text text text text text text text text text
        beginalign
        r_D(n_D)
        =
        begincases
        r_D(n_D), & textrm if r_D(n_D) < b_min, \
        maxb_min,c,& textrmotherwise,
        endcases
        nonumber
        endalign
        where
        ( c = max b_ell-f(rho_E) mid b_ell leq r_D(n_D), ; 1leq
        ell leq m ).

        enddocument





        share|improve this answer













        I would suggest using a temporary variable



        Sample output



        documentclassamsart

        begindocument

        Text text text text text text text text text text text text text text
        text text text text text text text text text text text text text text
        text text text text text text text text text text text text text text
        beginalign
        r_D(n_D)
        =
        begincases
        r_D(n_D), & textrm if r_D(n_D) < b_min, \
        maxb_min,c,& textrmotherwise,
        endcases
        nonumber
        endalign
        where
        ( c = max b_ell-f(rho_E) mid b_ell leq r_D(n_D), ; 1leq
        ell leq m ).

        enddocument






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Aug 6 at 13:35









        Andrew SwannAndrew Swann

        81.2k9 gold badges142 silver badges343 bronze badges




        81.2k9 gold badges142 silver badges343 bronze badges


























            6














            You can move “otherwise” to another line, adding some vertical space for better clarity.



            documentclassarticle
            usepackageamsmath

            usepackagelipsum % for mock text

            begindocument

            lipsum*[1][1-3]
            beginequation*
            overliner_D(n_D) =
            begincases
            beginalignedat2
            &r_D(n_D) && textif $r_D(n_D) < b_min$ \[2ex]
            &!maxb_min, max b_l-f(rho_E) mid b_l leq r_D(n_D), 1 leq l &&leq m \
            &&& textotherwise
            endalignedat
            endcases
            endequation*
            lipsum*[2]

            enddocument


            enter image description here



            For two-column output, you need some more. Something like



            max b_l-f(rho_E) mid b_l leq r_D(n_D), 1 leq l leq m


            should be given a name; choose what you like more, here I use B(n_D,m).



            documentclass[a4paper]IEEEtran
            usepackageamsmath
            usepackagenewtxtext,newtxmath

            usepackagelipsum % for mock text

            begindocument

            lipsum*[1][1-3]
            beginalign*
            &overliner_D(n_D) =
            begincases
            r_D(n_D) & textif $r_D(n_D) < b_min$, \
            maxb_min, B(n_D,m)& textotherwise,
            endcases
            \
            &B(n_D,m)=max b_l-f(rho_E) mid b_l leq r_D(n_D), 1 leq l leq m.
            endalign*
            lipsum*[2][1-3]
            lipsum[4-9]

            enddocument


            Note I used newtxtext and newtxmath to avoid (horrible) formulas in Computer Modern along with Times for text.



            enter image description here






            share|improve this answer



























            • If it was only the "otherwise" I would have adopted your solution, but I think I will have to do the same for the "if" condition as it overlaps also. I don't know how it is going to be perceived.

              – A.Afaf
              Aug 6 at 13:44











            • @A.Afaf You should make clear that you're using a two column format; also, please, add the document class you're using.

              – egreg
              Aug 6 at 13:50











            • I am sorry I edited my question

              – A.Afaf
              Aug 6 at 13:54
















            6














            You can move “otherwise” to another line, adding some vertical space for better clarity.



            documentclassarticle
            usepackageamsmath

            usepackagelipsum % for mock text

            begindocument

            lipsum*[1][1-3]
            beginequation*
            overliner_D(n_D) =
            begincases
            beginalignedat2
            &r_D(n_D) && textif $r_D(n_D) < b_min$ \[2ex]
            &!maxb_min, max b_l-f(rho_E) mid b_l leq r_D(n_D), 1 leq l &&leq m \
            &&& textotherwise
            endalignedat
            endcases
            endequation*
            lipsum*[2]

            enddocument


            enter image description here



            For two-column output, you need some more. Something like



            max b_l-f(rho_E) mid b_l leq r_D(n_D), 1 leq l leq m


            should be given a name; choose what you like more, here I use B(n_D,m).



            documentclass[a4paper]IEEEtran
            usepackageamsmath
            usepackagenewtxtext,newtxmath

            usepackagelipsum % for mock text

            begindocument

            lipsum*[1][1-3]
            beginalign*
            &overliner_D(n_D) =
            begincases
            r_D(n_D) & textif $r_D(n_D) < b_min$, \
            maxb_min, B(n_D,m)& textotherwise,
            endcases
            \
            &B(n_D,m)=max b_l-f(rho_E) mid b_l leq r_D(n_D), 1 leq l leq m.
            endalign*
            lipsum*[2][1-3]
            lipsum[4-9]

            enddocument


            Note I used newtxtext and newtxmath to avoid (horrible) formulas in Computer Modern along with Times for text.



            enter image description here






            share|improve this answer



























            • If it was only the "otherwise" I would have adopted your solution, but I think I will have to do the same for the "if" condition as it overlaps also. I don't know how it is going to be perceived.

              – A.Afaf
              Aug 6 at 13:44











            • @A.Afaf You should make clear that you're using a two column format; also, please, add the document class you're using.

              – egreg
              Aug 6 at 13:50











            • I am sorry I edited my question

              – A.Afaf
              Aug 6 at 13:54














            6












            6








            6







            You can move “otherwise” to another line, adding some vertical space for better clarity.



            documentclassarticle
            usepackageamsmath

            usepackagelipsum % for mock text

            begindocument

            lipsum*[1][1-3]
            beginequation*
            overliner_D(n_D) =
            begincases
            beginalignedat2
            &r_D(n_D) && textif $r_D(n_D) < b_min$ \[2ex]
            &!maxb_min, max b_l-f(rho_E) mid b_l leq r_D(n_D), 1 leq l &&leq m \
            &&& textotherwise
            endalignedat
            endcases
            endequation*
            lipsum*[2]

            enddocument


            enter image description here



            For two-column output, you need some more. Something like



            max b_l-f(rho_E) mid b_l leq r_D(n_D), 1 leq l leq m


            should be given a name; choose what you like more, here I use B(n_D,m).



            documentclass[a4paper]IEEEtran
            usepackageamsmath
            usepackagenewtxtext,newtxmath

            usepackagelipsum % for mock text

            begindocument

            lipsum*[1][1-3]
            beginalign*
            &overliner_D(n_D) =
            begincases
            r_D(n_D) & textif $r_D(n_D) < b_min$, \
            maxb_min, B(n_D,m)& textotherwise,
            endcases
            \
            &B(n_D,m)=max b_l-f(rho_E) mid b_l leq r_D(n_D), 1 leq l leq m.
            endalign*
            lipsum*[2][1-3]
            lipsum[4-9]

            enddocument


            Note I used newtxtext and newtxmath to avoid (horrible) formulas in Computer Modern along with Times for text.



            enter image description here






            share|improve this answer















            You can move “otherwise” to another line, adding some vertical space for better clarity.



            documentclassarticle
            usepackageamsmath

            usepackagelipsum % for mock text

            begindocument

            lipsum*[1][1-3]
            beginequation*
            overliner_D(n_D) =
            begincases
            beginalignedat2
            &r_D(n_D) && textif $r_D(n_D) < b_min$ \[2ex]
            &!maxb_min, max b_l-f(rho_E) mid b_l leq r_D(n_D), 1 leq l &&leq m \
            &&& textotherwise
            endalignedat
            endcases
            endequation*
            lipsum*[2]

            enddocument


            enter image description here



            For two-column output, you need some more. Something like



            max b_l-f(rho_E) mid b_l leq r_D(n_D), 1 leq l leq m


            should be given a name; choose what you like more, here I use B(n_D,m).



            documentclass[a4paper]IEEEtran
            usepackageamsmath
            usepackagenewtxtext,newtxmath

            usepackagelipsum % for mock text

            begindocument

            lipsum*[1][1-3]
            beginalign*
            &overliner_D(n_D) =
            begincases
            r_D(n_D) & textif $r_D(n_D) < b_min$, \
            maxb_min, B(n_D,m)& textotherwise,
            endcases
            \
            &B(n_D,m)=max b_l-f(rho_E) mid b_l leq r_D(n_D), 1 leq l leq m.
            endalign*
            lipsum*[2][1-3]
            lipsum[4-9]

            enddocument


            Note I used newtxtext and newtxmath to avoid (horrible) formulas in Computer Modern along with Times for text.



            enter image description here







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Aug 6 at 19:17

























            answered Aug 6 at 13:38









            egregegreg

            762k90 gold badges1994 silver badges3341 bronze badges




            762k90 gold badges1994 silver badges3341 bronze badges















            • If it was only the "otherwise" I would have adopted your solution, but I think I will have to do the same for the "if" condition as it overlaps also. I don't know how it is going to be perceived.

              – A.Afaf
              Aug 6 at 13:44











            • @A.Afaf You should make clear that you're using a two column format; also, please, add the document class you're using.

              – egreg
              Aug 6 at 13:50











            • I am sorry I edited my question

              – A.Afaf
              Aug 6 at 13:54


















            • If it was only the "otherwise" I would have adopted your solution, but I think I will have to do the same for the "if" condition as it overlaps also. I don't know how it is going to be perceived.

              – A.Afaf
              Aug 6 at 13:44











            • @A.Afaf You should make clear that you're using a two column format; also, please, add the document class you're using.

              – egreg
              Aug 6 at 13:50











            • I am sorry I edited my question

              – A.Afaf
              Aug 6 at 13:54

















            If it was only the "otherwise" I would have adopted your solution, but I think I will have to do the same for the "if" condition as it overlaps also. I don't know how it is going to be perceived.

            – A.Afaf
            Aug 6 at 13:44





            If it was only the "otherwise" I would have adopted your solution, but I think I will have to do the same for the "if" condition as it overlaps also. I don't know how it is going to be perceived.

            – A.Afaf
            Aug 6 at 13:44













            @A.Afaf You should make clear that you're using a two column format; also, please, add the document class you're using.

            – egreg
            Aug 6 at 13:50





            @A.Afaf You should make clear that you're using a two column format; also, please, add the document class you're using.

            – egreg
            Aug 6 at 13:50













            I am sorry I edited my question

            – A.Afaf
            Aug 6 at 13:54






            I am sorry I edited my question

            – A.Afaf
            Aug 6 at 13:54












            4














            You can write this equation smaller by help of macro medmath... from the package nccmath:



            enter image description here



            (red lines indicate text borders)



            documentclassamsart
            usepackagenccmath

            usepackagelipsum
            begindocument
            lipsum[66]
            beginalign*
            medmath
            overliner_D(n_D) = begincases
            r_D(n_D)
            & text if r_D(n_D) < b_min \
            maxbiglb_min, maxb_l-f(rho_E) mid b_l leq r_D(n_D), ; 1leq l leq mbigr
            & textotherwise
            endcases

            endalign*
            enddocument


            Edit:
            After your editing of your question only answer of Andrew Swann (+1) can solve your problem. To his solution (and your new MWE) I can only add some off-topic remarks (see comments in code below):



            documentclass[10pt,a4paper]IEEEtran % it is default twocolumn
            usepackageamssymb, % load amsfonts too
            mathtools, % it is supersede of the amsmath, no need to load it (again)
            bm
            usepackagegraphicx

            usepackagelipsum

            begindocument
            lipsum[1]
            beginalign* % no numbered
            overliner_D(n_D) = begincases
            r_D(n_D)
            & text if r_D(n_D) < b_min \
            maxbiglb_min, c_maxbigr
            & textotherwise
            endcases
            endalign*
            where $c_max=maxb_l-f(rho_E) mid b_l leq r_D(n_D), ; 1leq l leq m$.

            lipsum[2-7]
            enddocument


            which gives:



            enter image description here






            share|improve this answer



























            • Thanks, it makes the equation smaller, but that's not enough in my case: I am using two column format (see EDIT in my post)

              – A.Afaf
              Aug 6 at 14:02






            • 2





              @A.Afaf, now you see, that our request for MWE is not trivial. How we should know how your document looks? Now only Andrew Swann answer is sensible...

              – Zarko
              Aug 6 at 14:06











            • I am sorry I edited my question after realising it

              – A.Afaf
              Aug 6 at 14:13











            • There is only Y at the start: Can you edit your question with "Yes"? :-)

              – Sebastiano
              Aug 6 at 16:27






            • 1





              @Sebastiano, thank you very much for the tip. Corrected (Y --> You).

              – Zarko
              Aug 6 at 18:54















            4














            You can write this equation smaller by help of macro medmath... from the package nccmath:



            enter image description here



            (red lines indicate text borders)



            documentclassamsart
            usepackagenccmath

            usepackagelipsum
            begindocument
            lipsum[66]
            beginalign*
            medmath
            overliner_D(n_D) = begincases
            r_D(n_D)
            & text if r_D(n_D) < b_min \
            maxbiglb_min, maxb_l-f(rho_E) mid b_l leq r_D(n_D), ; 1leq l leq mbigr
            & textotherwise
            endcases

            endalign*
            enddocument


            Edit:
            After your editing of your question only answer of Andrew Swann (+1) can solve your problem. To his solution (and your new MWE) I can only add some off-topic remarks (see comments in code below):



            documentclass[10pt,a4paper]IEEEtran % it is default twocolumn
            usepackageamssymb, % load amsfonts too
            mathtools, % it is supersede of the amsmath, no need to load it (again)
            bm
            usepackagegraphicx

            usepackagelipsum

            begindocument
            lipsum[1]
            beginalign* % no numbered
            overliner_D(n_D) = begincases
            r_D(n_D)
            & text if r_D(n_D) < b_min \
            maxbiglb_min, c_maxbigr
            & textotherwise
            endcases
            endalign*
            where $c_max=maxb_l-f(rho_E) mid b_l leq r_D(n_D), ; 1leq l leq m$.

            lipsum[2-7]
            enddocument


            which gives:



            enter image description here






            share|improve this answer



























            • Thanks, it makes the equation smaller, but that's not enough in my case: I am using two column format (see EDIT in my post)

              – A.Afaf
              Aug 6 at 14:02






            • 2





              @A.Afaf, now you see, that our request for MWE is not trivial. How we should know how your document looks? Now only Andrew Swann answer is sensible...

              – Zarko
              Aug 6 at 14:06











            • I am sorry I edited my question after realising it

              – A.Afaf
              Aug 6 at 14:13











            • There is only Y at the start: Can you edit your question with "Yes"? :-)

              – Sebastiano
              Aug 6 at 16:27






            • 1





              @Sebastiano, thank you very much for the tip. Corrected (Y --> You).

              – Zarko
              Aug 6 at 18:54













            4












            4








            4







            You can write this equation smaller by help of macro medmath... from the package nccmath:



            enter image description here



            (red lines indicate text borders)



            documentclassamsart
            usepackagenccmath

            usepackagelipsum
            begindocument
            lipsum[66]
            beginalign*
            medmath
            overliner_D(n_D) = begincases
            r_D(n_D)
            & text if r_D(n_D) < b_min \
            maxbiglb_min, maxb_l-f(rho_E) mid b_l leq r_D(n_D), ; 1leq l leq mbigr
            & textotherwise
            endcases

            endalign*
            enddocument


            Edit:
            After your editing of your question only answer of Andrew Swann (+1) can solve your problem. To his solution (and your new MWE) I can only add some off-topic remarks (see comments in code below):



            documentclass[10pt,a4paper]IEEEtran % it is default twocolumn
            usepackageamssymb, % load amsfonts too
            mathtools, % it is supersede of the amsmath, no need to load it (again)
            bm
            usepackagegraphicx

            usepackagelipsum

            begindocument
            lipsum[1]
            beginalign* % no numbered
            overliner_D(n_D) = begincases
            r_D(n_D)
            & text if r_D(n_D) < b_min \
            maxbiglb_min, c_maxbigr
            & textotherwise
            endcases
            endalign*
            where $c_max=maxb_l-f(rho_E) mid b_l leq r_D(n_D), ; 1leq l leq m$.

            lipsum[2-7]
            enddocument


            which gives:



            enter image description here






            share|improve this answer















            You can write this equation smaller by help of macro medmath... from the package nccmath:



            enter image description here



            (red lines indicate text borders)



            documentclassamsart
            usepackagenccmath

            usepackagelipsum
            begindocument
            lipsum[66]
            beginalign*
            medmath
            overliner_D(n_D) = begincases
            r_D(n_D)
            & text if r_D(n_D) < b_min \
            maxbiglb_min, maxb_l-f(rho_E) mid b_l leq r_D(n_D), ; 1leq l leq mbigr
            & textotherwise
            endcases

            endalign*
            enddocument


            Edit:
            After your editing of your question only answer of Andrew Swann (+1) can solve your problem. To his solution (and your new MWE) I can only add some off-topic remarks (see comments in code below):



            documentclass[10pt,a4paper]IEEEtran % it is default twocolumn
            usepackageamssymb, % load amsfonts too
            mathtools, % it is supersede of the amsmath, no need to load it (again)
            bm
            usepackagegraphicx

            usepackagelipsum

            begindocument
            lipsum[1]
            beginalign* % no numbered
            overliner_D(n_D) = begincases
            r_D(n_D)
            & text if r_D(n_D) < b_min \
            maxbiglb_min, c_maxbigr
            & textotherwise
            endcases
            endalign*
            where $c_max=maxb_l-f(rho_E) mid b_l leq r_D(n_D), ; 1leq l leq m$.

            lipsum[2-7]
            enddocument


            which gives:



            enter image description here







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Aug 6 at 23:07

























            answered Aug 6 at 13:47









            ZarkoZarko

            144k8 gold badges81 silver badges192 bronze badges




            144k8 gold badges81 silver badges192 bronze badges















            • Thanks, it makes the equation smaller, but that's not enough in my case: I am using two column format (see EDIT in my post)

              – A.Afaf
              Aug 6 at 14:02






            • 2





              @A.Afaf, now you see, that our request for MWE is not trivial. How we should know how your document looks? Now only Andrew Swann answer is sensible...

              – Zarko
              Aug 6 at 14:06











            • I am sorry I edited my question after realising it

              – A.Afaf
              Aug 6 at 14:13











            • There is only Y at the start: Can you edit your question with "Yes"? :-)

              – Sebastiano
              Aug 6 at 16:27






            • 1





              @Sebastiano, thank you very much for the tip. Corrected (Y --> You).

              – Zarko
              Aug 6 at 18:54

















            • Thanks, it makes the equation smaller, but that's not enough in my case: I am using two column format (see EDIT in my post)

              – A.Afaf
              Aug 6 at 14:02






            • 2





              @A.Afaf, now you see, that our request for MWE is not trivial. How we should know how your document looks? Now only Andrew Swann answer is sensible...

              – Zarko
              Aug 6 at 14:06











            • I am sorry I edited my question after realising it

              – A.Afaf
              Aug 6 at 14:13











            • There is only Y at the start: Can you edit your question with "Yes"? :-)

              – Sebastiano
              Aug 6 at 16:27






            • 1





              @Sebastiano, thank you very much for the tip. Corrected (Y --> You).

              – Zarko
              Aug 6 at 18:54
















            Thanks, it makes the equation smaller, but that's not enough in my case: I am using two column format (see EDIT in my post)

            – A.Afaf
            Aug 6 at 14:02





            Thanks, it makes the equation smaller, but that's not enough in my case: I am using two column format (see EDIT in my post)

            – A.Afaf
            Aug 6 at 14:02




            2




            2





            @A.Afaf, now you see, that our request for MWE is not trivial. How we should know how your document looks? Now only Andrew Swann answer is sensible...

            – Zarko
            Aug 6 at 14:06





            @A.Afaf, now you see, that our request for MWE is not trivial. How we should know how your document looks? Now only Andrew Swann answer is sensible...

            – Zarko
            Aug 6 at 14:06













            I am sorry I edited my question after realising it

            – A.Afaf
            Aug 6 at 14:13





            I am sorry I edited my question after realising it

            – A.Afaf
            Aug 6 at 14:13













            There is only Y at the start: Can you edit your question with "Yes"? :-)

            – Sebastiano
            Aug 6 at 16:27





            There is only Y at the start: Can you edit your question with "Yes"? :-)

            – Sebastiano
            Aug 6 at 16:27




            1




            1





            @Sebastiano, thank you very much for the tip. Corrected (Y --> You).

            – Zarko
            Aug 6 at 18:54





            @Sebastiano, thank you very much for the tip. Corrected (Y --> You).

            – Zarko
            Aug 6 at 18:54

















            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%2f503062%2fsplit-large-formula-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

            Grendel Contents Story Scholarship Depictions Notes References Navigation menu10.1093/notesj/gjn112Berserkeree

            Area configuration aggregation error after install Porto themeMagento 2.1 CE Installed but front/backend not loading/workingCSS not loading on page within Magento 2 pageCannot install module in Magento 2no commands defined in the “setup” namespace. in Magento2Magento 2: Static files are present but shows 404Why do i have to always run the commands to clean cache in Magento 2.1.8?Failure reason: 'Unable to unserialize value.'Error 500 after magento migrationIn production mode the site does not loadMagento 2 : Error 500 after installing

            Middle Expansion Olielle Resaix Definition: Uttering songs of triumph shouting with joy triumphant exulting Sejunction Journal 붙다 달 고급 품목 외출 The stretch trades the screeching tin. Definition: The act of speaking with a drawl a drawl Cough Sand Definition: An uproar a quarrel a noisy outbreak Shake Iron Publicize Horse House Baby 사과 Resaix Flaggy Jelly Temporary Unequaled Puppet A drop in the bucket Shrew 성격 회원 성질 미팅 The burn frames the tacky quality. Materialistic The smoke reduces the way. Yammoe Nondescript Cheek 얼굴 배 약하다 날리다 타다 The illegal country shows the iron. Help Rule Drearien Smoke Teaching Meaty Wasp Abraham Lincoln Jaws 진심 수리하다 Size Cork Idea Convert Think Lark John Lennon 거울 청소 군 추천하다 아이스크림