Adding labels to a table: columns and rowsHighlight 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't remove one character of space in my environment

In Avengers 1, why does Thanos need Loki?

Manager is threatning to grade me poorly if I don't complete the project

/dev/mem vs /dev/i2c-1

I drew a randomly colored grid of points with tikz, how do I force it to remember the first grid from then on?

I need a disease

What is Shri Venkateshwara Mangalasasana stotram recited for?

Is it cheaper to drop cargo than to land it?

What does a yield inside a yield do?

How long would it take for people to notice a mass disappearance?

When boost::lexical_cast to std::string fails?

Would glacier 'trees' be plausible?

Which industry am I working in? Software development or financial services?

Hyperlink on red background

Pressure inside an infinite ocean?

Selecting a secure PIN for building access

Roll Dice to get a random number between 1 and 150

Does this article imply that Turing-Computability is not the same as "effectively computable"?

What are the differences between credential stuffing and password spraying?

Independent, post-Brexit Scotland - would there be a hard border with England?

Where can I go to avoid planes overhead?

Transferring data speed of Fast Ethernet

Point of the the Dothraki's attack in GoT S8E3?

Virus Detected - Please execute anti-virus code



Adding labels to a table: columns and rows


Highlight 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













4















enter image description here



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
1 & & 5 & & 2 & 4 & & & \ hhline
2 & 4 & & 3 & 1 & & & 3 & \ hhline
3 & & 5 & 4 & & 5 & & 4 &\ hhline
4 & & & & & & 1 & 1 & 2 \ hhline
5 & 3 & & colorbluetextbf? & & colorbluetextbf? & 3 & & 0 \ hhline
6 & & colorbluetextbf? & 2 & & 4 & &colorbluetextbf? & \ hhline
endtabular


Thanks!










share|improve this question



















  • 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
    Apr 10 at 5:54
















4















enter image description here



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
1 & & 5 & & 2 & 4 & & & \ hhline
2 & 4 & & 3 & 1 & & & 3 & \ hhline
3 & & 5 & 4 & & 5 & & 4 &\ hhline
4 & & & & & & 1 & 1 & 2 \ hhline
5 & 3 & & colorbluetextbf? & & colorbluetextbf? & 3 & & 0 \ hhline
6 & & colorbluetextbf? & 2 & & 4 & &colorbluetextbf? & \ hhline
endtabular


Thanks!










share|improve this question



















  • 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
    Apr 10 at 5:54














4












4








4


1






enter image description here



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
1 & & 5 & & 2 & 4 & & & \ hhline
2 & 4 & & 3 & 1 & & & 3 & \ hhline
3 & & 5 & 4 & & 5 & & 4 &\ hhline
4 & & & & & & 1 & 1 & 2 \ hhline
5 & 3 & & colorbluetextbf? & & colorbluetextbf? & 3 & & 0 \ hhline
6 & & colorbluetextbf? & 2 & & 4 & &colorbluetextbf? & \ hhline
endtabular


Thanks!










share|improve this question
















enter image description here



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
1 & & 5 & & 2 & 4 & & & \ hhline
2 & 4 & & 3 & 1 & & & 3 & \ hhline
3 & & 5 & 4 & & 5 & & 4 &\ hhline
4 & & & & & & 1 & 1 & 2 \ hhline
5 & 3 & & colorbluetextbf? & & colorbluetextbf? & 3 & & 0 \ hhline
6 & & colorbluetextbf? & 2 & & 4 & &colorbluetextbf? & \ hhline
endtabular


Thanks!







tables






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 10 at 6:04







naveganteX

















asked Apr 10 at 5:51









naveganteXnaveganteX

535




535







  • 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
    Apr 10 at 5:54













  • 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
    Apr 10 at 5:54








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
Apr 10 at 5:54






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
Apr 10 at 5:54











2 Answers
2






active

oldest

votes


















5














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


enter image description here




I don't nest tables, but use a multirow to center "Movies" and "Users":



documentclassarticle
usepackagexcolor
usepackagearray
usepackagemultirow
renewcommandarraystretch1.5
begindocument
sffamily
begintabularcc
&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


enter image description here






share|improve this answer

























  • You are the man! Thank you so much! I had heard about TikZ but I didn't know it had these capabilities!

    – naveganteX
    Apr 10 at 6:14











  • @naveganteX and it can do much more. Welcome to TeX.SE!

    – JouleV
    Apr 10 at 6:14


















4














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
1 & & 5 & & 2 & 4 & & & \ hhline
2 & 4 & & 3 & 1 & & & 3 & \ hhline
3 & & 5 & 4 & & 5 & & 4 &\ hhline
4 & & & & & & 1 & 1 & 2 \ hhline
5 & 3 & & colorbluetextbf? & & colorbluetextbf? & 3 & & 0 \ hhline
6 & & colorbluetextbf? & 2 & & 4 & &colorbluetextbf? & \ hhline
endtabular
endtabular
endframe
enddocument


enter image description here






share|improve this answer























  • Thank you very much!

    – naveganteX
    Apr 10 at 6:16











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









5














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


enter image description here




I don't nest tables, but use a multirow to center "Movies" and "Users":



documentclassarticle
usepackagexcolor
usepackagearray
usepackagemultirow
renewcommandarraystretch1.5
begindocument
sffamily
begintabularcc
&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


enter image description here






share|improve this answer

























  • You are the man! Thank you so much! I had heard about TikZ but I didn't know it had these capabilities!

    – naveganteX
    Apr 10 at 6:14











  • @naveganteX and it can do much more. Welcome to TeX.SE!

    – JouleV
    Apr 10 at 6:14















5














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


enter image description here




I don't nest tables, but use a multirow to center "Movies" and "Users":



documentclassarticle
usepackagexcolor
usepackagearray
usepackagemultirow
renewcommandarraystretch1.5
begindocument
sffamily
begintabularcc
&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


enter image description here






share|improve this answer

























  • You are the man! Thank you so much! I had heard about TikZ but I didn't know it had these capabilities!

    – naveganteX
    Apr 10 at 6:14











  • @naveganteX and it can do much more. Welcome to TeX.SE!

    – JouleV
    Apr 10 at 6:14













5












5








5







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


enter image description here




I don't nest tables, but use a multirow to center "Movies" and "Users":



documentclassarticle
usepackagexcolor
usepackagearray
usepackagemultirow
renewcommandarraystretch1.5
begindocument
sffamily
begintabularcc
&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


enter image description here






share|improve this answer















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


enter image description here




I don't nest tables, but use a multirow to center "Movies" and "Users":



documentclassarticle
usepackagexcolor
usepackagearray
usepackagemultirow
renewcommandarraystretch1.5
begindocument
sffamily
begintabularcc
&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


enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








edited Apr 10 at 6:37

























answered Apr 10 at 6:11









JouleVJouleV

16.1k22667




16.1k22667












  • You are the man! Thank you so much! I had heard about TikZ but I didn't know it had these capabilities!

    – naveganteX
    Apr 10 at 6:14











  • @naveganteX and it can do much more. Welcome to TeX.SE!

    – JouleV
    Apr 10 at 6:14

















  • You are the man! Thank you so much! I had heard about TikZ but I didn't know it had these capabilities!

    – naveganteX
    Apr 10 at 6:14











  • @naveganteX and it can do much more. Welcome to TeX.SE!

    – JouleV
    Apr 10 at 6:14
















You are the man! Thank you so much! I had heard about TikZ but I didn't know it had these capabilities!

– naveganteX
Apr 10 at 6:14





You are the man! Thank you so much! I had heard about TikZ but I didn't know it had these capabilities!

– naveganteX
Apr 10 at 6:14













@naveganteX and it can do much more. Welcome to TeX.SE!

– JouleV
Apr 10 at 6:14





@naveganteX and it can do much more. Welcome to TeX.SE!

– JouleV
Apr 10 at 6:14











4














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
1 & & 5 & & 2 & 4 & & & \ hhline
2 & 4 & & 3 & 1 & & & 3 & \ hhline
3 & & 5 & 4 & & 5 & & 4 &\ hhline
4 & & & & & & 1 & 1 & 2 \ hhline
5 & 3 & & colorbluetextbf? & & colorbluetextbf? & 3 & & 0 \ hhline
6 & & colorbluetextbf? & 2 & & 4 & &colorbluetextbf? & \ hhline
endtabular
endtabular
endframe
enddocument


enter image description here






share|improve this answer























  • Thank you very much!

    – naveganteX
    Apr 10 at 6:16















4














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
1 & & 5 & & 2 & 4 & & & \ hhline
2 & 4 & & 3 & 1 & & & 3 & \ hhline
3 & & 5 & 4 & & 5 & & 4 &\ hhline
4 & & & & & & 1 & 1 & 2 \ hhline
5 & 3 & & colorbluetextbf? & & colorbluetextbf? & 3 & & 0 \ hhline
6 & & colorbluetextbf? & 2 & & 4 & &colorbluetextbf? & \ hhline
endtabular
endtabular
endframe
enddocument


enter image description here






share|improve this answer























  • Thank you very much!

    – naveganteX
    Apr 10 at 6:16













4












4








4







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
1 & & 5 & & 2 & 4 & & & \ hhline
2 & 4 & & 3 & 1 & & & 3 & \ hhline
3 & & 5 & 4 & & 5 & & 4 &\ hhline
4 & & & & & & 1 & 1 & 2 \ hhline
5 & 3 & & colorbluetextbf? & & colorbluetextbf? & 3 & & 0 \ hhline
6 & & colorbluetextbf? & 2 & & 4 & &colorbluetextbf? & \ hhline
endtabular
endtabular
endframe
enddocument


enter image description here






share|improve this answer













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
1 & & 5 & & 2 & 4 & & & \ hhline
2 & 4 & & 3 & 1 & & & 3 & \ hhline
3 & & 5 & 4 & & 5 & & 4 &\ hhline
4 & & & & & & 1 & 1 & 2 \ hhline
5 & 3 & & colorbluetextbf? & & colorbluetextbf? & 3 & & 0 \ hhline
6 & & colorbluetextbf? & 2 & & 4 & &colorbluetextbf? & \ hhline
endtabular
endtabular
endframe
enddocument


enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered Apr 10 at 6:12









marmotmarmot

123k6160300




123k6160300












  • Thank you very much!

    – naveganteX
    Apr 10 at 6:16

















  • Thank you very much!

    – naveganteX
    Apr 10 at 6:16
















Thank you very much!

– naveganteX
Apr 10 at 6:16





Thank you very much!

– naveganteX
Apr 10 at 6:16

















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%2f484051%2fadding-labels-to-a-table-columns-and-rows%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







Popular posts from this blog

Adding axes to figuresAdding axes labels to LaTeX figuresLaTeX equivalent of ConTeXt buffersRotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?TikZ scaling graphic and adjust node position and keep font sizeNumerical conditional within tikz keys?adding axes to shapesAlign axes across subfiguresAdding figures with a certain orderLine up nested tikz enviroments or how to get rid of themAdding axes labels to LaTeX figures

Luettelo Yhdysvaltain laivaston lentotukialuksista Lähteet | Navigointivalikko

Gary (muusikko) Sisällysluettelo Historia | Rockin' High | Lähteet | Aiheesta muualla | NavigointivalikkoInfobox OKTuomas "Gary" Keskinen Ancaran kitaristiksiProjekti Rockin' High