How to have 4 subsections on 2 paragraphs

Clash Royale CLAN TAG#URR8PPP
up vote
6
down vote
favorite
So I'm trying to have four different subsections on "2 different paragraphs". what I mean is the following:
x ¦ x
----¦----
x ¦ x
where x denotes the text I wish to have (without the dashed lines as there will be 4 sets of equations)
EDIT: This is what I've done thus far:
Let us define the following:
smallskip
$chi_0(x) = 1$
bigskip
$chi_1(x)$ = $begincases
1, & textif x = 0, \
a, & textif x = 1, \
a^2, & textif x = 2, \
a^3, & textif x = 3, \
a^4, & textif x = 4,
endcases$
$chi_2(x)$ = $begincases
1, & textif x = 0, \
a^2, & textif x = 1, \
a^4, & textif x = 2, \
a, & textif x = 3, \
a^3, & textif x = 4,
endcases$
$chi_3(x)$ = $begincases
1, & textif x = 0, \
a^3, & textif x = 1, \
a, & textif x = 2, \
a^4, & textif x = 3, \
a^2, & textif x = 4,
endcases$
$chi_4(x)$ = $begincases
1, & textif x = 0, \
a^4, & textif x = 1, \
a^3, & textif x = 2, \
a^2, & textif x = 3, \
a, & textif x = 4,
endcases$
Firstly I want to move the chi_0(x) down one line; and the other four "blocks" I want them to appear side by side like the following:
chi_1(x) ¦ chi_3(x)
----------¦---------
chi_2(x) ¦ chi_4(x)
I am unsure how to proceed.
spacing paragraphs
New contributor
A.E is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
up vote
6
down vote
favorite
So I'm trying to have four different subsections on "2 different paragraphs". what I mean is the following:
x ¦ x
----¦----
x ¦ x
where x denotes the text I wish to have (without the dashed lines as there will be 4 sets of equations)
EDIT: This is what I've done thus far:
Let us define the following:
smallskip
$chi_0(x) = 1$
bigskip
$chi_1(x)$ = $begincases
1, & textif x = 0, \
a, & textif x = 1, \
a^2, & textif x = 2, \
a^3, & textif x = 3, \
a^4, & textif x = 4,
endcases$
$chi_2(x)$ = $begincases
1, & textif x = 0, \
a^2, & textif x = 1, \
a^4, & textif x = 2, \
a, & textif x = 3, \
a^3, & textif x = 4,
endcases$
$chi_3(x)$ = $begincases
1, & textif x = 0, \
a^3, & textif x = 1, \
a, & textif x = 2, \
a^4, & textif x = 3, \
a^2, & textif x = 4,
endcases$
$chi_4(x)$ = $begincases
1, & textif x = 0, \
a^4, & textif x = 1, \
a^3, & textif x = 2, \
a^2, & textif x = 3, \
a, & textif x = 4,
endcases$
Firstly I want to move the chi_0(x) down one line; and the other four "blocks" I want them to appear side by side like the following:
chi_1(x) ¦ chi_3(x)
----------¦---------
chi_2(x) ¦ chi_4(x)
I am unsure how to proceed.
spacing paragraphs
New contributor
A.E is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Assuming that you know what are LateX minipages (otherwise, you must start with that), make anoindent, followed with four minipages with a bit less of a width less than half the width of the text (e.g,0.45textwidth) and threehfillbetween minipages. Then put the content of each subsection inside each minipage. If you a problem with that, edit the question and post a minimal working example (MWE) to show so far you are able to get. Note that "minimal" mean "do not show any irrelevant code!" but "working" mean "not a code fragment but compilable as is".
– Fran
yesterday
sorry I don't understand
– A.E
yesterday
Then I recommend you start here
– Fran
yesterday
add a comment |
up vote
6
down vote
favorite
up vote
6
down vote
favorite
So I'm trying to have four different subsections on "2 different paragraphs". what I mean is the following:
x ¦ x
----¦----
x ¦ x
where x denotes the text I wish to have (without the dashed lines as there will be 4 sets of equations)
EDIT: This is what I've done thus far:
Let us define the following:
smallskip
$chi_0(x) = 1$
bigskip
$chi_1(x)$ = $begincases
1, & textif x = 0, \
a, & textif x = 1, \
a^2, & textif x = 2, \
a^3, & textif x = 3, \
a^4, & textif x = 4,
endcases$
$chi_2(x)$ = $begincases
1, & textif x = 0, \
a^2, & textif x = 1, \
a^4, & textif x = 2, \
a, & textif x = 3, \
a^3, & textif x = 4,
endcases$
$chi_3(x)$ = $begincases
1, & textif x = 0, \
a^3, & textif x = 1, \
a, & textif x = 2, \
a^4, & textif x = 3, \
a^2, & textif x = 4,
endcases$
$chi_4(x)$ = $begincases
1, & textif x = 0, \
a^4, & textif x = 1, \
a^3, & textif x = 2, \
a^2, & textif x = 3, \
a, & textif x = 4,
endcases$
Firstly I want to move the chi_0(x) down one line; and the other four "blocks" I want them to appear side by side like the following:
chi_1(x) ¦ chi_3(x)
----------¦---------
chi_2(x) ¦ chi_4(x)
I am unsure how to proceed.
spacing paragraphs
New contributor
A.E is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
So I'm trying to have four different subsections on "2 different paragraphs". what I mean is the following:
x ¦ x
----¦----
x ¦ x
where x denotes the text I wish to have (without the dashed lines as there will be 4 sets of equations)
EDIT: This is what I've done thus far:
Let us define the following:
smallskip
$chi_0(x) = 1$
bigskip
$chi_1(x)$ = $begincases
1, & textif x = 0, \
a, & textif x = 1, \
a^2, & textif x = 2, \
a^3, & textif x = 3, \
a^4, & textif x = 4,
endcases$
$chi_2(x)$ = $begincases
1, & textif x = 0, \
a^2, & textif x = 1, \
a^4, & textif x = 2, \
a, & textif x = 3, \
a^3, & textif x = 4,
endcases$
$chi_3(x)$ = $begincases
1, & textif x = 0, \
a^3, & textif x = 1, \
a, & textif x = 2, \
a^4, & textif x = 3, \
a^2, & textif x = 4,
endcases$
$chi_4(x)$ = $begincases
1, & textif x = 0, \
a^4, & textif x = 1, \
a^3, & textif x = 2, \
a^2, & textif x = 3, \
a, & textif x = 4,
endcases$
Firstly I want to move the chi_0(x) down one line; and the other four "blocks" I want them to appear side by side like the following:
chi_1(x) ¦ chi_3(x)
----------¦---------
chi_2(x) ¦ chi_4(x)
I am unsure how to proceed.
spacing paragraphs
spacing paragraphs
New contributor
A.E is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
A.E is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited yesterday
joule_voo
45112
45112
New contributor
A.E is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked yesterday
A.E
1098
1098
New contributor
A.E is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
A.E is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
A.E is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Assuming that you know what are LateX minipages (otherwise, you must start with that), make anoindent, followed with four minipages with a bit less of a width less than half the width of the text (e.g,0.45textwidth) and threehfillbetween minipages. Then put the content of each subsection inside each minipage. If you a problem with that, edit the question and post a minimal working example (MWE) to show so far you are able to get. Note that "minimal" mean "do not show any irrelevant code!" but "working" mean "not a code fragment but compilable as is".
– Fran
yesterday
sorry I don't understand
– A.E
yesterday
Then I recommend you start here
– Fran
yesterday
add a comment |
Assuming that you know what are LateX minipages (otherwise, you must start with that), make anoindent, followed with four minipages with a bit less of a width less than half the width of the text (e.g,0.45textwidth) and threehfillbetween minipages. Then put the content of each subsection inside each minipage. If you a problem with that, edit the question and post a minimal working example (MWE) to show so far you are able to get. Note that "minimal" mean "do not show any irrelevant code!" but "working" mean "not a code fragment but compilable as is".
– Fran
yesterday
sorry I don't understand
– A.E
yesterday
Then I recommend you start here
– Fran
yesterday
Assuming that you know what are LateX minipages (otherwise, you must start with that), make a
noindent, followed with four minipages with a bit less of a width less than half the width of the text (e.g, 0.45textwidth) and three hfill between minipages. Then put the content of each subsection inside each minipage. If you a problem with that, edit the question and post a minimal working example (MWE) to show so far you are able to get. Note that "minimal" mean "do not show any irrelevant code!" but "working" mean "not a code fragment but compilable as is".– Fran
yesterday
Assuming that you know what are LateX minipages (otherwise, you must start with that), make a
noindent, followed with four minipages with a bit less of a width less than half the width of the text (e.g, 0.45textwidth) and three hfill between minipages. Then put the content of each subsection inside each minipage. If you a problem with that, edit the question and post a minimal working example (MWE) to show so far you are able to get. Note that "minimal" mean "do not show any irrelevant code!" but "working" mean "not a code fragment but compilable as is".– Fran
yesterday
sorry I don't understand
– A.E
yesterday
sorry I don't understand
– A.E
yesterday
Then I recommend you start here
– Fran
yesterday
Then I recommend you start here
– Fran
yesterday
add a comment |
2 Answers
2
active
oldest
votes
up vote
4
down vote
accepted
The words "subsections" and "paragraphs" are here quite misleading because in TeX they refer to text elements, while you are writing equations. This might be a possible realization (I'm not sure where chi_0 is supposed to be)
documentclassarticle
usepackageamsmath
begindocument
beginalign*
chi_0(x) &= 1 \[1ex]
chi_1(x) &=
begincases
1, & textif x = 0, \
a, & textif x = 1, \
a^2, & textif x = 2, \
a^3, & textif x = 3, \
a^4, & textif x = 4,
endcases
&
chi_3(x) &=
begincases
1, & textif x = 0, \
a^3, & textif x = 1, \
a, & textif x = 2, \
a^4, & textif x = 3, \
a^2, & textif x = 4,
endcases
\[1ex]
chi_2(x) &=
begincases
1, & textif x = 0, \
a^2, & textif x = 1, \
a^4, & textif x = 2, \
a, & textif x = 3, \
a^3, & textif x = 4,
endcases
&
chi_4(x) &=
begincases
1, & textif x = 0, \
a^4, & textif x = 1, \
a^3, & textif x = 2, \
a^2, & textif x = 3, \
a, & textif x = 4.
endcases
endalign*
enddocument

This is perfect, exactly what I was looking for, thank you!
– A.E
yesterday
however. is there a way to move everything to the left buy a little?
– A.E
yesterday
@A.E You could e.g. make it in inline math instead of display math. Replacebeginalign*...endalign*by$displaystylebeginaligned...endaligned.
– campa
yesterday
this does not work, the next line of code gets ruined
– A.E
yesterday
@A.E Sorry, forgot to the closing$: It should be$displaystylebeginaligned...endaligned$
– campa
yesterday
|
show 1 more comment
up vote
2
down vote
As campa stated, first showed question without code was misleading, and in this case can be nicely solved with align* (+1).
So this answer is not to search the acceptance, but just to show what you can with the commented minipages in other cases, not only with maths, since the minipages can contain anything, even a true subsection (e.g. subsectiontext Text ...) with images, tables, etc. But of course, also is possible only with your equations:
documentclass[12pt]article
usepackageamsmath
begindocument
Let us define the following:
[chi_0(x) = 1]
noindent
beginminipage[t].45textwidth
$chi_1(x)$ = $begincases
1, & textif x = 0, \
a, & textif x = 1, \
a^2, & textif x = 2, \
a^3, & textif x = 3, \
a^4, & textif x = 4,
endcases$bigskip
endminipagehfill%
beginminipage[t].45textwidth
$chi_3(x)$ = $begincases
1, & textif x = 0, \
a^3, & textif x = 1, \
a, & textif x = 2, \
a^4, & textif x = 3, \
a^2, & textif x = 4,
endcases$bigskip
endminipagehfill%
beginminipage[t].45textwidth
$chi_2(x)$ = $begincases
1, & textif x = 0, \
a^2, & textif x = 1, \
a^4, & textif x = 2, \
a, & textif x = 3, \
a^3, & textif x = 4,
endcases$bigskip
endminipagehfill%
beginminipage[t].45textwidth
$chi_4(x)$ = $begincases
1, & textif x = 0, \
a^4, & textif x = 1, \
a^3, & textif x = 2, \
a^2, & textif x = 3, \
a, & textif x = 4,
endcases$bigskip
endminipagehfill%
enddocument
Hi, so chi_1(x) and chi_2(x) is what I was looking for however, chi_3(x) and chi_4(x) are pushed too much to the right, I wanted them to be pushed to the left considerably more
– A.E
yesterday
@A.E You can change the width of the minipages and also change the space between, i.e., changehfillby any other horizontal spacer as quad, hspace5mm, ... o simply left one space between minipages of the same row. Note that in my MWE there are only a row of four minipages with an automatic break in the middle (because the big size of the minipages). With smaller minipages you could need two rows of two minipages each, with a blank line (=par) between.
– Fran
yesterday
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
accepted
The words "subsections" and "paragraphs" are here quite misleading because in TeX they refer to text elements, while you are writing equations. This might be a possible realization (I'm not sure where chi_0 is supposed to be)
documentclassarticle
usepackageamsmath
begindocument
beginalign*
chi_0(x) &= 1 \[1ex]
chi_1(x) &=
begincases
1, & textif x = 0, \
a, & textif x = 1, \
a^2, & textif x = 2, \
a^3, & textif x = 3, \
a^4, & textif x = 4,
endcases
&
chi_3(x) &=
begincases
1, & textif x = 0, \
a^3, & textif x = 1, \
a, & textif x = 2, \
a^4, & textif x = 3, \
a^2, & textif x = 4,
endcases
\[1ex]
chi_2(x) &=
begincases
1, & textif x = 0, \
a^2, & textif x = 1, \
a^4, & textif x = 2, \
a, & textif x = 3, \
a^3, & textif x = 4,
endcases
&
chi_4(x) &=
begincases
1, & textif x = 0, \
a^4, & textif x = 1, \
a^3, & textif x = 2, \
a^2, & textif x = 3, \
a, & textif x = 4.
endcases
endalign*
enddocument

This is perfect, exactly what I was looking for, thank you!
– A.E
yesterday
however. is there a way to move everything to the left buy a little?
– A.E
yesterday
@A.E You could e.g. make it in inline math instead of display math. Replacebeginalign*...endalign*by$displaystylebeginaligned...endaligned.
– campa
yesterday
this does not work, the next line of code gets ruined
– A.E
yesterday
@A.E Sorry, forgot to the closing$: It should be$displaystylebeginaligned...endaligned$
– campa
yesterday
|
show 1 more comment
up vote
4
down vote
accepted
The words "subsections" and "paragraphs" are here quite misleading because in TeX they refer to text elements, while you are writing equations. This might be a possible realization (I'm not sure where chi_0 is supposed to be)
documentclassarticle
usepackageamsmath
begindocument
beginalign*
chi_0(x) &= 1 \[1ex]
chi_1(x) &=
begincases
1, & textif x = 0, \
a, & textif x = 1, \
a^2, & textif x = 2, \
a^3, & textif x = 3, \
a^4, & textif x = 4,
endcases
&
chi_3(x) &=
begincases
1, & textif x = 0, \
a^3, & textif x = 1, \
a, & textif x = 2, \
a^4, & textif x = 3, \
a^2, & textif x = 4,
endcases
\[1ex]
chi_2(x) &=
begincases
1, & textif x = 0, \
a^2, & textif x = 1, \
a^4, & textif x = 2, \
a, & textif x = 3, \
a^3, & textif x = 4,
endcases
&
chi_4(x) &=
begincases
1, & textif x = 0, \
a^4, & textif x = 1, \
a^3, & textif x = 2, \
a^2, & textif x = 3, \
a, & textif x = 4.
endcases
endalign*
enddocument

This is perfect, exactly what I was looking for, thank you!
– A.E
yesterday
however. is there a way to move everything to the left buy a little?
– A.E
yesterday
@A.E You could e.g. make it in inline math instead of display math. Replacebeginalign*...endalign*by$displaystylebeginaligned...endaligned.
– campa
yesterday
this does not work, the next line of code gets ruined
– A.E
yesterday
@A.E Sorry, forgot to the closing$: It should be$displaystylebeginaligned...endaligned$
– campa
yesterday
|
show 1 more comment
up vote
4
down vote
accepted
up vote
4
down vote
accepted
The words "subsections" and "paragraphs" are here quite misleading because in TeX they refer to text elements, while you are writing equations. This might be a possible realization (I'm not sure where chi_0 is supposed to be)
documentclassarticle
usepackageamsmath
begindocument
beginalign*
chi_0(x) &= 1 \[1ex]
chi_1(x) &=
begincases
1, & textif x = 0, \
a, & textif x = 1, \
a^2, & textif x = 2, \
a^3, & textif x = 3, \
a^4, & textif x = 4,
endcases
&
chi_3(x) &=
begincases
1, & textif x = 0, \
a^3, & textif x = 1, \
a, & textif x = 2, \
a^4, & textif x = 3, \
a^2, & textif x = 4,
endcases
\[1ex]
chi_2(x) &=
begincases
1, & textif x = 0, \
a^2, & textif x = 1, \
a^4, & textif x = 2, \
a, & textif x = 3, \
a^3, & textif x = 4,
endcases
&
chi_4(x) &=
begincases
1, & textif x = 0, \
a^4, & textif x = 1, \
a^3, & textif x = 2, \
a^2, & textif x = 3, \
a, & textif x = 4.
endcases
endalign*
enddocument

The words "subsections" and "paragraphs" are here quite misleading because in TeX they refer to text elements, while you are writing equations. This might be a possible realization (I'm not sure where chi_0 is supposed to be)
documentclassarticle
usepackageamsmath
begindocument
beginalign*
chi_0(x) &= 1 \[1ex]
chi_1(x) &=
begincases
1, & textif x = 0, \
a, & textif x = 1, \
a^2, & textif x = 2, \
a^3, & textif x = 3, \
a^4, & textif x = 4,
endcases
&
chi_3(x) &=
begincases
1, & textif x = 0, \
a^3, & textif x = 1, \
a, & textif x = 2, \
a^4, & textif x = 3, \
a^2, & textif x = 4,
endcases
\[1ex]
chi_2(x) &=
begincases
1, & textif x = 0, \
a^2, & textif x = 1, \
a^4, & textif x = 2, \
a, & textif x = 3, \
a^3, & textif x = 4,
endcases
&
chi_4(x) &=
begincases
1, & textif x = 0, \
a^4, & textif x = 1, \
a^3, & textif x = 2, \
a^2, & textif x = 3, \
a, & textif x = 4.
endcases
endalign*
enddocument

answered yesterday
campa
6,34221437
6,34221437
This is perfect, exactly what I was looking for, thank you!
– A.E
yesterday
however. is there a way to move everything to the left buy a little?
– A.E
yesterday
@A.E You could e.g. make it in inline math instead of display math. Replacebeginalign*...endalign*by$displaystylebeginaligned...endaligned.
– campa
yesterday
this does not work, the next line of code gets ruined
– A.E
yesterday
@A.E Sorry, forgot to the closing$: It should be$displaystylebeginaligned...endaligned$
– campa
yesterday
|
show 1 more comment
This is perfect, exactly what I was looking for, thank you!
– A.E
yesterday
however. is there a way to move everything to the left buy a little?
– A.E
yesterday
@A.E You could e.g. make it in inline math instead of display math. Replacebeginalign*...endalign*by$displaystylebeginaligned...endaligned.
– campa
yesterday
this does not work, the next line of code gets ruined
– A.E
yesterday
@A.E Sorry, forgot to the closing$: It should be$displaystylebeginaligned...endaligned$
– campa
yesterday
This is perfect, exactly what I was looking for, thank you!
– A.E
yesterday
This is perfect, exactly what I was looking for, thank you!
– A.E
yesterday
however. is there a way to move everything to the left buy a little?
– A.E
yesterday
however. is there a way to move everything to the left buy a little?
– A.E
yesterday
@A.E You could e.g. make it in inline math instead of display math. Replace
beginalign*...endalign* by $displaystylebeginaligned...endaligned.– campa
yesterday
@A.E You could e.g. make it in inline math instead of display math. Replace
beginalign*...endalign* by $displaystylebeginaligned...endaligned.– campa
yesterday
this does not work, the next line of code gets ruined
– A.E
yesterday
this does not work, the next line of code gets ruined
– A.E
yesterday
@A.E Sorry, forgot to the closing
$: It should be $displaystylebeginaligned...endaligned$– campa
yesterday
@A.E Sorry, forgot to the closing
$: It should be $displaystylebeginaligned...endaligned$– campa
yesterday
|
show 1 more comment
up vote
2
down vote
As campa stated, first showed question without code was misleading, and in this case can be nicely solved with align* (+1).
So this answer is not to search the acceptance, but just to show what you can with the commented minipages in other cases, not only with maths, since the minipages can contain anything, even a true subsection (e.g. subsectiontext Text ...) with images, tables, etc. But of course, also is possible only with your equations:
documentclass[12pt]article
usepackageamsmath
begindocument
Let us define the following:
[chi_0(x) = 1]
noindent
beginminipage[t].45textwidth
$chi_1(x)$ = $begincases
1, & textif x = 0, \
a, & textif x = 1, \
a^2, & textif x = 2, \
a^3, & textif x = 3, \
a^4, & textif x = 4,
endcases$bigskip
endminipagehfill%
beginminipage[t].45textwidth
$chi_3(x)$ = $begincases
1, & textif x = 0, \
a^3, & textif x = 1, \
a, & textif x = 2, \
a^4, & textif x = 3, \
a^2, & textif x = 4,
endcases$bigskip
endminipagehfill%
beginminipage[t].45textwidth
$chi_2(x)$ = $begincases
1, & textif x = 0, \
a^2, & textif x = 1, \
a^4, & textif x = 2, \
a, & textif x = 3, \
a^3, & textif x = 4,
endcases$bigskip
endminipagehfill%
beginminipage[t].45textwidth
$chi_4(x)$ = $begincases
1, & textif x = 0, \
a^4, & textif x = 1, \
a^3, & textif x = 2, \
a^2, & textif x = 3, \
a, & textif x = 4,
endcases$bigskip
endminipagehfill%
enddocument
Hi, so chi_1(x) and chi_2(x) is what I was looking for however, chi_3(x) and chi_4(x) are pushed too much to the right, I wanted them to be pushed to the left considerably more
– A.E
yesterday
@A.E You can change the width of the minipages and also change the space between, i.e., changehfillby any other horizontal spacer as quad, hspace5mm, ... o simply left one space between minipages of the same row. Note that in my MWE there are only a row of four minipages with an automatic break in the middle (because the big size of the minipages). With smaller minipages you could need two rows of two minipages each, with a blank line (=par) between.
– Fran
yesterday
add a comment |
up vote
2
down vote
As campa stated, first showed question without code was misleading, and in this case can be nicely solved with align* (+1).
So this answer is not to search the acceptance, but just to show what you can with the commented minipages in other cases, not only with maths, since the minipages can contain anything, even a true subsection (e.g. subsectiontext Text ...) with images, tables, etc. But of course, also is possible only with your equations:
documentclass[12pt]article
usepackageamsmath
begindocument
Let us define the following:
[chi_0(x) = 1]
noindent
beginminipage[t].45textwidth
$chi_1(x)$ = $begincases
1, & textif x = 0, \
a, & textif x = 1, \
a^2, & textif x = 2, \
a^3, & textif x = 3, \
a^4, & textif x = 4,
endcases$bigskip
endminipagehfill%
beginminipage[t].45textwidth
$chi_3(x)$ = $begincases
1, & textif x = 0, \
a^3, & textif x = 1, \
a, & textif x = 2, \
a^4, & textif x = 3, \
a^2, & textif x = 4,
endcases$bigskip
endminipagehfill%
beginminipage[t].45textwidth
$chi_2(x)$ = $begincases
1, & textif x = 0, \
a^2, & textif x = 1, \
a^4, & textif x = 2, \
a, & textif x = 3, \
a^3, & textif x = 4,
endcases$bigskip
endminipagehfill%
beginminipage[t].45textwidth
$chi_4(x)$ = $begincases
1, & textif x = 0, \
a^4, & textif x = 1, \
a^3, & textif x = 2, \
a^2, & textif x = 3, \
a, & textif x = 4,
endcases$bigskip
endminipagehfill%
enddocument
Hi, so chi_1(x) and chi_2(x) is what I was looking for however, chi_3(x) and chi_4(x) are pushed too much to the right, I wanted them to be pushed to the left considerably more
– A.E
yesterday
@A.E You can change the width of the minipages and also change the space between, i.e., changehfillby any other horizontal spacer as quad, hspace5mm, ... o simply left one space between minipages of the same row. Note that in my MWE there are only a row of four minipages with an automatic break in the middle (because the big size of the minipages). With smaller minipages you could need two rows of two minipages each, with a blank line (=par) between.
– Fran
yesterday
add a comment |
up vote
2
down vote
up vote
2
down vote
As campa stated, first showed question without code was misleading, and in this case can be nicely solved with align* (+1).
So this answer is not to search the acceptance, but just to show what you can with the commented minipages in other cases, not only with maths, since the minipages can contain anything, even a true subsection (e.g. subsectiontext Text ...) with images, tables, etc. But of course, also is possible only with your equations:
documentclass[12pt]article
usepackageamsmath
begindocument
Let us define the following:
[chi_0(x) = 1]
noindent
beginminipage[t].45textwidth
$chi_1(x)$ = $begincases
1, & textif x = 0, \
a, & textif x = 1, \
a^2, & textif x = 2, \
a^3, & textif x = 3, \
a^4, & textif x = 4,
endcases$bigskip
endminipagehfill%
beginminipage[t].45textwidth
$chi_3(x)$ = $begincases
1, & textif x = 0, \
a^3, & textif x = 1, \
a, & textif x = 2, \
a^4, & textif x = 3, \
a^2, & textif x = 4,
endcases$bigskip
endminipagehfill%
beginminipage[t].45textwidth
$chi_2(x)$ = $begincases
1, & textif x = 0, \
a^2, & textif x = 1, \
a^4, & textif x = 2, \
a, & textif x = 3, \
a^3, & textif x = 4,
endcases$bigskip
endminipagehfill%
beginminipage[t].45textwidth
$chi_4(x)$ = $begincases
1, & textif x = 0, \
a^4, & textif x = 1, \
a^3, & textif x = 2, \
a^2, & textif x = 3, \
a, & textif x = 4,
endcases$bigskip
endminipagehfill%
enddocument
As campa stated, first showed question without code was misleading, and in this case can be nicely solved with align* (+1).
So this answer is not to search the acceptance, but just to show what you can with the commented minipages in other cases, not only with maths, since the minipages can contain anything, even a true subsection (e.g. subsectiontext Text ...) with images, tables, etc. But of course, also is possible only with your equations:
documentclass[12pt]article
usepackageamsmath
begindocument
Let us define the following:
[chi_0(x) = 1]
noindent
beginminipage[t].45textwidth
$chi_1(x)$ = $begincases
1, & textif x = 0, \
a, & textif x = 1, \
a^2, & textif x = 2, \
a^3, & textif x = 3, \
a^4, & textif x = 4,
endcases$bigskip
endminipagehfill%
beginminipage[t].45textwidth
$chi_3(x)$ = $begincases
1, & textif x = 0, \
a^3, & textif x = 1, \
a, & textif x = 2, \
a^4, & textif x = 3, \
a^2, & textif x = 4,
endcases$bigskip
endminipagehfill%
beginminipage[t].45textwidth
$chi_2(x)$ = $begincases
1, & textif x = 0, \
a^2, & textif x = 1, \
a^4, & textif x = 2, \
a, & textif x = 3, \
a^3, & textif x = 4,
endcases$bigskip
endminipagehfill%
beginminipage[t].45textwidth
$chi_4(x)$ = $begincases
1, & textif x = 0, \
a^4, & textif x = 1, \
a^3, & textif x = 2, \
a^2, & textif x = 3, \
a, & textif x = 4,
endcases$bigskip
endminipagehfill%
enddocument
edited yesterday
answered yesterday
Fran
49.6k6110172
49.6k6110172
Hi, so chi_1(x) and chi_2(x) is what I was looking for however, chi_3(x) and chi_4(x) are pushed too much to the right, I wanted them to be pushed to the left considerably more
– A.E
yesterday
@A.E You can change the width of the minipages and also change the space between, i.e., changehfillby any other horizontal spacer as quad, hspace5mm, ... o simply left one space between minipages of the same row. Note that in my MWE there are only a row of four minipages with an automatic break in the middle (because the big size of the minipages). With smaller minipages you could need two rows of two minipages each, with a blank line (=par) between.
– Fran
yesterday
add a comment |
Hi, so chi_1(x) and chi_2(x) is what I was looking for however, chi_3(x) and chi_4(x) are pushed too much to the right, I wanted them to be pushed to the left considerably more
– A.E
yesterday
@A.E You can change the width of the minipages and also change the space between, i.e., changehfillby any other horizontal spacer as quad, hspace5mm, ... o simply left one space between minipages of the same row. Note that in my MWE there are only a row of four minipages with an automatic break in the middle (because the big size of the minipages). With smaller minipages you could need two rows of two minipages each, with a blank line (=par) between.
– Fran
yesterday
Hi, so chi_1(x) and chi_2(x) is what I was looking for however, chi_3(x) and chi_4(x) are pushed too much to the right, I wanted them to be pushed to the left considerably more
– A.E
yesterday
Hi, so chi_1(x) and chi_2(x) is what I was looking for however, chi_3(x) and chi_4(x) are pushed too much to the right, I wanted them to be pushed to the left considerably more
– A.E
yesterday
@A.E You can change the width of the minipages and also change the space between, i.e., change
hfill by any other horizontal spacer as quad, hspace5mm, ... o simply left one space between minipages of the same row. Note that in my MWE there are only a row of four minipages with an automatic break in the middle (because the big size of the minipages). With smaller minipages you could need two rows of two minipages each, with a blank line (= par) between.– Fran
yesterday
@A.E You can change the width of the minipages and also change the space between, i.e., change
hfill by any other horizontal spacer as quad, hspace5mm, ... o simply left one space between minipages of the same row. Note that in my MWE there are only a row of four minipages with an automatic break in the middle (because the big size of the minipages). With smaller minipages you could need two rows of two minipages each, with a blank line (= par) between.– Fran
yesterday
add a comment |
A.E is a new contributor. Be nice, and check out our Code of Conduct.
A.E is a new contributor. Be nice, and check out our Code of Conduct.
A.E is a new contributor. Be nice, and check out our Code of Conduct.
A.E is a new contributor. Be nice, and check out our Code of Conduct.
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f459765%2fhow-to-have-4-subsections-on-2-paragraphs%23new-answer', 'question_page');
);
Post as a guest
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
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
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
Assuming that you know what are LateX minipages (otherwise, you must start with that), make a
noindent, followed with four minipages with a bit less of a width less than half the width of the text (e.g,0.45textwidth) and threehfillbetween minipages. Then put the content of each subsection inside each minipage. If you a problem with that, edit the question and post a minimal working example (MWE) to show so far you are able to get. Note that "minimal" mean "do not show any irrelevant code!" but "working" mean "not a code fragment but compilable as is".– Fran
yesterday
sorry I don't understand
– A.E
yesterday
Then I recommend you start here
– Fran
yesterday