Help Recreating a Table












1















I am trying to recreate this table using LaTeX.



enter image description here



I want to additionally align the decimals. I have tried using this code to do so.



begin{frame}
frametitle{Table}
begin{table}
begin{tabular}{l *{4}{d{3.3}} }
toprule
Variable & Weighted Test Statistic & Unweighted p-value & Weighted Test Statistic & Unweighted p-value\
midrule
Attendance Rate&0.55&0.0875&2.15&$<$0.0001\
Test Average&4.14&0.0320&4.68&0.0080\
Final Exam&4.12&0.0022&1.99&0.1590\
makecell{Data Analysis \ Assignment Average}&20.98&$<$0.0001&17.42&$<$0.0001\
Quiz Average&3.88&0.0035&2.33&0.0399\
bottomrule
end{tabular}
caption{Kruskal-Wallis Tests by Semester}
end{table}

end{frame}


This code created the following table. There are several things I would like to fix. Namely




  • Adding fall and spring panels like in the original table

  • Aligning the values associated with the "Data Analysis Assignment Average" at the top of that row

  • Fixing the < signs

  • Fixing the headings so that they can be within the bounds of a PowerPoint slide. I tried using the makecell{.} function but it didn't work the same as with the midrule components.


enter image description here



Note: I wasn't sure what to title this question so feel free to change it.



Edit:



One of the following two packages made each slide look weird



usepackage{fullpage}
usepackage{tabulary}


enter image description here










share|improve this question









New contributor




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

























    1















    I am trying to recreate this table using LaTeX.



    enter image description here



    I want to additionally align the decimals. I have tried using this code to do so.



    begin{frame}
    frametitle{Table}
    begin{table}
    begin{tabular}{l *{4}{d{3.3}} }
    toprule
    Variable & Weighted Test Statistic & Unweighted p-value & Weighted Test Statistic & Unweighted p-value\
    midrule
    Attendance Rate&0.55&0.0875&2.15&$<$0.0001\
    Test Average&4.14&0.0320&4.68&0.0080\
    Final Exam&4.12&0.0022&1.99&0.1590\
    makecell{Data Analysis \ Assignment Average}&20.98&$<$0.0001&17.42&$<$0.0001\
    Quiz Average&3.88&0.0035&2.33&0.0399\
    bottomrule
    end{tabular}
    caption{Kruskal-Wallis Tests by Semester}
    end{table}

    end{frame}


    This code created the following table. There are several things I would like to fix. Namely




    • Adding fall and spring panels like in the original table

    • Aligning the values associated with the "Data Analysis Assignment Average" at the top of that row

    • Fixing the < signs

    • Fixing the headings so that they can be within the bounds of a PowerPoint slide. I tried using the makecell{.} function but it didn't work the same as with the midrule components.


    enter image description here



    Note: I wasn't sure what to title this question so feel free to change it.



    Edit:



    One of the following two packages made each slide look weird



    usepackage{fullpage}
    usepackage{tabulary}


    enter image description here










    share|improve this question









    New contributor




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























      1












      1








      1








      I am trying to recreate this table using LaTeX.



      enter image description here



      I want to additionally align the decimals. I have tried using this code to do so.



      begin{frame}
      frametitle{Table}
      begin{table}
      begin{tabular}{l *{4}{d{3.3}} }
      toprule
      Variable & Weighted Test Statistic & Unweighted p-value & Weighted Test Statistic & Unweighted p-value\
      midrule
      Attendance Rate&0.55&0.0875&2.15&$<$0.0001\
      Test Average&4.14&0.0320&4.68&0.0080\
      Final Exam&4.12&0.0022&1.99&0.1590\
      makecell{Data Analysis \ Assignment Average}&20.98&$<$0.0001&17.42&$<$0.0001\
      Quiz Average&3.88&0.0035&2.33&0.0399\
      bottomrule
      end{tabular}
      caption{Kruskal-Wallis Tests by Semester}
      end{table}

      end{frame}


      This code created the following table. There are several things I would like to fix. Namely




      • Adding fall and spring panels like in the original table

      • Aligning the values associated with the "Data Analysis Assignment Average" at the top of that row

      • Fixing the < signs

      • Fixing the headings so that they can be within the bounds of a PowerPoint slide. I tried using the makecell{.} function but it didn't work the same as with the midrule components.


      enter image description here



      Note: I wasn't sure what to title this question so feel free to change it.



      Edit:



      One of the following two packages made each slide look weird



      usepackage{fullpage}
      usepackage{tabulary}


      enter image description here










      share|improve this question









      New contributor




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












      I am trying to recreate this table using LaTeX.



      enter image description here



      I want to additionally align the decimals. I have tried using this code to do so.



      begin{frame}
      frametitle{Table}
      begin{table}
      begin{tabular}{l *{4}{d{3.3}} }
      toprule
      Variable & Weighted Test Statistic & Unweighted p-value & Weighted Test Statistic & Unweighted p-value\
      midrule
      Attendance Rate&0.55&0.0875&2.15&$<$0.0001\
      Test Average&4.14&0.0320&4.68&0.0080\
      Final Exam&4.12&0.0022&1.99&0.1590\
      makecell{Data Analysis \ Assignment Average}&20.98&$<$0.0001&17.42&$<$0.0001\
      Quiz Average&3.88&0.0035&2.33&0.0399\
      bottomrule
      end{tabular}
      caption{Kruskal-Wallis Tests by Semester}
      end{table}

      end{frame}


      This code created the following table. There are several things I would like to fix. Namely




      • Adding fall and spring panels like in the original table

      • Aligning the values associated with the "Data Analysis Assignment Average" at the top of that row

      • Fixing the < signs

      • Fixing the headings so that they can be within the bounds of a PowerPoint slide. I tried using the makecell{.} function but it didn't work the same as with the midrule components.


      enter image description here



      Note: I wasn't sure what to title this question so feel free to change it.



      Edit:



      One of the following two packages made each slide look weird



      usepackage{fullpage}
      usepackage{tabulary}


      enter image description here







      tables siunitx






      share|improve this question









      New contributor




      Remy 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




      Remy 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 2 hours ago







      Remy













      New contributor




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









      asked 3 hours ago









      RemyRemy

      1084




      1084




      New contributor




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





      New contributor





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






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






















          2 Answers
          2






          active

          oldest

          votes


















          2














          This might work for your purposes. I used the article class for this but I think you can change it to beamer and use the frametitle{} option in lieu of the caption and you can adjust the font size as needed using footnotesize or anything else that can fit the dimensions of the slide. In addition, you can add the begin{frame} and end{frame} to the beginning and end of the table chunk of code.



          documentclass{article}

          usepackage{fullpage}
          usepackage{tabulary}
          usepackage{booktabs}
          begin{document}

          begin{table}
          caption{Kruskal-Wallis Tests by Semester}
          begin{tabulary}{linewidth}{LCCCC}
          \
          hline
          & multicolumn{2}{c}{Falll}&multicolumn{2}{c}{Spring} \
          hline
          Variable & Weighted Test Statistic & Unweighted p-value & Weighted Test Statistic & Unweighted p-value\
          hline
          Attendance Rate&0.55&0.0875&2.15&$<$0.0001\
          Test Average&4.14&0.0320&4.68&0.0080\
          Final Exam&4.12&0.0022&1.99&0.1590\
          Data Analysis&&&&\
          Assignment Average&20.98&$<$0.0001&17.42&$<$0.0001\
          Quiz Average&3.88&0.0035&2.33&0.0399\
          hline
          end{tabulary}
          end{table}

          end{document}


          Edit:



          For beamer class,



          begin{frame}
          footnotesize %Or whatever other size you need
          frametitle{MY TABLE} %Frame Title
          begin{table}
          caption{Kruskal-Wallis Tests by Semester}
          begin{tabulary}{linewidth}{LCCCC}
          \
          hline
          & multicolumn{2}{c}{Falll}&multicolumn{2}{c}{Spring} \
          hline
          Variable & Weighted Test Statistic & Unweighted p-value & Weighted Test Statistic & Unweighted p-value\
          hline
          Attendance Rate&0.55&0.0875&2.15&$<$0.0001\
          Test Average&4.14&0.0320&4.68&0.0080\
          Final Exam&4.12&0.0022&1.99&0.1590\
          Data Analysis&&&&\
          Assignment Average&20.98&$<$0.0001&17.42&$<$0.0001\
          Quiz Average&3.88&0.0035&2.33&0.0399\
          hline
          end{tabulary}
          end{table}
          end{frame}


          I hope this helps!






          share|improve this answer










          New contributor




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





















          • Thank you for your response. I tried adding your packages but it made every slide look weird. I have edited my post with a picture. Would it help if I showed each package I'm currently using?

            – Remy
            2 hours ago











          • I think your problem might come from the fullpage package because I never use that for beamer. If that is not it, please let me know what packages you are using.

            – Jennifer
            2 hours ago











          • That worked! Could you please edit your post to show where the font size adjustment goes?

            – Remy
            2 hours ago











          • I added it and hope it works for your purposes!

            – Jennifer
            2 hours ago



















          1














          Here my suggestions.



          I have not met the point two. It seem more elegant to me aligned at bottom, or as showed here, aligned at the middle. But if you disagree, just change the m column by a p. Anyway, with p,m or b the main point is that without awful the horizontal rows, this table need some extra vertical space between rows to mark clearly where stard/end the text of the multiline cell. Otherwise the "Variable" column is a mess.



          mwe



          documentclass{beamer}
          usepackage{booktabs,tabularx,dcolumn}
          newcolumntype{d}{D{.}{cdot}{-1}}
          begin{document}
          begin{frame}
          begin{table}
          caption{Kruskal-Wallis Tests by Semester}
          footnotesizetabcolsep0em
          renewcommand{arraystretch}{1.5}
          begin{tabularx}{textwidth}{>{raggedright}m{10em}dddd}toprule &
          multicolumn{2}{c}{Falll} &
          multicolumn{2}{c}{Spring} \
          cmidrule(r){2-3}
          cmidrule(l){4-5}
          multicolumn{1}{X}{leavevmodenewline Variable} &
          multicolumn{1}{X}{centering Weighted Test Statistic} &
          multicolumn{1}{X}{centering Unweighted p-value} &
          multicolumn{1}{X}{centering Weighted Test Statistic} &
          multicolumn{1}{X}{centering Unweighted p-value} tabularnewline
          cmidrule(r){1-1}
          cmidrule(rl){2-2}
          cmidrule(rl){3-3}
          cmidrule(rl){4-4}
          cmidrule(rl){5-5}
          Attendance Rate & 0.55 & 0.0875 & 2.15 & <0.0001\
          Test Average & 4.14 & 0.0320 & 4.68 & 0.0080\
          Final Exam & 4.12 & 0.0022 & 1.99 & 0.1590\
          Data Analysis Assignment Average & 20.98 & <0.0001 & 17.42 & <0.0001\
          Quiz Average & 3.88 & 0.0035 & 2.33 & 0.0399\
          bottomrule
          end{tabularx}
          end{table}
          end{frame}
          end{document}





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


            }
            });






            Remy 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%2f486133%2fhelp-recreating-a-table%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









            2














            This might work for your purposes. I used the article class for this but I think you can change it to beamer and use the frametitle{} option in lieu of the caption and you can adjust the font size as needed using footnotesize or anything else that can fit the dimensions of the slide. In addition, you can add the begin{frame} and end{frame} to the beginning and end of the table chunk of code.



            documentclass{article}

            usepackage{fullpage}
            usepackage{tabulary}
            usepackage{booktabs}
            begin{document}

            begin{table}
            caption{Kruskal-Wallis Tests by Semester}
            begin{tabulary}{linewidth}{LCCCC}
            \
            hline
            & multicolumn{2}{c}{Falll}&multicolumn{2}{c}{Spring} \
            hline
            Variable & Weighted Test Statistic & Unweighted p-value & Weighted Test Statistic & Unweighted p-value\
            hline
            Attendance Rate&0.55&0.0875&2.15&$<$0.0001\
            Test Average&4.14&0.0320&4.68&0.0080\
            Final Exam&4.12&0.0022&1.99&0.1590\
            Data Analysis&&&&\
            Assignment Average&20.98&$<$0.0001&17.42&$<$0.0001\
            Quiz Average&3.88&0.0035&2.33&0.0399\
            hline
            end{tabulary}
            end{table}

            end{document}


            Edit:



            For beamer class,



            begin{frame}
            footnotesize %Or whatever other size you need
            frametitle{MY TABLE} %Frame Title
            begin{table}
            caption{Kruskal-Wallis Tests by Semester}
            begin{tabulary}{linewidth}{LCCCC}
            \
            hline
            & multicolumn{2}{c}{Falll}&multicolumn{2}{c}{Spring} \
            hline
            Variable & Weighted Test Statistic & Unweighted p-value & Weighted Test Statistic & Unweighted p-value\
            hline
            Attendance Rate&0.55&0.0875&2.15&$<$0.0001\
            Test Average&4.14&0.0320&4.68&0.0080\
            Final Exam&4.12&0.0022&1.99&0.1590\
            Data Analysis&&&&\
            Assignment Average&20.98&$<$0.0001&17.42&$<$0.0001\
            Quiz Average&3.88&0.0035&2.33&0.0399\
            hline
            end{tabulary}
            end{table}
            end{frame}


            I hope this helps!






            share|improve this answer










            New contributor




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





















            • Thank you for your response. I tried adding your packages but it made every slide look weird. I have edited my post with a picture. Would it help if I showed each package I'm currently using?

              – Remy
              2 hours ago











            • I think your problem might come from the fullpage package because I never use that for beamer. If that is not it, please let me know what packages you are using.

              – Jennifer
              2 hours ago











            • That worked! Could you please edit your post to show where the font size adjustment goes?

              – Remy
              2 hours ago











            • I added it and hope it works for your purposes!

              – Jennifer
              2 hours ago
















            2














            This might work for your purposes. I used the article class for this but I think you can change it to beamer and use the frametitle{} option in lieu of the caption and you can adjust the font size as needed using footnotesize or anything else that can fit the dimensions of the slide. In addition, you can add the begin{frame} and end{frame} to the beginning and end of the table chunk of code.



            documentclass{article}

            usepackage{fullpage}
            usepackage{tabulary}
            usepackage{booktabs}
            begin{document}

            begin{table}
            caption{Kruskal-Wallis Tests by Semester}
            begin{tabulary}{linewidth}{LCCCC}
            \
            hline
            & multicolumn{2}{c}{Falll}&multicolumn{2}{c}{Spring} \
            hline
            Variable & Weighted Test Statistic & Unweighted p-value & Weighted Test Statistic & Unweighted p-value\
            hline
            Attendance Rate&0.55&0.0875&2.15&$<$0.0001\
            Test Average&4.14&0.0320&4.68&0.0080\
            Final Exam&4.12&0.0022&1.99&0.1590\
            Data Analysis&&&&\
            Assignment Average&20.98&$<$0.0001&17.42&$<$0.0001\
            Quiz Average&3.88&0.0035&2.33&0.0399\
            hline
            end{tabulary}
            end{table}

            end{document}


            Edit:



            For beamer class,



            begin{frame}
            footnotesize %Or whatever other size you need
            frametitle{MY TABLE} %Frame Title
            begin{table}
            caption{Kruskal-Wallis Tests by Semester}
            begin{tabulary}{linewidth}{LCCCC}
            \
            hline
            & multicolumn{2}{c}{Falll}&multicolumn{2}{c}{Spring} \
            hline
            Variable & Weighted Test Statistic & Unweighted p-value & Weighted Test Statistic & Unweighted p-value\
            hline
            Attendance Rate&0.55&0.0875&2.15&$<$0.0001\
            Test Average&4.14&0.0320&4.68&0.0080\
            Final Exam&4.12&0.0022&1.99&0.1590\
            Data Analysis&&&&\
            Assignment Average&20.98&$<$0.0001&17.42&$<$0.0001\
            Quiz Average&3.88&0.0035&2.33&0.0399\
            hline
            end{tabulary}
            end{table}
            end{frame}


            I hope this helps!






            share|improve this answer










            New contributor




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





















            • Thank you for your response. I tried adding your packages but it made every slide look weird. I have edited my post with a picture. Would it help if I showed each package I'm currently using?

              – Remy
              2 hours ago











            • I think your problem might come from the fullpage package because I never use that for beamer. If that is not it, please let me know what packages you are using.

              – Jennifer
              2 hours ago











            • That worked! Could you please edit your post to show where the font size adjustment goes?

              – Remy
              2 hours ago











            • I added it and hope it works for your purposes!

              – Jennifer
              2 hours ago














            2












            2








            2







            This might work for your purposes. I used the article class for this but I think you can change it to beamer and use the frametitle{} option in lieu of the caption and you can adjust the font size as needed using footnotesize or anything else that can fit the dimensions of the slide. In addition, you can add the begin{frame} and end{frame} to the beginning and end of the table chunk of code.



            documentclass{article}

            usepackage{fullpage}
            usepackage{tabulary}
            usepackage{booktabs}
            begin{document}

            begin{table}
            caption{Kruskal-Wallis Tests by Semester}
            begin{tabulary}{linewidth}{LCCCC}
            \
            hline
            & multicolumn{2}{c}{Falll}&multicolumn{2}{c}{Spring} \
            hline
            Variable & Weighted Test Statistic & Unweighted p-value & Weighted Test Statistic & Unweighted p-value\
            hline
            Attendance Rate&0.55&0.0875&2.15&$<$0.0001\
            Test Average&4.14&0.0320&4.68&0.0080\
            Final Exam&4.12&0.0022&1.99&0.1590\
            Data Analysis&&&&\
            Assignment Average&20.98&$<$0.0001&17.42&$<$0.0001\
            Quiz Average&3.88&0.0035&2.33&0.0399\
            hline
            end{tabulary}
            end{table}

            end{document}


            Edit:



            For beamer class,



            begin{frame}
            footnotesize %Or whatever other size you need
            frametitle{MY TABLE} %Frame Title
            begin{table}
            caption{Kruskal-Wallis Tests by Semester}
            begin{tabulary}{linewidth}{LCCCC}
            \
            hline
            & multicolumn{2}{c}{Falll}&multicolumn{2}{c}{Spring} \
            hline
            Variable & Weighted Test Statistic & Unweighted p-value & Weighted Test Statistic & Unweighted p-value\
            hline
            Attendance Rate&0.55&0.0875&2.15&$<$0.0001\
            Test Average&4.14&0.0320&4.68&0.0080\
            Final Exam&4.12&0.0022&1.99&0.1590\
            Data Analysis&&&&\
            Assignment Average&20.98&$<$0.0001&17.42&$<$0.0001\
            Quiz Average&3.88&0.0035&2.33&0.0399\
            hline
            end{tabulary}
            end{table}
            end{frame}


            I hope this helps!






            share|improve this answer










            New contributor




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










            This might work for your purposes. I used the article class for this but I think you can change it to beamer and use the frametitle{} option in lieu of the caption and you can adjust the font size as needed using footnotesize or anything else that can fit the dimensions of the slide. In addition, you can add the begin{frame} and end{frame} to the beginning and end of the table chunk of code.



            documentclass{article}

            usepackage{fullpage}
            usepackage{tabulary}
            usepackage{booktabs}
            begin{document}

            begin{table}
            caption{Kruskal-Wallis Tests by Semester}
            begin{tabulary}{linewidth}{LCCCC}
            \
            hline
            & multicolumn{2}{c}{Falll}&multicolumn{2}{c}{Spring} \
            hline
            Variable & Weighted Test Statistic & Unweighted p-value & Weighted Test Statistic & Unweighted p-value\
            hline
            Attendance Rate&0.55&0.0875&2.15&$<$0.0001\
            Test Average&4.14&0.0320&4.68&0.0080\
            Final Exam&4.12&0.0022&1.99&0.1590\
            Data Analysis&&&&\
            Assignment Average&20.98&$<$0.0001&17.42&$<$0.0001\
            Quiz Average&3.88&0.0035&2.33&0.0399\
            hline
            end{tabulary}
            end{table}

            end{document}


            Edit:



            For beamer class,



            begin{frame}
            footnotesize %Or whatever other size you need
            frametitle{MY TABLE} %Frame Title
            begin{table}
            caption{Kruskal-Wallis Tests by Semester}
            begin{tabulary}{linewidth}{LCCCC}
            \
            hline
            & multicolumn{2}{c}{Falll}&multicolumn{2}{c}{Spring} \
            hline
            Variable & Weighted Test Statistic & Unweighted p-value & Weighted Test Statistic & Unweighted p-value\
            hline
            Attendance Rate&0.55&0.0875&2.15&$<$0.0001\
            Test Average&4.14&0.0320&4.68&0.0080\
            Final Exam&4.12&0.0022&1.99&0.1590\
            Data Analysis&&&&\
            Assignment Average&20.98&$<$0.0001&17.42&$<$0.0001\
            Quiz Average&3.88&0.0035&2.33&0.0399\
            hline
            end{tabulary}
            end{table}
            end{frame}


            I hope this helps!







            share|improve this answer










            New contributor




            Jennifer 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 2 hours ago





















            New contributor




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









            answered 3 hours ago









            JenniferJennifer

            737




            737




            New contributor




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





            New contributor





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






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













            • Thank you for your response. I tried adding your packages but it made every slide look weird. I have edited my post with a picture. Would it help if I showed each package I'm currently using?

              – Remy
              2 hours ago











            • I think your problem might come from the fullpage package because I never use that for beamer. If that is not it, please let me know what packages you are using.

              – Jennifer
              2 hours ago











            • That worked! Could you please edit your post to show where the font size adjustment goes?

              – Remy
              2 hours ago











            • I added it and hope it works for your purposes!

              – Jennifer
              2 hours ago



















            • Thank you for your response. I tried adding your packages but it made every slide look weird. I have edited my post with a picture. Would it help if I showed each package I'm currently using?

              – Remy
              2 hours ago











            • I think your problem might come from the fullpage package because I never use that for beamer. If that is not it, please let me know what packages you are using.

              – Jennifer
              2 hours ago











            • That worked! Could you please edit your post to show where the font size adjustment goes?

              – Remy
              2 hours ago











            • I added it and hope it works for your purposes!

              – Jennifer
              2 hours ago

















            Thank you for your response. I tried adding your packages but it made every slide look weird. I have edited my post with a picture. Would it help if I showed each package I'm currently using?

            – Remy
            2 hours ago





            Thank you for your response. I tried adding your packages but it made every slide look weird. I have edited my post with a picture. Would it help if I showed each package I'm currently using?

            – Remy
            2 hours ago













            I think your problem might come from the fullpage package because I never use that for beamer. If that is not it, please let me know what packages you are using.

            – Jennifer
            2 hours ago





            I think your problem might come from the fullpage package because I never use that for beamer. If that is not it, please let me know what packages you are using.

            – Jennifer
            2 hours ago













            That worked! Could you please edit your post to show where the font size adjustment goes?

            – Remy
            2 hours ago





            That worked! Could you please edit your post to show where the font size adjustment goes?

            – Remy
            2 hours ago













            I added it and hope it works for your purposes!

            – Jennifer
            2 hours ago





            I added it and hope it works for your purposes!

            – Jennifer
            2 hours ago











            1














            Here my suggestions.



            I have not met the point two. It seem more elegant to me aligned at bottom, or as showed here, aligned at the middle. But if you disagree, just change the m column by a p. Anyway, with p,m or b the main point is that without awful the horizontal rows, this table need some extra vertical space between rows to mark clearly where stard/end the text of the multiline cell. Otherwise the "Variable" column is a mess.



            mwe



            documentclass{beamer}
            usepackage{booktabs,tabularx,dcolumn}
            newcolumntype{d}{D{.}{cdot}{-1}}
            begin{document}
            begin{frame}
            begin{table}
            caption{Kruskal-Wallis Tests by Semester}
            footnotesizetabcolsep0em
            renewcommand{arraystretch}{1.5}
            begin{tabularx}{textwidth}{>{raggedright}m{10em}dddd}toprule &
            multicolumn{2}{c}{Falll} &
            multicolumn{2}{c}{Spring} \
            cmidrule(r){2-3}
            cmidrule(l){4-5}
            multicolumn{1}{X}{leavevmodenewline Variable} &
            multicolumn{1}{X}{centering Weighted Test Statistic} &
            multicolumn{1}{X}{centering Unweighted p-value} &
            multicolumn{1}{X}{centering Weighted Test Statistic} &
            multicolumn{1}{X}{centering Unweighted p-value} tabularnewline
            cmidrule(r){1-1}
            cmidrule(rl){2-2}
            cmidrule(rl){3-3}
            cmidrule(rl){4-4}
            cmidrule(rl){5-5}
            Attendance Rate & 0.55 & 0.0875 & 2.15 & <0.0001\
            Test Average & 4.14 & 0.0320 & 4.68 & 0.0080\
            Final Exam & 4.12 & 0.0022 & 1.99 & 0.1590\
            Data Analysis Assignment Average & 20.98 & <0.0001 & 17.42 & <0.0001\
            Quiz Average & 3.88 & 0.0035 & 2.33 & 0.0399\
            bottomrule
            end{tabularx}
            end{table}
            end{frame}
            end{document}





            share|improve this answer




























              1














              Here my suggestions.



              I have not met the point two. It seem more elegant to me aligned at bottom, or as showed here, aligned at the middle. But if you disagree, just change the m column by a p. Anyway, with p,m or b the main point is that without awful the horizontal rows, this table need some extra vertical space between rows to mark clearly where stard/end the text of the multiline cell. Otherwise the "Variable" column is a mess.



              mwe



              documentclass{beamer}
              usepackage{booktabs,tabularx,dcolumn}
              newcolumntype{d}{D{.}{cdot}{-1}}
              begin{document}
              begin{frame}
              begin{table}
              caption{Kruskal-Wallis Tests by Semester}
              footnotesizetabcolsep0em
              renewcommand{arraystretch}{1.5}
              begin{tabularx}{textwidth}{>{raggedright}m{10em}dddd}toprule &
              multicolumn{2}{c}{Falll} &
              multicolumn{2}{c}{Spring} \
              cmidrule(r){2-3}
              cmidrule(l){4-5}
              multicolumn{1}{X}{leavevmodenewline Variable} &
              multicolumn{1}{X}{centering Weighted Test Statistic} &
              multicolumn{1}{X}{centering Unweighted p-value} &
              multicolumn{1}{X}{centering Weighted Test Statistic} &
              multicolumn{1}{X}{centering Unweighted p-value} tabularnewline
              cmidrule(r){1-1}
              cmidrule(rl){2-2}
              cmidrule(rl){3-3}
              cmidrule(rl){4-4}
              cmidrule(rl){5-5}
              Attendance Rate & 0.55 & 0.0875 & 2.15 & <0.0001\
              Test Average & 4.14 & 0.0320 & 4.68 & 0.0080\
              Final Exam & 4.12 & 0.0022 & 1.99 & 0.1590\
              Data Analysis Assignment Average & 20.98 & <0.0001 & 17.42 & <0.0001\
              Quiz Average & 3.88 & 0.0035 & 2.33 & 0.0399\
              bottomrule
              end{tabularx}
              end{table}
              end{frame}
              end{document}





              share|improve this answer


























                1












                1








                1







                Here my suggestions.



                I have not met the point two. It seem more elegant to me aligned at bottom, or as showed here, aligned at the middle. But if you disagree, just change the m column by a p. Anyway, with p,m or b the main point is that without awful the horizontal rows, this table need some extra vertical space between rows to mark clearly where stard/end the text of the multiline cell. Otherwise the "Variable" column is a mess.



                mwe



                documentclass{beamer}
                usepackage{booktabs,tabularx,dcolumn}
                newcolumntype{d}{D{.}{cdot}{-1}}
                begin{document}
                begin{frame}
                begin{table}
                caption{Kruskal-Wallis Tests by Semester}
                footnotesizetabcolsep0em
                renewcommand{arraystretch}{1.5}
                begin{tabularx}{textwidth}{>{raggedright}m{10em}dddd}toprule &
                multicolumn{2}{c}{Falll} &
                multicolumn{2}{c}{Spring} \
                cmidrule(r){2-3}
                cmidrule(l){4-5}
                multicolumn{1}{X}{leavevmodenewline Variable} &
                multicolumn{1}{X}{centering Weighted Test Statistic} &
                multicolumn{1}{X}{centering Unweighted p-value} &
                multicolumn{1}{X}{centering Weighted Test Statistic} &
                multicolumn{1}{X}{centering Unweighted p-value} tabularnewline
                cmidrule(r){1-1}
                cmidrule(rl){2-2}
                cmidrule(rl){3-3}
                cmidrule(rl){4-4}
                cmidrule(rl){5-5}
                Attendance Rate & 0.55 & 0.0875 & 2.15 & <0.0001\
                Test Average & 4.14 & 0.0320 & 4.68 & 0.0080\
                Final Exam & 4.12 & 0.0022 & 1.99 & 0.1590\
                Data Analysis Assignment Average & 20.98 & <0.0001 & 17.42 & <0.0001\
                Quiz Average & 3.88 & 0.0035 & 2.33 & 0.0399\
                bottomrule
                end{tabularx}
                end{table}
                end{frame}
                end{document}





                share|improve this answer













                Here my suggestions.



                I have not met the point two. It seem more elegant to me aligned at bottom, or as showed here, aligned at the middle. But if you disagree, just change the m column by a p. Anyway, with p,m or b the main point is that without awful the horizontal rows, this table need some extra vertical space between rows to mark clearly where stard/end the text of the multiline cell. Otherwise the "Variable" column is a mess.



                mwe



                documentclass{beamer}
                usepackage{booktabs,tabularx,dcolumn}
                newcolumntype{d}{D{.}{cdot}{-1}}
                begin{document}
                begin{frame}
                begin{table}
                caption{Kruskal-Wallis Tests by Semester}
                footnotesizetabcolsep0em
                renewcommand{arraystretch}{1.5}
                begin{tabularx}{textwidth}{>{raggedright}m{10em}dddd}toprule &
                multicolumn{2}{c}{Falll} &
                multicolumn{2}{c}{Spring} \
                cmidrule(r){2-3}
                cmidrule(l){4-5}
                multicolumn{1}{X}{leavevmodenewline Variable} &
                multicolumn{1}{X}{centering Weighted Test Statistic} &
                multicolumn{1}{X}{centering Unweighted p-value} &
                multicolumn{1}{X}{centering Weighted Test Statistic} &
                multicolumn{1}{X}{centering Unweighted p-value} tabularnewline
                cmidrule(r){1-1}
                cmidrule(rl){2-2}
                cmidrule(rl){3-3}
                cmidrule(rl){4-4}
                cmidrule(rl){5-5}
                Attendance Rate & 0.55 & 0.0875 & 2.15 & <0.0001\
                Test Average & 4.14 & 0.0320 & 4.68 & 0.0080\
                Final Exam & 4.12 & 0.0022 & 1.99 & 0.1590\
                Data Analysis Assignment Average & 20.98 & <0.0001 & 17.42 & <0.0001\
                Quiz Average & 3.88 & 0.0035 & 2.33 & 0.0399\
                bottomrule
                end{tabularx}
                end{table}
                end{frame}
                end{document}






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 13 mins ago









                FranFran

                53.8k6122183




                53.8k6122183






















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










                    draft saved

                    draft discarded


















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













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












                    Remy 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%2f486133%2fhelp-recreating-a-table%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

                    How to label and detect the document text images

                    Vallis Paradisi

                    Tabula Rosettana