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

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
add a comment |
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:

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
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 usealignfor a single line display;casesdoesn't qualify for multiline.
– egreg
Aug 6 at 13:48
1
@Raaja I edited the question
– A.Afaf
Aug 6 at 13:53
add a comment |
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:

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
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:

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
equations align
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 usealignfor a single line display;casesdoesn't qualify for multiline.
– egreg
Aug 6 at 13:48
1
@Raaja I edited the question
– A.Afaf
Aug 6 at 13:53
add a comment |
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 usealignfor a single line display;casesdoesn'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
add a comment |
3 Answers
3
active
oldest
votes
I would suggest using a temporary variable

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
add a comment |
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

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.

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
add a comment |
You can write this equation smaller by help of macro medmath... from the package nccmath:

(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:

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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
I would suggest using a temporary variable

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
add a comment |
I would suggest using a temporary variable

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
add a comment |
I would suggest using a temporary variable

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
I would suggest using a temporary variable

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
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
add a comment |
add a comment |
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

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.

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
add a comment |
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

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.

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
add a comment |
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

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.

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

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.

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
add a comment |
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
add a comment |
You can write this equation smaller by help of macro medmath... from the package nccmath:

(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:

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
add a comment |
You can write this equation smaller by help of macro medmath... from the package nccmath:

(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:

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
add a comment |
You can write this equation smaller by help of macro medmath... from the package nccmath:

(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:

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

(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:

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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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
alignfor a single line display;casesdoesn't qualify for multiline.– egreg
Aug 6 at 13:48
1
@Raaja I edited the question
– A.Afaf
Aug 6 at 13:53