How to have 4 subsections on 2 paragraphs










6















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
























  • 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
    Nov 13 '18 at 12:12











  • sorry I don't understand

    – A.E
    Nov 13 '18 at 12:21











  • Then I recommend you start here

    – Fran
    Nov 13 '18 at 12:25
















6















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
























  • 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
    Nov 13 '18 at 12:12











  • sorry I don't understand

    – A.E
    Nov 13 '18 at 12:21











  • Then I recommend you start here

    – Fran
    Nov 13 '18 at 12:25














6












6








6


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
















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















share|improve this question













share|improve this question




share|improve this question








edited Nov 13 '18 at 12:36









JouleV

2,464628




2,464628










asked Nov 13 '18 at 11:23









A.EA.E

15211




15211












  • 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
    Nov 13 '18 at 12:12











  • sorry I don't understand

    – A.E
    Nov 13 '18 at 12:21











  • Then I recommend you start here

    – Fran
    Nov 13 '18 at 12:25


















  • 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
    Nov 13 '18 at 12:12











  • sorry I don't understand

    – A.E
    Nov 13 '18 at 12:21











  • Then I recommend you start here

    – Fran
    Nov 13 '18 at 12:25

















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
Nov 13 '18 at 12:12





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
Nov 13 '18 at 12:12













sorry I don't understand

– A.E
Nov 13 '18 at 12:21





sorry I don't understand

– A.E
Nov 13 '18 at 12:21













Then I recommend you start here

– Fran
Nov 13 '18 at 12:25






Then I recommend you start here

– Fran
Nov 13 '18 at 12:25











2 Answers
2






active

oldest

votes


















4














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
    Nov 13 '18 at 12:52











  • however. is there a way to move everything to the left buy a little?

    – A.E
    Nov 13 '18 at 12:54












  • @A.E You could e.g. make it in inline math instead of display math. Replace beginalign*...endalign* by $displaystylebeginaligned...endaligned.

    – campa
    Nov 13 '18 at 15:38











  • this does not work, the next line of code gets ruined

    – A.E
    Nov 13 '18 at 15:47











  • @A.E Sorry, forgot to the closing $: It should be $displaystylebeginaligned...endaligned$

    – campa
    Nov 13 '18 at 15:58


















2














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
    Nov 13 '18 at 13:43












  • @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
    Nov 13 '18 at 14:05











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













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















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









4














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
    Nov 13 '18 at 12:52











  • however. is there a way to move everything to the left buy a little?

    – A.E
    Nov 13 '18 at 12:54












  • @A.E You could e.g. make it in inline math instead of display math. Replace beginalign*...endalign* by $displaystylebeginaligned...endaligned.

    – campa
    Nov 13 '18 at 15:38











  • this does not work, the next line of code gets ruined

    – A.E
    Nov 13 '18 at 15:47











  • @A.E Sorry, forgot to the closing $: It should be $displaystylebeginaligned...endaligned$

    – campa
    Nov 13 '18 at 15:58















4














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
    Nov 13 '18 at 12:52











  • however. is there a way to move everything to the left buy a little?

    – A.E
    Nov 13 '18 at 12:54












  • @A.E You could e.g. make it in inline math instead of display math. Replace beginalign*...endalign* by $displaystylebeginaligned...endaligned.

    – campa
    Nov 13 '18 at 15:38











  • this does not work, the next line of code gets ruined

    – A.E
    Nov 13 '18 at 15:47











  • @A.E Sorry, forgot to the closing $: It should be $displaystylebeginaligned...endaligned$

    – campa
    Nov 13 '18 at 15:58













4












4








4







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 Nov 13 '18 at 12:47









campacampa

6,39721437




6,39721437












  • This is perfect, exactly what I was looking for, thank you!

    – A.E
    Nov 13 '18 at 12:52











  • however. is there a way to move everything to the left buy a little?

    – A.E
    Nov 13 '18 at 12:54












  • @A.E You could e.g. make it in inline math instead of display math. Replace beginalign*...endalign* by $displaystylebeginaligned...endaligned.

    – campa
    Nov 13 '18 at 15:38











  • this does not work, the next line of code gets ruined

    – A.E
    Nov 13 '18 at 15:47











  • @A.E Sorry, forgot to the closing $: It should be $displaystylebeginaligned...endaligned$

    – campa
    Nov 13 '18 at 15:58

















  • This is perfect, exactly what I was looking for, thank you!

    – A.E
    Nov 13 '18 at 12:52











  • however. is there a way to move everything to the left buy a little?

    – A.E
    Nov 13 '18 at 12:54












  • @A.E You could e.g. make it in inline math instead of display math. Replace beginalign*...endalign* by $displaystylebeginaligned...endaligned.

    – campa
    Nov 13 '18 at 15:38











  • this does not work, the next line of code gets ruined

    – A.E
    Nov 13 '18 at 15:47











  • @A.E Sorry, forgot to the closing $: It should be $displaystylebeginaligned...endaligned$

    – campa
    Nov 13 '18 at 15:58
















This is perfect, exactly what I was looking for, thank you!

– A.E
Nov 13 '18 at 12:52





This is perfect, exactly what I was looking for, thank you!

– A.E
Nov 13 '18 at 12:52













however. is there a way to move everything to the left buy a little?

– A.E
Nov 13 '18 at 12:54






however. is there a way to move everything to the left buy a little?

– A.E
Nov 13 '18 at 12:54














@A.E You could e.g. make it in inline math instead of display math. Replace beginalign*...endalign* by $displaystylebeginaligned...endaligned.

– campa
Nov 13 '18 at 15:38





@A.E You could e.g. make it in inline math instead of display math. Replace beginalign*...endalign* by $displaystylebeginaligned...endaligned.

– campa
Nov 13 '18 at 15:38













this does not work, the next line of code gets ruined

– A.E
Nov 13 '18 at 15:47





this does not work, the next line of code gets ruined

– A.E
Nov 13 '18 at 15:47













@A.E Sorry, forgot to the closing $: It should be $displaystylebeginaligned...endaligned$

– campa
Nov 13 '18 at 15:58





@A.E Sorry, forgot to the closing $: It should be $displaystylebeginaligned...endaligned$

– campa
Nov 13 '18 at 15:58











2














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
    Nov 13 '18 at 13:43












  • @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
    Nov 13 '18 at 14:05
















2














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
    Nov 13 '18 at 13:43












  • @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
    Nov 13 '18 at 14:05














2












2








2







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 Nov 13 '18 at 13:27

























answered Nov 13 '18 at 13:14









FranFran

52.1k6115177




52.1k6115177












  • 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
    Nov 13 '18 at 13:43












  • @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
    Nov 13 '18 at 14:05


















  • 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
    Nov 13 '18 at 13:43












  • @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
    Nov 13 '18 at 14:05

















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
Nov 13 '18 at 13:43






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
Nov 13 '18 at 13:43














@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
Nov 13 '18 at 14:05






@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
Nov 13 '18 at 14:05


















draft saved

draft discarded
















































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.




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















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







這個網誌中的熱門文章

Barbados

How to read a connectionString WITH PROVIDER in .NET Core?

Node.js Script on GitHub Pages or Amazon S3