Help Recreating a Table Announcing the arrival of Valued Associate #679: Cesar Manara ...
How do I deal with an erroneously large refund?
Providing direct feedback to a product salesperson
Protagonist's race is hidden - should I reveal it?
Is Bran literally the world's memory?
Does traveling In The United States require a passport or can I use my green card if not a US citizen?
Recursive calls to a function - why is the address of the parameter passed to it lowering with each call?
Marquee sign letters
How is an IPA symbol that lacks a name (e.g. ɲ) called?
When speaking, how do you change your mind mid-sentence?
Can gravitational waves pass through a black hole?
Why isn't everyone flabbergasted about Bran's "gift"?
Can I ask an author to send me his ebook?
What's the difference between using dependency injection with a container and using a service locator?
Why did Bronn offer to be Tyrion Lannister's champion in trial by combat?
How to create a command for the "strange m" symbol in latex?
Meaning of "Not holding on that level of emuna/bitachon"
How to keep bees out of canned beverages?
Is Vivien of the Wilds + Wilderness Reclamation a competitive combo?
Why aren't these two solutions equivalent? Combinatorics problem
A journey... into the MIND
Determine the generator of an ideal of ring of integers
Etymology of 見舞い
Coin Game with infinite paradox
Why does BitLocker not use RSA?
Help Recreating a Table
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)How to align numbers on decimal point in latexTable Design HelpTable alignment helptable formatting help (centering on a dash)table micro adjustment help neededNeed help reformatting a tableHelp fitting the TableHelp for complicated tableHelp in formatting a tableRecreating the following table with the logoHelp with regression table
I am trying to recreate this table using LaTeX.
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.
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}
tables siunitx
New contributor
add a comment |
I am trying to recreate this table using LaTeX.
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.
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}
tables siunitx
New contributor
add a comment |
I am trying to recreate this table using LaTeX.
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.
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}
tables siunitx
New contributor
I am trying to recreate this table using LaTeX.
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.
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}
tables siunitx
tables siunitx
New contributor
New contributor
edited 3 hours ago
Remy
New contributor
asked 3 hours ago
RemyRemy
1084
1084
New contributor
New contributor
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
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!
New contributor
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
3 hours ago
I think your problem might come from thefullpage
package because I never use that for beamer. If that is not it, please let me know what packages you are using.
– Jennifer
3 hours ago
That worked! Could you please edit your post to show where the font size adjustment goes?
– Remy
3 hours ago
I added it and hope it works for your purposes!
– Jennifer
2 hours ago
add a comment |
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.
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}
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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!
New contributor
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
3 hours ago
I think your problem might come from thefullpage
package because I never use that for beamer. If that is not it, please let me know what packages you are using.
– Jennifer
3 hours ago
That worked! Could you please edit your post to show where the font size adjustment goes?
– Remy
3 hours ago
I added it and hope it works for your purposes!
– Jennifer
2 hours ago
add a comment |
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!
New contributor
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
3 hours ago
I think your problem might come from thefullpage
package because I never use that for beamer. If that is not it, please let me know what packages you are using.
– Jennifer
3 hours ago
That worked! Could you please edit your post to show where the font size adjustment goes?
– Remy
3 hours ago
I added it and hope it works for your purposes!
– Jennifer
2 hours ago
add a comment |
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!
New contributor
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!
New contributor
edited 2 hours ago
New contributor
answered 3 hours ago
JenniferJennifer
737
737
New contributor
New contributor
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
3 hours ago
I think your problem might come from thefullpage
package because I never use that for beamer. If that is not it, please let me know what packages you are using.
– Jennifer
3 hours ago
That worked! Could you please edit your post to show where the font size adjustment goes?
– Remy
3 hours ago
I added it and hope it works for your purposes!
– Jennifer
2 hours ago
add a comment |
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
3 hours ago
I think your problem might come from thefullpage
package because I never use that for beamer. If that is not it, please let me know what packages you are using.
– Jennifer
3 hours ago
That worked! Could you please edit your post to show where the font size adjustment goes?
– Remy
3 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
3 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
3 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
3 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
3 hours ago
That worked! Could you please edit your post to show where the font size adjustment goes?
– Remy
3 hours ago
That worked! Could you please edit your post to show where the font size adjustment goes?
– Remy
3 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
add a comment |
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.
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}
add a comment |
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.
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}
add a comment |
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.
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}
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.
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}
answered 31 mins ago
FranFran
53.8k6122183
53.8k6122183
add a comment |
add a comment |
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.
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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