How to left alignment of formulas in parentheses?












3















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


















  • 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
    Nov 24 '18 at 10:35


















3















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


















  • 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
    Nov 24 '18 at 10:35
















3












3








3








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














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













share|improve this question











share|improve this question




share|improve this question










asked Nov 24 '18 at 8:11









berlinpandberlinpand

425




425








  • 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
    Nov 24 '18 at 10:35
















  • 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
    Nov 24 '18 at 10:35










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
Nov 24 '18 at 10:35







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
Nov 24 '18 at 10:35












2 Answers
2






active

oldest

votes


















5














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
    Nov 24 '18 at 8:37











  • @berlinpand That's what I like about LaTeX: even after several years of practice, I'm still a beginner!

    – AndréC
    Nov 24 '18 at 8:40



















9














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
    Nov 24 '18 at 11:20











  • This one looks much better

    – MCMastery
    Nov 24 '18 at 16:20











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


}
});














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









5














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
    Nov 24 '18 at 8:37











  • @berlinpand That's what I like about LaTeX: even after several years of practice, I'm still a beginner!

    – AndréC
    Nov 24 '18 at 8:40
















5














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
    Nov 24 '18 at 8:37











  • @berlinpand That's what I like about LaTeX: even after several years of practice, I'm still a beginner!

    – AndréC
    Nov 24 '18 at 8:40














5












5








5







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 Nov 24 '18 at 8:32









AndréCAndréC

8,39411445




8,39411445













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

    – berlinpand
    Nov 24 '18 at 8:37











  • @berlinpand That's what I like about LaTeX: even after several years of practice, I'm still a beginner!

    – AndréC
    Nov 24 '18 at 8:40



















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

    – berlinpand
    Nov 24 '18 at 8:37











  • @berlinpand That's what I like about LaTeX: even after several years of practice, I'm still a beginner!

    – AndréC
    Nov 24 '18 at 8:40

















oh``thank for your help, I think I just asked a stupid question...but thanks again!!

– berlinpand
Nov 24 '18 at 8:37





oh``thank for your help, I think I just asked a stupid question...but thanks again!!

– berlinpand
Nov 24 '18 at 8:37













@berlinpand That's what I like about LaTeX: even after several years of practice, I'm still a beginner!

– AndréC
Nov 24 '18 at 8:40





@berlinpand That's what I like about LaTeX: even after several years of practice, I'm still a beginner!

– AndréC
Nov 24 '18 at 8:40











9














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
    Nov 24 '18 at 11:20











  • This one looks much better

    – MCMastery
    Nov 24 '18 at 16:20
















9














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
    Nov 24 '18 at 11:20











  • This one looks much better

    – MCMastery
    Nov 24 '18 at 16:20














9












9








9







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 Nov 24 '18 at 10:53









BernardBernard

167k769194




167k769194













  • Thank for your answer! ! I will try later

    – berlinpand
    Nov 24 '18 at 11:20











  • This one looks much better

    – MCMastery
    Nov 24 '18 at 16:20



















  • Thank for your answer! ! I will try later

    – berlinpand
    Nov 24 '18 at 11:20











  • This one looks much better

    – MCMastery
    Nov 24 '18 at 16:20

















Thank for your answer! ! I will try later

– berlinpand
Nov 24 '18 at 11:20





Thank for your answer! ! I will try later

– berlinpand
Nov 24 '18 at 11:20













This one looks much better

– MCMastery
Nov 24 '18 at 16:20





This one looks much better

– MCMastery
Nov 24 '18 at 16:20


















draft saved

draft discarded




















































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.




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

Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

ComboBox Display Member on multiple fields

Is it possible to collect Nectar points via Trainline?