New line does not appear in 'cases' environment
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
documentclass[12pt]report
begindocument
$$(v_n) begincases u_0=frac12 \ r=7 endcases$$
enddocument
Result :
I'm trying to make a multiline equation but when I use the code above it does not appear on multiple lines.
math-mode
New contributor
Gaëtan Ballèvre Rio 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
1
down vote
favorite
documentclass[12pt]report
begindocument
$$(v_n) begincases u_0=frac12 \ r=7 endcases$$
enddocument
Result :
I'm trying to make a multiline equation but when I use the code above it does not appear on multiple lines.
math-mode
New contributor
Gaëtan Ballèvre Rio 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.SE! Please make your code a full compilable example that shows your problem (starting fromdocumentclass
, ending inenddocument
and containing all the code and packages needed just to show clearly your problem -without not needed packages and extra code that has nothing to do with your problem-)... This is called a MWE (Minimal Working Example) and is almost a mast in order to get a fast and accurate answer.
– koleygr
1 hour ago
Thanks for the comment, just modified my question to be more understandable.
– Gaëtan Ballèvre Rio
52 mins ago
1
Welcome... I wanted to see there what is thespaces
environment and how to use it... But you miss-spelled thecases
... corrected.
– koleygr
51 mins ago
@GaëtanBallèvreRio The excellent user koleygr have written an important reason. You have not put any package for write your formula.
– Sebastiano
51 mins ago
For historical reasons, LaTeX defines acases
command, which is used here and it's just by chance you get no error.
– egreg
18 mins ago
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
documentclass[12pt]report
begindocument
$$(v_n) begincases u_0=frac12 \ r=7 endcases$$
enddocument
Result :
I'm trying to make a multiline equation but when I use the code above it does not appear on multiple lines.
math-mode
New contributor
Gaëtan Ballèvre Rio is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
documentclass[12pt]report
begindocument
$$(v_n) begincases u_0=frac12 \ r=7 endcases$$
enddocument
Result :
I'm trying to make a multiline equation but when I use the code above it does not appear on multiple lines.
math-mode
math-mode
New contributor
Gaëtan Ballèvre Rio is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Gaëtan Ballèvre Rio is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 26 mins ago


Mico
268k30362746
268k30362746
New contributor
Gaëtan Ballèvre Rio is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 1 hour ago
Gaëtan Ballèvre Rio
84
84
New contributor
Gaëtan Ballèvre Rio is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Gaëtan Ballèvre Rio is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Gaëtan Ballèvre Rio 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.SE! Please make your code a full compilable example that shows your problem (starting fromdocumentclass
, ending inenddocument
and containing all the code and packages needed just to show clearly your problem -without not needed packages and extra code that has nothing to do with your problem-)... This is called a MWE (Minimal Working Example) and is almost a mast in order to get a fast and accurate answer.
– koleygr
1 hour ago
Thanks for the comment, just modified my question to be more understandable.
– Gaëtan Ballèvre Rio
52 mins ago
1
Welcome... I wanted to see there what is thespaces
environment and how to use it... But you miss-spelled thecases
... corrected.
– koleygr
51 mins ago
@GaëtanBallèvreRio The excellent user koleygr have written an important reason. You have not put any package for write your formula.
– Sebastiano
51 mins ago
For historical reasons, LaTeX defines acases
command, which is used here and it's just by chance you get no error.
– egreg
18 mins ago
add a comment |Â
1
Welcome to TeX.SE! Please make your code a full compilable example that shows your problem (starting fromdocumentclass
, ending inenddocument
and containing all the code and packages needed just to show clearly your problem -without not needed packages and extra code that has nothing to do with your problem-)... This is called a MWE (Minimal Working Example) and is almost a mast in order to get a fast and accurate answer.
– koleygr
1 hour ago
Thanks for the comment, just modified my question to be more understandable.
– Gaëtan Ballèvre Rio
52 mins ago
1
Welcome... I wanted to see there what is thespaces
environment and how to use it... But you miss-spelled thecases
... corrected.
– koleygr
51 mins ago
@GaëtanBallèvreRio The excellent user koleygr have written an important reason. You have not put any package for write your formula.
– Sebastiano
51 mins ago
For historical reasons, LaTeX defines acases
command, which is used here and it's just by chance you get no error.
– egreg
18 mins ago
1
1
Welcome to TeX.SE! Please make your code a full compilable example that shows your problem (starting from
documentclass
, ending in enddocument
and containing all the code and packages needed just to show clearly your problem -without not needed packages and extra code that has nothing to do with your problem-)... This is called a MWE (Minimal Working Example) and is almost a mast in order to get a fast and accurate answer.– koleygr
1 hour ago
Welcome to TeX.SE! Please make your code a full compilable example that shows your problem (starting from
documentclass
, ending in enddocument
and containing all the code and packages needed just to show clearly your problem -without not needed packages and extra code that has nothing to do with your problem-)... This is called a MWE (Minimal Working Example) and is almost a mast in order to get a fast and accurate answer.– koleygr
1 hour ago
Thanks for the comment, just modified my question to be more understandable.
– Gaëtan Ballèvre Rio
52 mins ago
Thanks for the comment, just modified my question to be more understandable.
– Gaëtan Ballèvre Rio
52 mins ago
1
1
Welcome... I wanted to see there what is the
spaces
environment and how to use it... But you miss-spelled the cases
... corrected.– koleygr
51 mins ago
Welcome... I wanted to see there what is the
spaces
environment and how to use it... But you miss-spelled the cases
... corrected.– koleygr
51 mins ago
@GaëtanBallèvreRio The excellent user koleygr have written an important reason. You have not put any package for write your formula.
– Sebastiano
51 mins ago
@GaëtanBallèvreRio The excellent user koleygr have written an important reason. You have not put any package for write your formula.
– Sebastiano
51 mins ago
For historical reasons, LaTeX defines a
cases
command, which is used here and it's just by chance you get no error.– egreg
18 mins ago
For historical reasons, LaTeX defines a
cases
command, which is used here and it's just by chance you get no error.– egreg
18 mins ago
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
4
down vote
accepted
Two observations:
The double sign (
$$...$$
) method of initiating and terminating display-math material is deprecated in LaTeX documents. You should use[...]
instead.It is very important to know your preamble. The
cases
environment is not defined by the LaTeX kernel. It's necessary to load either theamsmath
package or themathtools
package (a superset of theamsmath
package) in order to be able to use thecases
environment.
documentclass[12pt]article
usepackagemathtools
begindocument
[(v_n) =begincases u_0=frac12 \ r=7 endcases]
enddocument
Thanks for the answer, importing themathtools
package solved the problem. I don't quite understand why but it's working ! Also thanks for the good practice of using[...]
instead of$$...$$
.
– Gaëtan Ballèvre Rio
45 mins ago
1
We are here to help all of us and we all have to help each other. For me this is the spirit of the TeX.SE site which is an excellent site where there are very good people. Your code can work very well using other packages, but it is also important that you insert next time a complete small example that reproduces the problem and that you also read some guides. I'll send you my regards.
– Sebastiano
41 mins ago
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
accepted
Two observations:
The double sign (
$$...$$
) method of initiating and terminating display-math material is deprecated in LaTeX documents. You should use[...]
instead.It is very important to know your preamble. The
cases
environment is not defined by the LaTeX kernel. It's necessary to load either theamsmath
package or themathtools
package (a superset of theamsmath
package) in order to be able to use thecases
environment.
documentclass[12pt]article
usepackagemathtools
begindocument
[(v_n) =begincases u_0=frac12 \ r=7 endcases]
enddocument
Thanks for the answer, importing themathtools
package solved the problem. I don't quite understand why but it's working ! Also thanks for the good practice of using[...]
instead of$$...$$
.
– Gaëtan Ballèvre Rio
45 mins ago
1
We are here to help all of us and we all have to help each other. For me this is the spirit of the TeX.SE site which is an excellent site where there are very good people. Your code can work very well using other packages, but it is also important that you insert next time a complete small example that reproduces the problem and that you also read some guides. I'll send you my regards.
– Sebastiano
41 mins ago
add a comment |Â
up vote
4
down vote
accepted
Two observations:
The double sign (
$$...$$
) method of initiating and terminating display-math material is deprecated in LaTeX documents. You should use[...]
instead.It is very important to know your preamble. The
cases
environment is not defined by the LaTeX kernel. It's necessary to load either theamsmath
package or themathtools
package (a superset of theamsmath
package) in order to be able to use thecases
environment.
documentclass[12pt]article
usepackagemathtools
begindocument
[(v_n) =begincases u_0=frac12 \ r=7 endcases]
enddocument
Thanks for the answer, importing themathtools
package solved the problem. I don't quite understand why but it's working ! Also thanks for the good practice of using[...]
instead of$$...$$
.
– Gaëtan Ballèvre Rio
45 mins ago
1
We are here to help all of us and we all have to help each other. For me this is the spirit of the TeX.SE site which is an excellent site where there are very good people. Your code can work very well using other packages, but it is also important that you insert next time a complete small example that reproduces the problem and that you also read some guides. I'll send you my regards.
– Sebastiano
41 mins ago
add a comment |Â
up vote
4
down vote
accepted
up vote
4
down vote
accepted
Two observations:
The double sign (
$$...$$
) method of initiating and terminating display-math material is deprecated in LaTeX documents. You should use[...]
instead.It is very important to know your preamble. The
cases
environment is not defined by the LaTeX kernel. It's necessary to load either theamsmath
package or themathtools
package (a superset of theamsmath
package) in order to be able to use thecases
environment.
documentclass[12pt]article
usepackagemathtools
begindocument
[(v_n) =begincases u_0=frac12 \ r=7 endcases]
enddocument
Two observations:
The double sign (
$$...$$
) method of initiating and terminating display-math material is deprecated in LaTeX documents. You should use[...]
instead.It is very important to know your preamble. The
cases
environment is not defined by the LaTeX kernel. It's necessary to load either theamsmath
package or themathtools
package (a superset of theamsmath
package) in order to be able to use thecases
environment.
documentclass[12pt]article
usepackagemathtools
begindocument
[(v_n) =begincases u_0=frac12 \ r=7 endcases]
enddocument
edited 29 mins ago


Mico
268k30362746
268k30362746
answered 56 mins ago
Sebastiano
8,11241754
8,11241754
Thanks for the answer, importing themathtools
package solved the problem. I don't quite understand why but it's working ! Also thanks for the good practice of using[...]
instead of$$...$$
.
– Gaëtan Ballèvre Rio
45 mins ago
1
We are here to help all of us and we all have to help each other. For me this is the spirit of the TeX.SE site which is an excellent site where there are very good people. Your code can work very well using other packages, but it is also important that you insert next time a complete small example that reproduces the problem and that you also read some guides. I'll send you my regards.
– Sebastiano
41 mins ago
add a comment |Â
Thanks for the answer, importing themathtools
package solved the problem. I don't quite understand why but it's working ! Also thanks for the good practice of using[...]
instead of$$...$$
.
– Gaëtan Ballèvre Rio
45 mins ago
1
We are here to help all of us and we all have to help each other. For me this is the spirit of the TeX.SE site which is an excellent site where there are very good people. Your code can work very well using other packages, but it is also important that you insert next time a complete small example that reproduces the problem and that you also read some guides. I'll send you my regards.
– Sebastiano
41 mins ago
Thanks for the answer, importing the
mathtools
package solved the problem. I don't quite understand why but it's working ! Also thanks for the good practice of using [...]
instead of $$...$$
.– Gaëtan Ballèvre Rio
45 mins ago
Thanks for the answer, importing the
mathtools
package solved the problem. I don't quite understand why but it's working ! Also thanks for the good practice of using [...]
instead of $$...$$
.– Gaëtan Ballèvre Rio
45 mins ago
1
1
We are here to help all of us and we all have to help each other. For me this is the spirit of the TeX.SE site which is an excellent site where there are very good people. Your code can work very well using other packages, but it is also important that you insert next time a complete small example that reproduces the problem and that you also read some guides. I'll send you my regards.
– Sebastiano
41 mins ago
We are here to help all of us and we all have to help each other. For me this is the spirit of the TeX.SE site which is an excellent site where there are very good people. Your code can work very well using other packages, but it is also important that you insert next time a complete small example that reproduces the problem and that you also read some guides. I'll send you my regards.
– Sebastiano
41 mins ago
add a comment |Â
Gaëtan Ballèvre Rio is a new contributor. Be nice, and check out our Code of Conduct.
Gaëtan Ballèvre Rio is a new contributor. Be nice, and check out our Code of Conduct.
Gaëtan Ballèvre Rio is a new contributor. Be nice, and check out our Code of Conduct.
Gaëtan Ballèvre Rio 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%2f458927%2fnew-line-does-not-appear-in-cases-environment%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.SE! Please make your code a full compilable example that shows your problem (starting from
documentclass
, ending inenddocument
and containing all the code and packages needed just to show clearly your problem -without not needed packages and extra code that has nothing to do with your problem-)... This is called a MWE (Minimal Working Example) and is almost a mast in order to get a fast and accurate answer.– koleygr
1 hour ago
Thanks for the comment, just modified my question to be more understandable.
– Gaëtan Ballèvre Rio
52 mins ago
1
Welcome... I wanted to see there what is the
spaces
environment and how to use it... But you miss-spelled thecases
... corrected.– koleygr
51 mins ago
@GaëtanBallèvreRio The excellent user koleygr have written an important reason. You have not put any package for write your formula.
– Sebastiano
51 mins ago
For historical reasons, LaTeX defines a
cases
command, which is used here and it's just by chance you get no error.– egreg
18 mins ago