Adding labels to a table: columns and rows The 2019 Stack Overflow Developer Survey Results Are InHighlight table cells using thick, colored borderUsing a table: alignment issues and cell labelsHow to make table with rotated table headers in LaTeXHow do I prevent cellcolor from over effect of hlineAdding a different sized, independent, table under another with same captionHorizontal lines in nested tabular environmentHow to vertically align table columnProblem aligning decimals in multi-column tableColor in every other column for Table with Multicolumn with subcolumnsNote at the end of the table in Latex
Mathematics of imaging the black hole
What does Linus Torvalds mean when he says that Git "never ever" tracks a file?
What is this sharp, curved notch on my knife for?
Accepted by European university, rejected by all American ones I applied to? Possible reasons?
Did any laptop computers have a built-in 5 1/4 inch floppy drive?
Get name of standard action overriden in Visualforce contorller
Ubuntu Server install with full GUI
Can a rogue use sneak attack with weapons that have the thrown property even if they are not thrown?
Worn-tile Scrabble
Why not take a picture of a closer black hole?
Why are there uneven bright areas in this photo of black hole?
Is bread bad for ducks?
What is the meaning of Triage in Cybersec world?
Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?
What to do when moving next to a bird sanctuary with a loosely-domesticated cat?
How come people say “Would of”?
Inverse Relationship Between Precision and Recall
Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?
What is the light source in the black hole images?
How can I add encounters in the Lost Mine of Phandelver campaign without giving PCs too much XP?
What information about me do stores get via my credit card?
What do I do when my TA workload is more than expected?
Cooking pasta in a water boiler
Is it correct to say the Neural Networks are an alternative way of performing Maximum Likelihood Estimation? if not, why?
Adding labels to a table: columns and rows
The 2019 Stack Overflow Developer Survey Results Are InHighlight table cells using thick, colored borderUsing a table: alignment issues and cell labelsHow to make table with rotated table headers in LaTeXHow do I prevent cellcolor from over effect of hlineAdding a different sized, independent, table under another with same captionHorizontal lines in nested tabular environmentHow to vertically align table columnProblem aligning decimals in multi-column tableColor in every other column for Table with Multicolumn with subcolumnsNote at the end of the table in Latex

Can anybody help me? I know how to build the table but I don’t know how to add the “Users” and “Movies” labels.
This is what I've tried so far:
begintable[H]
centering
text textbfMovies
begintabular c
multicolumn1c & multicolumn1c1 & multicolumn1c2
& multicolumn1c3 & multicolumn1c4 & multicolumn1c5
& multicolumn1c6 & multicolumn1c7 & multicolumn1c8 \ hhline~*8
1 & & 5 & & 2 & 4 & & & \ hhline~*8
2 & 4 & & 3 & 1 & & & 3 & \ hhline~*8
3 & & 5 & 4 & & 5 & & 4 &\ hhline~*8
4 & & & & & & 1 & 1 & 2 \ hhline~*8
5 & 3 & & colorbluetextbf? & & colorbluetextbf? & 3 & & 0 \ hhline~*8
6 & & colorbluetextbf? & 2 & & 4 & &colorbluetextbf? & \ hhline~*8
endtabular
Thanks!
tables
New contributor
naveganteX 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 |

Can anybody help me? I know how to build the table but I don’t know how to add the “Users” and “Movies” labels.
This is what I've tried so far:
begintable[H]
centering
text textbfMovies
begintabular c
multicolumn1c & multicolumn1c1 & multicolumn1c2
& multicolumn1c3 & multicolumn1c4 & multicolumn1c5
& multicolumn1c6 & multicolumn1c7 & multicolumn1c8 \ hhline~*8
1 & & 5 & & 2 & 4 & & & \ hhline~*8
2 & 4 & & 3 & 1 & & & 3 & \ hhline~*8
3 & & 5 & 4 & & 5 & & 4 &\ hhline~*8
4 & & & & & & 1 & 1 & 2 \ hhline~*8
5 & 3 & & colorbluetextbf? & & colorbluetextbf? & 3 & & 0 \ hhline~*8
6 & & colorbluetextbf? & 2 & & 4 & &colorbluetextbf? & \ hhline~*8
endtabular
Thanks!
tables
New contributor
naveganteX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
You can have it withmultirowandmulticolumn, but I'd use TikZ for that. Anyway: what have you tried so far? Please add a minimal code.
– JouleV
yesterday
add a comment |

Can anybody help me? I know how to build the table but I don’t know how to add the “Users” and “Movies” labels.
This is what I've tried so far:
begintable[H]
centering
text textbfMovies
begintabular c
multicolumn1c & multicolumn1c1 & multicolumn1c2
& multicolumn1c3 & multicolumn1c4 & multicolumn1c5
& multicolumn1c6 & multicolumn1c7 & multicolumn1c8 \ hhline~*8
1 & & 5 & & 2 & 4 & & & \ hhline~*8
2 & 4 & & 3 & 1 & & & 3 & \ hhline~*8
3 & & 5 & 4 & & 5 & & 4 &\ hhline~*8
4 & & & & & & 1 & 1 & 2 \ hhline~*8
5 & 3 & & colorbluetextbf? & & colorbluetextbf? & 3 & & 0 \ hhline~*8
6 & & colorbluetextbf? & 2 & & 4 & &colorbluetextbf? & \ hhline~*8
endtabular
Thanks!
tables
New contributor
naveganteX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

Can anybody help me? I know how to build the table but I don’t know how to add the “Users” and “Movies” labels.
This is what I've tried so far:
begintable[H]
centering
text textbfMovies
begintabular c
multicolumn1c & multicolumn1c1 & multicolumn1c2
& multicolumn1c3 & multicolumn1c4 & multicolumn1c5
& multicolumn1c6 & multicolumn1c7 & multicolumn1c8 \ hhline~*8
1 & & 5 & & 2 & 4 & & & \ hhline~*8
2 & 4 & & 3 & 1 & & & 3 & \ hhline~*8
3 & & 5 & 4 & & 5 & & 4 &\ hhline~*8
4 & & & & & & 1 & 1 & 2 \ hhline~*8
5 & 3 & & colorbluetextbf? & & colorbluetextbf? & 3 & & 0 \ hhline~*8
6 & & colorbluetextbf? & 2 & & 4 & &colorbluetextbf? & \ hhline~*8
endtabular
Thanks!
tables
tables
New contributor
naveganteX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
naveganteX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited yesterday
naveganteX
New contributor
naveganteX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked yesterday
naveganteXnaveganteX
324
324
New contributor
naveganteX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
naveganteX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
naveganteX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
You can have it withmultirowandmulticolumn, but I'd use TikZ for that. Anyway: what have you tried so far? Please add a minimal code.
– JouleV
yesterday
add a comment |
1
You can have it withmultirowandmulticolumn, but I'd use TikZ for that. Anyway: what have you tried so far? Please add a minimal code.
– JouleV
yesterday
1
1
You can have it with
multirow and multicolumn, but I'd use TikZ for that. Anyway: what have you tried so far? Please add a minimal code.– JouleV
yesterday
You can have it with
multirow and multicolumn, but I'd use TikZ for that. Anyway: what have you tried so far? Please add a minimal code.– JouleV
yesterday
add a comment |
2 Answers
2
active
oldest
votes
This is my recommended version, which doesn't use any tables at all, but a powerful tool called TikZ:
documentclass[tikz]standalone
usetikzlibrarymatrix
begindocument
sffamily
begintikzpicture
matrix (m) [matrix of nodes,nodes in empty cells,nodes=minimum size=.75cm,anchor=center] %
& 5 & & 2 & 4 & & & \
4 & & 3 & 1 & & & 3 & \
& 5 & 4 & & 5 & & 4 &\
& & & & & 1 & 1 & 2 \
3 & & colorbluetextbf? & & colorbluetextbf? & 3 & & 0 \
& colorbluetextbf? & 2 & & 4 & &colorbluetextbf? & \
;
draw[step=0.75] (m-1-1.north west) grid (m-6-8.south east);
beginscope[font=scriptsize]
foreach i in 1,...,8 path (m-1-i.north) node[above] i;
foreach i in 1,...,6 path (m-i-1.west) node[left] i;
endscope
path (m-1-5.north west) node[above=1em] Movies;
path (m-3-1.south west) node[left=1em] Users;
endtikzpicture
enddocument

I don't nest tables, but use a multirow to center "Movies" and "Users":
documentclassarticle
usepackagexcolor
usepackagearray
usepackagemultirow
renewcommandarraystretch1.5
begindocument
sffamily
begintabularc
&multicolumn1c & multicolumn8cMovies\
&multicolumn1c & multicolumn1c1 & multicolumn1c2
& multicolumn1c3 & multicolumn1c4 & multicolumn1c5
& multicolumn1c6 & multicolumn1c7 & multicolumn1c8 \ cline3-10
multirow6*Users&1 & & 5 & & 2 & 4 & & & \ cline3-10
&2 & 4 & & 3 & 1 & & & 3 & \ cline3-10
&3 & & 5 & 4 & & 5 & & 4 &\ cline3-10
&4 & & & & & & 1 & 1 & 2 \ cline3-10
&5 & 3 & & colorbluetextbf? & & colorbluetextbf? & 3 & & 0 \ cline3-10
&6 & & colorbluetextbf? & 2 & & 4 & &colorbluetextbf? & \ cline3-10
endtabular
enddocument

You are the man! Thank you so much! I had heard about TikZ but I didn't know it had these capabilities!
– naveganteX
yesterday
@naveganteX and it can do much more. Welcome to TeX.SE!
– JouleV
yesterday
add a comment |
You can nest tables.
documentclassbeamer
usepackagexcolor
usepackagearray
usepackagehhline
begindocument
beginframe[t]
frametitleTables can be nested
begintabularcc
& Movies\
Users&
begintabular c
multicolumn1c & multicolumn1c1 & multicolumn1c2
& multicolumn1c3 & multicolumn1c4 & multicolumn1c5
& multicolumn1c6 & multicolumn1c7 & multicolumn1c8 \ hhline~*8
1 & & 5 & & 2 & 4 & & & \ hhline~*8
2 & 4 & & 3 & 1 & & & 3 & \ hhline~*8
3 & & 5 & 4 & & 5 & & 4 &\ hhline~*8
4 & & & & & & 1 & 1 & 2 \ hhline~*8
5 & 3 & & colorbluetextbf? & & colorbluetextbf? & 3 & & 0 \ hhline~*8
6 & & colorbluetextbf? & 2 & & 4 & &colorbluetextbf? & \ hhline~*8
endtabular
endtabular
endframe
enddocument

Thank you very much!
– naveganteX
yesterday
add a comment |
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
);
);
naveganteX 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
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f484051%2fadding-labels-to-a-table-columns-and-rows%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
This is my recommended version, which doesn't use any tables at all, but a powerful tool called TikZ:
documentclass[tikz]standalone
usetikzlibrarymatrix
begindocument
sffamily
begintikzpicture
matrix (m) [matrix of nodes,nodes in empty cells,nodes=minimum size=.75cm,anchor=center] %
& 5 & & 2 & 4 & & & \
4 & & 3 & 1 & & & 3 & \
& 5 & 4 & & 5 & & 4 &\
& & & & & 1 & 1 & 2 \
3 & & colorbluetextbf? & & colorbluetextbf? & 3 & & 0 \
& colorbluetextbf? & 2 & & 4 & &colorbluetextbf? & \
;
draw[step=0.75] (m-1-1.north west) grid (m-6-8.south east);
beginscope[font=scriptsize]
foreach i in 1,...,8 path (m-1-i.north) node[above] i;
foreach i in 1,...,6 path (m-i-1.west) node[left] i;
endscope
path (m-1-5.north west) node[above=1em] Movies;
path (m-3-1.south west) node[left=1em] Users;
endtikzpicture
enddocument

I don't nest tables, but use a multirow to center "Movies" and "Users":
documentclassarticle
usepackagexcolor
usepackagearray
usepackagemultirow
renewcommandarraystretch1.5
begindocument
sffamily
begintabularc
&multicolumn1c & multicolumn8cMovies\
&multicolumn1c & multicolumn1c1 & multicolumn1c2
& multicolumn1c3 & multicolumn1c4 & multicolumn1c5
& multicolumn1c6 & multicolumn1c7 & multicolumn1c8 \ cline3-10
multirow6*Users&1 & & 5 & & 2 & 4 & & & \ cline3-10
&2 & 4 & & 3 & 1 & & & 3 & \ cline3-10
&3 & & 5 & 4 & & 5 & & 4 &\ cline3-10
&4 & & & & & & 1 & 1 & 2 \ cline3-10
&5 & 3 & & colorbluetextbf? & & colorbluetextbf? & 3 & & 0 \ cline3-10
&6 & & colorbluetextbf? & 2 & & 4 & &colorbluetextbf? & \ cline3-10
endtabular
enddocument

You are the man! Thank you so much! I had heard about TikZ but I didn't know it had these capabilities!
– naveganteX
yesterday
@naveganteX and it can do much more. Welcome to TeX.SE!
– JouleV
yesterday
add a comment |
This is my recommended version, which doesn't use any tables at all, but a powerful tool called TikZ:
documentclass[tikz]standalone
usetikzlibrarymatrix
begindocument
sffamily
begintikzpicture
matrix (m) [matrix of nodes,nodes in empty cells,nodes=minimum size=.75cm,anchor=center] %
& 5 & & 2 & 4 & & & \
4 & & 3 & 1 & & & 3 & \
& 5 & 4 & & 5 & & 4 &\
& & & & & 1 & 1 & 2 \
3 & & colorbluetextbf? & & colorbluetextbf? & 3 & & 0 \
& colorbluetextbf? & 2 & & 4 & &colorbluetextbf? & \
;
draw[step=0.75] (m-1-1.north west) grid (m-6-8.south east);
beginscope[font=scriptsize]
foreach i in 1,...,8 path (m-1-i.north) node[above] i;
foreach i in 1,...,6 path (m-i-1.west) node[left] i;
endscope
path (m-1-5.north west) node[above=1em] Movies;
path (m-3-1.south west) node[left=1em] Users;
endtikzpicture
enddocument

I don't nest tables, but use a multirow to center "Movies" and "Users":
documentclassarticle
usepackagexcolor
usepackagearray
usepackagemultirow
renewcommandarraystretch1.5
begindocument
sffamily
begintabularc
&multicolumn1c & multicolumn8cMovies\
&multicolumn1c & multicolumn1c1 & multicolumn1c2
& multicolumn1c3 & multicolumn1c4 & multicolumn1c5
& multicolumn1c6 & multicolumn1c7 & multicolumn1c8 \ cline3-10
multirow6*Users&1 & & 5 & & 2 & 4 & & & \ cline3-10
&2 & 4 & & 3 & 1 & & & 3 & \ cline3-10
&3 & & 5 & 4 & & 5 & & 4 &\ cline3-10
&4 & & & & & & 1 & 1 & 2 \ cline3-10
&5 & 3 & & colorbluetextbf? & & colorbluetextbf? & 3 & & 0 \ cline3-10
&6 & & colorbluetextbf? & 2 & & 4 & &colorbluetextbf? & \ cline3-10
endtabular
enddocument

You are the man! Thank you so much! I had heard about TikZ but I didn't know it had these capabilities!
– naveganteX
yesterday
@naveganteX and it can do much more. Welcome to TeX.SE!
– JouleV
yesterday
add a comment |
This is my recommended version, which doesn't use any tables at all, but a powerful tool called TikZ:
documentclass[tikz]standalone
usetikzlibrarymatrix
begindocument
sffamily
begintikzpicture
matrix (m) [matrix of nodes,nodes in empty cells,nodes=minimum size=.75cm,anchor=center] %
& 5 & & 2 & 4 & & & \
4 & & 3 & 1 & & & 3 & \
& 5 & 4 & & 5 & & 4 &\
& & & & & 1 & 1 & 2 \
3 & & colorbluetextbf? & & colorbluetextbf? & 3 & & 0 \
& colorbluetextbf? & 2 & & 4 & &colorbluetextbf? & \
;
draw[step=0.75] (m-1-1.north west) grid (m-6-8.south east);
beginscope[font=scriptsize]
foreach i in 1,...,8 path (m-1-i.north) node[above] i;
foreach i in 1,...,6 path (m-i-1.west) node[left] i;
endscope
path (m-1-5.north west) node[above=1em] Movies;
path (m-3-1.south west) node[left=1em] Users;
endtikzpicture
enddocument

I don't nest tables, but use a multirow to center "Movies" and "Users":
documentclassarticle
usepackagexcolor
usepackagearray
usepackagemultirow
renewcommandarraystretch1.5
begindocument
sffamily
begintabularc
&multicolumn1c & multicolumn8cMovies\
&multicolumn1c & multicolumn1c1 & multicolumn1c2
& multicolumn1c3 & multicolumn1c4 & multicolumn1c5
& multicolumn1c6 & multicolumn1c7 & multicolumn1c8 \ cline3-10
multirow6*Users&1 & & 5 & & 2 & 4 & & & \ cline3-10
&2 & 4 & & 3 & 1 & & & 3 & \ cline3-10
&3 & & 5 & 4 & & 5 & & 4 &\ cline3-10
&4 & & & & & & 1 & 1 & 2 \ cline3-10
&5 & 3 & & colorbluetextbf? & & colorbluetextbf? & 3 & & 0 \ cline3-10
&6 & & colorbluetextbf? & 2 & & 4 & &colorbluetextbf? & \ cline3-10
endtabular
enddocument

This is my recommended version, which doesn't use any tables at all, but a powerful tool called TikZ:
documentclass[tikz]standalone
usetikzlibrarymatrix
begindocument
sffamily
begintikzpicture
matrix (m) [matrix of nodes,nodes in empty cells,nodes=minimum size=.75cm,anchor=center] %
& 5 & & 2 & 4 & & & \
4 & & 3 & 1 & & & 3 & \
& 5 & 4 & & 5 & & 4 &\
& & & & & 1 & 1 & 2 \
3 & & colorbluetextbf? & & colorbluetextbf? & 3 & & 0 \
& colorbluetextbf? & 2 & & 4 & &colorbluetextbf? & \
;
draw[step=0.75] (m-1-1.north west) grid (m-6-8.south east);
beginscope[font=scriptsize]
foreach i in 1,...,8 path (m-1-i.north) node[above] i;
foreach i in 1,...,6 path (m-i-1.west) node[left] i;
endscope
path (m-1-5.north west) node[above=1em] Movies;
path (m-3-1.south west) node[left=1em] Users;
endtikzpicture
enddocument

I don't nest tables, but use a multirow to center "Movies" and "Users":
documentclassarticle
usepackagexcolor
usepackagearray
usepackagemultirow
renewcommandarraystretch1.5
begindocument
sffamily
begintabularc
&multicolumn1c & multicolumn8cMovies\
&multicolumn1c & multicolumn1c1 & multicolumn1c2
& multicolumn1c3 & multicolumn1c4 & multicolumn1c5
& multicolumn1c6 & multicolumn1c7 & multicolumn1c8 \ cline3-10
multirow6*Users&1 & & 5 & & 2 & 4 & & & \ cline3-10
&2 & 4 & & 3 & 1 & & & 3 & \ cline3-10
&3 & & 5 & 4 & & 5 & & 4 &\ cline3-10
&4 & & & & & & 1 & 1 & 2 \ cline3-10
&5 & 3 & & colorbluetextbf? & & colorbluetextbf? & 3 & & 0 \ cline3-10
&6 & & colorbluetextbf? & 2 & & 4 & &colorbluetextbf? & \ cline3-10
endtabular
enddocument

edited yesterday
answered yesterday
JouleVJouleV
12.5k22663
12.5k22663
You are the man! Thank you so much! I had heard about TikZ but I didn't know it had these capabilities!
– naveganteX
yesterday
@naveganteX and it can do much more. Welcome to TeX.SE!
– JouleV
yesterday
add a comment |
You are the man! Thank you so much! I had heard about TikZ but I didn't know it had these capabilities!
– naveganteX
yesterday
@naveganteX and it can do much more. Welcome to TeX.SE!
– JouleV
yesterday
You are the man! Thank you so much! I had heard about TikZ but I didn't know it had these capabilities!
– naveganteX
yesterday
You are the man! Thank you so much! I had heard about TikZ but I didn't know it had these capabilities!
– naveganteX
yesterday
@naveganteX and it can do much more. Welcome to TeX.SE!
– JouleV
yesterday
@naveganteX and it can do much more. Welcome to TeX.SE!
– JouleV
yesterday
add a comment |
You can nest tables.
documentclassbeamer
usepackagexcolor
usepackagearray
usepackagehhline
begindocument
beginframe[t]
frametitleTables can be nested
begintabularcc
& Movies\
Users&
begintabular c
multicolumn1c & multicolumn1c1 & multicolumn1c2
& multicolumn1c3 & multicolumn1c4 & multicolumn1c5
& multicolumn1c6 & multicolumn1c7 & multicolumn1c8 \ hhline~*8
1 & & 5 & & 2 & 4 & & & \ hhline~*8
2 & 4 & & 3 & 1 & & & 3 & \ hhline~*8
3 & & 5 & 4 & & 5 & & 4 &\ hhline~*8
4 & & & & & & 1 & 1 & 2 \ hhline~*8
5 & 3 & & colorbluetextbf? & & colorbluetextbf? & 3 & & 0 \ hhline~*8
6 & & colorbluetextbf? & 2 & & 4 & &colorbluetextbf? & \ hhline~*8
endtabular
endtabular
endframe
enddocument

Thank you very much!
– naveganteX
yesterday
add a comment |
You can nest tables.
documentclassbeamer
usepackagexcolor
usepackagearray
usepackagehhline
begindocument
beginframe[t]
frametitleTables can be nested
begintabularcc
& Movies\
Users&
begintabular c
multicolumn1c & multicolumn1c1 & multicolumn1c2
& multicolumn1c3 & multicolumn1c4 & multicolumn1c5
& multicolumn1c6 & multicolumn1c7 & multicolumn1c8 \ hhline~*8
1 & & 5 & & 2 & 4 & & & \ hhline~*8
2 & 4 & & 3 & 1 & & & 3 & \ hhline~*8
3 & & 5 & 4 & & 5 & & 4 &\ hhline~*8
4 & & & & & & 1 & 1 & 2 \ hhline~*8
5 & 3 & & colorbluetextbf? & & colorbluetextbf? & 3 & & 0 \ hhline~*8
6 & & colorbluetextbf? & 2 & & 4 & &colorbluetextbf? & \ hhline~*8
endtabular
endtabular
endframe
enddocument

Thank you very much!
– naveganteX
yesterday
add a comment |
You can nest tables.
documentclassbeamer
usepackagexcolor
usepackagearray
usepackagehhline
begindocument
beginframe[t]
frametitleTables can be nested
begintabularcc
& Movies\
Users&
begintabular c
multicolumn1c & multicolumn1c1 & multicolumn1c2
& multicolumn1c3 & multicolumn1c4 & multicolumn1c5
& multicolumn1c6 & multicolumn1c7 & multicolumn1c8 \ hhline~*8
1 & & 5 & & 2 & 4 & & & \ hhline~*8
2 & 4 & & 3 & 1 & & & 3 & \ hhline~*8
3 & & 5 & 4 & & 5 & & 4 &\ hhline~*8
4 & & & & & & 1 & 1 & 2 \ hhline~*8
5 & 3 & & colorbluetextbf? & & colorbluetextbf? & 3 & & 0 \ hhline~*8
6 & & colorbluetextbf? & 2 & & 4 & &colorbluetextbf? & \ hhline~*8
endtabular
endtabular
endframe
enddocument

You can nest tables.
documentclassbeamer
usepackagexcolor
usepackagearray
usepackagehhline
begindocument
beginframe[t]
frametitleTables can be nested
begintabularcc
& Movies\
Users&
begintabular c
multicolumn1c & multicolumn1c1 & multicolumn1c2
& multicolumn1c3 & multicolumn1c4 & multicolumn1c5
& multicolumn1c6 & multicolumn1c7 & multicolumn1c8 \ hhline~*8
1 & & 5 & & 2 & 4 & & & \ hhline~*8
2 & 4 & & 3 & 1 & & & 3 & \ hhline~*8
3 & & 5 & 4 & & 5 & & 4 &\ hhline~*8
4 & & & & & & 1 & 1 & 2 \ hhline~*8
5 & 3 & & colorbluetextbf? & & colorbluetextbf? & 3 & & 0 \ hhline~*8
6 & & colorbluetextbf? & 2 & & 4 & &colorbluetextbf? & \ hhline~*8
endtabular
endtabular
endframe
enddocument

answered yesterday
marmotmarmot
117k5150283
117k5150283
Thank you very much!
– naveganteX
yesterday
add a comment |
Thank you very much!
– naveganteX
yesterday
Thank you very much!
– naveganteX
yesterday
Thank you very much!
– naveganteX
yesterday
add a comment |
naveganteX is a new contributor. Be nice, and check out our Code of Conduct.
naveganteX is a new contributor. Be nice, and check out our Code of Conduct.
naveganteX is a new contributor. Be nice, and check out our Code of Conduct.
naveganteX is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f484051%2fadding-labels-to-a-table-columns-and-rows%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
You can have it with
multirowandmulticolumn, but I'd use TikZ for that. Anyway: what have you tried so far? Please add a minimal code.– JouleV
yesterday