How to write cases in LaTeX?Capital Sigma in bold mathrmUndefined control sequence error for sum expression...
How do I add a strong "onion flavor" to the biryani (in restaurant style)?
Why did Mr. Elliot have to decide whose boots were thickest in "Persuasion"?
Why do neural networks need so many examples to perform?
Taking an academic pseudonym?
Is there any way to make an Apex method parameter lazy?
Was there a pre-determined arrangement for the division of Germany in case it surrendered before any Soviet forces entered its territory?
Is there a non trivial covering of the Klein bottle by the Klein bottle
Possible issue with my W4 and tax return
Charging phone battery with a lower voltage, coming from a bike charger?
Why didn't Tom Riddle take the presence of Fawkes and the Sorting Hat as more of a threat?
What is a good way to explain how a character can produce flames from their body?
"Starve to death" Vs. "Starve to the point of death"
How do I avoid the "chosen hero" feeling?
Concatenating two int[]
Plausible reason for gold-digging ant
Is there a file that always exists and a 'normal' user can't lstat it?
What to do with threats of blacklisting?
Coombinatorics- The number of ways of choosing with parameters
Caron Accent v{a} doesn't render without usepackage{xeCJK}
Context html export bibliography
Illustrator to chemdraw
What is the draw frequency for 3 consecutive games (same players; amateur level)?
Why is 'diphthong' not pronounced otherwise?
Sitecore 9.1 Installation - Skip to particular step
How to write cases in LaTeX?
Capital Sigma in bold mathrmUndefined control sequence error for sum expression in equationEquation: How to create nested/multiple cases in LaTeX to align the qualifiersHow to break a line in a long equation?mathpazo package and changing font within begin{equation} … end{equation}Cases with long text at the end.How to place a sim over equiv similar to simeq and cong?Itemize with cases in beamerHow to align two begin{equation}begin{cases}?Parenthesis vertically misaligned in “cases” environment
I want to write following system of equation in my paper, but I don't know how:
Here is a code that I've tried, but it does not work:
Rgeqslant R_t equiv begin{cases} frac{r_{t+1} (1-W(k_t)}{f'(k{t+1}
lambda} &mbox{if } k_t < K(lambda) \
frac{r_{t+1}}{f'(k_{t+1})} & mbox{if } k_tgeqslant K(lambda)
end{cases}
Any suggestions will be very helpful. Thanks
math-mode cases
New contributor
add a comment |
I want to write following system of equation in my paper, but I don't know how:
Here is a code that I've tried, but it does not work:
Rgeqslant R_t equiv begin{cases} frac{r_{t+1} (1-W(k_t)}{f'(k{t+1}
lambda} &mbox{if } k_t < K(lambda) \
frac{r_{t+1}}{f'(k_{t+1})} & mbox{if } k_tgeqslant K(lambda)
end{cases}
Any suggestions will be very helpful. Thanks
math-mode cases
New contributor
Excuse me but the code is different from the image. Have I understood well?
– Sebastiano
21 mins ago
add a comment |
I want to write following system of equation in my paper, but I don't know how:
Here is a code that I've tried, but it does not work:
Rgeqslant R_t equiv begin{cases} frac{r_{t+1} (1-W(k_t)}{f'(k{t+1}
lambda} &mbox{if } k_t < K(lambda) \
frac{r_{t+1}}{f'(k_{t+1})} & mbox{if } k_tgeqslant K(lambda)
end{cases}
Any suggestions will be very helpful. Thanks
math-mode cases
New contributor
I want to write following system of equation in my paper, but I don't know how:
Here is a code that I've tried, but it does not work:
Rgeqslant R_t equiv begin{cases} frac{r_{t+1} (1-W(k_t)}{f'(k{t+1}
lambda} &mbox{if } k_t < K(lambda) \
frac{r_{t+1}}{f'(k_{t+1})} & mbox{if } k_tgeqslant K(lambda)
end{cases}
Any suggestions will be very helpful. Thanks
math-mode cases
math-mode cases
New contributor
New contributor
edited 26 mins ago
siracusa
5,04011429
5,04011429
New contributor
asked 36 mins ago
Nurzada DiushalievaNurzada Diushalieva
161
161
New contributor
New contributor
Excuse me but the code is different from the image. Have I understood well?
– Sebastiano
21 mins ago
add a comment |
Excuse me but the code is different from the image. Have I understood well?
– Sebastiano
21 mins ago
Excuse me but the code is different from the image. Have I understood well?
– Sebastiano
21 mins ago
Excuse me but the code is different from the image. Have I understood well?
– Sebastiano
21 mins ago
add a comment |
2 Answers
2
active
oldest
votes
I would load the mathtools
package, which is a superset of the amsmath
package, and employ that package's dcases*
environment.
documentclass{article}
usepackage{mathtools} % for 'dcases*' env.
begin{document}
[
Rge R_t equiv
begin{dcases*}
frac{r_{t+1}}{f'(k_{t+1})}frac{1-W(k_t)}{lambda}
& if $k_t < K(lambda)$,, \[1ex]
frac{r_{t+1}}{f'(k_{t+1})}
& if $k_tge K(lambda)$,.
end{dcases*}
]
end{document}
add a comment |
Welcome to TeX.SE. Here my (fast) proposal from your original code:
documentclass[12pt]{article}
usepackage{amsmath,amssymb}
begin{document}
[Rgeqslant R_t equiv begin{cases} dfrac{r_{t+1} (1-W(k_t))}{f'(k{t+1}
lambda)} &mbox{if } k_t < K(lambda) \
&\
dfrac{r_{t+1}}{f'(k_{t+1})} & mbox{if } k_tgeqslant K(lambda)
end{cases}]
end{document}
EDIT: By correct comment of @Yorgos:
documentclass[12pt]{article}
usepackage{amsmath,amssymb}
begin{document}
[
Rgeqslant R_t equiv
begin{cases}
dfrac{r_{t+1} (1-W(k_t))}{f'(k{t+1} lambda)}
& text{if } k_t < K(lambda) \
&\ % blank row
dfrac{r_{t+1}}{f'(k_{t+1})}
& text{if } k_tgeqslant K(lambda)
end{cases}
]
end{document}
1
i don't think thatmbox
is necessary, since&
aligns. also i preferequation
environment, since it allows for numbering the equation
– Yorgos
30 mins ago
@Yorgos I accept your suggestion correctly. I have only taken the code from the user. :(
– Sebastiano
28 mins ago
@Sebastiano Thanks a lot :)
– Nurzada Diushalieva
17 mins ago
I believe that thek{t+1}
term in the first denominator should be changed tok_{t+1}
.
– Mico
16 mins 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
});
}
});
Nurzada Diushalieva 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%2f476591%2fhow-to-write-cases-in-latex%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
I would load the mathtools
package, which is a superset of the amsmath
package, and employ that package's dcases*
environment.
documentclass{article}
usepackage{mathtools} % for 'dcases*' env.
begin{document}
[
Rge R_t equiv
begin{dcases*}
frac{r_{t+1}}{f'(k_{t+1})}frac{1-W(k_t)}{lambda}
& if $k_t < K(lambda)$,, \[1ex]
frac{r_{t+1}}{f'(k_{t+1})}
& if $k_tge K(lambda)$,.
end{dcases*}
]
end{document}
add a comment |
I would load the mathtools
package, which is a superset of the amsmath
package, and employ that package's dcases*
environment.
documentclass{article}
usepackage{mathtools} % for 'dcases*' env.
begin{document}
[
Rge R_t equiv
begin{dcases*}
frac{r_{t+1}}{f'(k_{t+1})}frac{1-W(k_t)}{lambda}
& if $k_t < K(lambda)$,, \[1ex]
frac{r_{t+1}}{f'(k_{t+1})}
& if $k_tge K(lambda)$,.
end{dcases*}
]
end{document}
add a comment |
I would load the mathtools
package, which is a superset of the amsmath
package, and employ that package's dcases*
environment.
documentclass{article}
usepackage{mathtools} % for 'dcases*' env.
begin{document}
[
Rge R_t equiv
begin{dcases*}
frac{r_{t+1}}{f'(k_{t+1})}frac{1-W(k_t)}{lambda}
& if $k_t < K(lambda)$,, \[1ex]
frac{r_{t+1}}{f'(k_{t+1})}
& if $k_tge K(lambda)$,.
end{dcases*}
]
end{document}
I would load the mathtools
package, which is a superset of the amsmath
package, and employ that package's dcases*
environment.
documentclass{article}
usepackage{mathtools} % for 'dcases*' env.
begin{document}
[
Rge R_t equiv
begin{dcases*}
frac{r_{t+1}}{f'(k_{t+1})}frac{1-W(k_t)}{lambda}
& if $k_t < K(lambda)$,, \[1ex]
frac{r_{t+1}}{f'(k_{t+1})}
& if $k_tge K(lambda)$,.
end{dcases*}
]
end{document}
answered 19 mins ago
MicoMico
280k31383771
280k31383771
add a comment |
add a comment |
Welcome to TeX.SE. Here my (fast) proposal from your original code:
documentclass[12pt]{article}
usepackage{amsmath,amssymb}
begin{document}
[Rgeqslant R_t equiv begin{cases} dfrac{r_{t+1} (1-W(k_t))}{f'(k{t+1}
lambda)} &mbox{if } k_t < K(lambda) \
&\
dfrac{r_{t+1}}{f'(k_{t+1})} & mbox{if } k_tgeqslant K(lambda)
end{cases}]
end{document}
EDIT: By correct comment of @Yorgos:
documentclass[12pt]{article}
usepackage{amsmath,amssymb}
begin{document}
[
Rgeqslant R_t equiv
begin{cases}
dfrac{r_{t+1} (1-W(k_t))}{f'(k{t+1} lambda)}
& text{if } k_t < K(lambda) \
&\ % blank row
dfrac{r_{t+1}}{f'(k_{t+1})}
& text{if } k_tgeqslant K(lambda)
end{cases}
]
end{document}
1
i don't think thatmbox
is necessary, since&
aligns. also i preferequation
environment, since it allows for numbering the equation
– Yorgos
30 mins ago
@Yorgos I accept your suggestion correctly. I have only taken the code from the user. :(
– Sebastiano
28 mins ago
@Sebastiano Thanks a lot :)
– Nurzada Diushalieva
17 mins ago
I believe that thek{t+1}
term in the first denominator should be changed tok_{t+1}
.
– Mico
16 mins ago
add a comment |
Welcome to TeX.SE. Here my (fast) proposal from your original code:
documentclass[12pt]{article}
usepackage{amsmath,amssymb}
begin{document}
[Rgeqslant R_t equiv begin{cases} dfrac{r_{t+1} (1-W(k_t))}{f'(k{t+1}
lambda)} &mbox{if } k_t < K(lambda) \
&\
dfrac{r_{t+1}}{f'(k_{t+1})} & mbox{if } k_tgeqslant K(lambda)
end{cases}]
end{document}
EDIT: By correct comment of @Yorgos:
documentclass[12pt]{article}
usepackage{amsmath,amssymb}
begin{document}
[
Rgeqslant R_t equiv
begin{cases}
dfrac{r_{t+1} (1-W(k_t))}{f'(k{t+1} lambda)}
& text{if } k_t < K(lambda) \
&\ % blank row
dfrac{r_{t+1}}{f'(k_{t+1})}
& text{if } k_tgeqslant K(lambda)
end{cases}
]
end{document}
1
i don't think thatmbox
is necessary, since&
aligns. also i preferequation
environment, since it allows for numbering the equation
– Yorgos
30 mins ago
@Yorgos I accept your suggestion correctly. I have only taken the code from the user. :(
– Sebastiano
28 mins ago
@Sebastiano Thanks a lot :)
– Nurzada Diushalieva
17 mins ago
I believe that thek{t+1}
term in the first denominator should be changed tok_{t+1}
.
– Mico
16 mins ago
add a comment |
Welcome to TeX.SE. Here my (fast) proposal from your original code:
documentclass[12pt]{article}
usepackage{amsmath,amssymb}
begin{document}
[Rgeqslant R_t equiv begin{cases} dfrac{r_{t+1} (1-W(k_t))}{f'(k{t+1}
lambda)} &mbox{if } k_t < K(lambda) \
&\
dfrac{r_{t+1}}{f'(k_{t+1})} & mbox{if } k_tgeqslant K(lambda)
end{cases}]
end{document}
EDIT: By correct comment of @Yorgos:
documentclass[12pt]{article}
usepackage{amsmath,amssymb}
begin{document}
[
Rgeqslant R_t equiv
begin{cases}
dfrac{r_{t+1} (1-W(k_t))}{f'(k{t+1} lambda)}
& text{if } k_t < K(lambda) \
&\ % blank row
dfrac{r_{t+1}}{f'(k_{t+1})}
& text{if } k_tgeqslant K(lambda)
end{cases}
]
end{document}
Welcome to TeX.SE. Here my (fast) proposal from your original code:
documentclass[12pt]{article}
usepackage{amsmath,amssymb}
begin{document}
[Rgeqslant R_t equiv begin{cases} dfrac{r_{t+1} (1-W(k_t))}{f'(k{t+1}
lambda)} &mbox{if } k_t < K(lambda) \
&\
dfrac{r_{t+1}}{f'(k_{t+1})} & mbox{if } k_tgeqslant K(lambda)
end{cases}]
end{document}
EDIT: By correct comment of @Yorgos:
documentclass[12pt]{article}
usepackage{amsmath,amssymb}
begin{document}
[
Rgeqslant R_t equiv
begin{cases}
dfrac{r_{t+1} (1-W(k_t))}{f'(k{t+1} lambda)}
& text{if } k_t < K(lambda) \
&\ % blank row
dfrac{r_{t+1}}{f'(k_{t+1})}
& text{if } k_tgeqslant K(lambda)
end{cases}
]
end{document}
edited 17 mins ago
Mico
280k31383771
280k31383771
answered 32 mins ago
SebastianoSebastiano
10.2k41960
10.2k41960
1
i don't think thatmbox
is necessary, since&
aligns. also i preferequation
environment, since it allows for numbering the equation
– Yorgos
30 mins ago
@Yorgos I accept your suggestion correctly. I have only taken the code from the user. :(
– Sebastiano
28 mins ago
@Sebastiano Thanks a lot :)
– Nurzada Diushalieva
17 mins ago
I believe that thek{t+1}
term in the first denominator should be changed tok_{t+1}
.
– Mico
16 mins ago
add a comment |
1
i don't think thatmbox
is necessary, since&
aligns. also i preferequation
environment, since it allows for numbering the equation
– Yorgos
30 mins ago
@Yorgos I accept your suggestion correctly. I have only taken the code from the user. :(
– Sebastiano
28 mins ago
@Sebastiano Thanks a lot :)
– Nurzada Diushalieva
17 mins ago
I believe that thek{t+1}
term in the first denominator should be changed tok_{t+1}
.
– Mico
16 mins ago
1
1
i don't think that
mbox
is necessary, since &
aligns. also i prefer equation
environment, since it allows for numbering the equation– Yorgos
30 mins ago
i don't think that
mbox
is necessary, since &
aligns. also i prefer equation
environment, since it allows for numbering the equation– Yorgos
30 mins ago
@Yorgos I accept your suggestion correctly. I have only taken the code from the user. :(
– Sebastiano
28 mins ago
@Yorgos I accept your suggestion correctly. I have only taken the code from the user. :(
– Sebastiano
28 mins ago
@Sebastiano Thanks a lot :)
– Nurzada Diushalieva
17 mins ago
@Sebastiano Thanks a lot :)
– Nurzada Diushalieva
17 mins ago
I believe that the
k{t+1}
term in the first denominator should be changed to k_{t+1}
.– Mico
16 mins ago
I believe that the
k{t+1}
term in the first denominator should be changed to k_{t+1}
.– Mico
16 mins ago
add a comment |
Nurzada Diushalieva is a new contributor. Be nice, and check out our Code of Conduct.
Nurzada Diushalieva is a new contributor. Be nice, and check out our Code of Conduct.
Nurzada Diushalieva is a new contributor. Be nice, and check out our Code of Conduct.
Nurzada Diushalieva 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%2f476591%2fhow-to-write-cases-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
Excuse me but the code is different from the image. Have I understood well?
– Sebastiano
21 mins ago