How to left alignment of formulas in parentheses?
I want the follow one, but my code dosen't achieve, can someone help?
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:
equations alignment
add a comment |
I want the follow one, but my code dosen't achieve, can someone help?
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:
equations alignment
1
You might also want to have a look at thecases
environment provided by theamsmath
package (see the end of section 3.7 of its manual), as well as at the variants thereof added by themathtools
package (see section 3.4.3 of its manual).
– GuM
Nov 24 '18 at 10:35
add a comment |
I want the follow one, but my code dosen't achieve, can someone help?
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:
equations alignment
I want the follow one, but my code dosen't achieve, can someone help?
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:
equations alignment
equations alignment
asked Nov 24 '18 at 8:11
berlinpandberlinpand
425
425
1
You might also want to have a look at thecases
environment provided by theamsmath
package (see the end of section 3.7 of its manual), as well as at the variants thereof added by themathtools
package (see section 3.4.3 of its manual).
– GuM
Nov 24 '18 at 10:35
add a comment |
1
You might also want to have a look at thecases
environment provided by theamsmath
package (see the end of section 3.7 of its manual), as well as at the variants thereof added by themathtools
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
add a comment |
2 Answers
2
active
oldest
votes
Just declare the table with ll
and not lr
begin{array}{ll}
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}
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
add a comment |
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}
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
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
});
}
});
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%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
Just declare the table with ll
and not lr
begin{array}{ll}
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}
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
add a comment |
Just declare the table with ll
and not lr
begin{array}{ll}
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}
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
add a comment |
Just declare the table with ll
and not lr
begin{array}{ll}
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}
Just declare the table with ll
and not lr
begin{array}{ll}
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}
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
add a comment |
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
add a comment |
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}
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
add a comment |
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}
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
add a comment |
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}
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}
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
add a comment |
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
add a comment |
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%2f461531%2fhow-to-left-alignment-of-formulas-in-parentheses%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
1
You might also want to have a look at the
cases
environment provided by theamsmath
package (see the end of section 3.7 of its manual), as well as at the variants thereof added by themathtools
package (see section 3.4.3 of its manual).– GuM
Nov 24 '18 at 10:35