How to left alignment of formulas in parentheses?











up vote
3
down vote

favorite












I want the follow one, but my code dosen't achieve, can someone help?
enter image description here



my code:



begin{equation}
begin{aligned}
rho=left{
begin{array}{lr}
0, & |v_{y}^{CH}|<V_{1}^{T} \
y=0.5, & V_{1}^{T}leq |v_{y}^{CH}|leq V_{2}^{T}, \
z=1, & |v_{y}^{CH}|> V_{2}^{T}
end{array}
right.
end{aligned}
end{equation}


the result of my code:
enter image description here










share|improve this question







New contributor




berlinpand is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1




    You might also want to have a look at the cases environment provided by the amsmath package (see the end of section 3.7 of its manual), as well as at the variants thereof added by the mathtools package (see section 3.4.3 of its manual).
    – GuM
    2 days ago

















up vote
3
down vote

favorite












I want the follow one, but my code dosen't achieve, can someone help?
enter image description here



my code:



begin{equation}
begin{aligned}
rho=left{
begin{array}{lr}
0, & |v_{y}^{CH}|<V_{1}^{T} \
y=0.5, & V_{1}^{T}leq |v_{y}^{CH}|leq V_{2}^{T}, \
z=1, & |v_{y}^{CH}|> V_{2}^{T}
end{array}
right.
end{aligned}
end{equation}


the result of my code:
enter image description here










share|improve this question







New contributor




berlinpand is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1




    You might also want to have a look at the cases environment provided by the amsmath package (see the end of section 3.7 of its manual), as well as at the variants thereof added by the mathtools package (see section 3.4.3 of its manual).
    – GuM
    2 days ago















up vote
3
down vote

favorite









up vote
3
down vote

favorite











I want the follow one, but my code dosen't achieve, can someone help?
enter image description here



my code:



begin{equation}
begin{aligned}
rho=left{
begin{array}{lr}
0, & |v_{y}^{CH}|<V_{1}^{T} \
y=0.5, & V_{1}^{T}leq |v_{y}^{CH}|leq V_{2}^{T}, \
z=1, & |v_{y}^{CH}|> V_{2}^{T}
end{array}
right.
end{aligned}
end{equation}


the result of my code:
enter image description here










share|improve this question







New contributor




berlinpand is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I want the follow one, but my code dosen't achieve, can someone help?
enter image description here



my code:



begin{equation}
begin{aligned}
rho=left{
begin{array}{lr}
0, & |v_{y}^{CH}|<V_{1}^{T} \
y=0.5, & V_{1}^{T}leq |v_{y}^{CH}|leq V_{2}^{T}, \
z=1, & |v_{y}^{CH}|> V_{2}^{T}
end{array}
right.
end{aligned}
end{equation}


the result of my code:
enter image description here







equations alignment






share|improve this question







New contributor




berlinpand is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




berlinpand is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




berlinpand is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 days ago









berlinpand

283




283




New contributor




berlinpand is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





berlinpand is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






berlinpand is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 1




    You might also want to have a look at the cases environment provided by the amsmath package (see the end of section 3.7 of its manual), as well as at the variants thereof added by the mathtools package (see section 3.4.3 of its manual).
    – GuM
    2 days ago
















  • 1




    You might also want to have a look at the cases environment provided by the amsmath package (see the end of section 3.7 of its manual), as well as at the variants thereof added by the mathtools package (see section 3.4.3 of its manual).
    – GuM
    2 days ago










1




1




You might also want to have a look at the cases environment provided by the amsmath package (see the end of section 3.7 of its manual), as well as at the variants thereof added by the mathtools package (see section 3.4.3 of its manual).
– GuM
2 days ago






You might also want to have a look at the cases environment provided by the amsmath package (see the end of section 3.7 of its manual), as well as at the variants thereof added by the mathtools package (see section 3.4.3 of its manual).
– GuM
2 days ago












2 Answers
2






active

oldest

votes

















up vote
5
down vote



accepted










Just declare the table with ll and not lr



begin{array}{ll}


array



documentclass[a4paper]{article}
usepackage{amsmath}
begin{document}
begin{equation}
begin{aligned}
rho=left{
begin{array}{ll}
0, & |v_{y}^{CH}|<V_{1}^{T} \
y=0.5, & V_{1}^{T}leq |v_{y}^{CH}|leq V_{2}^{T}, \
z=1, & |v_{y}^{CH}|> V_{2}^{T}
end{array}
right.
end{aligned}
end{equation}
end{document}





share|improve this answer





















  • oh``thank for your help, I think I just asked a stupid question...but thanks again!!
    – berlinpand
    2 days ago










  • @berlinpand That's what I like about LaTeX: even after several years of practice, I'm still a beginner!
    – AndréC
    2 days ago


















up vote
9
down vote













Why not use a simple cases environment?



documentclass[a4paper]{article}
usepackage{amsmath}

begin{document}

begin{equation}
rho=
begin{cases}
0, & |v_{y}^{CH}|<V_{1}^{T} \[1ex]
y=0.5, & V_{1}^{T}leq |v_{y}^{CH}|leq V_{2}^{T}, \[1ex]
z=1, & |v_{y}^{CH}|> V_{2}^{T}
end{cases}
end{equation}

end{document}


enter image description here






share|improve this answer





















  • Thank for your answer! ! I will try later
    – berlinpand
    2 days ago










  • This one looks much better
    – MCMastery
    2 days ago











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',
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
});


}
});






berlinpand is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f461531%2fhow-to-left-alignment-of-formulas-in-parentheses%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








up vote
5
down vote



accepted










Just declare the table with ll and not lr



begin{array}{ll}


array



documentclass[a4paper]{article}
usepackage{amsmath}
begin{document}
begin{equation}
begin{aligned}
rho=left{
begin{array}{ll}
0, & |v_{y}^{CH}|<V_{1}^{T} \
y=0.5, & V_{1}^{T}leq |v_{y}^{CH}|leq V_{2}^{T}, \
z=1, & |v_{y}^{CH}|> V_{2}^{T}
end{array}
right.
end{aligned}
end{equation}
end{document}





share|improve this answer





















  • oh``thank for your help, I think I just asked a stupid question...but thanks again!!
    – berlinpand
    2 days ago










  • @berlinpand That's what I like about LaTeX: even after several years of practice, I'm still a beginner!
    – AndréC
    2 days ago















up vote
5
down vote



accepted










Just declare the table with ll and not lr



begin{array}{ll}


array



documentclass[a4paper]{article}
usepackage{amsmath}
begin{document}
begin{equation}
begin{aligned}
rho=left{
begin{array}{ll}
0, & |v_{y}^{CH}|<V_{1}^{T} \
y=0.5, & V_{1}^{T}leq |v_{y}^{CH}|leq V_{2}^{T}, \
z=1, & |v_{y}^{CH}|> V_{2}^{T}
end{array}
right.
end{aligned}
end{equation}
end{document}





share|improve this answer





















  • oh``thank for your help, I think I just asked a stupid question...but thanks again!!
    – berlinpand
    2 days ago










  • @berlinpand That's what I like about LaTeX: even after several years of practice, I'm still a beginner!
    – AndréC
    2 days ago













up vote
5
down vote



accepted







up vote
5
down vote



accepted






Just declare the table with ll and not lr



begin{array}{ll}


array



documentclass[a4paper]{article}
usepackage{amsmath}
begin{document}
begin{equation}
begin{aligned}
rho=left{
begin{array}{ll}
0, & |v_{y}^{CH}|<V_{1}^{T} \
y=0.5, & V_{1}^{T}leq |v_{y}^{CH}|leq V_{2}^{T}, \
z=1, & |v_{y}^{CH}|> V_{2}^{T}
end{array}
right.
end{aligned}
end{equation}
end{document}





share|improve this answer












Just declare the table with ll and not lr



begin{array}{ll}


array



documentclass[a4paper]{article}
usepackage{amsmath}
begin{document}
begin{equation}
begin{aligned}
rho=left{
begin{array}{ll}
0, & |v_{y}^{CH}|<V_{1}^{T} \
y=0.5, & V_{1}^{T}leq |v_{y}^{CH}|leq V_{2}^{T}, \
z=1, & |v_{y}^{CH}|> V_{2}^{T}
end{array}
right.
end{aligned}
end{equation}
end{document}






share|improve this answer












share|improve this answer



share|improve this answer










answered 2 days ago









AndréC

6,24711140




6,24711140












  • oh``thank for your help, I think I just asked a stupid question...but thanks again!!
    – berlinpand
    2 days ago










  • @berlinpand That's what I like about LaTeX: even after several years of practice, I'm still a beginner!
    – AndréC
    2 days ago


















  • oh``thank for your help, I think I just asked a stupid question...but thanks again!!
    – berlinpand
    2 days ago










  • @berlinpand That's what I like about LaTeX: even after several years of practice, I'm still a beginner!
    – AndréC
    2 days ago
















oh``thank for your help, I think I just asked a stupid question...but thanks again!!
– berlinpand
2 days ago




oh``thank for your help, I think I just asked a stupid question...but thanks again!!
– berlinpand
2 days ago












@berlinpand That's what I like about LaTeX: even after several years of practice, I'm still a beginner!
– AndréC
2 days ago




@berlinpand That's what I like about LaTeX: even after several years of practice, I'm still a beginner!
– AndréC
2 days ago










up vote
9
down vote













Why not use a simple cases environment?



documentclass[a4paper]{article}
usepackage{amsmath}

begin{document}

begin{equation}
rho=
begin{cases}
0, & |v_{y}^{CH}|<V_{1}^{T} \[1ex]
y=0.5, & V_{1}^{T}leq |v_{y}^{CH}|leq V_{2}^{T}, \[1ex]
z=1, & |v_{y}^{CH}|> V_{2}^{T}
end{cases}
end{equation}

end{document}


enter image description here






share|improve this answer





















  • Thank for your answer! ! I will try later
    – berlinpand
    2 days ago










  • This one looks much better
    – MCMastery
    2 days ago















up vote
9
down vote













Why not use a simple cases environment?



documentclass[a4paper]{article}
usepackage{amsmath}

begin{document}

begin{equation}
rho=
begin{cases}
0, & |v_{y}^{CH}|<V_{1}^{T} \[1ex]
y=0.5, & V_{1}^{T}leq |v_{y}^{CH}|leq V_{2}^{T}, \[1ex]
z=1, & |v_{y}^{CH}|> V_{2}^{T}
end{cases}
end{equation}

end{document}


enter image description here






share|improve this answer





















  • Thank for your answer! ! I will try later
    – berlinpand
    2 days ago










  • This one looks much better
    – MCMastery
    2 days ago













up vote
9
down vote










up vote
9
down vote









Why not use a simple cases environment?



documentclass[a4paper]{article}
usepackage{amsmath}

begin{document}

begin{equation}
rho=
begin{cases}
0, & |v_{y}^{CH}|<V_{1}^{T} \[1ex]
y=0.5, & V_{1}^{T}leq |v_{y}^{CH}|leq V_{2}^{T}, \[1ex]
z=1, & |v_{y}^{CH}|> V_{2}^{T}
end{cases}
end{equation}

end{document}


enter image description here






share|improve this answer












Why not use a simple cases environment?



documentclass[a4paper]{article}
usepackage{amsmath}

begin{document}

begin{equation}
rho=
begin{cases}
0, & |v_{y}^{CH}|<V_{1}^{T} \[1ex]
y=0.5, & V_{1}^{T}leq |v_{y}^{CH}|leq V_{2}^{T}, \[1ex]
z=1, & |v_{y}^{CH}|> V_{2}^{T}
end{cases}
end{equation}

end{document}


enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered 2 days ago









Bernard

162k767192




162k767192












  • Thank for your answer! ! I will try later
    – berlinpand
    2 days ago










  • This one looks much better
    – MCMastery
    2 days ago


















  • Thank for your answer! ! I will try later
    – berlinpand
    2 days ago










  • This one looks much better
    – MCMastery
    2 days ago
















Thank for your answer! ! I will try later
– berlinpand
2 days ago




Thank for your answer! ! I will try later
– berlinpand
2 days ago












This one looks much better
– MCMastery
2 days ago




This one looks much better
– MCMastery
2 days ago










berlinpand is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















berlinpand is a new contributor. Be nice, and check out our Code of Conduct.













berlinpand is a new contributor. Be nice, and check out our Code of Conduct.












berlinpand is a new contributor. Be nice, and check out our Code of Conduct.















 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f461531%2fhow-to-left-alignment-of-formulas-in-parentheses%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Paul Cézanne

UIScrollView CustomStickyHeader Resize height generates problems when scroll is too fast

Angular material date-picker (MatDatepicker) auto completes the date on focus out