How to add a line inside an equation
Clash Royale CLAN TAG#URR8PPP
up vote
3
down vote
favorite
I would like to introduce a line break in text line inside an equation.
What I have done is:
beginalign*
fractextReactividad relativa \ Hidr'ogeno secundariotextReactividad relativa\ Hidr'ogeno secundario&=d
endalign*
And what I would like to reproduce is the left side of the equal:
equations text
add a comment |Â
up vote
3
down vote
favorite
I would like to introduce a line break in text line inside an equation.
What I have done is:
beginalign*
fractextReactividad relativa \ Hidr'ogeno secundariotextReactividad relativa\ Hidr'ogeno secundario&=d
endalign*
And what I would like to reproduce is the left side of the equal:
equations text
6
Why don't you use variables and explain them in proper sentences? What I see in the picture makes me cringe.
â Johannes_B
Sep 13 at 5:25
I have a big lack of latex language and for this reason I cannot give you a proper answer
â Another.Chemist
Sep 13 at 5:27
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I would like to introduce a line break in text line inside an equation.
What I have done is:
beginalign*
fractextReactividad relativa \ Hidr'ogeno secundariotextReactividad relativa\ Hidr'ogeno secundario&=d
endalign*
And what I would like to reproduce is the left side of the equal:
equations text
I would like to introduce a line break in text line inside an equation.
What I have done is:
beginalign*
fractextReactividad relativa \ Hidr'ogeno secundariotextReactividad relativa\ Hidr'ogeno secundario&=d
endalign*
And what I would like to reproduce is the left side of the equal:
equations text
equations text
edited Sep 13 at 5:51
asked Sep 13 at 5:20
Another.Chemist
3822414
3822414
6
Why don't you use variables and explain them in proper sentences? What I see in the picture makes me cringe.
â Johannes_B
Sep 13 at 5:25
I have a big lack of latex language and for this reason I cannot give you a proper answer
â Another.Chemist
Sep 13 at 5:27
add a comment |Â
6
Why don't you use variables and explain them in proper sentences? What I see in the picture makes me cringe.
â Johannes_B
Sep 13 at 5:25
I have a big lack of latex language and for this reason I cannot give you a proper answer
â Another.Chemist
Sep 13 at 5:27
6
6
Why don't you use variables and explain them in proper sentences? What I see in the picture makes me cringe.
â Johannes_B
Sep 13 at 5:25
Why don't you use variables and explain them in proper sentences? What I see in the picture makes me cringe.
â Johannes_B
Sep 13 at 5:25
I have a big lack of latex language and for this reason I cannot give you a proper answer
â Another.Chemist
Sep 13 at 5:27
I have a big lack of latex language and for this reason I cannot give you a proper answer
â Another.Chemist
Sep 13 at 5:27
add a comment |Â
3 Answers
3
active
oldest
votes
up vote
2
down vote
accepted
A variant, with the Centerstack
command,, which automatically starts text mode, and can take an optional argument to set the alignment of the lines:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackagegeometry
usepackageamsmath
usepackage[usestackEOL]stackengine
begindocument
beginequation %% Longstack is probably better, look at the manual for stackengine...
frac,Centerstack[l]Relative reactivity of \ a secondary hydrogen,%
Centerstack[l]Relative reactivity of \ a primary hydrogen
= frac,Centerstack[l]yield of product from \ secondary hydrogen abstractionBigm / Centerstack[l]number of \ secondary hydrogens,%
Centerstack[l]yield of product from \ primary hydrogen abstractionBigm /Centerstack[l]number of \ primary hydrogens%
endequation
enddocument
add a comment |Â
up vote
7
down vote
Define a suitable command for those âÂÂtextual variablesâÂÂ:
documentclassarticle
usepackageamsmath
newcommandtvar[1]%
textup%
begintabular@l@
#1
endtabular%
%
begindocument
beginequation*
fractvarReactividad relativa \ Hidr'ogeno secundario
tvarReactividad relativa\ Hidr'ogeno primario
=
frac
left(tvarAbc def \ ghi klmright)bigg/
left(tvarAbc def \ ghi klmright)
left(tvarAbc def \ ghi klmright)bigg/
left(tvarAbc def \ ghi klmright)
endequation*
enddocument
add a comment |Â
up vote
2
down vote
You can do it, which does not mean you should do it. I agree with @Johannes_B, using proper variables will increase the readability a lot.
You can use stackengine
for these things:
and still, this is IMHO better:
Full MWE:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackageamsmath
usepackagestackengine
begindocument
beginequation %% Longstack is probably better, look at the manual for stackengine...
fractextstackunderRelative reactivity ofa secondary hydrogen%
textstackunderRelative reactivity ofa primary hydrogen cdots
endequation
bigskip
But this is better:
Call $R_2$ the relative reactivity of a secondary hydrogen, $R_1$ the relative reactivity of a primary hydrogen, dots
beginequation
fracR_2R_1cdots
endequation
enddocument
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
A variant, with the Centerstack
command,, which automatically starts text mode, and can take an optional argument to set the alignment of the lines:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackagegeometry
usepackageamsmath
usepackage[usestackEOL]stackengine
begindocument
beginequation %% Longstack is probably better, look at the manual for stackengine...
frac,Centerstack[l]Relative reactivity of \ a secondary hydrogen,%
Centerstack[l]Relative reactivity of \ a primary hydrogen
= frac,Centerstack[l]yield of product from \ secondary hydrogen abstractionBigm / Centerstack[l]number of \ secondary hydrogens,%
Centerstack[l]yield of product from \ primary hydrogen abstractionBigm /Centerstack[l]number of \ primary hydrogens%
endequation
enddocument
add a comment |Â
up vote
2
down vote
accepted
A variant, with the Centerstack
command,, which automatically starts text mode, and can take an optional argument to set the alignment of the lines:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackagegeometry
usepackageamsmath
usepackage[usestackEOL]stackengine
begindocument
beginequation %% Longstack is probably better, look at the manual for stackengine...
frac,Centerstack[l]Relative reactivity of \ a secondary hydrogen,%
Centerstack[l]Relative reactivity of \ a primary hydrogen
= frac,Centerstack[l]yield of product from \ secondary hydrogen abstractionBigm / Centerstack[l]number of \ secondary hydrogens,%
Centerstack[l]yield of product from \ primary hydrogen abstractionBigm /Centerstack[l]number of \ primary hydrogens%
endequation
enddocument
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
A variant, with the Centerstack
command,, which automatically starts text mode, and can take an optional argument to set the alignment of the lines:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackagegeometry
usepackageamsmath
usepackage[usestackEOL]stackengine
begindocument
beginequation %% Longstack is probably better, look at the manual for stackengine...
frac,Centerstack[l]Relative reactivity of \ a secondary hydrogen,%
Centerstack[l]Relative reactivity of \ a primary hydrogen
= frac,Centerstack[l]yield of product from \ secondary hydrogen abstractionBigm / Centerstack[l]number of \ secondary hydrogens,%
Centerstack[l]yield of product from \ primary hydrogen abstractionBigm /Centerstack[l]number of \ primary hydrogens%
endequation
enddocument
A variant, with the Centerstack
command,, which automatically starts text mode, and can take an optional argument to set the alignment of the lines:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackagegeometry
usepackageamsmath
usepackage[usestackEOL]stackengine
begindocument
beginequation %% Longstack is probably better, look at the manual for stackengine...
frac,Centerstack[l]Relative reactivity of \ a secondary hydrogen,%
Centerstack[l]Relative reactivity of \ a primary hydrogen
= frac,Centerstack[l]yield of product from \ secondary hydrogen abstractionBigm / Centerstack[l]number of \ secondary hydrogens,%
Centerstack[l]yield of product from \ primary hydrogen abstractionBigm /Centerstack[l]number of \ primary hydrogens%
endequation
enddocument
answered Sep 13 at 9:00
Bernard
157k764190
157k764190
add a comment |Â
add a comment |Â
up vote
7
down vote
Define a suitable command for those âÂÂtextual variablesâÂÂ:
documentclassarticle
usepackageamsmath
newcommandtvar[1]%
textup%
begintabular@l@
#1
endtabular%
%
begindocument
beginequation*
fractvarReactividad relativa \ Hidr'ogeno secundario
tvarReactividad relativa\ Hidr'ogeno primario
=
frac
left(tvarAbc def \ ghi klmright)bigg/
left(tvarAbc def \ ghi klmright)
left(tvarAbc def \ ghi klmright)bigg/
left(tvarAbc def \ ghi klmright)
endequation*
enddocument
add a comment |Â
up vote
7
down vote
Define a suitable command for those âÂÂtextual variablesâÂÂ:
documentclassarticle
usepackageamsmath
newcommandtvar[1]%
textup%
begintabular@l@
#1
endtabular%
%
begindocument
beginequation*
fractvarReactividad relativa \ Hidr'ogeno secundario
tvarReactividad relativa\ Hidr'ogeno primario
=
frac
left(tvarAbc def \ ghi klmright)bigg/
left(tvarAbc def \ ghi klmright)
left(tvarAbc def \ ghi klmright)bigg/
left(tvarAbc def \ ghi klmright)
endequation*
enddocument
add a comment |Â
up vote
7
down vote
up vote
7
down vote
Define a suitable command for those âÂÂtextual variablesâÂÂ:
documentclassarticle
usepackageamsmath
newcommandtvar[1]%
textup%
begintabular@l@
#1
endtabular%
%
begindocument
beginequation*
fractvarReactividad relativa \ Hidr'ogeno secundario
tvarReactividad relativa\ Hidr'ogeno primario
=
frac
left(tvarAbc def \ ghi klmright)bigg/
left(tvarAbc def \ ghi klmright)
left(tvarAbc def \ ghi klmright)bigg/
left(tvarAbc def \ ghi klmright)
endequation*
enddocument
Define a suitable command for those âÂÂtextual variablesâÂÂ:
documentclassarticle
usepackageamsmath
newcommandtvar[1]%
textup%
begintabular@l@
#1
endtabular%
%
begindocument
beginequation*
fractvarReactividad relativa \ Hidr'ogeno secundario
tvarReactividad relativa\ Hidr'ogeno primario
=
frac
left(tvarAbc def \ ghi klmright)bigg/
left(tvarAbc def \ ghi klmright)
left(tvarAbc def \ ghi klmright)bigg/
left(tvarAbc def \ ghi klmright)
endequation*
enddocument
answered Sep 13 at 8:39
egreg
686k8418283077
686k8418283077
add a comment |Â
add a comment |Â
up vote
2
down vote
You can do it, which does not mean you should do it. I agree with @Johannes_B, using proper variables will increase the readability a lot.
You can use stackengine
for these things:
and still, this is IMHO better:
Full MWE:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackageamsmath
usepackagestackengine
begindocument
beginequation %% Longstack is probably better, look at the manual for stackengine...
fractextstackunderRelative reactivity ofa secondary hydrogen%
textstackunderRelative reactivity ofa primary hydrogen cdots
endequation
bigskip
But this is better:
Call $R_2$ the relative reactivity of a secondary hydrogen, $R_1$ the relative reactivity of a primary hydrogen, dots
beginequation
fracR_2R_1cdots
endequation
enddocument
add a comment |Â
up vote
2
down vote
You can do it, which does not mean you should do it. I agree with @Johannes_B, using proper variables will increase the readability a lot.
You can use stackengine
for these things:
and still, this is IMHO better:
Full MWE:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackageamsmath
usepackagestackengine
begindocument
beginequation %% Longstack is probably better, look at the manual for stackengine...
fractextstackunderRelative reactivity ofa secondary hydrogen%
textstackunderRelative reactivity ofa primary hydrogen cdots
endequation
bigskip
But this is better:
Call $R_2$ the relative reactivity of a secondary hydrogen, $R_1$ the relative reactivity of a primary hydrogen, dots
beginequation
fracR_2R_1cdots
endequation
enddocument
add a comment |Â
up vote
2
down vote
up vote
2
down vote
You can do it, which does not mean you should do it. I agree with @Johannes_B, using proper variables will increase the readability a lot.
You can use stackengine
for these things:
and still, this is IMHO better:
Full MWE:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackageamsmath
usepackagestackengine
begindocument
beginequation %% Longstack is probably better, look at the manual for stackengine...
fractextstackunderRelative reactivity ofa secondary hydrogen%
textstackunderRelative reactivity ofa primary hydrogen cdots
endequation
bigskip
But this is better:
Call $R_2$ the relative reactivity of a secondary hydrogen, $R_1$ the relative reactivity of a primary hydrogen, dots
beginequation
fracR_2R_1cdots
endequation
enddocument
You can do it, which does not mean you should do it. I agree with @Johannes_B, using proper variables will increase the readability a lot.
You can use stackengine
for these things:
and still, this is IMHO better:
Full MWE:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackageamsmath
usepackagestackengine
begindocument
beginequation %% Longstack is probably better, look at the manual for stackengine...
fractextstackunderRelative reactivity ofa secondary hydrogen%
textstackunderRelative reactivity ofa primary hydrogen cdots
endequation
bigskip
But this is better:
Call $R_2$ the relative reactivity of a secondary hydrogen, $R_1$ the relative reactivity of a primary hydrogen, dots
beginequation
fracR_2R_1cdots
endequation
enddocument
edited Sep 13 at 8:19
answered Sep 13 at 8:14
Rmano
6,98121446
6,98121446
add a comment |Â
add a comment |Â
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%2f450659%2fhow-to-add-a-line-inside-an-equation%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
6
Why don't you use variables and explain them in proper sentences? What I see in the picture makes me cringe.
â Johannes_B
Sep 13 at 5:25
I have a big lack of latex language and for this reason I cannot give you a proper answer
â Another.Chemist
Sep 13 at 5:27