How to have equation number at top with intertext in split environment
Clash Royale CLAN TAG#URR8PPP
up vote
3
down vote
favorite
I have some split equations with intertext, like this:
documentclassarticle
usepackageamsmath
begindocument
beginequation
beginsplit
y_j &= frac135left(-3y_j-2+12y_j-1+17y_j+12y_j+1-3y_j+2right),\
intertextwhere
C_-2&=-frac335,C_1=frac1235,textetc.
endsplit
endequation
enddocument
And I need the equation number to display vertically aligned with the top line, however my in the current output the equation number is at the bottom:
How would I go about this?
Thanks in advance.
formatting vertical-alignment amsmath
New contributor
add a comment |Â
up vote
3
down vote
favorite
I have some split equations with intertext, like this:
documentclassarticle
usepackageamsmath
begindocument
beginequation
beginsplit
y_j &= frac135left(-3y_j-2+12y_j-1+17y_j+12y_j+1-3y_j+2right),\
intertextwhere
C_-2&=-frac335,C_1=frac1235,textetc.
endsplit
endequation
enddocument
And I need the equation number to display vertically aligned with the top line, however my in the current output the equation number is at the bottom:
How would I go about this?
Thanks in advance.
formatting vertical-alignment amsmath
New contributor
1
Welcome to TeX.SE! Any reason why you do not use align here?
â marmot
32 mins ago
I can't see a reason for aligning two completely unrelated equals signs.
â egreg
24 mins ago
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I have some split equations with intertext, like this:
documentclassarticle
usepackageamsmath
begindocument
beginequation
beginsplit
y_j &= frac135left(-3y_j-2+12y_j-1+17y_j+12y_j+1-3y_j+2right),\
intertextwhere
C_-2&=-frac335,C_1=frac1235,textetc.
endsplit
endequation
enddocument
And I need the equation number to display vertically aligned with the top line, however my in the current output the equation number is at the bottom:
How would I go about this?
Thanks in advance.
formatting vertical-alignment amsmath
New contributor
I have some split equations with intertext, like this:
documentclassarticle
usepackageamsmath
begindocument
beginequation
beginsplit
y_j &= frac135left(-3y_j-2+12y_j-1+17y_j+12y_j+1-3y_j+2right),\
intertextwhere
C_-2&=-frac335,C_1=frac1235,textetc.
endsplit
endequation
enddocument
And I need the equation number to display vertically aligned with the top line, however my in the current output the equation number is at the bottom:
How would I go about this?
Thanks in advance.
formatting vertical-alignment amsmath
formatting vertical-alignment amsmath
New contributor
New contributor
New contributor
asked 59 mins ago
jburke4126
161
161
New contributor
New contributor
1
Welcome to TeX.SE! Any reason why you do not use align here?
â marmot
32 mins ago
I can't see a reason for aligning two completely unrelated equals signs.
â egreg
24 mins ago
add a comment |Â
1
Welcome to TeX.SE! Any reason why you do not use align here?
â marmot
32 mins ago
I can't see a reason for aligning two completely unrelated equals signs.
â egreg
24 mins ago
1
1
Welcome to TeX.SE! Any reason why you do not use align here?
â marmot
32 mins ago
Welcome to TeX.SE! Any reason why you do not use align here?
â marmot
32 mins ago
I can't see a reason for aligning two completely unrelated equals signs.
â egreg
24 mins ago
I can't see a reason for aligning two completely unrelated equals signs.
â egreg
24 mins ago
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
2
down vote
I'd propose to use align here.
documentclass[fleqn]article
usepackageamsmath
begindocument
beginalign
y_j &= frac135left(-3y_j-2+12y_j-1+17y_j+12y_j+1-3y_j+2right),\
intertextwhere
C_-2&=-frac335,quad C_1=frac1235, quadtextetc.notag
endalign
enddocument
add a comment |Â
up vote
0
down vote
By default, the equation number is centered with respect to a split
; if the tbtags
option is passed to amsmath
, the number will be aligned with the top line (if on the left) or with the bottom line (if on the right).
Therefore split
is the wrong tool, not to mention that intertext
makes a line as wide as columnwidth
, so the whole split appears to be too wide for the equation number to fit, which is the reason it is lowered below the second line.
You could use align
, with notag
in the second line, but I see no reason for aligning unrelated =
symbols.
documentclassarticle
usepackageamsmath
begindocument
beginequation
y_j = frac135(-3y_j-2+12y_j-1+17y_j+12y_j+1-3y_j+2),
endequation
where
beginequation*
C_-2=-frac335,quad C_1=frac1235,quadtextetc.
endequation*
enddocument
If you really want to do the alignment, use shortintertext
from mathtools
:
documentclassarticle
usepackageamsmath,mathtools
begindocument
beginalign
y_j &= frac135(-3y_j-2+12y_j-1+17y_j+12y_j+1-3y_j+2), \
shortintertextwhere
C_-2&=-frac335,quad C_1=frac1235,quadtextetc. notag
endalign
enddocument
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
I'd propose to use align here.
documentclass[fleqn]article
usepackageamsmath
begindocument
beginalign
y_j &= frac135left(-3y_j-2+12y_j-1+17y_j+12y_j+1-3y_j+2right),\
intertextwhere
C_-2&=-frac335,quad C_1=frac1235, quadtextetc.notag
endalign
enddocument
add a comment |Â
up vote
2
down vote
I'd propose to use align here.
documentclass[fleqn]article
usepackageamsmath
begindocument
beginalign
y_j &= frac135left(-3y_j-2+12y_j-1+17y_j+12y_j+1-3y_j+2right),\
intertextwhere
C_-2&=-frac335,quad C_1=frac1235, quadtextetc.notag
endalign
enddocument
add a comment |Â
up vote
2
down vote
up vote
2
down vote
I'd propose to use align here.
documentclass[fleqn]article
usepackageamsmath
begindocument
beginalign
y_j &= frac135left(-3y_j-2+12y_j-1+17y_j+12y_j+1-3y_j+2right),\
intertextwhere
C_-2&=-frac335,quad C_1=frac1235, quadtextetc.notag
endalign
enddocument
I'd propose to use align here.
documentclass[fleqn]article
usepackageamsmath
begindocument
beginalign
y_j &= frac135left(-3y_j-2+12y_j-1+17y_j+12y_j+1-3y_j+2right),\
intertextwhere
C_-2&=-frac335,quad C_1=frac1235, quadtextetc.notag
endalign
enddocument
answered 29 mins ago
marmot
65.3k471140
65.3k471140
add a comment |Â
add a comment |Â
up vote
0
down vote
By default, the equation number is centered with respect to a split
; if the tbtags
option is passed to amsmath
, the number will be aligned with the top line (if on the left) or with the bottom line (if on the right).
Therefore split
is the wrong tool, not to mention that intertext
makes a line as wide as columnwidth
, so the whole split appears to be too wide for the equation number to fit, which is the reason it is lowered below the second line.
You could use align
, with notag
in the second line, but I see no reason for aligning unrelated =
symbols.
documentclassarticle
usepackageamsmath
begindocument
beginequation
y_j = frac135(-3y_j-2+12y_j-1+17y_j+12y_j+1-3y_j+2),
endequation
where
beginequation*
C_-2=-frac335,quad C_1=frac1235,quadtextetc.
endequation*
enddocument
If you really want to do the alignment, use shortintertext
from mathtools
:
documentclassarticle
usepackageamsmath,mathtools
begindocument
beginalign
y_j &= frac135(-3y_j-2+12y_j-1+17y_j+12y_j+1-3y_j+2), \
shortintertextwhere
C_-2&=-frac335,quad C_1=frac1235,quadtextetc. notag
endalign
enddocument
add a comment |Â
up vote
0
down vote
By default, the equation number is centered with respect to a split
; if the tbtags
option is passed to amsmath
, the number will be aligned with the top line (if on the left) or with the bottom line (if on the right).
Therefore split
is the wrong tool, not to mention that intertext
makes a line as wide as columnwidth
, so the whole split appears to be too wide for the equation number to fit, which is the reason it is lowered below the second line.
You could use align
, with notag
in the second line, but I see no reason for aligning unrelated =
symbols.
documentclassarticle
usepackageamsmath
begindocument
beginequation
y_j = frac135(-3y_j-2+12y_j-1+17y_j+12y_j+1-3y_j+2),
endequation
where
beginequation*
C_-2=-frac335,quad C_1=frac1235,quadtextetc.
endequation*
enddocument
If you really want to do the alignment, use shortintertext
from mathtools
:
documentclassarticle
usepackageamsmath,mathtools
begindocument
beginalign
y_j &= frac135(-3y_j-2+12y_j-1+17y_j+12y_j+1-3y_j+2), \
shortintertextwhere
C_-2&=-frac335,quad C_1=frac1235,quadtextetc. notag
endalign
enddocument
add a comment |Â
up vote
0
down vote
up vote
0
down vote
By default, the equation number is centered with respect to a split
; if the tbtags
option is passed to amsmath
, the number will be aligned with the top line (if on the left) or with the bottom line (if on the right).
Therefore split
is the wrong tool, not to mention that intertext
makes a line as wide as columnwidth
, so the whole split appears to be too wide for the equation number to fit, which is the reason it is lowered below the second line.
You could use align
, with notag
in the second line, but I see no reason for aligning unrelated =
symbols.
documentclassarticle
usepackageamsmath
begindocument
beginequation
y_j = frac135(-3y_j-2+12y_j-1+17y_j+12y_j+1-3y_j+2),
endequation
where
beginequation*
C_-2=-frac335,quad C_1=frac1235,quadtextetc.
endequation*
enddocument
If you really want to do the alignment, use shortintertext
from mathtools
:
documentclassarticle
usepackageamsmath,mathtools
begindocument
beginalign
y_j &= frac135(-3y_j-2+12y_j-1+17y_j+12y_j+1-3y_j+2), \
shortintertextwhere
C_-2&=-frac335,quad C_1=frac1235,quadtextetc. notag
endalign
enddocument
By default, the equation number is centered with respect to a split
; if the tbtags
option is passed to amsmath
, the number will be aligned with the top line (if on the left) or with the bottom line (if on the right).
Therefore split
is the wrong tool, not to mention that intertext
makes a line as wide as columnwidth
, so the whole split appears to be too wide for the equation number to fit, which is the reason it is lowered below the second line.
You could use align
, with notag
in the second line, but I see no reason for aligning unrelated =
symbols.
documentclassarticle
usepackageamsmath
begindocument
beginequation
y_j = frac135(-3y_j-2+12y_j-1+17y_j+12y_j+1-3y_j+2),
endequation
where
beginequation*
C_-2=-frac335,quad C_1=frac1235,quadtextetc.
endequation*
enddocument
If you really want to do the alignment, use shortintertext
from mathtools
:
documentclassarticle
usepackageamsmath,mathtools
begindocument
beginalign
y_j &= frac135(-3y_j-2+12y_j-1+17y_j+12y_j+1-3y_j+2), \
shortintertextwhere
C_-2&=-frac335,quad C_1=frac1235,quadtextetc. notag
endalign
enddocument
answered 10 mins ago
egreg
689k8518333082
689k8518333082
add a comment |Â
add a comment |Â
jburke4126 is a new contributor. Be nice, and check out our Code of Conduct.
jburke4126 is a new contributor. Be nice, and check out our Code of Conduct.
jburke4126 is a new contributor. Be nice, and check out our Code of Conduct.
jburke4126 is a new contributor. Be nice, and check out our Code of Conduct.
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f455177%2fhow-to-have-equation-number-at-top-with-intertext-in-split-environment%23new-answer', 'question_page');
);
Post as a guest
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
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
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
1
Welcome to TeX.SE! Any reason why you do not use align here?
â marmot
32 mins ago
I can't see a reason for aligning two completely unrelated equals signs.
â egreg
24 mins ago