In a table how can I put the number in the middle of each column?












2














enter image description here



documentclass[10pt]{beamer}

begin{document}
begin{tabular}{ |p{1.1cm}||p{1.1cm}|p{1.1cm}|p{1.1cm}| |p{1.1cm}| |p{1.1cm}| |p{1.1cm}| }
hline
multicolumn{7}{|c|}{textbf{W1011daily}} \
hline
textbf{1}& textbf{2}&textbf{3}& textbf{dots dots} & textbf{150}& textbf{dots dots} & textbf{252} \
hline
1000.182 & 996.4293 &993.6557 & dots dots & 992.7738& dots dots & 987.8528 \
996.6344& 990.0872 & 990.881 & dots dots & 999.3244& dots dots & 989.349\
990.2731 & 987.3196 & 988.7692& dots dots & 1030.053& dots dots & 961.9883\
vdots & vdots & vdots & vdots & vdots & vdots & vdots \
1013.578 &1023.227& 1071.947 & dots dots & 832.6109 & dots dots & 1143.922\
vdots & vdots & vdots & vdots & vdots & vdots & vdots \
734.5305 &821.8897 & 825.8748 & dots dots & 947.0167 & dots dots & 1356.77\

hline
end{tabular}
end{document}









share|improve this question
























  • All numbers or just the column headers?
    – samcarter
    Nov 28 '18 at 14:08












  • @samcarter the headline
    – Tommaso Dellolmo
    Nov 28 '18 at 14:09
















2














enter image description here



documentclass[10pt]{beamer}

begin{document}
begin{tabular}{ |p{1.1cm}||p{1.1cm}|p{1.1cm}|p{1.1cm}| |p{1.1cm}| |p{1.1cm}| |p{1.1cm}| }
hline
multicolumn{7}{|c|}{textbf{W1011daily}} \
hline
textbf{1}& textbf{2}&textbf{3}& textbf{dots dots} & textbf{150}& textbf{dots dots} & textbf{252} \
hline
1000.182 & 996.4293 &993.6557 & dots dots & 992.7738& dots dots & 987.8528 \
996.6344& 990.0872 & 990.881 & dots dots & 999.3244& dots dots & 989.349\
990.2731 & 987.3196 & 988.7692& dots dots & 1030.053& dots dots & 961.9883\
vdots & vdots & vdots & vdots & vdots & vdots & vdots \
1013.578 &1023.227& 1071.947 & dots dots & 832.6109 & dots dots & 1143.922\
vdots & vdots & vdots & vdots & vdots & vdots & vdots \
734.5305 &821.8897 & 825.8748 & dots dots & 947.0167 & dots dots & 1356.77\

hline
end{tabular}
end{document}









share|improve this question
























  • All numbers or just the column headers?
    – samcarter
    Nov 28 '18 at 14:08












  • @samcarter the headline
    – Tommaso Dellolmo
    Nov 28 '18 at 14:09














2












2








2


0





enter image description here



documentclass[10pt]{beamer}

begin{document}
begin{tabular}{ |p{1.1cm}||p{1.1cm}|p{1.1cm}|p{1.1cm}| |p{1.1cm}| |p{1.1cm}| |p{1.1cm}| }
hline
multicolumn{7}{|c|}{textbf{W1011daily}} \
hline
textbf{1}& textbf{2}&textbf{3}& textbf{dots dots} & textbf{150}& textbf{dots dots} & textbf{252} \
hline
1000.182 & 996.4293 &993.6557 & dots dots & 992.7738& dots dots & 987.8528 \
996.6344& 990.0872 & 990.881 & dots dots & 999.3244& dots dots & 989.349\
990.2731 & 987.3196 & 988.7692& dots dots & 1030.053& dots dots & 961.9883\
vdots & vdots & vdots & vdots & vdots & vdots & vdots \
1013.578 &1023.227& 1071.947 & dots dots & 832.6109 & dots dots & 1143.922\
vdots & vdots & vdots & vdots & vdots & vdots & vdots \
734.5305 &821.8897 & 825.8748 & dots dots & 947.0167 & dots dots & 1356.77\

hline
end{tabular}
end{document}









share|improve this question















enter image description here



documentclass[10pt]{beamer}

begin{document}
begin{tabular}{ |p{1.1cm}||p{1.1cm}|p{1.1cm}|p{1.1cm}| |p{1.1cm}| |p{1.1cm}| |p{1.1cm}| }
hline
multicolumn{7}{|c|}{textbf{W1011daily}} \
hline
textbf{1}& textbf{2}&textbf{3}& textbf{dots dots} & textbf{150}& textbf{dots dots} & textbf{252} \
hline
1000.182 & 996.4293 &993.6557 & dots dots & 992.7738& dots dots & 987.8528 \
996.6344& 990.0872 & 990.881 & dots dots & 999.3244& dots dots & 989.349\
990.2731 & 987.3196 & 988.7692& dots dots & 1030.053& dots dots & 961.9883\
vdots & vdots & vdots & vdots & vdots & vdots & vdots \
1013.578 &1023.227& 1071.947 & dots dots & 832.6109 & dots dots & 1143.922\
vdots & vdots & vdots & vdots & vdots & vdots & vdots \
734.5305 &821.8897 & 825.8748 & dots dots & 947.0167 & dots dots & 1356.77\

hline
end{tabular}
end{document}






tables






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 28 '18 at 14:07









samcarter

86k795276




86k795276










asked Nov 28 '18 at 14:01









Tommaso Dellolmo

1025




1025












  • All numbers or just the column headers?
    – samcarter
    Nov 28 '18 at 14:08












  • @samcarter the headline
    – Tommaso Dellolmo
    Nov 28 '18 at 14:09


















  • All numbers or just the column headers?
    – samcarter
    Nov 28 '18 at 14:08












  • @samcarter the headline
    – Tommaso Dellolmo
    Nov 28 '18 at 14:09
















All numbers or just the column headers?
– samcarter
Nov 28 '18 at 14:08






All numbers or just the column headers?
– samcarter
Nov 28 '18 at 14:08














@samcarter the headline
– Tommaso Dellolmo
Nov 28 '18 at 14:09




@samcarter the headline
– Tommaso Dellolmo
Nov 28 '18 at 14:09










2 Answers
2






active

oldest

votes


















5














To centre the column headlines you can use makecell[c]{...} or thead from the makecell package



documentclass[10pt]{beamer}

usepackage{makecell}
renewcommandtheadfont{bfseriesnormalsize}

begin{document}
begin{tabular}{ |p{1.1cm}||p{1.1cm}|p{1.1cm}|p{1.1cm}| |p{1.1cm}| |p{1.1cm}| |p{1.1cm}| }
hline
multicolumn{7}{|c|}{thead{W1011daily}} \
hline
thead{1}& thead{2}&thead{3}& thead{dots dots} & thead{150}& thead{dots dots} & thead{252} \
hline
1000.182 & 996.4293 &993.6557 & dots dots & 992.7738& dots dots & 987.8528 \
996.6344& 990.0872 & 990.881 & dots dots & 999.3244& dots dots & 989.349\
990.2731 & 987.3196 & 988.7692& dots dots & 1030.053& dots dots & 961.9883\
vdots & vdots & vdots & vdots & vdots & vdots & vdots \
1013.578 &1023.227& 1071.947 & dots dots & 832.6109 & dots dots & 1143.922\
vdots & vdots & vdots & vdots & vdots & vdots & vdots \
734.5305 &821.8897 & 825.8748 & dots dots & 947.0167 & dots dots & 1356.77\

hline
end{tabular}
end{document}


enter image description here



Personally I'd prefer a cleaner table without all the vertical lines and numbers aligned by their decimal marker:



documentclass[10pt]{beamer}

usepackage{makecell}
usepackage{booktabs}
usepackage{tabularx}
usepackage{siunitx}
renewcommandtheadfont{bfseriesnormalsize}

begin{document}
begin{frame}
begin{tabularx}{linewidth}{%
@{}
S[table-format=4.4]
S[table-format=4.4]
S[table-format=4.4]
X
S[table-format=4.4]
X
S[table-format=4.4]
@{}
}
toprule
multicolumn{7}{c}{textbf{W1011daily}}\
midrule
{thead{1}} & {thead{2}} & {thead{3}}& {dots} & {thead{150}}& {dots} & {thead{252}}\
midrule
1000.182 & 996.4293 & 993.6557 & dots & 992.7738 & dots & 987.8528 \
996.6344& 990.0872 & 990.881 & dots & 999.3244& dots & 989.349\
990.2731 & 987.3196 & 988.7692& dots & 1030.053& dots & 961.9883\
{vdots} & {vdots} & {vdots} & & {vdots} & & {vdots} \
1013.578 &1023.227& 1071.947 & dots & 832.6109 & dots & 1143.922\
{vdots} & {vdots} & {vdots} & & {vdots} & & {vdots} \
734.5305 &821.8897 & 825.8748 & dots & 947.0167 & dots & 1356.77\
bottomrule
end{tabularx}
end{frame}
end{document}


enter image description here






share|improve this answer































    2














    I believe this answer has been addressed, here.



    To keep it most similar to the math Latex that I know, I would use



    documentclass[conference]{IEEEtran} 
    begin{document}
    begin{table}
    centering
    begin{tabular}{|c|c|c|}
    hline
    Reconstruction strategy & aa & bb( %) \ hline
    Classic & 3342 voxels & 68 % \ hline
    VC & 4296 voxels & 87 % \ hline
    V m=7 & 4745 voxels & 96 % \ hline
    end{tabular}
    newlinenewline
    caption{title}label{tab1}
    end{table}
    end{document}


    Credit to sandoval31 for that snippet of code.






    share|improve this answer





















      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%2f462169%2fin-a-table-how-can-i-put-the-number-in-the-middle-of-each-column%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














      To centre the column headlines you can use makecell[c]{...} or thead from the makecell package



      documentclass[10pt]{beamer}

      usepackage{makecell}
      renewcommandtheadfont{bfseriesnormalsize}

      begin{document}
      begin{tabular}{ |p{1.1cm}||p{1.1cm}|p{1.1cm}|p{1.1cm}| |p{1.1cm}| |p{1.1cm}| |p{1.1cm}| }
      hline
      multicolumn{7}{|c|}{thead{W1011daily}} \
      hline
      thead{1}& thead{2}&thead{3}& thead{dots dots} & thead{150}& thead{dots dots} & thead{252} \
      hline
      1000.182 & 996.4293 &993.6557 & dots dots & 992.7738& dots dots & 987.8528 \
      996.6344& 990.0872 & 990.881 & dots dots & 999.3244& dots dots & 989.349\
      990.2731 & 987.3196 & 988.7692& dots dots & 1030.053& dots dots & 961.9883\
      vdots & vdots & vdots & vdots & vdots & vdots & vdots \
      1013.578 &1023.227& 1071.947 & dots dots & 832.6109 & dots dots & 1143.922\
      vdots & vdots & vdots & vdots & vdots & vdots & vdots \
      734.5305 &821.8897 & 825.8748 & dots dots & 947.0167 & dots dots & 1356.77\

      hline
      end{tabular}
      end{document}


      enter image description here



      Personally I'd prefer a cleaner table without all the vertical lines and numbers aligned by their decimal marker:



      documentclass[10pt]{beamer}

      usepackage{makecell}
      usepackage{booktabs}
      usepackage{tabularx}
      usepackage{siunitx}
      renewcommandtheadfont{bfseriesnormalsize}

      begin{document}
      begin{frame}
      begin{tabularx}{linewidth}{%
      @{}
      S[table-format=4.4]
      S[table-format=4.4]
      S[table-format=4.4]
      X
      S[table-format=4.4]
      X
      S[table-format=4.4]
      @{}
      }
      toprule
      multicolumn{7}{c}{textbf{W1011daily}}\
      midrule
      {thead{1}} & {thead{2}} & {thead{3}}& {dots} & {thead{150}}& {dots} & {thead{252}}\
      midrule
      1000.182 & 996.4293 & 993.6557 & dots & 992.7738 & dots & 987.8528 \
      996.6344& 990.0872 & 990.881 & dots & 999.3244& dots & 989.349\
      990.2731 & 987.3196 & 988.7692& dots & 1030.053& dots & 961.9883\
      {vdots} & {vdots} & {vdots} & & {vdots} & & {vdots} \
      1013.578 &1023.227& 1071.947 & dots & 832.6109 & dots & 1143.922\
      {vdots} & {vdots} & {vdots} & & {vdots} & & {vdots} \
      734.5305 &821.8897 & 825.8748 & dots & 947.0167 & dots & 1356.77\
      bottomrule
      end{tabularx}
      end{frame}
      end{document}


      enter image description here






      share|improve this answer




























        5














        To centre the column headlines you can use makecell[c]{...} or thead from the makecell package



        documentclass[10pt]{beamer}

        usepackage{makecell}
        renewcommandtheadfont{bfseriesnormalsize}

        begin{document}
        begin{tabular}{ |p{1.1cm}||p{1.1cm}|p{1.1cm}|p{1.1cm}| |p{1.1cm}| |p{1.1cm}| |p{1.1cm}| }
        hline
        multicolumn{7}{|c|}{thead{W1011daily}} \
        hline
        thead{1}& thead{2}&thead{3}& thead{dots dots} & thead{150}& thead{dots dots} & thead{252} \
        hline
        1000.182 & 996.4293 &993.6557 & dots dots & 992.7738& dots dots & 987.8528 \
        996.6344& 990.0872 & 990.881 & dots dots & 999.3244& dots dots & 989.349\
        990.2731 & 987.3196 & 988.7692& dots dots & 1030.053& dots dots & 961.9883\
        vdots & vdots & vdots & vdots & vdots & vdots & vdots \
        1013.578 &1023.227& 1071.947 & dots dots & 832.6109 & dots dots & 1143.922\
        vdots & vdots & vdots & vdots & vdots & vdots & vdots \
        734.5305 &821.8897 & 825.8748 & dots dots & 947.0167 & dots dots & 1356.77\

        hline
        end{tabular}
        end{document}


        enter image description here



        Personally I'd prefer a cleaner table without all the vertical lines and numbers aligned by their decimal marker:



        documentclass[10pt]{beamer}

        usepackage{makecell}
        usepackage{booktabs}
        usepackage{tabularx}
        usepackage{siunitx}
        renewcommandtheadfont{bfseriesnormalsize}

        begin{document}
        begin{frame}
        begin{tabularx}{linewidth}{%
        @{}
        S[table-format=4.4]
        S[table-format=4.4]
        S[table-format=4.4]
        X
        S[table-format=4.4]
        X
        S[table-format=4.4]
        @{}
        }
        toprule
        multicolumn{7}{c}{textbf{W1011daily}}\
        midrule
        {thead{1}} & {thead{2}} & {thead{3}}& {dots} & {thead{150}}& {dots} & {thead{252}}\
        midrule
        1000.182 & 996.4293 & 993.6557 & dots & 992.7738 & dots & 987.8528 \
        996.6344& 990.0872 & 990.881 & dots & 999.3244& dots & 989.349\
        990.2731 & 987.3196 & 988.7692& dots & 1030.053& dots & 961.9883\
        {vdots} & {vdots} & {vdots} & & {vdots} & & {vdots} \
        1013.578 &1023.227& 1071.947 & dots & 832.6109 & dots & 1143.922\
        {vdots} & {vdots} & {vdots} & & {vdots} & & {vdots} \
        734.5305 &821.8897 & 825.8748 & dots & 947.0167 & dots & 1356.77\
        bottomrule
        end{tabularx}
        end{frame}
        end{document}


        enter image description here






        share|improve this answer


























          5












          5








          5






          To centre the column headlines you can use makecell[c]{...} or thead from the makecell package



          documentclass[10pt]{beamer}

          usepackage{makecell}
          renewcommandtheadfont{bfseriesnormalsize}

          begin{document}
          begin{tabular}{ |p{1.1cm}||p{1.1cm}|p{1.1cm}|p{1.1cm}| |p{1.1cm}| |p{1.1cm}| |p{1.1cm}| }
          hline
          multicolumn{7}{|c|}{thead{W1011daily}} \
          hline
          thead{1}& thead{2}&thead{3}& thead{dots dots} & thead{150}& thead{dots dots} & thead{252} \
          hline
          1000.182 & 996.4293 &993.6557 & dots dots & 992.7738& dots dots & 987.8528 \
          996.6344& 990.0872 & 990.881 & dots dots & 999.3244& dots dots & 989.349\
          990.2731 & 987.3196 & 988.7692& dots dots & 1030.053& dots dots & 961.9883\
          vdots & vdots & vdots & vdots & vdots & vdots & vdots \
          1013.578 &1023.227& 1071.947 & dots dots & 832.6109 & dots dots & 1143.922\
          vdots & vdots & vdots & vdots & vdots & vdots & vdots \
          734.5305 &821.8897 & 825.8748 & dots dots & 947.0167 & dots dots & 1356.77\

          hline
          end{tabular}
          end{document}


          enter image description here



          Personally I'd prefer a cleaner table without all the vertical lines and numbers aligned by their decimal marker:



          documentclass[10pt]{beamer}

          usepackage{makecell}
          usepackage{booktabs}
          usepackage{tabularx}
          usepackage{siunitx}
          renewcommandtheadfont{bfseriesnormalsize}

          begin{document}
          begin{frame}
          begin{tabularx}{linewidth}{%
          @{}
          S[table-format=4.4]
          S[table-format=4.4]
          S[table-format=4.4]
          X
          S[table-format=4.4]
          X
          S[table-format=4.4]
          @{}
          }
          toprule
          multicolumn{7}{c}{textbf{W1011daily}}\
          midrule
          {thead{1}} & {thead{2}} & {thead{3}}& {dots} & {thead{150}}& {dots} & {thead{252}}\
          midrule
          1000.182 & 996.4293 & 993.6557 & dots & 992.7738 & dots & 987.8528 \
          996.6344& 990.0872 & 990.881 & dots & 999.3244& dots & 989.349\
          990.2731 & 987.3196 & 988.7692& dots & 1030.053& dots & 961.9883\
          {vdots} & {vdots} & {vdots} & & {vdots} & & {vdots} \
          1013.578 &1023.227& 1071.947 & dots & 832.6109 & dots & 1143.922\
          {vdots} & {vdots} & {vdots} & & {vdots} & & {vdots} \
          734.5305 &821.8897 & 825.8748 & dots & 947.0167 & dots & 1356.77\
          bottomrule
          end{tabularx}
          end{frame}
          end{document}


          enter image description here






          share|improve this answer














          To centre the column headlines you can use makecell[c]{...} or thead from the makecell package



          documentclass[10pt]{beamer}

          usepackage{makecell}
          renewcommandtheadfont{bfseriesnormalsize}

          begin{document}
          begin{tabular}{ |p{1.1cm}||p{1.1cm}|p{1.1cm}|p{1.1cm}| |p{1.1cm}| |p{1.1cm}| |p{1.1cm}| }
          hline
          multicolumn{7}{|c|}{thead{W1011daily}} \
          hline
          thead{1}& thead{2}&thead{3}& thead{dots dots} & thead{150}& thead{dots dots} & thead{252} \
          hline
          1000.182 & 996.4293 &993.6557 & dots dots & 992.7738& dots dots & 987.8528 \
          996.6344& 990.0872 & 990.881 & dots dots & 999.3244& dots dots & 989.349\
          990.2731 & 987.3196 & 988.7692& dots dots & 1030.053& dots dots & 961.9883\
          vdots & vdots & vdots & vdots & vdots & vdots & vdots \
          1013.578 &1023.227& 1071.947 & dots dots & 832.6109 & dots dots & 1143.922\
          vdots & vdots & vdots & vdots & vdots & vdots & vdots \
          734.5305 &821.8897 & 825.8748 & dots dots & 947.0167 & dots dots & 1356.77\

          hline
          end{tabular}
          end{document}


          enter image description here



          Personally I'd prefer a cleaner table without all the vertical lines and numbers aligned by their decimal marker:



          documentclass[10pt]{beamer}

          usepackage{makecell}
          usepackage{booktabs}
          usepackage{tabularx}
          usepackage{siunitx}
          renewcommandtheadfont{bfseriesnormalsize}

          begin{document}
          begin{frame}
          begin{tabularx}{linewidth}{%
          @{}
          S[table-format=4.4]
          S[table-format=4.4]
          S[table-format=4.4]
          X
          S[table-format=4.4]
          X
          S[table-format=4.4]
          @{}
          }
          toprule
          multicolumn{7}{c}{textbf{W1011daily}}\
          midrule
          {thead{1}} & {thead{2}} & {thead{3}}& {dots} & {thead{150}}& {dots} & {thead{252}}\
          midrule
          1000.182 & 996.4293 & 993.6557 & dots & 992.7738 & dots & 987.8528 \
          996.6344& 990.0872 & 990.881 & dots & 999.3244& dots & 989.349\
          990.2731 & 987.3196 & 988.7692& dots & 1030.053& dots & 961.9883\
          {vdots} & {vdots} & {vdots} & & {vdots} & & {vdots} \
          1013.578 &1023.227& 1071.947 & dots & 832.6109 & dots & 1143.922\
          {vdots} & {vdots} & {vdots} & & {vdots} & & {vdots} \
          734.5305 &821.8897 & 825.8748 & dots & 947.0167 & dots & 1356.77\
          bottomrule
          end{tabularx}
          end{frame}
          end{document}


          enter image description here







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 28 '18 at 16:57

























          answered Nov 28 '18 at 14:11









          samcarter

          86k795276




          86k795276























              2














              I believe this answer has been addressed, here.



              To keep it most similar to the math Latex that I know, I would use



              documentclass[conference]{IEEEtran} 
              begin{document}
              begin{table}
              centering
              begin{tabular}{|c|c|c|}
              hline
              Reconstruction strategy & aa & bb( %) \ hline
              Classic & 3342 voxels & 68 % \ hline
              VC & 4296 voxels & 87 % \ hline
              V m=7 & 4745 voxels & 96 % \ hline
              end{tabular}
              newlinenewline
              caption{title}label{tab1}
              end{table}
              end{document}


              Credit to sandoval31 for that snippet of code.






              share|improve this answer


























                2














                I believe this answer has been addressed, here.



                To keep it most similar to the math Latex that I know, I would use



                documentclass[conference]{IEEEtran} 
                begin{document}
                begin{table}
                centering
                begin{tabular}{|c|c|c|}
                hline
                Reconstruction strategy & aa & bb( %) \ hline
                Classic & 3342 voxels & 68 % \ hline
                VC & 4296 voxels & 87 % \ hline
                V m=7 & 4745 voxels & 96 % \ hline
                end{tabular}
                newlinenewline
                caption{title}label{tab1}
                end{table}
                end{document}


                Credit to sandoval31 for that snippet of code.






                share|improve this answer
























                  2












                  2








                  2






                  I believe this answer has been addressed, here.



                  To keep it most similar to the math Latex that I know, I would use



                  documentclass[conference]{IEEEtran} 
                  begin{document}
                  begin{table}
                  centering
                  begin{tabular}{|c|c|c|}
                  hline
                  Reconstruction strategy & aa & bb( %) \ hline
                  Classic & 3342 voxels & 68 % \ hline
                  VC & 4296 voxels & 87 % \ hline
                  V m=7 & 4745 voxels & 96 % \ hline
                  end{tabular}
                  newlinenewline
                  caption{title}label{tab1}
                  end{table}
                  end{document}


                  Credit to sandoval31 for that snippet of code.






                  share|improve this answer












                  I believe this answer has been addressed, here.



                  To keep it most similar to the math Latex that I know, I would use



                  documentclass[conference]{IEEEtran} 
                  begin{document}
                  begin{table}
                  centering
                  begin{tabular}{|c|c|c|}
                  hline
                  Reconstruction strategy & aa & bb( %) \ hline
                  Classic & 3342 voxels & 68 % \ hline
                  VC & 4296 voxels & 87 % \ hline
                  V m=7 & 4745 voxels & 96 % \ hline
                  end{tabular}
                  newlinenewline
                  caption{title}label{tab1}
                  end{table}
                  end{document}


                  Credit to sandoval31 for that snippet of code.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 28 '18 at 14:08









                  apjansing

                  213




                  213






























                      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.





                      Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                      Please pay close attention to the following guidance:


                      • 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%2f462169%2fin-a-table-how-can-i-put-the-number-in-the-middle-of-each-column%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

                      Willebadessen

                      Ida-Boy-Ed-Garten

                      Residenzschloss Arolsen