How can I create a Table like this in Latex?How to get multiple multirows in a table?How do I prevent cellcolor from over effect of hlineWhat options are there to globally format tables also allowing local overrides?Declaring array of integersVertically aligning fixed height tablesIs there a simple way to create a latex equivalent of this (ms)word table template?Loading data to fill a table from a csv file with multicolumn headerHow to create custom table environment with a possibility for table footnotesHow to create custom table environment with a possibility to merge cellsFit IEEE-754 table in A4 width

What is a term for a function that when called repeatedly, has the same effect as calling once?

Can a space-faring robot still function over a billion years?

Being asked to review a paper in conference one has submitted to

Can I solder 12/2 Romex to extend wire 5 ft?

Should we avoid writing fiction about historical events without extensive research?

Why did the Cray-1 have 8 parity bits per word?

Is there a math equivalent to the conditional ternary operator?

“I had a flat in the centre of town, but I didn’t like living there, so …”

Why would the IRS ask for birth certificates or even audit a small tax return?

How to disable or uninstall iTunes under High Sierra without disabling SIP

What can I do if someone tampers with my SSH public key?

PTIJ: What dummy is the Gemara referring to?

Why doesn't "adolescent" take any articles in "listen to adolescent agonising"?

When was drinking water recognized as crucial in marathon running?

Is there a full canon version of Tyrion's jackass/honeycomb joke?

Misplaced tyre lever - alternatives?

Giving a talk in my old university, how prominently should I tell students my salary?

I encountered my boss during an on-site interview at another company. Should I bring it up when seeing him next time?

What is the meaning of "notice to quit at once" and "Lotty points”

Where is the fallacy here?

PTIJ: Why can't I sing about soda on certain days?

How can I conditionally format my HTML table?

GPL code private and stolen

Is divide-by-zero a security vulnerability?



How can I create a Table like this in Latex?


How to get multiple multirows in a table?How do I prevent cellcolor from over effect of hlineWhat options are there to globally format tables also allowing local overrides?Declaring array of integersVertically aligning fixed height tablesIs there a simple way to create a latex equivalent of this (ms)word table template?Loading data to fill a table from a csv file with multicolumn headerHow to create custom table environment with a possibility for table footnotesHow to create custom table environment with a possibility to merge cellsFit IEEE-754 table in A4 width













7















How can I create a table like this in Latex?



enter image description here



I have tried but it didn't work. I need also that it is enumerated so that it appears in the List of Tables. It doesn't matter if it is not coloured, as long as the first two rows are bold.



begincenter
begintabularc
hline
multicolumn5Number of cells per type \
hline

a& b& c& d& e\
hline
44 & 39 & 7 & 32 &22 \

hline
endtabular
endcenter









share|improve this question









New contributor




Federica Benassi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Welcome to TeX.SE. First of all, please try to ask one question per thread. And, please show us what you have tried so far. This is not a do-it-for-me site.

    – Raaja
    yesterday











  • begincenter begintabularc hline multicolumn5Number of cells per type \ hline a& b& c& d& e\ hline 44 & 39 & 7 & 32 &22 \ hline endtabular endcenter

    – Federica Benassi
    yesterday






  • 1





    Please add it in your question and kindly make it compilable.

    – Raaja
    yesterday






  • 3





    I have added it

    – Federica Benassi
    yesterday











  • Do you need the first two columns to be narrower than the next three, as appears to be the case in the screenshot you posted? Please advise.

    – Mico
    yesterday















7















How can I create a table like this in Latex?



enter image description here



I have tried but it didn't work. I need also that it is enumerated so that it appears in the List of Tables. It doesn't matter if it is not coloured, as long as the first two rows are bold.



begincenter
begintabularc
hline
multicolumn5Number of cells per type \
hline

a& b& c& d& e\
hline
44 & 39 & 7 & 32 &22 \

hline
endtabular
endcenter









share|improve this question









New contributor




Federica Benassi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Welcome to TeX.SE. First of all, please try to ask one question per thread. And, please show us what you have tried so far. This is not a do-it-for-me site.

    – Raaja
    yesterday











  • begincenter begintabularc hline multicolumn5Number of cells per type \ hline a& b& c& d& e\ hline 44 & 39 & 7 & 32 &22 \ hline endtabular endcenter

    – Federica Benassi
    yesterday






  • 1





    Please add it in your question and kindly make it compilable.

    – Raaja
    yesterday






  • 3





    I have added it

    – Federica Benassi
    yesterday











  • Do you need the first two columns to be narrower than the next three, as appears to be the case in the screenshot you posted? Please advise.

    – Mico
    yesterday













7












7








7


0






How can I create a table like this in Latex?



enter image description here



I have tried but it didn't work. I need also that it is enumerated so that it appears in the List of Tables. It doesn't matter if it is not coloured, as long as the first two rows are bold.



begincenter
begintabularc
hline
multicolumn5Number of cells per type \
hline

a& b& c& d& e\
hline
44 & 39 & 7 & 32 &22 \

hline
endtabular
endcenter









share|improve this question









New contributor




Federica Benassi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












How can I create a table like this in Latex?



enter image description here



I have tried but it didn't work. I need also that it is enumerated so that it appears in the List of Tables. It doesn't matter if it is not coloured, as long as the first two rows are bold.



begincenter
begintabularc
hline
multicolumn5Number of cells per type \
hline

a& b& c& d& e\
hline
44 & 39 & 7 & 32 &22 \

hline
endtabular
endcenter






tables table-of-contents






share|improve this question









New contributor




Federica Benassi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Federica Benassi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited yesterday







Federica Benassi













New contributor




Federica Benassi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









Federica BenassiFederica Benassi

383




383




New contributor




Federica Benassi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Federica Benassi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Federica Benassi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Welcome to TeX.SE. First of all, please try to ask one question per thread. And, please show us what you have tried so far. This is not a do-it-for-me site.

    – Raaja
    yesterday











  • begincenter begintabularc hline multicolumn5Number of cells per type \ hline a& b& c& d& e\ hline 44 & 39 & 7 & 32 &22 \ hline endtabular endcenter

    – Federica Benassi
    yesterday






  • 1





    Please add it in your question and kindly make it compilable.

    – Raaja
    yesterday






  • 3





    I have added it

    – Federica Benassi
    yesterday











  • Do you need the first two columns to be narrower than the next three, as appears to be the case in the screenshot you posted? Please advise.

    – Mico
    yesterday

















  • Welcome to TeX.SE. First of all, please try to ask one question per thread. And, please show us what you have tried so far. This is not a do-it-for-me site.

    – Raaja
    yesterday











  • begincenter begintabularc hline multicolumn5Number of cells per type \ hline a& b& c& d& e\ hline 44 & 39 & 7 & 32 &22 \ hline endtabular endcenter

    – Federica Benassi
    yesterday






  • 1





    Please add it in your question and kindly make it compilable.

    – Raaja
    yesterday






  • 3





    I have added it

    – Federica Benassi
    yesterday











  • Do you need the first two columns to be narrower than the next three, as appears to be the case in the screenshot you posted? Please advise.

    – Mico
    yesterday
















Welcome to TeX.SE. First of all, please try to ask one question per thread. And, please show us what you have tried so far. This is not a do-it-for-me site.

– Raaja
yesterday





Welcome to TeX.SE. First of all, please try to ask one question per thread. And, please show us what you have tried so far. This is not a do-it-for-me site.

– Raaja
yesterday













begincenter begintabularc hline multicolumn5Number of cells per type \ hline a& b& c& d& e\ hline 44 & 39 & 7 & 32 &22 \ hline endtabular endcenter

– Federica Benassi
yesterday





begincenter begintabularc hline multicolumn5Number of cells per type \ hline a& b& c& d& e\ hline 44 & 39 & 7 & 32 &22 \ hline endtabular endcenter

– Federica Benassi
yesterday




1




1





Please add it in your question and kindly make it compilable.

– Raaja
yesterday





Please add it in your question and kindly make it compilable.

– Raaja
yesterday




3




3





I have added it

– Federica Benassi
yesterday





I have added it

– Federica Benassi
yesterday













Do you need the first two columns to be narrower than the next three, as appears to be the case in the screenshot you posted? Please advise.

– Mico
yesterday





Do you need the first two columns to be narrower than the next three, as appears to be the case in the screenshot you posted? Please advise.

– Mico
yesterday










4 Answers
4






active

oldest

votes


















9














I suggest you to use booktabs for professional tables.



documentclass[11pt,openright]book
usepackagearray
newcolumntypeC>centeringarraybackslashX
renewcommandarraystretch1.2
usepackagebooktabs
usepackagetabularx
usepackagecaption

begindocument
listoftables

chapterMy chapter
begintable[htb]centering
captionYour tablelabeltab:yourtab
begintabularx.5linewidthC
hline
multicolumn5bfseries Number of cells per type \
hline
bfseries a& bfseries b& bfseries c& bfseries d& bfseries e\
hline
44 & 39 & 7 & 32 &22 \
hline
endtabularx
endtable
begintable[htb]centering
captionMy suggestionlabeltab:mytab
begintabularx.5linewidth*5C
toprule
multicolumn5cbfseries Number of cells per type \
midrule
bfseries a& bfseries b& bfseries c& bfseries d& bfseries e\
midrule
44 & 39 & 7 & 32 &22 \
bottomrule
endtabularx
endtable
enddocument


enter image description here



enter image description here






share|improve this answer























  • Thank you! That's exactly what I was thinking about

    – Federica Benassi
    yesterday











  • Is there, by any chance, a way to put "Table 1.2: My suggestion" under the table and not above?

    – Federica Benassi
    yesterday











  • @FedericaBenassi Yes, just put the caption... after endtabularx.

    – CarLaTeX
    yesterday


















6














Don't mix-and-mismatch visual cues and metaphores: if you employ colored rows, don't employ horizontal rules. And, for sure, you can omit all vertical rules -- they're not needed.



enter image description here



documentclassarticle
usepackage[table,svgnames]xcolor
usepackagearray % for 'extrarowheight' macro
begindocument

begincenter
sffamily
setlengthextrarowheight2pt % optional
setlengthtabcolsep9pt % default: 6pt
begintabular ccccc
%hline
rowcolorLightBlue multicolumn5cNumber of cells per type \
%hline
rowcolorLightBlue a & b & c & d & e\
%hline
44 & 39 & 7 & 32 & 22 \
hline
endtabular
endcenter

enddocument





share|improve this answer


















  • 1





    Nice remark and a good suggestion (+1).

    – Raaja
    yesterday






  • 1





    Thank you so much!

    – Federica Benassi
    yesterday


















4














A mix-and-match with colors and using something as a starting point



documentclass[10pt,a4paper]article
usepackage[table,xcdraw]xcolor
begindocument
listoftablesnewpage
begintable[]
begintabular!colorcyanvrulel!colorcyanvrulel!colorcyanvrulel!colorcyanvrulel!colorcyanvrulel!colorcyanvrule
arrayrulecolorcyanhline
rowcolor[HTML]38FFF8
multicolumn5!colorcyanvrulel!colorcyanvrulecellcolor[HTML]38FFF8Number of cells per type \ arrayrulecolorcyanhline
rowcolor[HTML]38FFF8
a & b & c & d & e \ arrayrulecolorcyanhline
1 & 2 & 3 & 4 & 5 \ hline
endtabular
captiona
endtable
enddocument


to get:



enter image description here



enter image description here



PS: Feel free to play with colors (I right now, do not have the necessary things to find out the colors) and I was lazy enough not to input your numbers (sorry ;-))






share|improve this answer




















  • 2





    Needless to load colortbl: the table option of xcolor does it for you.

    – Bernard
    yesterday











  • @Bernard Thanks for the remark, updated my answer.

    – Raaja
    yesterday


















3














There is also a really handy online tool called Tables Generator.



It lets you input your data (you can even upload it from file), and adapt it WYSIWYG-style. It will then generate the correct LaTeX code for you to copy/paste into you document.






share|improve this answer










New contributor




sara is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Simply the best answer here. Instead of fish, gives the rod!

    – Sanctus
    9 hours ago











  • @Sanctus - Have you actually looked at the quality of the LaTeX code produced by the tablegenerators.com site?

    – Mico
    8 hours ago










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



);






Federica Benassi is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f477931%2fhow-can-i-create-a-table-like-this-in-latex%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























4 Answers
4






active

oldest

votes








4 Answers
4






active

oldest

votes









active

oldest

votes






active

oldest

votes









9














I suggest you to use booktabs for professional tables.



documentclass[11pt,openright]book
usepackagearray
newcolumntypeC>centeringarraybackslashX
renewcommandarraystretch1.2
usepackagebooktabs
usepackagetabularx
usepackagecaption

begindocument
listoftables

chapterMy chapter
begintable[htb]centering
captionYour tablelabeltab:yourtab
begintabularx.5linewidthC
hline
multicolumn5bfseries Number of cells per type \
hline
bfseries a& bfseries b& bfseries c& bfseries d& bfseries e\
hline
44 & 39 & 7 & 32 &22 \
hline
endtabularx
endtable
begintable[htb]centering
captionMy suggestionlabeltab:mytab
begintabularx.5linewidth*5C
toprule
multicolumn5cbfseries Number of cells per type \
midrule
bfseries a& bfseries b& bfseries c& bfseries d& bfseries e\
midrule
44 & 39 & 7 & 32 &22 \
bottomrule
endtabularx
endtable
enddocument


enter image description here



enter image description here






share|improve this answer























  • Thank you! That's exactly what I was thinking about

    – Federica Benassi
    yesterday











  • Is there, by any chance, a way to put "Table 1.2: My suggestion" under the table and not above?

    – Federica Benassi
    yesterday











  • @FedericaBenassi Yes, just put the caption... after endtabularx.

    – CarLaTeX
    yesterday















9














I suggest you to use booktabs for professional tables.



documentclass[11pt,openright]book
usepackagearray
newcolumntypeC>centeringarraybackslashX
renewcommandarraystretch1.2
usepackagebooktabs
usepackagetabularx
usepackagecaption

begindocument
listoftables

chapterMy chapter
begintable[htb]centering
captionYour tablelabeltab:yourtab
begintabularx.5linewidthC
hline
multicolumn5bfseries Number of cells per type \
hline
bfseries a& bfseries b& bfseries c& bfseries d& bfseries e\
hline
44 & 39 & 7 & 32 &22 \
hline
endtabularx
endtable
begintable[htb]centering
captionMy suggestionlabeltab:mytab
begintabularx.5linewidth*5C
toprule
multicolumn5cbfseries Number of cells per type \
midrule
bfseries a& bfseries b& bfseries c& bfseries d& bfseries e\
midrule
44 & 39 & 7 & 32 &22 \
bottomrule
endtabularx
endtable
enddocument


enter image description here



enter image description here






share|improve this answer























  • Thank you! That's exactly what I was thinking about

    – Federica Benassi
    yesterday











  • Is there, by any chance, a way to put "Table 1.2: My suggestion" under the table and not above?

    – Federica Benassi
    yesterday











  • @FedericaBenassi Yes, just put the caption... after endtabularx.

    – CarLaTeX
    yesterday













9












9








9







I suggest you to use booktabs for professional tables.



documentclass[11pt,openright]book
usepackagearray
newcolumntypeC>centeringarraybackslashX
renewcommandarraystretch1.2
usepackagebooktabs
usepackagetabularx
usepackagecaption

begindocument
listoftables

chapterMy chapter
begintable[htb]centering
captionYour tablelabeltab:yourtab
begintabularx.5linewidthC
hline
multicolumn5bfseries Number of cells per type \
hline
bfseries a& bfseries b& bfseries c& bfseries d& bfseries e\
hline
44 & 39 & 7 & 32 &22 \
hline
endtabularx
endtable
begintable[htb]centering
captionMy suggestionlabeltab:mytab
begintabularx.5linewidth*5C
toprule
multicolumn5cbfseries Number of cells per type \
midrule
bfseries a& bfseries b& bfseries c& bfseries d& bfseries e\
midrule
44 & 39 & 7 & 32 &22 \
bottomrule
endtabularx
endtable
enddocument


enter image description here



enter image description here






share|improve this answer













I suggest you to use booktabs for professional tables.



documentclass[11pt,openright]book
usepackagearray
newcolumntypeC>centeringarraybackslashX
renewcommandarraystretch1.2
usepackagebooktabs
usepackagetabularx
usepackagecaption

begindocument
listoftables

chapterMy chapter
begintable[htb]centering
captionYour tablelabeltab:yourtab
begintabularx.5linewidthC
hline
multicolumn5bfseries Number of cells per type \
hline
bfseries a& bfseries b& bfseries c& bfseries d& bfseries e\
hline
44 & 39 & 7 & 32 &22 \
hline
endtabularx
endtable
begintable[htb]centering
captionMy suggestionlabeltab:mytab
begintabularx.5linewidth*5C
toprule
multicolumn5cbfseries Number of cells per type \
midrule
bfseries a& bfseries b& bfseries c& bfseries d& bfseries e\
midrule
44 & 39 & 7 & 32 &22 \
bottomrule
endtabularx
endtable
enddocument


enter image description here



enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered yesterday









CarLaTeXCarLaTeX

32.8k551135




32.8k551135












  • Thank you! That's exactly what I was thinking about

    – Federica Benassi
    yesterday











  • Is there, by any chance, a way to put "Table 1.2: My suggestion" under the table and not above?

    – Federica Benassi
    yesterday











  • @FedericaBenassi Yes, just put the caption... after endtabularx.

    – CarLaTeX
    yesterday

















  • Thank you! That's exactly what I was thinking about

    – Federica Benassi
    yesterday











  • Is there, by any chance, a way to put "Table 1.2: My suggestion" under the table and not above?

    – Federica Benassi
    yesterday











  • @FedericaBenassi Yes, just put the caption... after endtabularx.

    – CarLaTeX
    yesterday
















Thank you! That's exactly what I was thinking about

– Federica Benassi
yesterday





Thank you! That's exactly what I was thinking about

– Federica Benassi
yesterday













Is there, by any chance, a way to put "Table 1.2: My suggestion" under the table and not above?

– Federica Benassi
yesterday





Is there, by any chance, a way to put "Table 1.2: My suggestion" under the table and not above?

– Federica Benassi
yesterday













@FedericaBenassi Yes, just put the caption... after endtabularx.

– CarLaTeX
yesterday





@FedericaBenassi Yes, just put the caption... after endtabularx.

– CarLaTeX
yesterday











6














Don't mix-and-mismatch visual cues and metaphores: if you employ colored rows, don't employ horizontal rules. And, for sure, you can omit all vertical rules -- they're not needed.



enter image description here



documentclassarticle
usepackage[table,svgnames]xcolor
usepackagearray % for 'extrarowheight' macro
begindocument

begincenter
sffamily
setlengthextrarowheight2pt % optional
setlengthtabcolsep9pt % default: 6pt
begintabular ccccc
%hline
rowcolorLightBlue multicolumn5cNumber of cells per type \
%hline
rowcolorLightBlue a & b & c & d & e\
%hline
44 & 39 & 7 & 32 & 22 \
hline
endtabular
endcenter

enddocument





share|improve this answer


















  • 1





    Nice remark and a good suggestion (+1).

    – Raaja
    yesterday






  • 1





    Thank you so much!

    – Federica Benassi
    yesterday















6














Don't mix-and-mismatch visual cues and metaphores: if you employ colored rows, don't employ horizontal rules. And, for sure, you can omit all vertical rules -- they're not needed.



enter image description here



documentclassarticle
usepackage[table,svgnames]xcolor
usepackagearray % for 'extrarowheight' macro
begindocument

begincenter
sffamily
setlengthextrarowheight2pt % optional
setlengthtabcolsep9pt % default: 6pt
begintabular ccccc
%hline
rowcolorLightBlue multicolumn5cNumber of cells per type \
%hline
rowcolorLightBlue a & b & c & d & e\
%hline
44 & 39 & 7 & 32 & 22 \
hline
endtabular
endcenter

enddocument





share|improve this answer


















  • 1





    Nice remark and a good suggestion (+1).

    – Raaja
    yesterday






  • 1





    Thank you so much!

    – Federica Benassi
    yesterday













6












6








6







Don't mix-and-mismatch visual cues and metaphores: if you employ colored rows, don't employ horizontal rules. And, for sure, you can omit all vertical rules -- they're not needed.



enter image description here



documentclassarticle
usepackage[table,svgnames]xcolor
usepackagearray % for 'extrarowheight' macro
begindocument

begincenter
sffamily
setlengthextrarowheight2pt % optional
setlengthtabcolsep9pt % default: 6pt
begintabular ccccc
%hline
rowcolorLightBlue multicolumn5cNumber of cells per type \
%hline
rowcolorLightBlue a & b & c & d & e\
%hline
44 & 39 & 7 & 32 & 22 \
hline
endtabular
endcenter

enddocument





share|improve this answer













Don't mix-and-mismatch visual cues and metaphores: if you employ colored rows, don't employ horizontal rules. And, for sure, you can omit all vertical rules -- they're not needed.



enter image description here



documentclassarticle
usepackage[table,svgnames]xcolor
usepackagearray % for 'extrarowheight' macro
begindocument

begincenter
sffamily
setlengthextrarowheight2pt % optional
setlengthtabcolsep9pt % default: 6pt
begintabular ccccc
%hline
rowcolorLightBlue multicolumn5cNumber of cells per type \
%hline
rowcolorLightBlue a & b & c & d & e\
%hline
44 & 39 & 7 & 32 & 22 \
hline
endtabular
endcenter

enddocument






share|improve this answer












share|improve this answer



share|improve this answer










answered yesterday









MicoMico

281k31385774




281k31385774







  • 1





    Nice remark and a good suggestion (+1).

    – Raaja
    yesterday






  • 1





    Thank you so much!

    – Federica Benassi
    yesterday












  • 1





    Nice remark and a good suggestion (+1).

    – Raaja
    yesterday






  • 1





    Thank you so much!

    – Federica Benassi
    yesterday







1




1





Nice remark and a good suggestion (+1).

– Raaja
yesterday





Nice remark and a good suggestion (+1).

– Raaja
yesterday




1




1





Thank you so much!

– Federica Benassi
yesterday





Thank you so much!

– Federica Benassi
yesterday











4














A mix-and-match with colors and using something as a starting point



documentclass[10pt,a4paper]article
usepackage[table,xcdraw]xcolor
begindocument
listoftablesnewpage
begintable[]
begintabular!colorcyanvrulel!colorcyanvrulel!colorcyanvrulel!colorcyanvrulel!colorcyanvrulel!colorcyanvrule
arrayrulecolorcyanhline
rowcolor[HTML]38FFF8
multicolumn5!colorcyanvrulel!colorcyanvrulecellcolor[HTML]38FFF8Number of cells per type \ arrayrulecolorcyanhline
rowcolor[HTML]38FFF8
a & b & c & d & e \ arrayrulecolorcyanhline
1 & 2 & 3 & 4 & 5 \ hline
endtabular
captiona
endtable
enddocument


to get:



enter image description here



enter image description here



PS: Feel free to play with colors (I right now, do not have the necessary things to find out the colors) and I was lazy enough not to input your numbers (sorry ;-))






share|improve this answer




















  • 2





    Needless to load colortbl: the table option of xcolor does it for you.

    – Bernard
    yesterday











  • @Bernard Thanks for the remark, updated my answer.

    – Raaja
    yesterday















4














A mix-and-match with colors and using something as a starting point



documentclass[10pt,a4paper]article
usepackage[table,xcdraw]xcolor
begindocument
listoftablesnewpage
begintable[]
begintabular!colorcyanvrulel!colorcyanvrulel!colorcyanvrulel!colorcyanvrulel!colorcyanvrulel!colorcyanvrule
arrayrulecolorcyanhline
rowcolor[HTML]38FFF8
multicolumn5!colorcyanvrulel!colorcyanvrulecellcolor[HTML]38FFF8Number of cells per type \ arrayrulecolorcyanhline
rowcolor[HTML]38FFF8
a & b & c & d & e \ arrayrulecolorcyanhline
1 & 2 & 3 & 4 & 5 \ hline
endtabular
captiona
endtable
enddocument


to get:



enter image description here



enter image description here



PS: Feel free to play with colors (I right now, do not have the necessary things to find out the colors) and I was lazy enough not to input your numbers (sorry ;-))






share|improve this answer




















  • 2





    Needless to load colortbl: the table option of xcolor does it for you.

    – Bernard
    yesterday











  • @Bernard Thanks for the remark, updated my answer.

    – Raaja
    yesterday













4












4








4







A mix-and-match with colors and using something as a starting point



documentclass[10pt,a4paper]article
usepackage[table,xcdraw]xcolor
begindocument
listoftablesnewpage
begintable[]
begintabular!colorcyanvrulel!colorcyanvrulel!colorcyanvrulel!colorcyanvrulel!colorcyanvrulel!colorcyanvrule
arrayrulecolorcyanhline
rowcolor[HTML]38FFF8
multicolumn5!colorcyanvrulel!colorcyanvrulecellcolor[HTML]38FFF8Number of cells per type \ arrayrulecolorcyanhline
rowcolor[HTML]38FFF8
a & b & c & d & e \ arrayrulecolorcyanhline
1 & 2 & 3 & 4 & 5 \ hline
endtabular
captiona
endtable
enddocument


to get:



enter image description here



enter image description here



PS: Feel free to play with colors (I right now, do not have the necessary things to find out the colors) and I was lazy enough not to input your numbers (sorry ;-))






share|improve this answer















A mix-and-match with colors and using something as a starting point



documentclass[10pt,a4paper]article
usepackage[table,xcdraw]xcolor
begindocument
listoftablesnewpage
begintable[]
begintabular!colorcyanvrulel!colorcyanvrulel!colorcyanvrulel!colorcyanvrulel!colorcyanvrulel!colorcyanvrule
arrayrulecolorcyanhline
rowcolor[HTML]38FFF8
multicolumn5!colorcyanvrulel!colorcyanvrulecellcolor[HTML]38FFF8Number of cells per type \ arrayrulecolorcyanhline
rowcolor[HTML]38FFF8
a & b & c & d & e \ arrayrulecolorcyanhline
1 & 2 & 3 & 4 & 5 \ hline
endtabular
captiona
endtable
enddocument


to get:



enter image description here



enter image description here



PS: Feel free to play with colors (I right now, do not have the necessary things to find out the colors) and I was lazy enough not to input your numbers (sorry ;-))







share|improve this answer














share|improve this answer



share|improve this answer








edited yesterday

























answered yesterday









RaajaRaaja

4,45621138




4,45621138







  • 2





    Needless to load colortbl: the table option of xcolor does it for you.

    – Bernard
    yesterday











  • @Bernard Thanks for the remark, updated my answer.

    – Raaja
    yesterday












  • 2





    Needless to load colortbl: the table option of xcolor does it for you.

    – Bernard
    yesterday











  • @Bernard Thanks for the remark, updated my answer.

    – Raaja
    yesterday







2




2





Needless to load colortbl: the table option of xcolor does it for you.

– Bernard
yesterday





Needless to load colortbl: the table option of xcolor does it for you.

– Bernard
yesterday













@Bernard Thanks for the remark, updated my answer.

– Raaja
yesterday





@Bernard Thanks for the remark, updated my answer.

– Raaja
yesterday











3














There is also a really handy online tool called Tables Generator.



It lets you input your data (you can even upload it from file), and adapt it WYSIWYG-style. It will then generate the correct LaTeX code for you to copy/paste into you document.






share|improve this answer










New contributor




sara is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Simply the best answer here. Instead of fish, gives the rod!

    – Sanctus
    9 hours ago











  • @Sanctus - Have you actually looked at the quality of the LaTeX code produced by the tablegenerators.com site?

    – Mico
    8 hours ago















3














There is also a really handy online tool called Tables Generator.



It lets you input your data (you can even upload it from file), and adapt it WYSIWYG-style. It will then generate the correct LaTeX code for you to copy/paste into you document.






share|improve this answer










New contributor




sara is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Simply the best answer here. Instead of fish, gives the rod!

    – Sanctus
    9 hours ago











  • @Sanctus - Have you actually looked at the quality of the LaTeX code produced by the tablegenerators.com site?

    – Mico
    8 hours ago













3












3








3







There is also a really handy online tool called Tables Generator.



It lets you input your data (you can even upload it from file), and adapt it WYSIWYG-style. It will then generate the correct LaTeX code for you to copy/paste into you document.






share|improve this answer










New contributor




sara is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










There is also a really handy online tool called Tables Generator.



It lets you input your data (you can even upload it from file), and adapt it WYSIWYG-style. It will then generate the correct LaTeX code for you to copy/paste into you document.







share|improve this answer










New contributor




sara is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this answer



share|improve this answer








edited 21 hours ago









JouleV

4,91111139




4,91111139






New contributor




sara is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









answered 21 hours ago









sarasara

311




311




New contributor




sara is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





sara is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






sara is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Simply the best answer here. Instead of fish, gives the rod!

    – Sanctus
    9 hours ago











  • @Sanctus - Have you actually looked at the quality of the LaTeX code produced by the tablegenerators.com site?

    – Mico
    8 hours ago

















  • Simply the best answer here. Instead of fish, gives the rod!

    – Sanctus
    9 hours ago











  • @Sanctus - Have you actually looked at the quality of the LaTeX code produced by the tablegenerators.com site?

    – Mico
    8 hours ago
















Simply the best answer here. Instead of fish, gives the rod!

– Sanctus
9 hours ago





Simply the best answer here. Instead of fish, gives the rod!

– Sanctus
9 hours ago













@Sanctus - Have you actually looked at the quality of the LaTeX code produced by the tablegenerators.com site?

– Mico
8 hours ago





@Sanctus - Have you actually looked at the quality of the LaTeX code produced by the tablegenerators.com site?

– Mico
8 hours ago










Federica Benassi is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















Federica Benassi is a new contributor. Be nice, and check out our Code of Conduct.












Federica Benassi is a new contributor. Be nice, and check out our Code of Conduct.











Federica Benassi 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.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f477931%2fhow-can-i-create-a-table-like-this-in-latex%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

Identity Server 4 is not redirecting to Angular app after login2019 Community Moderator ElectionIdentity Server 4 and dockerIdentityserver implicit flow unauthorized_clientIdentityServer Hybrid Flow - Access Token is null after user successful loginIdentity Server to MVC client : Page Redirect After loginLogin with Steam OpenId(oidc-client-js)Identity Server 4+.NET Core 2.0 + IdentityIdentityServer4 post-login redirect not working in Edge browserCall to IdentityServer4 generates System.NullReferenceException: Object reference not set to an instance of an objectIdentityServer4 without HTTPS not workingHow to get Authorization code from identity server without login form

2005 Ahvaz unrest Contents Background Causes Casualties Aftermath See also References Navigation menue"At Least 10 Are Killed by Bombs in Iran""Iran"Archived"Arab-Iranians in Iran to make April 15 'Day of Fury'"State of Mind, State of Order: Reactions to Ethnic Unrest in the Islamic Republic of Iran.10.1111/j.1754-9469.2008.00028.x"Iran hangs Arab separatists"Iran Overview from ArchivedConstitution of the Islamic Republic of Iran"Tehran puzzled by forged 'riots' letter""Iran and its minorities: Down in the second class""Iran: Handling Of Ahvaz Unrest Could End With Televised Confessions""Bombings Rock Iran Ahead of Election""Five die in Iran ethnic clashes""Iran: Need for restraint as anniversary of unrest in Khuzestan approaches"Archived"Iranian Sunni protesters killed in clashes with security forces"Archived

Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme