Formatting arrows and text under a matrix

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











up vote
3
down vote

favorite












I am looking to be able to write this:
https://imgur.com/a/FFMifhs



but I'm a little stuck with the arrows and what not concerning the arrows underneath the matrix. I've got this so far:



 beginpmatrix
1 & 2 & 3 & 4 \
square & square & square & square
\ $uparrow$
endpmatrix


Thanks for the help.







share|improve this question


















  • 1




    Related: tex.stackexchange.com/questions/404387/…
    – Sebastiano
    Aug 8 at 21:53














up vote
3
down vote

favorite












I am looking to be able to write this:
https://imgur.com/a/FFMifhs



but I'm a little stuck with the arrows and what not concerning the arrows underneath the matrix. I've got this so far:



 beginpmatrix
1 & 2 & 3 & 4 \
square & square & square & square
\ $uparrow$
endpmatrix


Thanks for the help.







share|improve this question


















  • 1




    Related: tex.stackexchange.com/questions/404387/…
    – Sebastiano
    Aug 8 at 21:53












up vote
3
down vote

favorite









up vote
3
down vote

favorite











I am looking to be able to write this:
https://imgur.com/a/FFMifhs



but I'm a little stuck with the arrows and what not concerning the arrows underneath the matrix. I've got this so far:



 beginpmatrix
1 & 2 & 3 & 4 \
square & square & square & square
\ $uparrow$
endpmatrix


Thanks for the help.







share|improve this question














I am looking to be able to write this:
https://imgur.com/a/FFMifhs



but I'm a little stuck with the arrows and what not concerning the arrows underneath the matrix. I've got this so far:



 beginpmatrix
1 & 2 & 3 & 4 \
square & square & square & square
\ $uparrow$
endpmatrix


Thanks for the help.









share|improve this question













share|improve this question




share|improve this question








edited Aug 8 at 21:46









Sebastiano

7,65731553




7,65731553










asked Aug 8 at 21:43









Zombiegit123

184




184







  • 1




    Related: tex.stackexchange.com/questions/404387/…
    – Sebastiano
    Aug 8 at 21:53












  • 1




    Related: tex.stackexchange.com/questions/404387/…
    – Sebastiano
    Aug 8 at 21:53







1




1




Related: tex.stackexchange.com/questions/404387/…
– Sebastiano
Aug 8 at 21:53




Related: tex.stackexchange.com/questions/404387/…
– Sebastiano
Aug 8 at 21:53










2 Answers
2






active

oldest

votes

















up vote
4
down vote



accepted










documentclassarticle
usepackageamsmath,amssymb,tikz
newcommandPoss[1]ifnum#1=1
tikz[remember picture]node(node-#1)$scriptscriptstyle beginarrayc#1~textposs-\
textibilityendarray$
else
tikz[remember picture]node(node-#1)$scriptscriptstyle beginarrayc#1~textposs-\
textibilitiesendarray$
fi
begindocument
[beginpmatrix
1 & 2 & 3 & 4 \
square & square & square & square
\ uparrow & uparrow &uparrow &uparrow \
Poss4 & Poss3 & Poss2 & Poss1 \[-1.6cm]
endpmatrix]
tikz[overlay,remember picture]foreach X [count=Y] in 2,3,4
path (node-Y) -- (node-X) node[midway]$scriptstyletimes$;
enddocument


enter image description here






share|improve this answer




















  • Brilliant, thanks so much. Never would have got this!
    – Zombiegit123
    Aug 8 at 22:43

















up vote
2
down vote













You could use the tabular environment instead of a matrix.
Here is my solution:



documentclassarticle 


usepackageamsmath
usepackageamssymb
usepackagemultirow
usepackagearray

begindocument

begintabularccccccc

multirow2*$biggl($

& 1 & 2 & 3 & 4 &

multirow2*$biggr)$ \
& $square$ & $square$ & $square$ & $square$ & &\
& $uparrow$ & $uparrow$ & $uparrow$ & $uparrow$ & &\
& multicolumn1c!makebox[0pt]$times$parbox7exsmall 4 possibilities
& multicolumn1c!makebox[0pt]$times$parbox7exsmall 3 possibilities
& multicolumn1c!makebox[0pt]$times$parbox7exsmall 2 possibilities
& parbox7exsmall 1 possibilities
& =
& $4!$ possibilities \
endtabular


enddocument


This is what I obtain:
enter image description here






share|improve this answer


















  • 1




    Good +1. Can you edit your answer because possibilities is not in math mode?
    – Sebastiano
    Aug 8 at 22:32










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: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
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%2f445222%2fformatting-arrows-and-text-under-a-matrix%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










documentclassarticle
usepackageamsmath,amssymb,tikz
newcommandPoss[1]ifnum#1=1
tikz[remember picture]node(node-#1)$scriptscriptstyle beginarrayc#1~textposs-\
textibilityendarray$
else
tikz[remember picture]node(node-#1)$scriptscriptstyle beginarrayc#1~textposs-\
textibilitiesendarray$
fi
begindocument
[beginpmatrix
1 & 2 & 3 & 4 \
square & square & square & square
\ uparrow & uparrow &uparrow &uparrow \
Poss4 & Poss3 & Poss2 & Poss1 \[-1.6cm]
endpmatrix]
tikz[overlay,remember picture]foreach X [count=Y] in 2,3,4
path (node-Y) -- (node-X) node[midway]$scriptstyletimes$;
enddocument


enter image description here






share|improve this answer




















  • Brilliant, thanks so much. Never would have got this!
    – Zombiegit123
    Aug 8 at 22:43














up vote
4
down vote



accepted










documentclassarticle
usepackageamsmath,amssymb,tikz
newcommandPoss[1]ifnum#1=1
tikz[remember picture]node(node-#1)$scriptscriptstyle beginarrayc#1~textposs-\
textibilityendarray$
else
tikz[remember picture]node(node-#1)$scriptscriptstyle beginarrayc#1~textposs-\
textibilitiesendarray$
fi
begindocument
[beginpmatrix
1 & 2 & 3 & 4 \
square & square & square & square
\ uparrow & uparrow &uparrow &uparrow \
Poss4 & Poss3 & Poss2 & Poss1 \[-1.6cm]
endpmatrix]
tikz[overlay,remember picture]foreach X [count=Y] in 2,3,4
path (node-Y) -- (node-X) node[midway]$scriptstyletimes$;
enddocument


enter image description here






share|improve this answer




















  • Brilliant, thanks so much. Never would have got this!
    – Zombiegit123
    Aug 8 at 22:43












up vote
4
down vote



accepted







up vote
4
down vote



accepted






documentclassarticle
usepackageamsmath,amssymb,tikz
newcommandPoss[1]ifnum#1=1
tikz[remember picture]node(node-#1)$scriptscriptstyle beginarrayc#1~textposs-\
textibilityendarray$
else
tikz[remember picture]node(node-#1)$scriptscriptstyle beginarrayc#1~textposs-\
textibilitiesendarray$
fi
begindocument
[beginpmatrix
1 & 2 & 3 & 4 \
square & square & square & square
\ uparrow & uparrow &uparrow &uparrow \
Poss4 & Poss3 & Poss2 & Poss1 \[-1.6cm]
endpmatrix]
tikz[overlay,remember picture]foreach X [count=Y] in 2,3,4
path (node-Y) -- (node-X) node[midway]$scriptstyletimes$;
enddocument


enter image description here






share|improve this answer












documentclassarticle
usepackageamsmath,amssymb,tikz
newcommandPoss[1]ifnum#1=1
tikz[remember picture]node(node-#1)$scriptscriptstyle beginarrayc#1~textposs-\
textibilityendarray$
else
tikz[remember picture]node(node-#1)$scriptscriptstyle beginarrayc#1~textposs-\
textibilitiesendarray$
fi
begindocument
[beginpmatrix
1 & 2 & 3 & 4 \
square & square & square & square
\ uparrow & uparrow &uparrow &uparrow \
Poss4 & Poss3 & Poss2 & Poss1 \[-1.6cm]
endpmatrix]
tikz[overlay,remember picture]foreach X [count=Y] in 2,3,4
path (node-Y) -- (node-X) node[midway]$scriptstyletimes$;
enddocument


enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered Aug 8 at 22:18









marmot

54.6k459118




54.6k459118











  • Brilliant, thanks so much. Never would have got this!
    – Zombiegit123
    Aug 8 at 22:43
















  • Brilliant, thanks so much. Never would have got this!
    – Zombiegit123
    Aug 8 at 22:43















Brilliant, thanks so much. Never would have got this!
– Zombiegit123
Aug 8 at 22:43




Brilliant, thanks so much. Never would have got this!
– Zombiegit123
Aug 8 at 22:43










up vote
2
down vote













You could use the tabular environment instead of a matrix.
Here is my solution:



documentclassarticle 


usepackageamsmath
usepackageamssymb
usepackagemultirow
usepackagearray

begindocument

begintabularccccccc

multirow2*$biggl($

& 1 & 2 & 3 & 4 &

multirow2*$biggr)$ \
& $square$ & $square$ & $square$ & $square$ & &\
& $uparrow$ & $uparrow$ & $uparrow$ & $uparrow$ & &\
& multicolumn1c!makebox[0pt]$times$parbox7exsmall 4 possibilities
& multicolumn1c!makebox[0pt]$times$parbox7exsmall 3 possibilities
& multicolumn1c!makebox[0pt]$times$parbox7exsmall 2 possibilities
& parbox7exsmall 1 possibilities
& =
& $4!$ possibilities \
endtabular


enddocument


This is what I obtain:
enter image description here






share|improve this answer


















  • 1




    Good +1. Can you edit your answer because possibilities is not in math mode?
    – Sebastiano
    Aug 8 at 22:32














up vote
2
down vote













You could use the tabular environment instead of a matrix.
Here is my solution:



documentclassarticle 


usepackageamsmath
usepackageamssymb
usepackagemultirow
usepackagearray

begindocument

begintabularccccccc

multirow2*$biggl($

& 1 & 2 & 3 & 4 &

multirow2*$biggr)$ \
& $square$ & $square$ & $square$ & $square$ & &\
& $uparrow$ & $uparrow$ & $uparrow$ & $uparrow$ & &\
& multicolumn1c!makebox[0pt]$times$parbox7exsmall 4 possibilities
& multicolumn1c!makebox[0pt]$times$parbox7exsmall 3 possibilities
& multicolumn1c!makebox[0pt]$times$parbox7exsmall 2 possibilities
& parbox7exsmall 1 possibilities
& =
& $4!$ possibilities \
endtabular


enddocument


This is what I obtain:
enter image description here






share|improve this answer


















  • 1




    Good +1. Can you edit your answer because possibilities is not in math mode?
    – Sebastiano
    Aug 8 at 22:32












up vote
2
down vote










up vote
2
down vote









You could use the tabular environment instead of a matrix.
Here is my solution:



documentclassarticle 


usepackageamsmath
usepackageamssymb
usepackagemultirow
usepackagearray

begindocument

begintabularccccccc

multirow2*$biggl($

& 1 & 2 & 3 & 4 &

multirow2*$biggr)$ \
& $square$ & $square$ & $square$ & $square$ & &\
& $uparrow$ & $uparrow$ & $uparrow$ & $uparrow$ & &\
& multicolumn1c!makebox[0pt]$times$parbox7exsmall 4 possibilities
& multicolumn1c!makebox[0pt]$times$parbox7exsmall 3 possibilities
& multicolumn1c!makebox[0pt]$times$parbox7exsmall 2 possibilities
& parbox7exsmall 1 possibilities
& =
& $4!$ possibilities \
endtabular


enddocument


This is what I obtain:
enter image description here






share|improve this answer














You could use the tabular environment instead of a matrix.
Here is my solution:



documentclassarticle 


usepackageamsmath
usepackageamssymb
usepackagemultirow
usepackagearray

begindocument

begintabularccccccc

multirow2*$biggl($

& 1 & 2 & 3 & 4 &

multirow2*$biggr)$ \
& $square$ & $square$ & $square$ & $square$ & &\
& $uparrow$ & $uparrow$ & $uparrow$ & $uparrow$ & &\
& multicolumn1c!makebox[0pt]$times$parbox7exsmall 4 possibilities
& multicolumn1c!makebox[0pt]$times$parbox7exsmall 3 possibilities
& multicolumn1c!makebox[0pt]$times$parbox7exsmall 2 possibilities
& parbox7exsmall 1 possibilities
& =
& $4!$ possibilities \
endtabular


enddocument


This is what I obtain:
enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








edited Aug 8 at 23:01

























answered Aug 8 at 22:12









Source

52018




52018







  • 1




    Good +1. Can you edit your answer because possibilities is not in math mode?
    – Sebastiano
    Aug 8 at 22:32












  • 1




    Good +1. Can you edit your answer because possibilities is not in math mode?
    – Sebastiano
    Aug 8 at 22:32







1




1




Good +1. Can you edit your answer because possibilities is not in math mode?
– Sebastiano
Aug 8 at 22:32




Good +1. Can you edit your answer because possibilities is not in math mode?
– Sebastiano
Aug 8 at 22:32

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f445222%2fformatting-arrows-and-text-under-a-matrix%23new-answer', 'question_page');

);

Post as a guest













































































Comments

Popular posts from this blog

What does second last employer means? [closed]

List of Gilmore Girls characters

Confectionery