how to write formula in word in latex
this my latex code for the equation
begin{equation} nonumber
q^*_1 =frac{text{number of women who had their second birth in 1971}}{text{number of women who had their first birth in 1970 textbf{-} number of women had their second birth in 1970}}
end {equation}
help me to write denominator as given in pic.
math-mode amsmath xfrac
New contributor
add a comment |
this my latex code for the equation
begin{equation} nonumber
q^*_1 =frac{text{number of women who had their second birth in 1971}}{text{number of women who had their first birth in 1970 textbf{-} number of women had their second birth in 1970}}
end {equation}
help me to write denominator as given in pic.
math-mode amsmath xfrac
New contributor
Welcome to TeX.SE! Well, I do not think that MS Word uses LaTeX, they use a subset of comands named as the commands in LaTeX. So it depends on the commands they defined. Please just check which commands are allowed, look forparbox
or tabùlar` and try to use them ... In my opinion your question is off topic here (ask on a side specialised to MS Word please)
– Kurt
3 hours ago
3
@Kurt, I think the question is on topic and the OP asks "how to write formula OF word in latex" but made some language mistake...
– koleygr
3 hours ago
add a comment |
this my latex code for the equation
begin{equation} nonumber
q^*_1 =frac{text{number of women who had their second birth in 1971}}{text{number of women who had their first birth in 1970 textbf{-} number of women had their second birth in 1970}}
end {equation}
help me to write denominator as given in pic.
math-mode amsmath xfrac
New contributor
this my latex code for the equation
begin{equation} nonumber
q^*_1 =frac{text{number of women who had their second birth in 1971}}{text{number of women who had their first birth in 1970 textbf{-} number of women had their second birth in 1970}}
end {equation}
help me to write denominator as given in pic.
math-mode amsmath xfrac
math-mode amsmath xfrac
New contributor
New contributor
edited 4 hours ago
Phelype Oleinik
24.2k54688
24.2k54688
New contributor
asked 4 hours ago
statisticianstatistician
211
211
New contributor
New contributor
Welcome to TeX.SE! Well, I do not think that MS Word uses LaTeX, they use a subset of comands named as the commands in LaTeX. So it depends on the commands they defined. Please just check which commands are allowed, look forparbox
or tabùlar` and try to use them ... In my opinion your question is off topic here (ask on a side specialised to MS Word please)
– Kurt
3 hours ago
3
@Kurt, I think the question is on topic and the OP asks "how to write formula OF word in latex" but made some language mistake...
– koleygr
3 hours ago
add a comment |
Welcome to TeX.SE! Well, I do not think that MS Word uses LaTeX, they use a subset of comands named as the commands in LaTeX. So it depends on the commands they defined. Please just check which commands are allowed, look forparbox
or tabùlar` and try to use them ... In my opinion your question is off topic here (ask on a side specialised to MS Word please)
– Kurt
3 hours ago
3
@Kurt, I think the question is on topic and the OP asks "how to write formula OF word in latex" but made some language mistake...
– koleygr
3 hours ago
Welcome to TeX.SE! Well, I do not think that MS Word uses LaTeX, they use a subset of comands named as the commands in LaTeX. So it depends on the commands they defined. Please just check which commands are allowed, look for
parbox
or tabùlar` and try to use them ... In my opinion your question is off topic here (ask on a side specialised to MS Word please)– Kurt
3 hours ago
Welcome to TeX.SE! Well, I do not think that MS Word uses LaTeX, they use a subset of comands named as the commands in LaTeX. So it depends on the commands they defined. Please just check which commands are allowed, look for
parbox
or tabùlar` and try to use them ... In my opinion your question is off topic here (ask on a side specialised to MS Word please)– Kurt
3 hours ago
3
3
@Kurt, I think the question is on topic and the OP asks "how to write formula OF word in latex" but made some language mistake...
– koleygr
3 hours ago
@Kurt, I think the question is on topic and the OP asks "how to write formula OF word in latex" but made some language mistake...
– koleygr
3 hours ago
add a comment |
5 Answers
5
active
oldest
votes
A simple way is to use array
for the denominator
begin{equation} nonumber
q^*_1 =frac{text{number of women who had their second birth in 1971}}{
begin{array}{c}
text{number of women who had}\
text{their first birth in 1970}
end{array}
-
begin{array}{c}
text{number of women who had}\
text{their second birth in 1970}
end{array}
}
end{equation}
thank you so much
– statistician
3 hours ago
@statistician, there is a green check-mark-style button next to the question. And while seems that you tested/prefer/like this answer... you should click this button to accept the answer and to not leave your question be shown as a question that didn't found a good enough answer.
– koleygr
3 hours ago
add a comment |
An approach with parbox
documentclass{article}
usepackage{amsmath}
begin{document}
begin{equation} nonumber
q^*_1 =frac{text{number of women who had their second birth in 1971}}{text{parbox{4.5cm}{centering number of women who had their first birth in 1970}} - text{parbox{4cm}{centering number of women had their second birth in 1970}}}
end {equation}
end{document}
Of course the lengths could be different to fit your sizes...
add a comment |
Just to throw in an alternative layman's view
documentclass{standalone}
usepackage{amsmath}
begin{document}huge
$q^*_1 = text{number of women who had their (} frac {2^{nd}text{ birth in 1971}} {1^{st}text{ birth in 1970}~-~ 2^{nd}text{ birth in 1970}}$)
end{document}
1
Mathematically the abstraction of 1st birth -2nd berth of a woman are minus the years lived before give a birth! (+1 mostly for the imagination part of your solution)
– koleygr
1 hour ago
1
@koleygr I'm no mathmagician (only a very very poor TeXnician hence the Layman's tag line
– KJO
1 hour ago
1
My comment is just humor since means that a woman's second birth is when she is giving a birth (and these is a sentence with the female psychology of my male nature)... I never heard layman's low before... but thanks for noticing (learned something new). Goodnight and happy TeXing!
– koleygr
1 hour ago
add a comment |
I'd define a suitable notation, avoiding long verbal descriptions. I also added the verbose version, but adding parentheses for clarity.
documentclass{article}
usepackage{amsmath}
begin{document}
Let's denote by $W(n,y)$ the number of women who had their $n$th~birth
in the year~$y$. Then
begin{equation*}
q^*_1 = frac{W(2,1971)}{W(1,1970)-W(2,1970)}
end{equation*}
We can also typeset this with words, but it comes out quite awful
unless we add parentheses
begin{equation*}
q^*_1 =
frac{
text{number of women who had their second birth in 1971}
}{
Bigl(
begin{tabular}{c}
number of women who had \
their first birth in 1970
end{tabular}
Bigr)
-
Bigl(
begin{tabular}{c}
number of women who had \
their second birth in 1970
end{tabular}
Bigr)
}
end{equation*}
end{document}
Using equation*
avoids the need for nonumber
.
add a comment |
Here is a competety different approach using variables instead of the text:
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
q^*_1 &=frac{A}{B-C} \
text{where}~A &= text{number of women who had their second birth in 1971} \
B &= text{number of women who had their first birth in 1970} \
C &= text{number of women who had their second birth in 1970} \
end{align*}
end{document}
For a horizontally centered equation one could use something like the following:
documentclass{article}
usepackage{amsmath}
begin{document}
begin{equation}
q^*_1 =frac{A}{B-C} nonumber
end{equation}
begin{align*}
text{where}~A &= text{number of women who had their second birth in 1971} \
B &= text{number of women who had their first birth in 1970} \
C &= text{number of women who had their second birth in 1970} \
end{align*}
end{document}
1
I think you should declare the variables outside the align environment... or add this possibility as separate code in case the the equation should be centered or numbered etc. (+1) -for the answers before and after mine- and (-1) -if I could- to the down-voter who didn't even left a comment to a newcomer that at least provided some code
– koleygr
3 hours ago
1
@koleygr: Thanks for your suggestion. I have added another suggestion on how to achieve a horizontally centered equation.
– leandriis
3 hours ago
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
});
}
});
statistician 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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f479691%2fhow-to-write-formula-in-word-in-latex%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
A simple way is to use array
for the denominator
begin{equation} nonumber
q^*_1 =frac{text{number of women who had their second birth in 1971}}{
begin{array}{c}
text{number of women who had}\
text{their first birth in 1970}
end{array}
-
begin{array}{c}
text{number of women who had}\
text{their second birth in 1970}
end{array}
}
end{equation}
thank you so much
– statistician
3 hours ago
@statistician, there is a green check-mark-style button next to the question. And while seems that you tested/prefer/like this answer... you should click this button to accept the answer and to not leave your question be shown as a question that didn't found a good enough answer.
– koleygr
3 hours ago
add a comment |
A simple way is to use array
for the denominator
begin{equation} nonumber
q^*_1 =frac{text{number of women who had their second birth in 1971}}{
begin{array}{c}
text{number of women who had}\
text{their first birth in 1970}
end{array}
-
begin{array}{c}
text{number of women who had}\
text{their second birth in 1970}
end{array}
}
end{equation}
thank you so much
– statistician
3 hours ago
@statistician, there is a green check-mark-style button next to the question. And while seems that you tested/prefer/like this answer... you should click this button to accept the answer and to not leave your question be shown as a question that didn't found a good enough answer.
– koleygr
3 hours ago
add a comment |
A simple way is to use array
for the denominator
begin{equation} nonumber
q^*_1 =frac{text{number of women who had their second birth in 1971}}{
begin{array}{c}
text{number of women who had}\
text{their first birth in 1970}
end{array}
-
begin{array}{c}
text{number of women who had}\
text{their second birth in 1970}
end{array}
}
end{equation}
A simple way is to use array
for the denominator
begin{equation} nonumber
q^*_1 =frac{text{number of women who had their second birth in 1971}}{
begin{array}{c}
text{number of women who had}\
text{their first birth in 1970}
end{array}
-
begin{array}{c}
text{number of women who had}\
text{their second birth in 1970}
end{array}
}
end{equation}
answered 4 hours ago
GuidoGuido
24.6k55088
24.6k55088
thank you so much
– statistician
3 hours ago
@statistician, there is a green check-mark-style button next to the question. And while seems that you tested/prefer/like this answer... you should click this button to accept the answer and to not leave your question be shown as a question that didn't found a good enough answer.
– koleygr
3 hours ago
add a comment |
thank you so much
– statistician
3 hours ago
@statistician, there is a green check-mark-style button next to the question. And while seems that you tested/prefer/like this answer... you should click this button to accept the answer and to not leave your question be shown as a question that didn't found a good enough answer.
– koleygr
3 hours ago
thank you so much
– statistician
3 hours ago
thank you so much
– statistician
3 hours ago
@statistician, there is a green check-mark-style button next to the question. And while seems that you tested/prefer/like this answer... you should click this button to accept the answer and to not leave your question be shown as a question that didn't found a good enough answer.
– koleygr
3 hours ago
@statistician, there is a green check-mark-style button next to the question. And while seems that you tested/prefer/like this answer... you should click this button to accept the answer and to not leave your question be shown as a question that didn't found a good enough answer.
– koleygr
3 hours ago
add a comment |
An approach with parbox
documentclass{article}
usepackage{amsmath}
begin{document}
begin{equation} nonumber
q^*_1 =frac{text{number of women who had their second birth in 1971}}{text{parbox{4.5cm}{centering number of women who had their first birth in 1970}} - text{parbox{4cm}{centering number of women had their second birth in 1970}}}
end {equation}
end{document}
Of course the lengths could be different to fit your sizes...
add a comment |
An approach with parbox
documentclass{article}
usepackage{amsmath}
begin{document}
begin{equation} nonumber
q^*_1 =frac{text{number of women who had their second birth in 1971}}{text{parbox{4.5cm}{centering number of women who had their first birth in 1970}} - text{parbox{4cm}{centering number of women had their second birth in 1970}}}
end {equation}
end{document}
Of course the lengths could be different to fit your sizes...
add a comment |
An approach with parbox
documentclass{article}
usepackage{amsmath}
begin{document}
begin{equation} nonumber
q^*_1 =frac{text{number of women who had their second birth in 1971}}{text{parbox{4.5cm}{centering number of women who had their first birth in 1970}} - text{parbox{4cm}{centering number of women had their second birth in 1970}}}
end {equation}
end{document}
Of course the lengths could be different to fit your sizes...
An approach with parbox
documentclass{article}
usepackage{amsmath}
begin{document}
begin{equation} nonumber
q^*_1 =frac{text{number of women who had their second birth in 1971}}{text{parbox{4.5cm}{centering number of women who had their first birth in 1970}} - text{parbox{4cm}{centering number of women had their second birth in 1970}}}
end {equation}
end{document}
Of course the lengths could be different to fit your sizes...
answered 4 hours ago
koleygrkoleygr
12.6k11038
12.6k11038
add a comment |
add a comment |
Just to throw in an alternative layman's view
documentclass{standalone}
usepackage{amsmath}
begin{document}huge
$q^*_1 = text{number of women who had their (} frac {2^{nd}text{ birth in 1971}} {1^{st}text{ birth in 1970}~-~ 2^{nd}text{ birth in 1970}}$)
end{document}
1
Mathematically the abstraction of 1st birth -2nd berth of a woman are minus the years lived before give a birth! (+1 mostly for the imagination part of your solution)
– koleygr
1 hour ago
1
@koleygr I'm no mathmagician (only a very very poor TeXnician hence the Layman's tag line
– KJO
1 hour ago
1
My comment is just humor since means that a woman's second birth is when she is giving a birth (and these is a sentence with the female psychology of my male nature)... I never heard layman's low before... but thanks for noticing (learned something new). Goodnight and happy TeXing!
– koleygr
1 hour ago
add a comment |
Just to throw in an alternative layman's view
documentclass{standalone}
usepackage{amsmath}
begin{document}huge
$q^*_1 = text{number of women who had their (} frac {2^{nd}text{ birth in 1971}} {1^{st}text{ birth in 1970}~-~ 2^{nd}text{ birth in 1970}}$)
end{document}
1
Mathematically the abstraction of 1st birth -2nd berth of a woman are minus the years lived before give a birth! (+1 mostly for the imagination part of your solution)
– koleygr
1 hour ago
1
@koleygr I'm no mathmagician (only a very very poor TeXnician hence the Layman's tag line
– KJO
1 hour ago
1
My comment is just humor since means that a woman's second birth is when she is giving a birth (and these is a sentence with the female psychology of my male nature)... I never heard layman's low before... but thanks for noticing (learned something new). Goodnight and happy TeXing!
– koleygr
1 hour ago
add a comment |
Just to throw in an alternative layman's view
documentclass{standalone}
usepackage{amsmath}
begin{document}huge
$q^*_1 = text{number of women who had their (} frac {2^{nd}text{ birth in 1971}} {1^{st}text{ birth in 1970}~-~ 2^{nd}text{ birth in 1970}}$)
end{document}
Just to throw in an alternative layman's view
documentclass{standalone}
usepackage{amsmath}
begin{document}huge
$q^*_1 = text{number of women who had their (} frac {2^{nd}text{ birth in 1971}} {1^{st}text{ birth in 1970}~-~ 2^{nd}text{ birth in 1970}}$)
end{document}
answered 2 hours ago
KJOKJO
2,9831120
2,9831120
1
Mathematically the abstraction of 1st birth -2nd berth of a woman are minus the years lived before give a birth! (+1 mostly for the imagination part of your solution)
– koleygr
1 hour ago
1
@koleygr I'm no mathmagician (only a very very poor TeXnician hence the Layman's tag line
– KJO
1 hour ago
1
My comment is just humor since means that a woman's second birth is when she is giving a birth (and these is a sentence with the female psychology of my male nature)... I never heard layman's low before... but thanks for noticing (learned something new). Goodnight and happy TeXing!
– koleygr
1 hour ago
add a comment |
1
Mathematically the abstraction of 1st birth -2nd berth of a woman are minus the years lived before give a birth! (+1 mostly for the imagination part of your solution)
– koleygr
1 hour ago
1
@koleygr I'm no mathmagician (only a very very poor TeXnician hence the Layman's tag line
– KJO
1 hour ago
1
My comment is just humor since means that a woman's second birth is when she is giving a birth (and these is a sentence with the female psychology of my male nature)... I never heard layman's low before... but thanks for noticing (learned something new). Goodnight and happy TeXing!
– koleygr
1 hour ago
1
1
Mathematically the abstraction of 1st birth -2nd berth of a woman are minus the years lived before give a birth! (+1 mostly for the imagination part of your solution)
– koleygr
1 hour ago
Mathematically the abstraction of 1st birth -2nd berth of a woman are minus the years lived before give a birth! (+1 mostly for the imagination part of your solution)
– koleygr
1 hour ago
1
1
@koleygr I'm no mathmagician (only a very very poor TeXnician hence the Layman's tag line
– KJO
1 hour ago
@koleygr I'm no mathmagician (only a very very poor TeXnician hence the Layman's tag line
– KJO
1 hour ago
1
1
My comment is just humor since means that a woman's second birth is when she is giving a birth (and these is a sentence with the female psychology of my male nature)... I never heard layman's low before... but thanks for noticing (learned something new). Goodnight and happy TeXing!
– koleygr
1 hour ago
My comment is just humor since means that a woman's second birth is when she is giving a birth (and these is a sentence with the female psychology of my male nature)... I never heard layman's low before... but thanks for noticing (learned something new). Goodnight and happy TeXing!
– koleygr
1 hour ago
add a comment |
I'd define a suitable notation, avoiding long verbal descriptions. I also added the verbose version, but adding parentheses for clarity.
documentclass{article}
usepackage{amsmath}
begin{document}
Let's denote by $W(n,y)$ the number of women who had their $n$th~birth
in the year~$y$. Then
begin{equation*}
q^*_1 = frac{W(2,1971)}{W(1,1970)-W(2,1970)}
end{equation*}
We can also typeset this with words, but it comes out quite awful
unless we add parentheses
begin{equation*}
q^*_1 =
frac{
text{number of women who had their second birth in 1971}
}{
Bigl(
begin{tabular}{c}
number of women who had \
their first birth in 1970
end{tabular}
Bigr)
-
Bigl(
begin{tabular}{c}
number of women who had \
their second birth in 1970
end{tabular}
Bigr)
}
end{equation*}
end{document}
Using equation*
avoids the need for nonumber
.
add a comment |
I'd define a suitable notation, avoiding long verbal descriptions. I also added the verbose version, but adding parentheses for clarity.
documentclass{article}
usepackage{amsmath}
begin{document}
Let's denote by $W(n,y)$ the number of women who had their $n$th~birth
in the year~$y$. Then
begin{equation*}
q^*_1 = frac{W(2,1971)}{W(1,1970)-W(2,1970)}
end{equation*}
We can also typeset this with words, but it comes out quite awful
unless we add parentheses
begin{equation*}
q^*_1 =
frac{
text{number of women who had their second birth in 1971}
}{
Bigl(
begin{tabular}{c}
number of women who had \
their first birth in 1970
end{tabular}
Bigr)
-
Bigl(
begin{tabular}{c}
number of women who had \
their second birth in 1970
end{tabular}
Bigr)
}
end{equation*}
end{document}
Using equation*
avoids the need for nonumber
.
add a comment |
I'd define a suitable notation, avoiding long verbal descriptions. I also added the verbose version, but adding parentheses for clarity.
documentclass{article}
usepackage{amsmath}
begin{document}
Let's denote by $W(n,y)$ the number of women who had their $n$th~birth
in the year~$y$. Then
begin{equation*}
q^*_1 = frac{W(2,1971)}{W(1,1970)-W(2,1970)}
end{equation*}
We can also typeset this with words, but it comes out quite awful
unless we add parentheses
begin{equation*}
q^*_1 =
frac{
text{number of women who had their second birth in 1971}
}{
Bigl(
begin{tabular}{c}
number of women who had \
their first birth in 1970
end{tabular}
Bigr)
-
Bigl(
begin{tabular}{c}
number of women who had \
their second birth in 1970
end{tabular}
Bigr)
}
end{equation*}
end{document}
Using equation*
avoids the need for nonumber
.
I'd define a suitable notation, avoiding long verbal descriptions. I also added the verbose version, but adding parentheses for clarity.
documentclass{article}
usepackage{amsmath}
begin{document}
Let's denote by $W(n,y)$ the number of women who had their $n$th~birth
in the year~$y$. Then
begin{equation*}
q^*_1 = frac{W(2,1971)}{W(1,1970)-W(2,1970)}
end{equation*}
We can also typeset this with words, but it comes out quite awful
unless we add parentheses
begin{equation*}
q^*_1 =
frac{
text{number of women who had their second birth in 1971}
}{
Bigl(
begin{tabular}{c}
number of women who had \
their first birth in 1970
end{tabular}
Bigr)
-
Bigl(
begin{tabular}{c}
number of women who had \
their second birth in 1970
end{tabular}
Bigr)
}
end{equation*}
end{document}
Using equation*
avoids the need for nonumber
.
answered 1 hour ago
egregegreg
726k8819223230
726k8819223230
add a comment |
add a comment |
Here is a competety different approach using variables instead of the text:
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
q^*_1 &=frac{A}{B-C} \
text{where}~A &= text{number of women who had their second birth in 1971} \
B &= text{number of women who had their first birth in 1970} \
C &= text{number of women who had their second birth in 1970} \
end{align*}
end{document}
For a horizontally centered equation one could use something like the following:
documentclass{article}
usepackage{amsmath}
begin{document}
begin{equation}
q^*_1 =frac{A}{B-C} nonumber
end{equation}
begin{align*}
text{where}~A &= text{number of women who had their second birth in 1971} \
B &= text{number of women who had their first birth in 1970} \
C &= text{number of women who had their second birth in 1970} \
end{align*}
end{document}
1
I think you should declare the variables outside the align environment... or add this possibility as separate code in case the the equation should be centered or numbered etc. (+1) -for the answers before and after mine- and (-1) -if I could- to the down-voter who didn't even left a comment to a newcomer that at least provided some code
– koleygr
3 hours ago
1
@koleygr: Thanks for your suggestion. I have added another suggestion on how to achieve a horizontally centered equation.
– leandriis
3 hours ago
add a comment |
Here is a competety different approach using variables instead of the text:
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
q^*_1 &=frac{A}{B-C} \
text{where}~A &= text{number of women who had their second birth in 1971} \
B &= text{number of women who had their first birth in 1970} \
C &= text{number of women who had their second birth in 1970} \
end{align*}
end{document}
For a horizontally centered equation one could use something like the following:
documentclass{article}
usepackage{amsmath}
begin{document}
begin{equation}
q^*_1 =frac{A}{B-C} nonumber
end{equation}
begin{align*}
text{where}~A &= text{number of women who had their second birth in 1971} \
B &= text{number of women who had their first birth in 1970} \
C &= text{number of women who had their second birth in 1970} \
end{align*}
end{document}
1
I think you should declare the variables outside the align environment... or add this possibility as separate code in case the the equation should be centered or numbered etc. (+1) -for the answers before and after mine- and (-1) -if I could- to the down-voter who didn't even left a comment to a newcomer that at least provided some code
– koleygr
3 hours ago
1
@koleygr: Thanks for your suggestion. I have added another suggestion on how to achieve a horizontally centered equation.
– leandriis
3 hours ago
add a comment |
Here is a competety different approach using variables instead of the text:
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
q^*_1 &=frac{A}{B-C} \
text{where}~A &= text{number of women who had their second birth in 1971} \
B &= text{number of women who had their first birth in 1970} \
C &= text{number of women who had their second birth in 1970} \
end{align*}
end{document}
For a horizontally centered equation one could use something like the following:
documentclass{article}
usepackage{amsmath}
begin{document}
begin{equation}
q^*_1 =frac{A}{B-C} nonumber
end{equation}
begin{align*}
text{where}~A &= text{number of women who had their second birth in 1971} \
B &= text{number of women who had their first birth in 1970} \
C &= text{number of women who had their second birth in 1970} \
end{align*}
end{document}
Here is a competety different approach using variables instead of the text:
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
q^*_1 &=frac{A}{B-C} \
text{where}~A &= text{number of women who had their second birth in 1971} \
B &= text{number of women who had their first birth in 1970} \
C &= text{number of women who had their second birth in 1970} \
end{align*}
end{document}
For a horizontally centered equation one could use something like the following:
documentclass{article}
usepackage{amsmath}
begin{document}
begin{equation}
q^*_1 =frac{A}{B-C} nonumber
end{equation}
begin{align*}
text{where}~A &= text{number of women who had their second birth in 1971} \
B &= text{number of women who had their first birth in 1970} \
C &= text{number of women who had their second birth in 1970} \
end{align*}
end{document}
edited 3 hours ago
answered 4 hours ago
leandriisleandriis
10.1k1531
10.1k1531
1
I think you should declare the variables outside the align environment... or add this possibility as separate code in case the the equation should be centered or numbered etc. (+1) -for the answers before and after mine- and (-1) -if I could- to the down-voter who didn't even left a comment to a newcomer that at least provided some code
– koleygr
3 hours ago
1
@koleygr: Thanks for your suggestion. I have added another suggestion on how to achieve a horizontally centered equation.
– leandriis
3 hours ago
add a comment |
1
I think you should declare the variables outside the align environment... or add this possibility as separate code in case the the equation should be centered or numbered etc. (+1) -for the answers before and after mine- and (-1) -if I could- to the down-voter who didn't even left a comment to a newcomer that at least provided some code
– koleygr
3 hours ago
1
@koleygr: Thanks for your suggestion. I have added another suggestion on how to achieve a horizontally centered equation.
– leandriis
3 hours ago
1
1
I think you should declare the variables outside the align environment... or add this possibility as separate code in case the the equation should be centered or numbered etc. (+1) -for the answers before and after mine- and (-1) -if I could- to the down-voter who didn't even left a comment to a newcomer that at least provided some code
– koleygr
3 hours ago
I think you should declare the variables outside the align environment... or add this possibility as separate code in case the the equation should be centered or numbered etc. (+1) -for the answers before and after mine- and (-1) -if I could- to the down-voter who didn't even left a comment to a newcomer that at least provided some code
– koleygr
3 hours ago
1
1
@koleygr: Thanks for your suggestion. I have added another suggestion on how to achieve a horizontally centered equation.
– leandriis
3 hours ago
@koleygr: Thanks for your suggestion. I have added another suggestion on how to achieve a horizontally centered equation.
– leandriis
3 hours ago
add a comment |
statistician is a new contributor. Be nice, and check out our Code of Conduct.
statistician is a new contributor. Be nice, and check out our Code of Conduct.
statistician is a new contributor. Be nice, and check out our Code of Conduct.
statistician is a new contributor. Be nice, and check out our Code of Conduct.
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%2f479691%2fhow-to-write-formula-in-word-in-latex%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
Welcome to TeX.SE! Well, I do not think that MS Word uses LaTeX, they use a subset of comands named as the commands in LaTeX. So it depends on the commands they defined. Please just check which commands are allowed, look for
parbox
or tabùlar` and try to use them ... In my opinion your question is off topic here (ask on a side specialised to MS Word please)– Kurt
3 hours ago
3
@Kurt, I think the question is on topic and the OP asks "how to write formula OF word in latex" but made some language mistake...
– koleygr
3 hours ago