Package “threeparttable”: What advantages does it provide?
In the past I have been using tabularx, caption and parnotes packages to design my tables. Now the user John Kormylo has mentioned the package threeparttable:
What advantages does threeparttable provide over the other packages mentioned?
My classic approach looked like that so far:
documentclass{article}
usepackage{tabularx}
usepackage{caption}
usepackage{parnotes}
begin{document}
begin{table}[htbp]
caption{This is the caption}
begin{tabularx}{textwidth}{|l|l|}
parnoteclear
Blaparnote{First parnote} & Blubparnote{Second parnote} \
end{tabularx}
parnotes
end{table}
end{document}
- When does it make sense to go ahead with
threeparttable?
While common
parnotesrefer to their item identifiers automatically by themselves, inthreeparttableI would manually have to type42tnote{1}within the table and
begin{tablenotes}
item [1] the first note ...
end{tablenotes}
below the table where I want to put my notes. This seems to be way more time consuming than just using
parnote{This is a parnote}and get everything done by itself?
tables tabularx threeparttable notes parnotes
|
show 4 more comments
In the past I have been using tabularx, caption and parnotes packages to design my tables. Now the user John Kormylo has mentioned the package threeparttable:
What advantages does threeparttable provide over the other packages mentioned?
My classic approach looked like that so far:
documentclass{article}
usepackage{tabularx}
usepackage{caption}
usepackage{parnotes}
begin{document}
begin{table}[htbp]
caption{This is the caption}
begin{tabularx}{textwidth}{|l|l|}
parnoteclear
Blaparnote{First parnote} & Blubparnote{Second parnote} \
end{tabularx}
parnotes
end{table}
end{document}
- When does it make sense to go ahead with
threeparttable?
While common
parnotesrefer to their item identifiers automatically by themselves, inthreeparttableI would manually have to type42tnote{1}within the table and
begin{tablenotes}
item [1] the first note ...
end{tablenotes}
below the table where I want to put my notes. This seems to be way more time consuming than just using
parnote{This is a parnote}and get everything done by itself?
tables tabularx threeparttable notes parnotes
2
Another advantage ofthreeparttableis that the caption width is set to the real width of the table, which maybe useful in some cases.
– Bernard
2 hours ago
@Bernard: Hmm yes, but in the upper MWE this is just one more line of codecaptionsetup{width=0.8textwidth}and it's done, isn't it?
– Dave
2 hours ago
1
How do you know the table width is exactly 0.8textwidth? And if you decide to change the table font size, what do you do?
– Bernard
2 hours ago
1
If you usetabularxthe problem is different. Anyway, other packages measure the width of tables or figures, such asfloatrow.
– Bernard
2 hours ago
1
@Dave Don't make tables artificially wider than they are. The more white space in them, the less readable they are. Exception: tables that are almost equal to the column width may be made to fit it (withtabular*, usually).
– egreg
1 hour ago
|
show 4 more comments
In the past I have been using tabularx, caption and parnotes packages to design my tables. Now the user John Kormylo has mentioned the package threeparttable:
What advantages does threeparttable provide over the other packages mentioned?
My classic approach looked like that so far:
documentclass{article}
usepackage{tabularx}
usepackage{caption}
usepackage{parnotes}
begin{document}
begin{table}[htbp]
caption{This is the caption}
begin{tabularx}{textwidth}{|l|l|}
parnoteclear
Blaparnote{First parnote} & Blubparnote{Second parnote} \
end{tabularx}
parnotes
end{table}
end{document}
- When does it make sense to go ahead with
threeparttable?
While common
parnotesrefer to their item identifiers automatically by themselves, inthreeparttableI would manually have to type42tnote{1}within the table and
begin{tablenotes}
item [1] the first note ...
end{tablenotes}
below the table where I want to put my notes. This seems to be way more time consuming than just using
parnote{This is a parnote}and get everything done by itself?
tables tabularx threeparttable notes parnotes
In the past I have been using tabularx, caption and parnotes packages to design my tables. Now the user John Kormylo has mentioned the package threeparttable:
What advantages does threeparttable provide over the other packages mentioned?
My classic approach looked like that so far:
documentclass{article}
usepackage{tabularx}
usepackage{caption}
usepackage{parnotes}
begin{document}
begin{table}[htbp]
caption{This is the caption}
begin{tabularx}{textwidth}{|l|l|}
parnoteclear
Blaparnote{First parnote} & Blubparnote{Second parnote} \
end{tabularx}
parnotes
end{table}
end{document}
- When does it make sense to go ahead with
threeparttable?
While common
parnotesrefer to their item identifiers automatically by themselves, inthreeparttableI would manually have to type42tnote{1}within the table and
begin{tablenotes}
item [1] the first note ...
end{tablenotes}
below the table where I want to put my notes. This seems to be way more time consuming than just using
parnote{This is a parnote}and get everything done by itself?
tables tabularx threeparttable notes parnotes
tables tabularx threeparttable notes parnotes
edited 2 hours ago
Dave
asked 2 hours ago
DaveDave
1,005619
1,005619
2
Another advantage ofthreeparttableis that the caption width is set to the real width of the table, which maybe useful in some cases.
– Bernard
2 hours ago
@Bernard: Hmm yes, but in the upper MWE this is just one more line of codecaptionsetup{width=0.8textwidth}and it's done, isn't it?
– Dave
2 hours ago
1
How do you know the table width is exactly 0.8textwidth? And if you decide to change the table font size, what do you do?
– Bernard
2 hours ago
1
If you usetabularxthe problem is different. Anyway, other packages measure the width of tables or figures, such asfloatrow.
– Bernard
2 hours ago
1
@Dave Don't make tables artificially wider than they are. The more white space in them, the less readable they are. Exception: tables that are almost equal to the column width may be made to fit it (withtabular*, usually).
– egreg
1 hour ago
|
show 4 more comments
2
Another advantage ofthreeparttableis that the caption width is set to the real width of the table, which maybe useful in some cases.
– Bernard
2 hours ago
@Bernard: Hmm yes, but in the upper MWE this is just one more line of codecaptionsetup{width=0.8textwidth}and it's done, isn't it?
– Dave
2 hours ago
1
How do you know the table width is exactly 0.8textwidth? And if you decide to change the table font size, what do you do?
– Bernard
2 hours ago
1
If you usetabularxthe problem is different. Anyway, other packages measure the width of tables or figures, such asfloatrow.
– Bernard
2 hours ago
1
@Dave Don't make tables artificially wider than they are. The more white space in them, the less readable they are. Exception: tables that are almost equal to the column width may be made to fit it (withtabular*, usually).
– egreg
1 hour ago
2
2
Another advantage of
threeparttable is that the caption width is set to the real width of the table, which maybe useful in some cases.– Bernard
2 hours ago
Another advantage of
threeparttable is that the caption width is set to the real width of the table, which maybe useful in some cases.– Bernard
2 hours ago
@Bernard: Hmm yes, but in the upper MWE this is just one more line of code
captionsetup{width=0.8textwidth} and it's done, isn't it?– Dave
2 hours ago
@Bernard: Hmm yes, but in the upper MWE this is just one more line of code
captionsetup{width=0.8textwidth} and it's done, isn't it?– Dave
2 hours ago
1
1
How do you know the table width is exactly 0.8textwidth? And if you decide to change the table font size, what do you do?
– Bernard
2 hours ago
How do you know the table width is exactly 0.8textwidth? And if you decide to change the table font size, what do you do?
– Bernard
2 hours ago
1
1
If you use
tabularx the problem is different. Anyway, other packages measure the width of tables or figures, such as floatrow.– Bernard
2 hours ago
If you use
tabularx the problem is different. Anyway, other packages measure the width of tables or figures, such as floatrow.– Bernard
2 hours ago
1
1
@Dave Don't make tables artificially wider than they are. The more white space in them, the less readable they are. Exception: tables that are almost equal to the column width may be made to fit it (with
tabular*, usually).– egreg
1 hour ago
@Dave Don't make tables artificially wider than they are. The more white space in them, the less readable they are. Exception: tables that are almost equal to the column width may be made to fit it (with
tabular*, usually).– egreg
1 hour ago
|
show 4 more comments
0
active
oldest
votes
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
});
}
});
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%2f482507%2fpackage-threeparttable-what-advantages-does-it-provide%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f482507%2fpackage-threeparttable-what-advantages-does-it-provide%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

2
Another advantage of
threeparttableis that the caption width is set to the real width of the table, which maybe useful in some cases.– Bernard
2 hours ago
@Bernard: Hmm yes, but in the upper MWE this is just one more line of code
captionsetup{width=0.8textwidth}and it's done, isn't it?– Dave
2 hours ago
1
How do you know the table width is exactly 0.8textwidth? And if you decide to change the table font size, what do you do?
– Bernard
2 hours ago
1
If you use
tabularxthe problem is different. Anyway, other packages measure the width of tables or figures, such asfloatrow.– Bernard
2 hours ago
1
@Dave Don't make tables artificially wider than they are. The more white space in them, the less readable they are. Exception: tables that are almost equal to the column width may be made to fit it (with
tabular*, usually).– egreg
1 hour ago