align two piecewise functions
up vote
5
down vote
favorite
I have problem with my piecewise functions
I read others post and I tried this but I have errors
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
$x_{{i}{j}}$ =
&begin{cases}
text{1,} &quadtext{Si se envía agua desde área i ( i $in$ {1,2,3,4,5,6,7,8,9,10}) a sitio j ( j $in$ {1,2,3,4,5,6,7})} \
text{0,} &quadtext{En caso contrario}
end{cases}\
$y_{j}$ =
&begin{cases}
text{1,} &quadtext{ Si se construye planta en el sitio j ( j $in $ {1,2,3,4,5,6,7})} \
text{0,} &quadtext{En caso contrario}
end{cases}
end{align*}
end{document}
Runaway argument? ! Paragraph ended before align* was complete.
par l.592
I did this (using [) and it works well but they appear not aligned
documentclass{article}
usepackage{amsmath}
begin{document}
[
x_{{i}{j}} =
begin{cases}
text{1,} &quadtext{Si se envía agua desde área i ( i $in$ {1,2,3,4,5,6,7,8,9,10}) a sitio j ( j $in$ {1,2,3,4,5,6,7})} \
text{0,} &quadtext{En caso contrario}
end{cases}
]
[
y_{j} =
begin{cases}
text{1,} &quadtext{ Si se construye planta en el sitio j ( j $in $ {1,2,3,4,5,6,7})} \
text{0,} &quadtext{En caso contrario}
end{cases}
]
end{document}
and I want they are aligned, like this
horizontal-alignment equations
New contributor
add a comment |
up vote
5
down vote
favorite
I have problem with my piecewise functions
I read others post and I tried this but I have errors
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
$x_{{i}{j}}$ =
&begin{cases}
text{1,} &quadtext{Si se envía agua desde área i ( i $in$ {1,2,3,4,5,6,7,8,9,10}) a sitio j ( j $in$ {1,2,3,4,5,6,7})} \
text{0,} &quadtext{En caso contrario}
end{cases}\
$y_{j}$ =
&begin{cases}
text{1,} &quadtext{ Si se construye planta en el sitio j ( j $in $ {1,2,3,4,5,6,7})} \
text{0,} &quadtext{En caso contrario}
end{cases}
end{align*}
end{document}
Runaway argument? ! Paragraph ended before align* was complete.
par l.592
I did this (using [) and it works well but they appear not aligned
documentclass{article}
usepackage{amsmath}
begin{document}
[
x_{{i}{j}} =
begin{cases}
text{1,} &quadtext{Si se envía agua desde área i ( i $in$ {1,2,3,4,5,6,7,8,9,10}) a sitio j ( j $in$ {1,2,3,4,5,6,7})} \
text{0,} &quadtext{En caso contrario}
end{cases}
]
[
y_{j} =
begin{cases}
text{1,} &quadtext{ Si se construye planta en el sitio j ( j $in $ {1,2,3,4,5,6,7})} \
text{0,} &quadtext{En caso contrario}
end{cases}
]
end{document}
and I want they are aligned, like this
horizontal-alignment equations
New contributor
remove the$$
aroundx_{ij}
andy_{j}
.begin{align*}
is already a math environment.
– Troy
Nov 30 at 17:00
lol I did that and it didn't work before but now it works hahaha thanks man!! is there a way to align the functions using [ .... ] ?
– EmiliOrtega
Nov 30 at 17:02
Yes, with thebegin{aligned}
environment from amsmath. E.g. of its use: Alignment in equations
– Troy
Nov 30 at 17:04
add a comment |
up vote
5
down vote
favorite
up vote
5
down vote
favorite
I have problem with my piecewise functions
I read others post and I tried this but I have errors
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
$x_{{i}{j}}$ =
&begin{cases}
text{1,} &quadtext{Si se envía agua desde área i ( i $in$ {1,2,3,4,5,6,7,8,9,10}) a sitio j ( j $in$ {1,2,3,4,5,6,7})} \
text{0,} &quadtext{En caso contrario}
end{cases}\
$y_{j}$ =
&begin{cases}
text{1,} &quadtext{ Si se construye planta en el sitio j ( j $in $ {1,2,3,4,5,6,7})} \
text{0,} &quadtext{En caso contrario}
end{cases}
end{align*}
end{document}
Runaway argument? ! Paragraph ended before align* was complete.
par l.592
I did this (using [) and it works well but they appear not aligned
documentclass{article}
usepackage{amsmath}
begin{document}
[
x_{{i}{j}} =
begin{cases}
text{1,} &quadtext{Si se envía agua desde área i ( i $in$ {1,2,3,4,5,6,7,8,9,10}) a sitio j ( j $in$ {1,2,3,4,5,6,7})} \
text{0,} &quadtext{En caso contrario}
end{cases}
]
[
y_{j} =
begin{cases}
text{1,} &quadtext{ Si se construye planta en el sitio j ( j $in $ {1,2,3,4,5,6,7})} \
text{0,} &quadtext{En caso contrario}
end{cases}
]
end{document}
and I want they are aligned, like this
horizontal-alignment equations
New contributor
I have problem with my piecewise functions
I read others post and I tried this but I have errors
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
$x_{{i}{j}}$ =
&begin{cases}
text{1,} &quadtext{Si se envía agua desde área i ( i $in$ {1,2,3,4,5,6,7,8,9,10}) a sitio j ( j $in$ {1,2,3,4,5,6,7})} \
text{0,} &quadtext{En caso contrario}
end{cases}\
$y_{j}$ =
&begin{cases}
text{1,} &quadtext{ Si se construye planta en el sitio j ( j $in $ {1,2,3,4,5,6,7})} \
text{0,} &quadtext{En caso contrario}
end{cases}
end{align*}
end{document}
Runaway argument? ! Paragraph ended before align* was complete.
par l.592
I did this (using [) and it works well but they appear not aligned
documentclass{article}
usepackage{amsmath}
begin{document}
[
x_{{i}{j}} =
begin{cases}
text{1,} &quadtext{Si se envía agua desde área i ( i $in$ {1,2,3,4,5,6,7,8,9,10}) a sitio j ( j $in$ {1,2,3,4,5,6,7})} \
text{0,} &quadtext{En caso contrario}
end{cases}
]
[
y_{j} =
begin{cases}
text{1,} &quadtext{ Si se construye planta en el sitio j ( j $in $ {1,2,3,4,5,6,7})} \
text{0,} &quadtext{En caso contrario}
end{cases}
]
end{document}
and I want they are aligned, like this
horizontal-alignment equations
horizontal-alignment equations
New contributor
New contributor
New contributor
asked Nov 30 at 16:38
EmiliOrtega
333
333
New contributor
New contributor
remove the$$
aroundx_{ij}
andy_{j}
.begin{align*}
is already a math environment.
– Troy
Nov 30 at 17:00
lol I did that and it didn't work before but now it works hahaha thanks man!! is there a way to align the functions using [ .... ] ?
– EmiliOrtega
Nov 30 at 17:02
Yes, with thebegin{aligned}
environment from amsmath. E.g. of its use: Alignment in equations
– Troy
Nov 30 at 17:04
add a comment |
remove the$$
aroundx_{ij}
andy_{j}
.begin{align*}
is already a math environment.
– Troy
Nov 30 at 17:00
lol I did that and it didn't work before but now it works hahaha thanks man!! is there a way to align the functions using [ .... ] ?
– EmiliOrtega
Nov 30 at 17:02
Yes, with thebegin{aligned}
environment from amsmath. E.g. of its use: Alignment in equations
– Troy
Nov 30 at 17:04
remove the
$$
around x_{ij}
and y_{j}
. begin{align*}
is already a math environment.– Troy
Nov 30 at 17:00
remove the
$$
around x_{ij}
and y_{j}
. begin{align*}
is already a math environment.– Troy
Nov 30 at 17:00
lol I did that and it didn't work before but now it works hahaha thanks man!! is there a way to align the functions using [ .... ] ?
– EmiliOrtega
Nov 30 at 17:02
lol I did that and it didn't work before but now it works hahaha thanks man!! is there a way to align the functions using [ .... ] ?
– EmiliOrtega
Nov 30 at 17:02
Yes, with the
begin{aligned}
environment from amsmath. E.g. of its use: Alignment in equations– Troy
Nov 30 at 17:04
Yes, with the
begin{aligned}
environment from amsmath. E.g. of its use: Alignment in equations– Troy
Nov 30 at 17:04
add a comment |
3 Answers
3
active
oldest
votes
up vote
3
down vote
accepted
Beware! align
already typesets its contents in math mode (but text
reverts to text mode).
You have to just align the equals signs with &=
; for the long line, I suggest a tabular
. Some vertical spacing will help, too.
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
x_{ij} &=
begin{cases}
1, &begin{tabular}[t]{@{}l@{}}
Si se envía agua desde área $i$ ($iin{1,2,3,4,5,6,7,8,9,10}$) \
a sitio $j$ ($jin{1,2,3,4,5,6,7}$)
end{tabular} \[4ex]
0, &text{En caso contrario}
end{cases}\
y_{j} &=
begin{cases}
1, &text{Si se construye planta en el sitio $j$ ($jin{1,2,3,4,5,6,7}$)} \[1ex]
0, &text{En caso contrario}
end{cases}
end{align*}
end{document}
add a comment |
up vote
2
down vote
Here it is I simplified the text part typing using the cases*
environment from mathtols
(needless to load àmsmath`). I had to dplit the first case to make it fit the margins:
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[showframe]{geometry}
usepackage{mathtools}
begin{document}
begin{align*}
x_{{i}{j}} & =
begin{cases*}
text{1,} &quad Si se envía agua desde área $ i: ( i in {1,2,3,4,5,6,7,8,9,10})$ \
& quad a sitio $ j: ( j in {1,2,3,4,5,6,7})$ \
text{0,} &quad{En caso contrario}
end{cases*}\[1.5ex]
y_{j} & =
begin{cases*}
1, &quad Si se construye planta en el sitio $ j: ( j in {1,2,3,4,5,6,7})$ \
0, &quad En caso contrario
end{cases*}
end{align*}
end{document}
add a comment |
up vote
1
down vote
If we go back to your original attempt, a few quick changes gives the result you wanted. This: removes the $$
around x_{ij}
and y_j
and moves the &
you use for alignment to align the equals signs. Edit: I also compressed the set notation to shorten the long line and returned i
and j
to math mode, as you currently have them as subscripts in math mode. If you'd prefer them to be set upright you should change the subscripts as well.
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
x_{ij} &=
begin{cases}
text{1,} &quadtext{Si se envía agua desde área $i$ ($i in {1,2,dots,10}$) a sitio $j$ ($j in {1,2,dots,7}$)} \
text{0,} &quadtext{En caso contrario}
end{cases}\
y_{j} &=
begin{cases}
text{1,} &quadtext{ Si se construye planta en el sitio $j$ ($j in {1,2,dots,7}$)} \
text{0,} &quadtext{En caso contrario}
end{cases}
end{align*}
end{document}
Output:
Sincei
andj
are used in math mode on the LHS, it seems appropriate to use$i$ ($i in {1,dots,10}$)
and$j$ ($j in {1,dots,7}$)
on the RHS.
– Werner
Nov 30 at 17:17
Good point, as is the compression of the set notation. Edits made.
– aoi
Nov 30 at 17:30
add a comment |
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
Beware! align
already typesets its contents in math mode (but text
reverts to text mode).
You have to just align the equals signs with &=
; for the long line, I suggest a tabular
. Some vertical spacing will help, too.
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
x_{ij} &=
begin{cases}
1, &begin{tabular}[t]{@{}l@{}}
Si se envía agua desde área $i$ ($iin{1,2,3,4,5,6,7,8,9,10}$) \
a sitio $j$ ($jin{1,2,3,4,5,6,7}$)
end{tabular} \[4ex]
0, &text{En caso contrario}
end{cases}\
y_{j} &=
begin{cases}
1, &text{Si se construye planta en el sitio $j$ ($jin{1,2,3,4,5,6,7}$)} \[1ex]
0, &text{En caso contrario}
end{cases}
end{align*}
end{document}
add a comment |
up vote
3
down vote
accepted
Beware! align
already typesets its contents in math mode (but text
reverts to text mode).
You have to just align the equals signs with &=
; for the long line, I suggest a tabular
. Some vertical spacing will help, too.
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
x_{ij} &=
begin{cases}
1, &begin{tabular}[t]{@{}l@{}}
Si se envía agua desde área $i$ ($iin{1,2,3,4,5,6,7,8,9,10}$) \
a sitio $j$ ($jin{1,2,3,4,5,6,7}$)
end{tabular} \[4ex]
0, &text{En caso contrario}
end{cases}\
y_{j} &=
begin{cases}
1, &text{Si se construye planta en el sitio $j$ ($jin{1,2,3,4,5,6,7}$)} \[1ex]
0, &text{En caso contrario}
end{cases}
end{align*}
end{document}
add a comment |
up vote
3
down vote
accepted
up vote
3
down vote
accepted
Beware! align
already typesets its contents in math mode (but text
reverts to text mode).
You have to just align the equals signs with &=
; for the long line, I suggest a tabular
. Some vertical spacing will help, too.
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
x_{ij} &=
begin{cases}
1, &begin{tabular}[t]{@{}l@{}}
Si se envía agua desde área $i$ ($iin{1,2,3,4,5,6,7,8,9,10}$) \
a sitio $j$ ($jin{1,2,3,4,5,6,7}$)
end{tabular} \[4ex]
0, &text{En caso contrario}
end{cases}\
y_{j} &=
begin{cases}
1, &text{Si se construye planta en el sitio $j$ ($jin{1,2,3,4,5,6,7}$)} \[1ex]
0, &text{En caso contrario}
end{cases}
end{align*}
end{document}
Beware! align
already typesets its contents in math mode (but text
reverts to text mode).
You have to just align the equals signs with &=
; for the long line, I suggest a tabular
. Some vertical spacing will help, too.
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
x_{ij} &=
begin{cases}
1, &begin{tabular}[t]{@{}l@{}}
Si se envía agua desde área $i$ ($iin{1,2,3,4,5,6,7,8,9,10}$) \
a sitio $j$ ($jin{1,2,3,4,5,6,7}$)
end{tabular} \[4ex]
0, &text{En caso contrario}
end{cases}\
y_{j} &=
begin{cases}
1, &text{Si se construye planta en el sitio $j$ ($jin{1,2,3,4,5,6,7}$)} \[1ex]
0, &text{En caso contrario}
end{cases}
end{align*}
end{document}
answered Nov 30 at 17:22
egreg
702k8618713145
702k8618713145
add a comment |
add a comment |
up vote
2
down vote
Here it is I simplified the text part typing using the cases*
environment from mathtols
(needless to load àmsmath`). I had to dplit the first case to make it fit the margins:
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[showframe]{geometry}
usepackage{mathtools}
begin{document}
begin{align*}
x_{{i}{j}} & =
begin{cases*}
text{1,} &quad Si se envía agua desde área $ i: ( i in {1,2,3,4,5,6,7,8,9,10})$ \
& quad a sitio $ j: ( j in {1,2,3,4,5,6,7})$ \
text{0,} &quad{En caso contrario}
end{cases*}\[1.5ex]
y_{j} & =
begin{cases*}
1, &quad Si se construye planta en el sitio $ j: ( j in {1,2,3,4,5,6,7})$ \
0, &quad En caso contrario
end{cases*}
end{align*}
end{document}
add a comment |
up vote
2
down vote
Here it is I simplified the text part typing using the cases*
environment from mathtols
(needless to load àmsmath`). I had to dplit the first case to make it fit the margins:
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[showframe]{geometry}
usepackage{mathtools}
begin{document}
begin{align*}
x_{{i}{j}} & =
begin{cases*}
text{1,} &quad Si se envía agua desde área $ i: ( i in {1,2,3,4,5,6,7,8,9,10})$ \
& quad a sitio $ j: ( j in {1,2,3,4,5,6,7})$ \
text{0,} &quad{En caso contrario}
end{cases*}\[1.5ex]
y_{j} & =
begin{cases*}
1, &quad Si se construye planta en el sitio $ j: ( j in {1,2,3,4,5,6,7})$ \
0, &quad En caso contrario
end{cases*}
end{align*}
end{document}
add a comment |
up vote
2
down vote
up vote
2
down vote
Here it is I simplified the text part typing using the cases*
environment from mathtols
(needless to load àmsmath`). I had to dplit the first case to make it fit the margins:
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[showframe]{geometry}
usepackage{mathtools}
begin{document}
begin{align*}
x_{{i}{j}} & =
begin{cases*}
text{1,} &quad Si se envía agua desde área $ i: ( i in {1,2,3,4,5,6,7,8,9,10})$ \
& quad a sitio $ j: ( j in {1,2,3,4,5,6,7})$ \
text{0,} &quad{En caso contrario}
end{cases*}\[1.5ex]
y_{j} & =
begin{cases*}
1, &quad Si se construye planta en el sitio $ j: ( j in {1,2,3,4,5,6,7})$ \
0, &quad En caso contrario
end{cases*}
end{align*}
end{document}
Here it is I simplified the text part typing using the cases*
environment from mathtols
(needless to load àmsmath`). I had to dplit the first case to make it fit the margins:
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[showframe]{geometry}
usepackage{mathtools}
begin{document}
begin{align*}
x_{{i}{j}} & =
begin{cases*}
text{1,} &quad Si se envía agua desde área $ i: ( i in {1,2,3,4,5,6,7,8,9,10})$ \
& quad a sitio $ j: ( j in {1,2,3,4,5,6,7})$ \
text{0,} &quad{En caso contrario}
end{cases*}\[1.5ex]
y_{j} & =
begin{cases*}
1, &quad Si se construye planta en el sitio $ j: ( j in {1,2,3,4,5,6,7})$ \
0, &quad En caso contrario
end{cases*}
end{align*}
end{document}
answered Nov 30 at 17:21
Bernard
163k768192
163k768192
add a comment |
add a comment |
up vote
1
down vote
If we go back to your original attempt, a few quick changes gives the result you wanted. This: removes the $$
around x_{ij}
and y_j
and moves the &
you use for alignment to align the equals signs. Edit: I also compressed the set notation to shorten the long line and returned i
and j
to math mode, as you currently have them as subscripts in math mode. If you'd prefer them to be set upright you should change the subscripts as well.
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
x_{ij} &=
begin{cases}
text{1,} &quadtext{Si se envía agua desde área $i$ ($i in {1,2,dots,10}$) a sitio $j$ ($j in {1,2,dots,7}$)} \
text{0,} &quadtext{En caso contrario}
end{cases}\
y_{j} &=
begin{cases}
text{1,} &quadtext{ Si se construye planta en el sitio $j$ ($j in {1,2,dots,7}$)} \
text{0,} &quadtext{En caso contrario}
end{cases}
end{align*}
end{document}
Output:
Sincei
andj
are used in math mode on the LHS, it seems appropriate to use$i$ ($i in {1,dots,10}$)
and$j$ ($j in {1,dots,7}$)
on the RHS.
– Werner
Nov 30 at 17:17
Good point, as is the compression of the set notation. Edits made.
– aoi
Nov 30 at 17:30
add a comment |
up vote
1
down vote
If we go back to your original attempt, a few quick changes gives the result you wanted. This: removes the $$
around x_{ij}
and y_j
and moves the &
you use for alignment to align the equals signs. Edit: I also compressed the set notation to shorten the long line and returned i
and j
to math mode, as you currently have them as subscripts in math mode. If you'd prefer them to be set upright you should change the subscripts as well.
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
x_{ij} &=
begin{cases}
text{1,} &quadtext{Si se envía agua desde área $i$ ($i in {1,2,dots,10}$) a sitio $j$ ($j in {1,2,dots,7}$)} \
text{0,} &quadtext{En caso contrario}
end{cases}\
y_{j} &=
begin{cases}
text{1,} &quadtext{ Si se construye planta en el sitio $j$ ($j in {1,2,dots,7}$)} \
text{0,} &quadtext{En caso contrario}
end{cases}
end{align*}
end{document}
Output:
Sincei
andj
are used in math mode on the LHS, it seems appropriate to use$i$ ($i in {1,dots,10}$)
and$j$ ($j in {1,dots,7}$)
on the RHS.
– Werner
Nov 30 at 17:17
Good point, as is the compression of the set notation. Edits made.
– aoi
Nov 30 at 17:30
add a comment |
up vote
1
down vote
up vote
1
down vote
If we go back to your original attempt, a few quick changes gives the result you wanted. This: removes the $$
around x_{ij}
and y_j
and moves the &
you use for alignment to align the equals signs. Edit: I also compressed the set notation to shorten the long line and returned i
and j
to math mode, as you currently have them as subscripts in math mode. If you'd prefer them to be set upright you should change the subscripts as well.
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
x_{ij} &=
begin{cases}
text{1,} &quadtext{Si se envía agua desde área $i$ ($i in {1,2,dots,10}$) a sitio $j$ ($j in {1,2,dots,7}$)} \
text{0,} &quadtext{En caso contrario}
end{cases}\
y_{j} &=
begin{cases}
text{1,} &quadtext{ Si se construye planta en el sitio $j$ ($j in {1,2,dots,7}$)} \
text{0,} &quadtext{En caso contrario}
end{cases}
end{align*}
end{document}
Output:
If we go back to your original attempt, a few quick changes gives the result you wanted. This: removes the $$
around x_{ij}
and y_j
and moves the &
you use for alignment to align the equals signs. Edit: I also compressed the set notation to shorten the long line and returned i
and j
to math mode, as you currently have them as subscripts in math mode. If you'd prefer them to be set upright you should change the subscripts as well.
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
x_{ij} &=
begin{cases}
text{1,} &quadtext{Si se envía agua desde área $i$ ($i in {1,2,dots,10}$) a sitio $j$ ($j in {1,2,dots,7}$)} \
text{0,} &quadtext{En caso contrario}
end{cases}\
y_{j} &=
begin{cases}
text{1,} &quadtext{ Si se construye planta en el sitio $j$ ($j in {1,2,dots,7}$)} \
text{0,} &quadtext{En caso contrario}
end{cases}
end{align*}
end{document}
Output:
edited Nov 30 at 17:30
answered Nov 30 at 17:12
aoi
667
667
Sincei
andj
are used in math mode on the LHS, it seems appropriate to use$i$ ($i in {1,dots,10}$)
and$j$ ($j in {1,dots,7}$)
on the RHS.
– Werner
Nov 30 at 17:17
Good point, as is the compression of the set notation. Edits made.
– aoi
Nov 30 at 17:30
add a comment |
Sincei
andj
are used in math mode on the LHS, it seems appropriate to use$i$ ($i in {1,dots,10}$)
and$j$ ($j in {1,dots,7}$)
on the RHS.
– Werner
Nov 30 at 17:17
Good point, as is the compression of the set notation. Edits made.
– aoi
Nov 30 at 17:30
Since
i
and j
are used in math mode on the LHS, it seems appropriate to use $i$ ($i in {1,dots,10}$)
and $j$ ($j in {1,dots,7}$)
on the RHS.– Werner
Nov 30 at 17:17
Since
i
and j
are used in math mode on the LHS, it seems appropriate to use $i$ ($i in {1,dots,10}$)
and $j$ ($j in {1,dots,7}$)
on the RHS.– Werner
Nov 30 at 17:17
Good point, as is the compression of the set notation. Edits made.
– aoi
Nov 30 at 17:30
Good point, as is the compression of the set notation. Edits made.
– aoi
Nov 30 at 17:30
add a comment |
EmiliOrtega is a new contributor. Be nice, and check out our Code of Conduct.
EmiliOrtega is a new contributor. Be nice, and check out our Code of Conduct.
EmiliOrtega is a new contributor. Be nice, and check out our Code of Conduct.
EmiliOrtega is a new contributor. Be nice, and check out our Code of Conduct.
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f462589%2falign-two-piecewise-functions%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
remove the
$$
aroundx_{ij}
andy_{j}
.begin{align*}
is already a math environment.– Troy
Nov 30 at 17:00
lol I did that and it didn't work before but now it works hahaha thanks man!! is there a way to align the functions using [ .... ] ?
– EmiliOrtega
Nov 30 at 17:02
Yes, with the
begin{aligned}
environment from amsmath. E.g. of its use: Alignment in equations– Troy
Nov 30 at 17:04