Package “threeparttable”: What advantages does it provide?












0















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 parnotes refer to their item identifiers automatically by themselves, in threeparttable I would manually have to type 42tnote{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?












share|improve this question




















  • 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











  • @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 tabularx the problem is different. Anyway, other packages measure the width of tables or figures, such as floatrow.

    – 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
















0















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 parnotes refer to their item identifiers automatically by themselves, in threeparttable I would manually have to type 42tnote{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?












share|improve this question




















  • 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











  • @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 tabularx the problem is different. Anyway, other packages measure the width of tables or figures, such as floatrow.

    – 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














0












0








0








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 parnotes refer to their item identifiers automatically by themselves, in threeparttable I would manually have to type 42tnote{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?












share|improve this question
















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 parnotes refer to their item identifiers automatically by themselves, in threeparttable I would manually have to type 42tnote{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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 hours ago







Dave

















asked 2 hours ago









DaveDave

1,005619




1,005619








  • 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











  • @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 tabularx the problem is different. Anyway, other packages measure the width of tables or figures, such as floatrow.

    – 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














  • 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











  • @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 tabularx the problem is different. Anyway, other packages measure the width of tables or figures, such as floatrow.

    – 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








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










0






active

oldest

votes












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%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
















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.




draft saved


draft discarded














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





















































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

Lallio

Unable to find Lightning Node

Futebolista