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
user171686 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
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
user171686 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
Welcome to TeX.SX! What have you done so far? TryH_k_p=fracY_k_pX_k_p
â Bobyandbob
Oct 3 at 16:50
Comment not at all an answer. ff you can conveniently write what you mean without using double subscripts many readers will find it easier to understand you.
â Ethan Bolker
Oct 3 at 23:28
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
user171686 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I am new in LaTex and need your help to write the following math equation in LaTeX.

math-mode
math-mode
New contributor
user171686 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
user171686 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited Oct 3 at 16:54
Skillmon
19k11637
19k11637
New contributor
user171686 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked Oct 3 at 16:42
user171686
141
141
New contributor
user171686 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
user171686 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
user171686 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
Welcome to TeX.SX! What have you done so far? TryH_k_p=fracY_k_pX_k_p
â Bobyandbob
Oct 3 at 16:50
Comment not at all an answer. ff you can conveniently write what you mean without using double subscripts many readers will find it easier to understand you.
â Ethan Bolker
Oct 3 at 23:28
add a comment |Â
1
Welcome to TeX.SX! What have you done so far? TryH_k_p=fracY_k_pX_k_p
â Bobyandbob
Oct 3 at 16:50
Comment not at all an answer. ff you can conveniently write what you mean without using double subscripts many readers will find it easier to understand you.
â Ethan Bolker
Oct 3 at 23:28
1
1
Welcome to TeX.SX! What have you done so far? Try
H_k_p=fracY_k_pX_k_pâ Bobyandbob
Oct 3 at 16:50
Welcome to TeX.SX! What have you done so far? Try
H_k_p=fracY_k_pX_k_pâ Bobyandbob
Oct 3 at 16:50
Comment not at all an answer. ff you can conveniently write what you mean without using double subscripts many readers will find it easier to understand you.
â Ethan Bolker
Oct 3 at 23:28
Comment not at all an answer. ff you can conveniently write what you mean without using double subscripts many readers will find it easier to understand you.
â Ethan Bolker
Oct 3 at 23:28
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
4
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
Garf is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
You can mark inline code as such by using back ticks:`.
â Skillmon
Oct 3 at 16:56
add a comment |Â
up vote
3
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 normalbaselineskipthis is likely to be too large in inline maths (and in your displayed equation it is the same asfrac).
â Skillmon
Oct 3 at 16:55
Only because I made a copy/paste⦠:( Answer edited.
â NBur
Oct 3 at 16:57
@Skillmon However, in inline mode withfracortfrac, I dislike the numerator touching the lineâ¦
â NBur
Oct 3 at 17:05
Use the following MWE and you'll instantly see why usingdfracis a bad idea without additional line spread (in fact even afracis 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
Oct 3 at 17:11
Also the numerator doesn't touch the line, that's the fault of your pdf viewer.
â Skillmon
Oct 3 at 17:12
 |Â
show 3 more comments
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
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
Garf is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
You can mark inline code as such by using back ticks:`.
â Skillmon
Oct 3 at 16:56
add a comment |Â
up vote
4
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
Garf is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
You can mark inline code as such by using back ticks:`.
â Skillmon
Oct 3 at 16:56
add a comment |Â
up vote
4
down vote
up vote
4
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
Garf is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
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
Garf is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Garf is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered Oct 3 at 16:48
Garf
1705
1705
New contributor
Garf is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Garf is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Garf is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
You can mark inline code as such by using back ticks:`.
â Skillmon
Oct 3 at 16:56
add a comment |Â
1
You can mark inline code as such by using back ticks:`.
â Skillmon
Oct 3 at 16:56
1
1
You can mark inline code as such by using back ticks:
`.â Skillmon
Oct 3 at 16:56
You can mark inline code as such by using back ticks:
`.â Skillmon
Oct 3 at 16:56
add a comment |Â
up vote
3
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 normalbaselineskipthis is likely to be too large in inline maths (and in your displayed equation it is the same asfrac).
â Skillmon
Oct 3 at 16:55
Only because I made a copy/paste⦠:( Answer edited.
â NBur
Oct 3 at 16:57
@Skillmon However, in inline mode withfracortfrac, I dislike the numerator touching the lineâ¦
â NBur
Oct 3 at 17:05
Use the following MWE and you'll instantly see why usingdfracis a bad idea without additional line spread (in fact even afracis 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
Oct 3 at 17:11
Also the numerator doesn't touch the line, that's the fault of your pdf viewer.
â Skillmon
Oct 3 at 17:12
 |Â
show 3 more comments
up vote
3
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 normalbaselineskipthis is likely to be too large in inline maths (and in your displayed equation it is the same asfrac).
â Skillmon
Oct 3 at 16:55
Only because I made a copy/paste⦠:( Answer edited.
â NBur
Oct 3 at 16:57
@Skillmon However, in inline mode withfracortfrac, I dislike the numerator touching the lineâ¦
â NBur
Oct 3 at 17:05
Use the following MWE and you'll instantly see why usingdfracis a bad idea without additional line spread (in fact even afracis 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
Oct 3 at 17:11
Also the numerator doesn't touch the line, that's the fault of your pdf viewer.
â Skillmon
Oct 3 at 17:12
 |Â
show 3 more comments
up vote
3
down vote
up vote
3
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 Oct 3 at 17:03
answered Oct 3 at 16:47
NBur
1,07812
1,07812
1
Why do you usedfrac? With normalbaselineskipthis is likely to be too large in inline maths (and in your displayed equation it is the same asfrac).
â Skillmon
Oct 3 at 16:55
Only because I made a copy/paste⦠:( Answer edited.
â NBur
Oct 3 at 16:57
@Skillmon However, in inline mode withfracortfrac, I dislike the numerator touching the lineâ¦
â NBur
Oct 3 at 17:05
Use the following MWE and you'll instantly see why usingdfracis a bad idea without additional line spread (in fact even afracis 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
Oct 3 at 17:11
Also the numerator doesn't touch the line, that's the fault of your pdf viewer.
â Skillmon
Oct 3 at 17:12
 |Â
show 3 more comments
1
Why do you usedfrac? With normalbaselineskipthis is likely to be too large in inline maths (and in your displayed equation it is the same asfrac).
â Skillmon
Oct 3 at 16:55
Only because I made a copy/paste⦠:( Answer edited.
â NBur
Oct 3 at 16:57
@Skillmon However, in inline mode withfracortfrac, I dislike the numerator touching the lineâ¦
â NBur
Oct 3 at 17:05
Use the following MWE and you'll instantly see why usingdfracis a bad idea without additional line spread (in fact even afracis 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
Oct 3 at 17:11
Also the numerator doesn't touch the line, that's the fault of your pdf viewer.
â Skillmon
Oct 3 at 17:12
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
Oct 3 at 16:55
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
Oct 3 at 16:55
Only because I made a copy/paste⦠:( Answer edited.
â NBur
Oct 3 at 16:57
Only because I made a copy/paste⦠:( Answer edited.
â NBur
Oct 3 at 16:57
@Skillmon However, in inline mode with
frac or tfrac, I dislike the numerator touching the lineâ¦â NBur
Oct 3 at 17:05
@Skillmon However, in inline mode with
frac or tfrac, I dislike the numerator touching the lineâ¦â NBur
Oct 3 at 17:05
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
Oct 3 at 17:11
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
Oct 3 at 17:11
Also the numerator doesn't touch the line, that's the fault of your pdf viewer.
â Skillmon
Oct 3 at 17:12
Also the numerator doesn't touch the line, that's the fault of your pdf viewer.
â Skillmon
Oct 3 at 17:12
 |Â
show 3 more comments
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
1
Welcome to TeX.SX! What have you done so far? Try
H_k_p=fracY_k_pX_k_pâ Bobyandbob
Oct 3 at 16:50
Comment not at all an answer. ff you can conveniently write what you mean without using double subscripts many readers will find it easier to understand you.
â Ethan Bolker
Oct 3 at 23:28