Combining itemize and aligned: first line to the left and remaining lines to the right
up vote
1
down vote
favorite
Does any know how I can combine itemize and aligned (with argument [t]) -- or another multi-line mathematical environment -- in order to obtain a multi-line equation whose first line is aligned to the left and the remaining lines are aligned to the right?
I tried to illustrate what I would like to obtain in the picture below.
My current latex-code is the following:
documentclass[letterpaper]{article}
usepackage{amsthm}
usepackage{mathtools}
usepackage{bm}
begin{document}
$bm{f}^{cup}(B^1,B^2), bm{f}^{cap}(B^1,B^2) in mathcal{B}(Sigma_1cupSigma_2, wcdot w^{prime})$, respectively, where
begin{itemize}small
item $begin{aligned}[t]
ell(bm{f}^{cup}(B^1,B^2)) = {w^{prime}cdot(mathfrak{p}-1) + mathfrak{p}^{prime} colon mathfrak{p}inell(B_i),\
mathfrak{p}^{prime}inell(B_i)}text{;}
end{aligned}$
item $r(B_i^{*}) = {w^{prime}cdot(mathfrak{q}-1) + mathfrak{q}^{prime} colon mathfrak{q} in r(B_i), mahfrak{q}^{prime}in r(B_i)}$ ;
end{itemize}
end{document}
which results in something like the picture below.
Thanks!!
math-mode align itemize mathtools alignment
add a comment |
up vote
1
down vote
favorite
Does any know how I can combine itemize and aligned (with argument [t]) -- or another multi-line mathematical environment -- in order to obtain a multi-line equation whose first line is aligned to the left and the remaining lines are aligned to the right?
I tried to illustrate what I would like to obtain in the picture below.
My current latex-code is the following:
documentclass[letterpaper]{article}
usepackage{amsthm}
usepackage{mathtools}
usepackage{bm}
begin{document}
$bm{f}^{cup}(B^1,B^2), bm{f}^{cap}(B^1,B^2) in mathcal{B}(Sigma_1cupSigma_2, wcdot w^{prime})$, respectively, where
begin{itemize}small
item $begin{aligned}[t]
ell(bm{f}^{cup}(B^1,B^2)) = {w^{prime}cdot(mathfrak{p}-1) + mathfrak{p}^{prime} colon mathfrak{p}inell(B_i),\
mathfrak{p}^{prime}inell(B_i)}text{;}
end{aligned}$
item $r(B_i^{*}) = {w^{prime}cdot(mathfrak{q}-1) + mathfrak{q}^{prime} colon mathfrak{q} in r(B_i), mahfrak{q}^{prime}in r(B_i)}$ ;
end{itemize}
end{document}
which results in something like the picture below.
Thanks!!
math-mode align itemize mathtools alignment
1
please be so kind and show us what you try so far. writing your equation from scratch is fun :-(
– Zarko
Nov 15 at 17:55
In your example the second line of the item strating from $ell$ is not aligned to the right. Some clarification of your expectations is needeed.
– Przemysław Scherwentke
Nov 15 at 17:57
I am sorry for the missing details. I tried to explain better now.
– Alexsander Melo
Nov 15 at 18:18
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
Does any know how I can combine itemize and aligned (with argument [t]) -- or another multi-line mathematical environment -- in order to obtain a multi-line equation whose first line is aligned to the left and the remaining lines are aligned to the right?
I tried to illustrate what I would like to obtain in the picture below.
My current latex-code is the following:
documentclass[letterpaper]{article}
usepackage{amsthm}
usepackage{mathtools}
usepackage{bm}
begin{document}
$bm{f}^{cup}(B^1,B^2), bm{f}^{cap}(B^1,B^2) in mathcal{B}(Sigma_1cupSigma_2, wcdot w^{prime})$, respectively, where
begin{itemize}small
item $begin{aligned}[t]
ell(bm{f}^{cup}(B^1,B^2)) = {w^{prime}cdot(mathfrak{p}-1) + mathfrak{p}^{prime} colon mathfrak{p}inell(B_i),\
mathfrak{p}^{prime}inell(B_i)}text{;}
end{aligned}$
item $r(B_i^{*}) = {w^{prime}cdot(mathfrak{q}-1) + mathfrak{q}^{prime} colon mathfrak{q} in r(B_i), mahfrak{q}^{prime}in r(B_i)}$ ;
end{itemize}
end{document}
which results in something like the picture below.
Thanks!!
math-mode align itemize mathtools alignment
Does any know how I can combine itemize and aligned (with argument [t]) -- or another multi-line mathematical environment -- in order to obtain a multi-line equation whose first line is aligned to the left and the remaining lines are aligned to the right?
I tried to illustrate what I would like to obtain in the picture below.
My current latex-code is the following:
documentclass[letterpaper]{article}
usepackage{amsthm}
usepackage{mathtools}
usepackage{bm}
begin{document}
$bm{f}^{cup}(B^1,B^2), bm{f}^{cap}(B^1,B^2) in mathcal{B}(Sigma_1cupSigma_2, wcdot w^{prime})$, respectively, where
begin{itemize}small
item $begin{aligned}[t]
ell(bm{f}^{cup}(B^1,B^2)) = {w^{prime}cdot(mathfrak{p}-1) + mathfrak{p}^{prime} colon mathfrak{p}inell(B_i),\
mathfrak{p}^{prime}inell(B_i)}text{;}
end{aligned}$
item $r(B_i^{*}) = {w^{prime}cdot(mathfrak{q}-1) + mathfrak{q}^{prime} colon mathfrak{q} in r(B_i), mahfrak{q}^{prime}in r(B_i)}$ ;
end{itemize}
end{document}
which results in something like the picture below.
Thanks!!
math-mode align itemize mathtools alignment
math-mode align itemize mathtools alignment
edited Nov 15 at 18:31
asked Nov 15 at 17:32
Alexsander Melo
554
554
1
please be so kind and show us what you try so far. writing your equation from scratch is fun :-(
– Zarko
Nov 15 at 17:55
In your example the second line of the item strating from $ell$ is not aligned to the right. Some clarification of your expectations is needeed.
– Przemysław Scherwentke
Nov 15 at 17:57
I am sorry for the missing details. I tried to explain better now.
– Alexsander Melo
Nov 15 at 18:18
add a comment |
1
please be so kind and show us what you try so far. writing your equation from scratch is fun :-(
– Zarko
Nov 15 at 17:55
In your example the second line of the item strating from $ell$ is not aligned to the right. Some clarification of your expectations is needeed.
– Przemysław Scherwentke
Nov 15 at 17:57
I am sorry for the missing details. I tried to explain better now.
– Alexsander Melo
Nov 15 at 18:18
1
1
please be so kind and show us what you try so far. writing your equation from scratch is fun :-(
– Zarko
Nov 15 at 17:55
please be so kind and show us what you try so far. writing your equation from scratch is fun :-(
– Zarko
Nov 15 at 17:55
In your example the second line of the item strating from $ell$ is not aligned to the right. Some clarification of your expectations is needeed.
– Przemysław Scherwentke
Nov 15 at 17:57
In your example the second line of the item strating from $ell$ is not aligned to the right. Some clarification of your expectations is needeed.
– Przemysław Scherwentke
Nov 15 at 17:57
I am sorry for the missing details. I tried to explain better now.
– Alexsander Melo
Nov 15 at 18:18
I am sorry for the missing details. I tried to explain better now.
– Alexsander Melo
Nov 15 at 18:18
add a comment |
2 Answers
2
active
oldest
votes
up vote
1
down vote
Is this what you want?
documentclass{article}
usepackage{amsmath,amsfonts}
begin{document}
begin{itemize}
item $begin{aligned}[t]
ell(mathbf{f}{^cup (B^1,B^2)})=lbrace w' cdot (mathfrak{p}-1)+mathfrak{p}') :& \
mathfrak{p}in ell(B_i), mathfrak{p}1in ell(B'_i)rbrace;
end{aligned}$
end{itemize}
end{document}
Unfortunately, it is not. I want that the second line (and the remaining lines) are aligned to the right.
– Alexsander Melo
Nov 15 at 19:19
So, you want the second line touching the right margin?
– Sigur
Nov 15 at 20:05
in this case, that is what I want. Actually, I am using a two-column template, so the right margin is really close to the left margin. Thus, to solve my problem in this template, it suffices the second line touching the right margin. However, in general, what I really want is that the second line follows the alignment defined by '&' until reaching the right margin. When the right margin is reached, instead of continuous going to the right, the text has to go to the left, according to the right margin.
– Alexsander Melo
Nov 16 at 9:13
In two-column mode, you will not have the same exact layout as you posted. Probably the simpler in this case is to replace thealigned
environment withmultlined
, removing the&
.
– Bernard
Nov 16 at 9:48
add a comment |
up vote
0
down vote
I think you want something like this. Remeber align(ed)
require &
to mark the alignment points. I took the opportunity to simplify a bit your code : typing ^{prime}
isn't necessary, '
is enough.
documentclass[letterpaper]{article}
usepackage{amsthm}
usepackage{mathtools, amsfonts}
usepackage{bm}
begin{document}
$bm{f}^{cup}(B^1,B^2), bm{f}^{cap}(B^1,B^2) in mathcal{B}(Sigma_1cupSigma_2, wcdot w^{prime})$, respectively, where
begin{itemize}small
item $begin{aligned}[t]
ell(bm{f}^{cup}(B^1,B^2)) = {w'cdot(mathfrak{p}-1) & + mathfrak{p}' colon \
& phantom{+}mathfrak{p}inell(B_i),mathfrak{p}'inell(B_i)}text{;}
end{aligned}$
item $r(B_i^{*}) = {w'cdot(mathfrak{q}-1) + mathfrak{q}' colon mathfrak{q} in r(B_i), mathfrak{q}'in r(B_i)}$ ;
end{itemize}
end{document}
Thanks a lot, Bernard. But this solution does not work in my case because I am using a two-column template. So, when I use '&' at beginning of the second line to define the alignment which I really want, I face a problem: the second line does not respect the right margin. Because of that I want to align the remaining lines of the equation to the right.
– Alexsander Melo
Nov 16 at 9:29
I was able to obtain the setting I want by using negative hspace after '&'. But this trick seems "not elegant".
– Alexsander Melo
Nov 16 at 9:34
For me, it works with thetwocolumn
option. You also have the possibility to replace thealigned
environment withmultlined
, removing the&
.
– Bernard
Nov 16 at 9:53
multlined
frommathtools
does not push the last line to the right margin, only a little bit to right (at least in my test with$begin{multlined}[t] text{left side} \ text{center line}\ text{right side} end{multlined}$
).
– Sigur
Nov 16 at 14:22
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
Is this what you want?
documentclass{article}
usepackage{amsmath,amsfonts}
begin{document}
begin{itemize}
item $begin{aligned}[t]
ell(mathbf{f}{^cup (B^1,B^2)})=lbrace w' cdot (mathfrak{p}-1)+mathfrak{p}') :& \
mathfrak{p}in ell(B_i), mathfrak{p}1in ell(B'_i)rbrace;
end{aligned}$
end{itemize}
end{document}
Unfortunately, it is not. I want that the second line (and the remaining lines) are aligned to the right.
– Alexsander Melo
Nov 15 at 19:19
So, you want the second line touching the right margin?
– Sigur
Nov 15 at 20:05
in this case, that is what I want. Actually, I am using a two-column template, so the right margin is really close to the left margin. Thus, to solve my problem in this template, it suffices the second line touching the right margin. However, in general, what I really want is that the second line follows the alignment defined by '&' until reaching the right margin. When the right margin is reached, instead of continuous going to the right, the text has to go to the left, according to the right margin.
– Alexsander Melo
Nov 16 at 9:13
In two-column mode, you will not have the same exact layout as you posted. Probably the simpler in this case is to replace thealigned
environment withmultlined
, removing the&
.
– Bernard
Nov 16 at 9:48
add a comment |
up vote
1
down vote
Is this what you want?
documentclass{article}
usepackage{amsmath,amsfonts}
begin{document}
begin{itemize}
item $begin{aligned}[t]
ell(mathbf{f}{^cup (B^1,B^2)})=lbrace w' cdot (mathfrak{p}-1)+mathfrak{p}') :& \
mathfrak{p}in ell(B_i), mathfrak{p}1in ell(B'_i)rbrace;
end{aligned}$
end{itemize}
end{document}
Unfortunately, it is not. I want that the second line (and the remaining lines) are aligned to the right.
– Alexsander Melo
Nov 15 at 19:19
So, you want the second line touching the right margin?
– Sigur
Nov 15 at 20:05
in this case, that is what I want. Actually, I am using a two-column template, so the right margin is really close to the left margin. Thus, to solve my problem in this template, it suffices the second line touching the right margin. However, in general, what I really want is that the second line follows the alignment defined by '&' until reaching the right margin. When the right margin is reached, instead of continuous going to the right, the text has to go to the left, according to the right margin.
– Alexsander Melo
Nov 16 at 9:13
In two-column mode, you will not have the same exact layout as you posted. Probably the simpler in this case is to replace thealigned
environment withmultlined
, removing the&
.
– Bernard
Nov 16 at 9:48
add a comment |
up vote
1
down vote
up vote
1
down vote
Is this what you want?
documentclass{article}
usepackage{amsmath,amsfonts}
begin{document}
begin{itemize}
item $begin{aligned}[t]
ell(mathbf{f}{^cup (B^1,B^2)})=lbrace w' cdot (mathfrak{p}-1)+mathfrak{p}') :& \
mathfrak{p}in ell(B_i), mathfrak{p}1in ell(B'_i)rbrace;
end{aligned}$
end{itemize}
end{document}
Is this what you want?
documentclass{article}
usepackage{amsmath,amsfonts}
begin{document}
begin{itemize}
item $begin{aligned}[t]
ell(mathbf{f}{^cup (B^1,B^2)})=lbrace w' cdot (mathfrak{p}-1)+mathfrak{p}') :& \
mathfrak{p}in ell(B_i), mathfrak{p}1in ell(B'_i)rbrace;
end{aligned}$
end{itemize}
end{document}
answered Nov 15 at 18:15
Sigur
23.3k353135
23.3k353135
Unfortunately, it is not. I want that the second line (and the remaining lines) are aligned to the right.
– Alexsander Melo
Nov 15 at 19:19
So, you want the second line touching the right margin?
– Sigur
Nov 15 at 20:05
in this case, that is what I want. Actually, I am using a two-column template, so the right margin is really close to the left margin. Thus, to solve my problem in this template, it suffices the second line touching the right margin. However, in general, what I really want is that the second line follows the alignment defined by '&' until reaching the right margin. When the right margin is reached, instead of continuous going to the right, the text has to go to the left, according to the right margin.
– Alexsander Melo
Nov 16 at 9:13
In two-column mode, you will not have the same exact layout as you posted. Probably the simpler in this case is to replace thealigned
environment withmultlined
, removing the&
.
– Bernard
Nov 16 at 9:48
add a comment |
Unfortunately, it is not. I want that the second line (and the remaining lines) are aligned to the right.
– Alexsander Melo
Nov 15 at 19:19
So, you want the second line touching the right margin?
– Sigur
Nov 15 at 20:05
in this case, that is what I want. Actually, I am using a two-column template, so the right margin is really close to the left margin. Thus, to solve my problem in this template, it suffices the second line touching the right margin. However, in general, what I really want is that the second line follows the alignment defined by '&' until reaching the right margin. When the right margin is reached, instead of continuous going to the right, the text has to go to the left, according to the right margin.
– Alexsander Melo
Nov 16 at 9:13
In two-column mode, you will not have the same exact layout as you posted. Probably the simpler in this case is to replace thealigned
environment withmultlined
, removing the&
.
– Bernard
Nov 16 at 9:48
Unfortunately, it is not. I want that the second line (and the remaining lines) are aligned to the right.
– Alexsander Melo
Nov 15 at 19:19
Unfortunately, it is not. I want that the second line (and the remaining lines) are aligned to the right.
– Alexsander Melo
Nov 15 at 19:19
So, you want the second line touching the right margin?
– Sigur
Nov 15 at 20:05
So, you want the second line touching the right margin?
– Sigur
Nov 15 at 20:05
in this case, that is what I want. Actually, I am using a two-column template, so the right margin is really close to the left margin. Thus, to solve my problem in this template, it suffices the second line touching the right margin. However, in general, what I really want is that the second line follows the alignment defined by '&' until reaching the right margin. When the right margin is reached, instead of continuous going to the right, the text has to go to the left, according to the right margin.
– Alexsander Melo
Nov 16 at 9:13
in this case, that is what I want. Actually, I am using a two-column template, so the right margin is really close to the left margin. Thus, to solve my problem in this template, it suffices the second line touching the right margin. However, in general, what I really want is that the second line follows the alignment defined by '&' until reaching the right margin. When the right margin is reached, instead of continuous going to the right, the text has to go to the left, according to the right margin.
– Alexsander Melo
Nov 16 at 9:13
In two-column mode, you will not have the same exact layout as you posted. Probably the simpler in this case is to replace the
aligned
environment with multlined
, removing the &
.– Bernard
Nov 16 at 9:48
In two-column mode, you will not have the same exact layout as you posted. Probably the simpler in this case is to replace the
aligned
environment with multlined
, removing the &
.– Bernard
Nov 16 at 9:48
add a comment |
up vote
0
down vote
I think you want something like this. Remeber align(ed)
require &
to mark the alignment points. I took the opportunity to simplify a bit your code : typing ^{prime}
isn't necessary, '
is enough.
documentclass[letterpaper]{article}
usepackage{amsthm}
usepackage{mathtools, amsfonts}
usepackage{bm}
begin{document}
$bm{f}^{cup}(B^1,B^2), bm{f}^{cap}(B^1,B^2) in mathcal{B}(Sigma_1cupSigma_2, wcdot w^{prime})$, respectively, where
begin{itemize}small
item $begin{aligned}[t]
ell(bm{f}^{cup}(B^1,B^2)) = {w'cdot(mathfrak{p}-1) & + mathfrak{p}' colon \
& phantom{+}mathfrak{p}inell(B_i),mathfrak{p}'inell(B_i)}text{;}
end{aligned}$
item $r(B_i^{*}) = {w'cdot(mathfrak{q}-1) + mathfrak{q}' colon mathfrak{q} in r(B_i), mathfrak{q}'in r(B_i)}$ ;
end{itemize}
end{document}
Thanks a lot, Bernard. But this solution does not work in my case because I am using a two-column template. So, when I use '&' at beginning of the second line to define the alignment which I really want, I face a problem: the second line does not respect the right margin. Because of that I want to align the remaining lines of the equation to the right.
– Alexsander Melo
Nov 16 at 9:29
I was able to obtain the setting I want by using negative hspace after '&'. But this trick seems "not elegant".
– Alexsander Melo
Nov 16 at 9:34
For me, it works with thetwocolumn
option. You also have the possibility to replace thealigned
environment withmultlined
, removing the&
.
– Bernard
Nov 16 at 9:53
multlined
frommathtools
does not push the last line to the right margin, only a little bit to right (at least in my test with$begin{multlined}[t] text{left side} \ text{center line}\ text{right side} end{multlined}$
).
– Sigur
Nov 16 at 14:22
add a comment |
up vote
0
down vote
I think you want something like this. Remeber align(ed)
require &
to mark the alignment points. I took the opportunity to simplify a bit your code : typing ^{prime}
isn't necessary, '
is enough.
documentclass[letterpaper]{article}
usepackage{amsthm}
usepackage{mathtools, amsfonts}
usepackage{bm}
begin{document}
$bm{f}^{cup}(B^1,B^2), bm{f}^{cap}(B^1,B^2) in mathcal{B}(Sigma_1cupSigma_2, wcdot w^{prime})$, respectively, where
begin{itemize}small
item $begin{aligned}[t]
ell(bm{f}^{cup}(B^1,B^2)) = {w'cdot(mathfrak{p}-1) & + mathfrak{p}' colon \
& phantom{+}mathfrak{p}inell(B_i),mathfrak{p}'inell(B_i)}text{;}
end{aligned}$
item $r(B_i^{*}) = {w'cdot(mathfrak{q}-1) + mathfrak{q}' colon mathfrak{q} in r(B_i), mathfrak{q}'in r(B_i)}$ ;
end{itemize}
end{document}
Thanks a lot, Bernard. But this solution does not work in my case because I am using a two-column template. So, when I use '&' at beginning of the second line to define the alignment which I really want, I face a problem: the second line does not respect the right margin. Because of that I want to align the remaining lines of the equation to the right.
– Alexsander Melo
Nov 16 at 9:29
I was able to obtain the setting I want by using negative hspace after '&'. But this trick seems "not elegant".
– Alexsander Melo
Nov 16 at 9:34
For me, it works with thetwocolumn
option. You also have the possibility to replace thealigned
environment withmultlined
, removing the&
.
– Bernard
Nov 16 at 9:53
multlined
frommathtools
does not push the last line to the right margin, only a little bit to right (at least in my test with$begin{multlined}[t] text{left side} \ text{center line}\ text{right side} end{multlined}$
).
– Sigur
Nov 16 at 14:22
add a comment |
up vote
0
down vote
up vote
0
down vote
I think you want something like this. Remeber align(ed)
require &
to mark the alignment points. I took the opportunity to simplify a bit your code : typing ^{prime}
isn't necessary, '
is enough.
documentclass[letterpaper]{article}
usepackage{amsthm}
usepackage{mathtools, amsfonts}
usepackage{bm}
begin{document}
$bm{f}^{cup}(B^1,B^2), bm{f}^{cap}(B^1,B^2) in mathcal{B}(Sigma_1cupSigma_2, wcdot w^{prime})$, respectively, where
begin{itemize}small
item $begin{aligned}[t]
ell(bm{f}^{cup}(B^1,B^2)) = {w'cdot(mathfrak{p}-1) & + mathfrak{p}' colon \
& phantom{+}mathfrak{p}inell(B_i),mathfrak{p}'inell(B_i)}text{;}
end{aligned}$
item $r(B_i^{*}) = {w'cdot(mathfrak{q}-1) + mathfrak{q}' colon mathfrak{q} in r(B_i), mathfrak{q}'in r(B_i)}$ ;
end{itemize}
end{document}
I think you want something like this. Remeber align(ed)
require &
to mark the alignment points. I took the opportunity to simplify a bit your code : typing ^{prime}
isn't necessary, '
is enough.
documentclass[letterpaper]{article}
usepackage{amsthm}
usepackage{mathtools, amsfonts}
usepackage{bm}
begin{document}
$bm{f}^{cup}(B^1,B^2), bm{f}^{cap}(B^1,B^2) in mathcal{B}(Sigma_1cupSigma_2, wcdot w^{prime})$, respectively, where
begin{itemize}small
item $begin{aligned}[t]
ell(bm{f}^{cup}(B^1,B^2)) = {w'cdot(mathfrak{p}-1) & + mathfrak{p}' colon \
& phantom{+}mathfrak{p}inell(B_i),mathfrak{p}'inell(B_i)}text{;}
end{aligned}$
item $r(B_i^{*}) = {w'cdot(mathfrak{q}-1) + mathfrak{q}' colon mathfrak{q} in r(B_i), mathfrak{q}'in r(B_i)}$ ;
end{itemize}
end{document}
answered Nov 15 at 21:40
Bernard
162k767192
162k767192
Thanks a lot, Bernard. But this solution does not work in my case because I am using a two-column template. So, when I use '&' at beginning of the second line to define the alignment which I really want, I face a problem: the second line does not respect the right margin. Because of that I want to align the remaining lines of the equation to the right.
– Alexsander Melo
Nov 16 at 9:29
I was able to obtain the setting I want by using negative hspace after '&'. But this trick seems "not elegant".
– Alexsander Melo
Nov 16 at 9:34
For me, it works with thetwocolumn
option. You also have the possibility to replace thealigned
environment withmultlined
, removing the&
.
– Bernard
Nov 16 at 9:53
multlined
frommathtools
does not push the last line to the right margin, only a little bit to right (at least in my test with$begin{multlined}[t] text{left side} \ text{center line}\ text{right side} end{multlined}$
).
– Sigur
Nov 16 at 14:22
add a comment |
Thanks a lot, Bernard. But this solution does not work in my case because I am using a two-column template. So, when I use '&' at beginning of the second line to define the alignment which I really want, I face a problem: the second line does not respect the right margin. Because of that I want to align the remaining lines of the equation to the right.
– Alexsander Melo
Nov 16 at 9:29
I was able to obtain the setting I want by using negative hspace after '&'. But this trick seems "not elegant".
– Alexsander Melo
Nov 16 at 9:34
For me, it works with thetwocolumn
option. You also have the possibility to replace thealigned
environment withmultlined
, removing the&
.
– Bernard
Nov 16 at 9:53
multlined
frommathtools
does not push the last line to the right margin, only a little bit to right (at least in my test with$begin{multlined}[t] text{left side} \ text{center line}\ text{right side} end{multlined}$
).
– Sigur
Nov 16 at 14:22
Thanks a lot, Bernard. But this solution does not work in my case because I am using a two-column template. So, when I use '&' at beginning of the second line to define the alignment which I really want, I face a problem: the second line does not respect the right margin. Because of that I want to align the remaining lines of the equation to the right.
– Alexsander Melo
Nov 16 at 9:29
Thanks a lot, Bernard. But this solution does not work in my case because I am using a two-column template. So, when I use '&' at beginning of the second line to define the alignment which I really want, I face a problem: the second line does not respect the right margin. Because of that I want to align the remaining lines of the equation to the right.
– Alexsander Melo
Nov 16 at 9:29
I was able to obtain the setting I want by using negative hspace after '&'. But this trick seems "not elegant".
– Alexsander Melo
Nov 16 at 9:34
I was able to obtain the setting I want by using negative hspace after '&'. But this trick seems "not elegant".
– Alexsander Melo
Nov 16 at 9:34
For me, it works with the
twocolumn
option. You also have the possibility to replace the aligned
environment with multlined
, removing the &
.– Bernard
Nov 16 at 9:53
For me, it works with the
twocolumn
option. You also have the possibility to replace the aligned
environment with multlined
, removing the &
.– Bernard
Nov 16 at 9:53
multlined
from mathtools
does not push the last line to the right margin, only a little bit to right (at least in my test with $begin{multlined}[t] text{left side} \ text{center line}\ text{right side} end{multlined}$
).– Sigur
Nov 16 at 14:22
multlined
from mathtools
does not push the last line to the right margin, only a little bit to right (at least in my test with $begin{multlined}[t] text{left side} \ text{center line}\ text{right side} end{multlined}$
).– Sigur
Nov 16 at 14:22
add a comment |
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%2f460171%2fcombining-itemize-and-aligned-first-line-to-the-left-and-remaining-lines-to-the%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
please be so kind and show us what you try so far. writing your equation from scratch is fun :-(
– Zarko
Nov 15 at 17:55
In your example the second line of the item strating from $ell$ is not aligned to the right. Some clarification of your expectations is needeed.
– Przemysław Scherwentke
Nov 15 at 17:57
I am sorry for the missing details. I tried to explain better now.
– Alexsander Melo
Nov 15 at 18:18