How to have 4 subsections on 2 paragraphs

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
6
down vote

favorite
1












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.










share|improve this question









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 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










  • Then I recommend you start here
    – Fran
    yesterday















up vote
6
down vote

favorite
1












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.










share|improve this question









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 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










  • Then I recommend you start here
    – Fran
    yesterday













up vote
6
down vote

favorite
1









up vote
6
down vote

favorite
1






1





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.










share|improve this question









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






share|improve this question









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.











share|improve this question









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.









share|improve this question




share|improve this question








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 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










  • 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










  • 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











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


enter image description here






share|improve this answer




















  • 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. Replace beginalign*...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

















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





share|improve this answer






















  • 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











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',
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
);



);






A.E is a new contributor. Be nice, and check out our Code of Conduct.









 

draft saved


draft discarded


















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






























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


enter image description here






share|improve this answer




















  • 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. Replace beginalign*...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














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


enter image description here






share|improve this answer




















  • 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. Replace beginalign*...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












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


enter image description here






share|improve this answer












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


enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










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. Replace beginalign*...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










  • 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










  • 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










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





share|improve this answer






















  • 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















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





share|improve this answer






















  • 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













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





share|improve this answer














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






share|improve this answer














share|improve this answer



share|improve this answer








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., 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

















  • 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
















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











A.E is a new contributor. Be nice, and check out our Code of Conduct.









 

draft saved


draft discarded


















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.













 


draft saved


draft discarded














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













































































Popular posts from this blog

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)