How can I create a Table like this in Latex?How to exclude an appendix table from list of table?How can I...

How do ISS astronauts "get their stripes"?

What could trigger powerful quakes on icy world?

Erro: incompatible type for argument 1 of 'printf'

Is there a math equivalent to the conditional ternary operator?

Heating basement floor with water heater

How do you say "powers of ten"?

Didactic impediments of using simplified versions

In Adventurer's League, is it possible to keep the Ring of Winter if you manage to acquire it in the Tomb of Annihilation adventure?

Can I become debt free or should I file for bankruptcy? How do I manage my debt and finances?

How can I be pwned if I'm not registered on the compromised site?

Get length of the longest sequence of numbers with the same sign

At what level can a party fight a mimic?

Is there a frame of reference in which I was born before I was conceived?

Are paired adjectives bad style?

It took me a lot of time to make this, pls like. (YouTube Comments #1)

If a set is open, does that imply that it has no boundary points?

Book about a time-travel war fought by computers

Non-Italian European mafias in USA?

How to mitigate "bandwagon attacking" from players?

What are the issues with an additional (limited) concentration slot instead of Bladesong?

Graphing random points on the XY-plane

RS232 to Raspberry Pi Zero W

Is the withholding of funding notice allowed?

Why can't we make a perpetual motion machine by using a magnet to pull up a piece of metal, then letting it fall back down?



How can I create a Table like this in Latex?


How to exclude an appendix table from list of table?How can I draw this table?Could someone turn this table into a latex table?how to create a table with the text of columns centered and justified?How to create table with custom color borderlines?How to create a compact comparison table like this?How can I reproduce this table with LaTeX?Formatting a table with multiple headers using tabular like this?How to create custom table environment with a possibility for table footnotesHow can I create a complex table like this in the following picture













2















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.



begin{center}
begin{tabular}{ |c|c|c|c|c| }
hline
multicolumn{5}{|c|}{Number of cells per type} \
hline

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

hline
end{tabular}
end{center}









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
    52 mins ago











  • begin{center} begin{tabular}{ |c|c|c|c|c| } hline multicolumn{5}{|c|}{Number of cells per type} \ hline a& b& c& d& e\ hline 44 & 39 & 7 & 32 &22 \ hline end{tabular} end{center}

    – Federica Benassi
    50 mins ago






  • 1





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

    – Raaja
    50 mins ago






  • 1





    I have added it

    – Federica Benassi
    46 mins ago











  • 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
    1 min ago
















2















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.



begin{center}
begin{tabular}{ |c|c|c|c|c| }
hline
multicolumn{5}{|c|}{Number of cells per type} \
hline

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

hline
end{tabular}
end{center}









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
    52 mins ago











  • begin{center} begin{tabular}{ |c|c|c|c|c| } hline multicolumn{5}{|c|}{Number of cells per type} \ hline a& b& c& d& e\ hline 44 & 39 & 7 & 32 &22 \ hline end{tabular} end{center}

    – Federica Benassi
    50 mins ago






  • 1





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

    – Raaja
    50 mins ago






  • 1





    I have added it

    – Federica Benassi
    46 mins ago











  • 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
    1 min ago














2












2








2


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.



begin{center}
begin{tabular}{ |c|c|c|c|c| }
hline
multicolumn{5}{|c|}{Number of cells per type} \
hline

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

hline
end{tabular}
end{center}









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.



begin{center}
begin{tabular}{ |c|c|c|c|c| }
hline
multicolumn{5}{|c|}{Number of cells per type} \
hline

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

hline
end{tabular}
end{center}






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 49 mins ago







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 56 mins ago









Federica BenassiFederica Benassi

112




112




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
    52 mins ago











  • begin{center} begin{tabular}{ |c|c|c|c|c| } hline multicolumn{5}{|c|}{Number of cells per type} \ hline a& b& c& d& e\ hline 44 & 39 & 7 & 32 &22 \ hline end{tabular} end{center}

    – Federica Benassi
    50 mins ago






  • 1





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

    – Raaja
    50 mins ago






  • 1





    I have added it

    – Federica Benassi
    46 mins ago











  • 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
    1 min ago



















  • 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
    52 mins ago











  • begin{center} begin{tabular}{ |c|c|c|c|c| } hline multicolumn{5}{|c|}{Number of cells per type} \ hline a& b& c& d& e\ hline 44 & 39 & 7 & 32 &22 \ hline end{tabular} end{center}

    – Federica Benassi
    50 mins ago






  • 1





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

    – Raaja
    50 mins ago






  • 1





    I have added it

    – Federica Benassi
    46 mins ago











  • 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
    1 min ago

















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
52 mins ago





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
52 mins ago













begin{center} begin{tabular}{ |c|c|c|c|c| } hline multicolumn{5}{|c|}{Number of cells per type} \ hline a& b& c& d& e\ hline 44 & 39 & 7 & 32 &22 \ hline end{tabular} end{center}

– Federica Benassi
50 mins ago





begin{center} begin{tabular}{ |c|c|c|c|c| } hline multicolumn{5}{|c|}{Number of cells per type} \ hline a& b& c& d& e\ hline 44 & 39 & 7 & 32 &22 \ hline end{tabular} end{center}

– Federica Benassi
50 mins ago




1




1





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

– Raaja
50 mins ago





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

– Raaja
50 mins ago




1




1





I have added it

– Federica Benassi
46 mins ago





I have added it

– Federica Benassi
46 mins ago













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
1 min ago





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
1 min ago










3 Answers
3






active

oldest

votes


















3














I suggest you to use booktabs for professional tables.



documentclass[11pt,openright]{book}
usepackage{array}
newcolumntype{C}{>{centeringarraybackslash}X}
renewcommand{arraystretch}{1.2}
usepackage{booktabs}
usepackage{tabularx}
usepackage{caption}

begin{document}
listoftables

chapter{My chapter}
begin{table}[htb]centering
caption{Your tablelabel{tab:yourtab}}
begin{tabularx}{.5linewidth}{ |C|C|C|C|C| }
hline
multicolumn{5}{|c|}{bfseries Number of cells per type} \
hline
bfseries a& bfseries b& bfseries c& bfseries d& bfseries e\
hline
44 & 39 & 7 & 32 &22 \
hline
end{tabularx}
end{table}
begin{table}[htb]centering
caption{My suggestionlabel{tab:mytab}}
begin{tabularx}{.5linewidth}{*5C}
toprule
multicolumn{5}{c}{bfseries Number of cells per type} \
midrule
bfseries a& bfseries b& bfseries c& bfseries d& bfseries e\
midrule
44 & 39 & 7 & 32 &22 \
bottomrule
end{tabularx}
end{table}
end{document}


enter image description here



enter image description here






share|improve this answer































    2














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



    documentclass[10pt,a4paper]{article}
    usepackage[table,xcdraw]{xcolor}
    begin{document}
    listoftablesnewpage
    begin{table}[]
    begin{tabular}{!{color{cyan}vrule}l!{color{cyan}vrule}l!{color{cyan}vrule}l!{color{cyan}vrule}l!{color{cyan}vrule}l!{color{cyan}vrule}}
    arrayrulecolor{cyan}hline
    rowcolor[HTML]{38FFF8}
    multicolumn{5}{!{color{cyan}vrule}l!{color{cyan}vrule}}{cellcolor[HTML]{38FFF8}Number of cells per type} \ arrayrulecolor{cyan}hline
    rowcolor[HTML]{38FFF8}
    a & b & c & d & e \ arrayrulecolor{cyan}hline
    1 & 2 & 3 & 4 & 5 \ hline
    end{tabular}
    caption{a}
    end{table}
    end{document}


    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
      33 mins ago











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

      – Raaja
      31 mins ago



















    0














    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



    documentclass{article}
    usepackage[table,svgnames]{xcolor}
    usepackage{array} % for 'extrarowheight' macro
    begin{document}

    begin{center}
    sffamily
    setlengthextrarowheight{2pt} % optional
    setlengthtabcolsep{9pt} % default: 6pt
    begin{tabular}{ ccccc }
    %hline
    rowcolor{LightBlue} multicolumn{5}{c}{Number of cells per type} \
    %hline
    rowcolor{LightBlue} a & b & c & d & e\
    %hline
    44 & 39 & 7 & 32 & 22 \
    hline
    end{tabular}
    end{center}

    end{document}




    share























      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

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      3














      I suggest you to use booktabs for professional tables.



      documentclass[11pt,openright]{book}
      usepackage{array}
      newcolumntype{C}{>{centeringarraybackslash}X}
      renewcommand{arraystretch}{1.2}
      usepackage{booktabs}
      usepackage{tabularx}
      usepackage{caption}

      begin{document}
      listoftables

      chapter{My chapter}
      begin{table}[htb]centering
      caption{Your tablelabel{tab:yourtab}}
      begin{tabularx}{.5linewidth}{ |C|C|C|C|C| }
      hline
      multicolumn{5}{|c|}{bfseries Number of cells per type} \
      hline
      bfseries a& bfseries b& bfseries c& bfseries d& bfseries e\
      hline
      44 & 39 & 7 & 32 &22 \
      hline
      end{tabularx}
      end{table}
      begin{table}[htb]centering
      caption{My suggestionlabel{tab:mytab}}
      begin{tabularx}{.5linewidth}{*5C}
      toprule
      multicolumn{5}{c}{bfseries Number of cells per type} \
      midrule
      bfseries a& bfseries b& bfseries c& bfseries d& bfseries e\
      midrule
      44 & 39 & 7 & 32 &22 \
      bottomrule
      end{tabularx}
      end{table}
      end{document}


      enter image description here



      enter image description here






      share|improve this answer




























        3














        I suggest you to use booktabs for professional tables.



        documentclass[11pt,openright]{book}
        usepackage{array}
        newcolumntype{C}{>{centeringarraybackslash}X}
        renewcommand{arraystretch}{1.2}
        usepackage{booktabs}
        usepackage{tabularx}
        usepackage{caption}

        begin{document}
        listoftables

        chapter{My chapter}
        begin{table}[htb]centering
        caption{Your tablelabel{tab:yourtab}}
        begin{tabularx}{.5linewidth}{ |C|C|C|C|C| }
        hline
        multicolumn{5}{|c|}{bfseries Number of cells per type} \
        hline
        bfseries a& bfseries b& bfseries c& bfseries d& bfseries e\
        hline
        44 & 39 & 7 & 32 &22 \
        hline
        end{tabularx}
        end{table}
        begin{table}[htb]centering
        caption{My suggestionlabel{tab:mytab}}
        begin{tabularx}{.5linewidth}{*5C}
        toprule
        multicolumn{5}{c}{bfseries Number of cells per type} \
        midrule
        bfseries a& bfseries b& bfseries c& bfseries d& bfseries e\
        midrule
        44 & 39 & 7 & 32 &22 \
        bottomrule
        end{tabularx}
        end{table}
        end{document}


        enter image description here



        enter image description here






        share|improve this answer


























          3












          3








          3







          I suggest you to use booktabs for professional tables.



          documentclass[11pt,openright]{book}
          usepackage{array}
          newcolumntype{C}{>{centeringarraybackslash}X}
          renewcommand{arraystretch}{1.2}
          usepackage{booktabs}
          usepackage{tabularx}
          usepackage{caption}

          begin{document}
          listoftables

          chapter{My chapter}
          begin{table}[htb]centering
          caption{Your tablelabel{tab:yourtab}}
          begin{tabularx}{.5linewidth}{ |C|C|C|C|C| }
          hline
          multicolumn{5}{|c|}{bfseries Number of cells per type} \
          hline
          bfseries a& bfseries b& bfseries c& bfseries d& bfseries e\
          hline
          44 & 39 & 7 & 32 &22 \
          hline
          end{tabularx}
          end{table}
          begin{table}[htb]centering
          caption{My suggestionlabel{tab:mytab}}
          begin{tabularx}{.5linewidth}{*5C}
          toprule
          multicolumn{5}{c}{bfseries Number of cells per type} \
          midrule
          bfseries a& bfseries b& bfseries c& bfseries d& bfseries e\
          midrule
          44 & 39 & 7 & 32 &22 \
          bottomrule
          end{tabularx}
          end{table}
          end{document}


          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}
          usepackage{array}
          newcolumntype{C}{>{centeringarraybackslash}X}
          renewcommand{arraystretch}{1.2}
          usepackage{booktabs}
          usepackage{tabularx}
          usepackage{caption}

          begin{document}
          listoftables

          chapter{My chapter}
          begin{table}[htb]centering
          caption{Your tablelabel{tab:yourtab}}
          begin{tabularx}{.5linewidth}{ |C|C|C|C|C| }
          hline
          multicolumn{5}{|c|}{bfseries Number of cells per type} \
          hline
          bfseries a& bfseries b& bfseries c& bfseries d& bfseries e\
          hline
          44 & 39 & 7 & 32 &22 \
          hline
          end{tabularx}
          end{table}
          begin{table}[htb]centering
          caption{My suggestionlabel{tab:mytab}}
          begin{tabularx}{.5linewidth}{*5C}
          toprule
          multicolumn{5}{c}{bfseries Number of cells per type} \
          midrule
          bfseries a& bfseries b& bfseries c& bfseries d& bfseries e\
          midrule
          44 & 39 & 7 & 32 &22 \
          bottomrule
          end{tabularx}
          end{table}
          end{document}


          enter image description here



          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 30 mins ago









          CarLaTeXCarLaTeX

          32.6k551135




          32.6k551135























              2














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



              documentclass[10pt,a4paper]{article}
              usepackage[table,xcdraw]{xcolor}
              begin{document}
              listoftablesnewpage
              begin{table}[]
              begin{tabular}{!{color{cyan}vrule}l!{color{cyan}vrule}l!{color{cyan}vrule}l!{color{cyan}vrule}l!{color{cyan}vrule}l!{color{cyan}vrule}}
              arrayrulecolor{cyan}hline
              rowcolor[HTML]{38FFF8}
              multicolumn{5}{!{color{cyan}vrule}l!{color{cyan}vrule}}{cellcolor[HTML]{38FFF8}Number of cells per type} \ arrayrulecolor{cyan}hline
              rowcolor[HTML]{38FFF8}
              a & b & c & d & e \ arrayrulecolor{cyan}hline
              1 & 2 & 3 & 4 & 5 \ hline
              end{tabular}
              caption{a}
              end{table}
              end{document}


              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
                33 mins ago











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

                – Raaja
                31 mins ago
















              2














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



              documentclass[10pt,a4paper]{article}
              usepackage[table,xcdraw]{xcolor}
              begin{document}
              listoftablesnewpage
              begin{table}[]
              begin{tabular}{!{color{cyan}vrule}l!{color{cyan}vrule}l!{color{cyan}vrule}l!{color{cyan}vrule}l!{color{cyan}vrule}l!{color{cyan}vrule}}
              arrayrulecolor{cyan}hline
              rowcolor[HTML]{38FFF8}
              multicolumn{5}{!{color{cyan}vrule}l!{color{cyan}vrule}}{cellcolor[HTML]{38FFF8}Number of cells per type} \ arrayrulecolor{cyan}hline
              rowcolor[HTML]{38FFF8}
              a & b & c & d & e \ arrayrulecolor{cyan}hline
              1 & 2 & 3 & 4 & 5 \ hline
              end{tabular}
              caption{a}
              end{table}
              end{document}


              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
                33 mins ago











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

                – Raaja
                31 mins ago














              2












              2








              2







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



              documentclass[10pt,a4paper]{article}
              usepackage[table,xcdraw]{xcolor}
              begin{document}
              listoftablesnewpage
              begin{table}[]
              begin{tabular}{!{color{cyan}vrule}l!{color{cyan}vrule}l!{color{cyan}vrule}l!{color{cyan}vrule}l!{color{cyan}vrule}l!{color{cyan}vrule}}
              arrayrulecolor{cyan}hline
              rowcolor[HTML]{38FFF8}
              multicolumn{5}{!{color{cyan}vrule}l!{color{cyan}vrule}}{cellcolor[HTML]{38FFF8}Number of cells per type} \ arrayrulecolor{cyan}hline
              rowcolor[HTML]{38FFF8}
              a & b & c & d & e \ arrayrulecolor{cyan}hline
              1 & 2 & 3 & 4 & 5 \ hline
              end{tabular}
              caption{a}
              end{table}
              end{document}


              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}
              begin{document}
              listoftablesnewpage
              begin{table}[]
              begin{tabular}{!{color{cyan}vrule}l!{color{cyan}vrule}l!{color{cyan}vrule}l!{color{cyan}vrule}l!{color{cyan}vrule}l!{color{cyan}vrule}}
              arrayrulecolor{cyan}hline
              rowcolor[HTML]{38FFF8}
              multicolumn{5}{!{color{cyan}vrule}l!{color{cyan}vrule}}{cellcolor[HTML]{38FFF8}Number of cells per type} \ arrayrulecolor{cyan}hline
              rowcolor[HTML]{38FFF8}
              a & b & c & d & e \ arrayrulecolor{cyan}hline
              1 & 2 & 3 & 4 & 5 \ hline
              end{tabular}
              caption{a}
              end{table}
              end{document}


              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 32 mins ago

























              answered 39 mins ago









              RaajaRaaja

              4,42121138




              4,42121138








              • 2





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

                – Bernard
                33 mins ago











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

                – Raaja
                31 mins ago














              • 2





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

                – Bernard
                33 mins ago











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

                – Raaja
                31 mins ago








              2




              2





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

              – Bernard
              33 mins ago





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

              – Bernard
              33 mins ago













              @Bernard Thanks for the remark, updated my answer.

              – Raaja
              31 mins ago





              @Bernard Thanks for the remark, updated my answer.

              – Raaja
              31 mins ago











              0














              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



              documentclass{article}
              usepackage[table,svgnames]{xcolor}
              usepackage{array} % for 'extrarowheight' macro
              begin{document}

              begin{center}
              sffamily
              setlengthextrarowheight{2pt} % optional
              setlengthtabcolsep{9pt} % default: 6pt
              begin{tabular}{ ccccc }
              %hline
              rowcolor{LightBlue} multicolumn{5}{c}{Number of cells per type} \
              %hline
              rowcolor{LightBlue} a & b & c & d & e\
              %hline
              44 & 39 & 7 & 32 & 22 \
              hline
              end{tabular}
              end{center}

              end{document}




              share




























                0














                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



                documentclass{article}
                usepackage[table,svgnames]{xcolor}
                usepackage{array} % for 'extrarowheight' macro
                begin{document}

                begin{center}
                sffamily
                setlengthextrarowheight{2pt} % optional
                setlengthtabcolsep{9pt} % default: 6pt
                begin{tabular}{ ccccc }
                %hline
                rowcolor{LightBlue} multicolumn{5}{c}{Number of cells per type} \
                %hline
                rowcolor{LightBlue} a & b & c & d & e\
                %hline
                44 & 39 & 7 & 32 & 22 \
                hline
                end{tabular}
                end{center}

                end{document}




                share


























                  0












                  0








                  0







                  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



                  documentclass{article}
                  usepackage[table,svgnames]{xcolor}
                  usepackage{array} % for 'extrarowheight' macro
                  begin{document}

                  begin{center}
                  sffamily
                  setlengthextrarowheight{2pt} % optional
                  setlengthtabcolsep{9pt} % default: 6pt
                  begin{tabular}{ ccccc }
                  %hline
                  rowcolor{LightBlue} multicolumn{5}{c}{Number of cells per type} \
                  %hline
                  rowcolor{LightBlue} a & b & c & d & e\
                  %hline
                  44 & 39 & 7 & 32 & 22 \
                  hline
                  end{tabular}
                  end{center}

                  end{document}




                  share













                  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



                  documentclass{article}
                  usepackage[table,svgnames]{xcolor}
                  usepackage{array} % for 'extrarowheight' macro
                  begin{document}

                  begin{center}
                  sffamily
                  setlengthextrarowheight{2pt} % optional
                  setlengthtabcolsep{9pt} % default: 6pt
                  begin{tabular}{ ccccc }
                  %hline
                  rowcolor{LightBlue} multicolumn{5}{c}{Number of cells per type} \
                  %hline
                  rowcolor{LightBlue} a & b & c & d & e\
                  %hline
                  44 & 39 & 7 & 32 & 22 \
                  hline
                  end{tabular}
                  end{center}

                  end{document}





                  share











                  share


                  share










                  answered 3 mins ago









                  MicoMico

                  281k31385774




                  281k31385774






















                      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

                      Фонтен-ла-Гаярд Зміст Демографія | Економіка | Посилання |...

                      Список ссавців Італії Природоохоронні статуси | Список |...

                      Маріан Котлеба Зміст Життєпис | Політичні погляди |...