How to Write Math Equation in LaTeX
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
I am new in LaTex and need your help to write the following math equation in LaTeX.
math-mode
New contributor
add a comment |Â
up vote
2
down vote
favorite
I am new in LaTex and need your help to write the following math equation in LaTeX.
math-mode
New contributor
Welcome to TeX.SX! What have you done so far? TryH_k_p=fracY_k_pX_k_p
â Bobyandbob
2 hours ago
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I am new in LaTex and need your help to write the following math equation in LaTeX.
math-mode
New contributor
I am new in LaTex and need your help to write the following math equation in LaTeX.
math-mode
math-mode
New contributor
New contributor
edited 2 hours ago
Skillmon
18.9k11637
18.9k11637
New contributor
asked 2 hours ago
user171686
111
111
New contributor
New contributor
Welcome to TeX.SX! What have you done so far? TryH_k_p=fracY_k_pX_k_p
â Bobyandbob
2 hours ago
add a comment |Â
Welcome to TeX.SX! What have you done so far? TryH_k_p=fracY_k_pX_k_p
â Bobyandbob
2 hours ago
Welcome to TeX.SX! What have you done so far? Try
H_k_p=fracY_k_pX_k_p
â Bobyandbob
2 hours ago
Welcome to TeX.SX! What have you done so far? Try
H_k_p=fracY_k_pX_k_p
â Bobyandbob
2 hours ago
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
3
down vote
One of the simplest ways to input an equation into LaTeX is to write something like
documentclassarticle
begindocument
beginequation
H_k_p=fracY_k_pX_k_p
endequation
enddocument
Notice how I've used the syntax of LaTeX to format the equation into the way you want - subscripts need the _ key, and I've used to indicate "k_p" should itself be a subscript. Also note how to make fractions by using the frac command.
New contributor
You can mark inline code as such by using back ticks:`
.
â Skillmon
1 hour ago
add a comment |Â
up vote
2
down vote
A very simple one. You can use one of the three methods below (among othersâ¦)
Edit
Use frac
instead of dfrac
documentclassarticle
usepackageamsmath
begindocument
In displaystyle
[H_k_p=fracY_k_pX_k_p]
Or inline $H_k_p=dfracY_k_pX_k_p=fracY_k_pX_k_p=tfracY_k_pX_k_p$.
With a numbered and refenced equation (see refeq:1)
beginequation
H_k_p=fracY_k_pX_k_plabeleq:1
endequation
enddocument
1
Why do you usedfrac
? With normalbaselineskip
this is likely to be too large in inline maths (and in your displayed equation it is the same asfrac
).
â Skillmon
2 hours ago
Only because I made a copy/paste⦠:( Answer edited.
â NBur
1 hour ago
@Skillmon However, in inline mode withfrac
ortfrac
, I dislike the numerator touching the lineâ¦
â NBur
1 hour ago
Use the following MWE and you'll instantly see why usingdfrac
is a bad idea without additional line spread (in fact even afrac
is too large here):documentclassarticleusepackageamsmath,duckumentsbegindocumentblindduck$H_k_p=dfracY_k_pX_k_p$blindduckpar blindduck$H_k_p=fracY_k_pX_k_p$blindduckenddocument
.
â Skillmon
1 hour ago
Also the numerator doesn't touch the line, that's the fault of your pdf viewer.
â Skillmon
1 hour ago
 |Â
show 1 more comment
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
One of the simplest ways to input an equation into LaTeX is to write something like
documentclassarticle
begindocument
beginequation
H_k_p=fracY_k_pX_k_p
endequation
enddocument
Notice how I've used the syntax of LaTeX to format the equation into the way you want - subscripts need the _ key, and I've used to indicate "k_p" should itself be a subscript. Also note how to make fractions by using the frac command.
New contributor
You can mark inline code as such by using back ticks:`
.
â Skillmon
1 hour ago
add a comment |Â
up vote
3
down vote
One of the simplest ways to input an equation into LaTeX is to write something like
documentclassarticle
begindocument
beginequation
H_k_p=fracY_k_pX_k_p
endequation
enddocument
Notice how I've used the syntax of LaTeX to format the equation into the way you want - subscripts need the _ key, and I've used to indicate "k_p" should itself be a subscript. Also note how to make fractions by using the frac command.
New contributor
You can mark inline code as such by using back ticks:`
.
â Skillmon
1 hour ago
add a comment |Â
up vote
3
down vote
up vote
3
down vote
One of the simplest ways to input an equation into LaTeX is to write something like
documentclassarticle
begindocument
beginequation
H_k_p=fracY_k_pX_k_p
endequation
enddocument
Notice how I've used the syntax of LaTeX to format the equation into the way you want - subscripts need the _ key, and I've used to indicate "k_p" should itself be a subscript. Also note how to make fractions by using the frac command.
New contributor
One of the simplest ways to input an equation into LaTeX is to write something like
documentclassarticle
begindocument
beginequation
H_k_p=fracY_k_pX_k_p
endequation
enddocument
Notice how I've used the syntax of LaTeX to format the equation into the way you want - subscripts need the _ key, and I've used to indicate "k_p" should itself be a subscript. Also note how to make fractions by using the frac command.
New contributor
New contributor
answered 2 hours ago
Garf
1414
1414
New contributor
New contributor
You can mark inline code as such by using back ticks:`
.
â Skillmon
1 hour ago
add a comment |Â
You can mark inline code as such by using back ticks:`
.
â Skillmon
1 hour ago
You can mark inline code as such by using back ticks:
`
.â Skillmon
1 hour ago
You can mark inline code as such by using back ticks:
`
.â Skillmon
1 hour ago
add a comment |Â
up vote
2
down vote
A very simple one. You can use one of the three methods below (among othersâ¦)
Edit
Use frac
instead of dfrac
documentclassarticle
usepackageamsmath
begindocument
In displaystyle
[H_k_p=fracY_k_pX_k_p]
Or inline $H_k_p=dfracY_k_pX_k_p=fracY_k_pX_k_p=tfracY_k_pX_k_p$.
With a numbered and refenced equation (see refeq:1)
beginequation
H_k_p=fracY_k_pX_k_plabeleq:1
endequation
enddocument
1
Why do you usedfrac
? With normalbaselineskip
this is likely to be too large in inline maths (and in your displayed equation it is the same asfrac
).
â Skillmon
2 hours ago
Only because I made a copy/paste⦠:( Answer edited.
â NBur
1 hour ago
@Skillmon However, in inline mode withfrac
ortfrac
, I dislike the numerator touching the lineâ¦
â NBur
1 hour ago
Use the following MWE and you'll instantly see why usingdfrac
is a bad idea without additional line spread (in fact even afrac
is too large here):documentclassarticleusepackageamsmath,duckumentsbegindocumentblindduck$H_k_p=dfracY_k_pX_k_p$blindduckpar blindduck$H_k_p=fracY_k_pX_k_p$blindduckenddocument
.
â Skillmon
1 hour ago
Also the numerator doesn't touch the line, that's the fault of your pdf viewer.
â Skillmon
1 hour ago
 |Â
show 1 more comment
up vote
2
down vote
A very simple one. You can use one of the three methods below (among othersâ¦)
Edit
Use frac
instead of dfrac
documentclassarticle
usepackageamsmath
begindocument
In displaystyle
[H_k_p=fracY_k_pX_k_p]
Or inline $H_k_p=dfracY_k_pX_k_p=fracY_k_pX_k_p=tfracY_k_pX_k_p$.
With a numbered and refenced equation (see refeq:1)
beginequation
H_k_p=fracY_k_pX_k_plabeleq:1
endequation
enddocument
1
Why do you usedfrac
? With normalbaselineskip
this is likely to be too large in inline maths (and in your displayed equation it is the same asfrac
).
â Skillmon
2 hours ago
Only because I made a copy/paste⦠:( Answer edited.
â NBur
1 hour ago
@Skillmon However, in inline mode withfrac
ortfrac
, I dislike the numerator touching the lineâ¦
â NBur
1 hour ago
Use the following MWE and you'll instantly see why usingdfrac
is a bad idea without additional line spread (in fact even afrac
is too large here):documentclassarticleusepackageamsmath,duckumentsbegindocumentblindduck$H_k_p=dfracY_k_pX_k_p$blindduckpar blindduck$H_k_p=fracY_k_pX_k_p$blindduckenddocument
.
â Skillmon
1 hour ago
Also the numerator doesn't touch the line, that's the fault of your pdf viewer.
â Skillmon
1 hour ago
 |Â
show 1 more comment
up vote
2
down vote
up vote
2
down vote
A very simple one. You can use one of the three methods below (among othersâ¦)
Edit
Use frac
instead of dfrac
documentclassarticle
usepackageamsmath
begindocument
In displaystyle
[H_k_p=fracY_k_pX_k_p]
Or inline $H_k_p=dfracY_k_pX_k_p=fracY_k_pX_k_p=tfracY_k_pX_k_p$.
With a numbered and refenced equation (see refeq:1)
beginequation
H_k_p=fracY_k_pX_k_plabeleq:1
endequation
enddocument
A very simple one. You can use one of the three methods below (among othersâ¦)
Edit
Use frac
instead of dfrac
documentclassarticle
usepackageamsmath
begindocument
In displaystyle
[H_k_p=fracY_k_pX_k_p]
Or inline $H_k_p=dfracY_k_pX_k_p=fracY_k_pX_k_p=tfracY_k_pX_k_p$.
With a numbered and refenced equation (see refeq:1)
beginequation
H_k_p=fracY_k_pX_k_plabeleq:1
endequation
enddocument
edited 1 hour ago
answered 2 hours ago
NBur
1,01312
1,01312
1
Why do you usedfrac
? With normalbaselineskip
this is likely to be too large in inline maths (and in your displayed equation it is the same asfrac
).
â Skillmon
2 hours ago
Only because I made a copy/paste⦠:( Answer edited.
â NBur
1 hour ago
@Skillmon However, in inline mode withfrac
ortfrac
, I dislike the numerator touching the lineâ¦
â NBur
1 hour ago
Use the following MWE and you'll instantly see why usingdfrac
is a bad idea without additional line spread (in fact even afrac
is too large here):documentclassarticleusepackageamsmath,duckumentsbegindocumentblindduck$H_k_p=dfracY_k_pX_k_p$blindduckpar blindduck$H_k_p=fracY_k_pX_k_p$blindduckenddocument
.
â Skillmon
1 hour ago
Also the numerator doesn't touch the line, that's the fault of your pdf viewer.
â Skillmon
1 hour ago
 |Â
show 1 more comment
1
Why do you usedfrac
? With normalbaselineskip
this is likely to be too large in inline maths (and in your displayed equation it is the same asfrac
).
â Skillmon
2 hours ago
Only because I made a copy/paste⦠:( Answer edited.
â NBur
1 hour ago
@Skillmon However, in inline mode withfrac
ortfrac
, I dislike the numerator touching the lineâ¦
â NBur
1 hour ago
Use the following MWE and you'll instantly see why usingdfrac
is a bad idea without additional line spread (in fact even afrac
is too large here):documentclassarticleusepackageamsmath,duckumentsbegindocumentblindduck$H_k_p=dfracY_k_pX_k_p$blindduckpar blindduck$H_k_p=fracY_k_pX_k_p$blindduckenddocument
.
â Skillmon
1 hour ago
Also the numerator doesn't touch the line, that's the fault of your pdf viewer.
â Skillmon
1 hour ago
1
1
Why do you use
dfrac
? With normal baselineskip
this is likely to be too large in inline maths (and in your displayed equation it is the same as frac
).â Skillmon
2 hours ago
Why do you use
dfrac
? With normal baselineskip
this is likely to be too large in inline maths (and in your displayed equation it is the same as frac
).â Skillmon
2 hours ago
Only because I made a copy/paste⦠:( Answer edited.
â NBur
1 hour ago
Only because I made a copy/paste⦠:( Answer edited.
â NBur
1 hour ago
@Skillmon However, in inline mode with
frac
or tfrac
, I dislike the numerator touching the lineâ¦â NBur
1 hour ago
@Skillmon However, in inline mode with
frac
or tfrac
, I dislike the numerator touching the lineâ¦â NBur
1 hour ago
Use the following MWE and you'll instantly see why using
dfrac
is a bad idea without additional line spread (in fact even a frac
is too large here): documentclassarticleusepackageamsmath,duckumentsbegindocumentblindduck$H_k_p=dfracY_k_pX_k_p$blindduckpar blindduck$H_k_p=fracY_k_pX_k_p$blindduckenddocument
.â Skillmon
1 hour ago
Use the following MWE and you'll instantly see why using
dfrac
is a bad idea without additional line spread (in fact even a frac
is too large here): documentclassarticleusepackageamsmath,duckumentsbegindocumentblindduck$H_k_p=dfracY_k_pX_k_p$blindduckpar blindduck$H_k_p=fracY_k_pX_k_p$blindduckenddocument
.â Skillmon
1 hour ago
Also the numerator doesn't touch the line, that's the fault of your pdf viewer.
â Skillmon
1 hour ago
Also the numerator doesn't touch the line, that's the fault of your pdf viewer.
â Skillmon
1 hour ago
 |Â
show 1 more comment
user171686 is a new contributor. Be nice, and check out our Code of Conduct.
user171686 is a new contributor. Be nice, and check out our Code of Conduct.
user171686 is a new contributor. Be nice, and check out our Code of Conduct.
user171686 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%2f453663%2fhow-to-write-math-equation-in-latex%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
Welcome to TeX.SX! What have you done so far? Try
H_k_p=fracY_k_pX_k_p
â Bobyandbob
2 hours ago