Equally distributed table columnsTabular and grid typesettingRemove whitespace between columns in tabletabu package - gaps in vertical linesHow to make a table with equally sized columns?Centering a tabular environment such that whitespace is equally distributedLatex table subdivided columns and rowsNeed linebreaks in some columns of a wide tableColumn alignment in multi index table not evenly distributedUnevenly distributed column space in tableNicely formatting booktab table with multiple columns
weird pluperfect subjunctive in Eutropius
Does running exec do anything?
Dangerous workplace travelling
What to do when scriptures go against conscience?
Undefined Control Sequence for my 0-norm
In Futurama, how many beings has Leela slept with?
Gerrymandering Puzzle - Rig the Election
How do I, as a DM, handle a party that decides to set up an ambush in a dungeon?
Has the United States ever had a non-Christian President?
How to calculate rate of axial precession?
Why does sound not move through a wall?
Is there precedent or are there procedures for a US president refusing to concede to an electoral defeat?
In "Avengers: Endgame", what does this name refer to?
All of my Firefox add-ons been disabled suddenly, how can I re-enable them?
Can my 2 children, aged 10 and 12, who are US citizens, travel to the USA on expired American passports?
Determine if a grid contains another grid
Endgame puzzle: How to avoid stalemate and win?
Where to draw the line between quantum mechanics theory and its interpretation(s)?
As a GM, is it bad form to ask for a moment to think when improvising?
What happens if I accidentally leave an app running and click "Install Now" in Software Updater?
Game artist computer workstation set-up – is this overkill?
Should homeowners insurance cover the cost of the home?
Piano: quaver triplets in RH v dotted quaver and semiquaver in LH
The origin of list data structure
Equally distributed table columns
Tabular and grid typesettingRemove whitespace between columns in tabletabu package - gaps in vertical linesHow to make a table with equally sized columns?Centering a tabular environment such that whitespace is equally distributedLatex table subdivided columns and rowsNeed linebreaks in some columns of a wide tableColumn alignment in multi index table not evenly distributedUnevenly distributed column space in tableNicely formatting booktab table with multiple columns
I am trying to make simple table with some numerical data. I used package booktabs and overall the table looks very good, but in my opinion it would be better to have columns equally width according to the widest column. Is it possible to make latex automatically stretch these columns equally ?
Thanks for any help.
Table example: 
Code:
usepackagetikz
usepackagebooktabs
begindocument
begintable[ht]
centering
begintabular[t]ccccc
toprule
# & textscPrecision & textscRecall & textscF1 &textscMAP \
midrule
0 & 0.0117 & 0.6838 & 0.0230 & 0.0112 \
1 & 0.0099 & 0.7084 & 0.0195 & 0.0109 \
2 & 0.0095 & 0.7096 & 0.0187 & 0.0105 \
3 & 0.0088 & 0.7215 & 0.0174 & 0.0101 \
4 & 0.0085 & 0.7401 & 0.0168 & 0.0096 \
5 & 0.0080 & 0.7467 & 0.0158 & 0.0087 \
6 & 0.0079 & 0.7571 & 0.0156 & 0.0088 \
7 & 0.0073 & 0.7794 & 0.0145 & 0.0087 \
8 & 0.0071 & 0.7902 & 0.0141 & 0.0085 \
9 & 0.0069 & 0.7981 & 0.0137 & 0.0084 \
10 & 0.0065 & 0.7990 & 0.0129 & 0.0078 \
bottomrule
endtabular
endtable
enddocument
tables booktabs
add a comment |
I am trying to make simple table with some numerical data. I used package booktabs and overall the table looks very good, but in my opinion it would be better to have columns equally width according to the widest column. Is it possible to make latex automatically stretch these columns equally ?
Thanks for any help.
Table example: 
Code:
usepackagetikz
usepackagebooktabs
begindocument
begintable[ht]
centering
begintabular[t]ccccc
toprule
# & textscPrecision & textscRecall & textscF1 &textscMAP \
midrule
0 & 0.0117 & 0.6838 & 0.0230 & 0.0112 \
1 & 0.0099 & 0.7084 & 0.0195 & 0.0109 \
2 & 0.0095 & 0.7096 & 0.0187 & 0.0105 \
3 & 0.0088 & 0.7215 & 0.0174 & 0.0101 \
4 & 0.0085 & 0.7401 & 0.0168 & 0.0096 \
5 & 0.0080 & 0.7467 & 0.0158 & 0.0087 \
6 & 0.0079 & 0.7571 & 0.0156 & 0.0088 \
7 & 0.0073 & 0.7794 & 0.0145 & 0.0087 \
8 & 0.0071 & 0.7902 & 0.0141 & 0.0085 \
9 & 0.0069 & 0.7981 & 0.0137 & 0.0084 \
10 & 0.0065 & 0.7990 & 0.0129 & 0.0078 \
bottomrule
endtabular
endtable
enddocument
tables booktabs
Welcome... begintabular[t]@extracolsepfillccccc@extracolsepfill may helps you ...
– MadyYuvi
Apr 26 at 12:36
Thank you very much for fast answer, I'll try it.
– awarus
Apr 26 at 12:41
add a comment |
I am trying to make simple table with some numerical data. I used package booktabs and overall the table looks very good, but in my opinion it would be better to have columns equally width according to the widest column. Is it possible to make latex automatically stretch these columns equally ?
Thanks for any help.
Table example: 
Code:
usepackagetikz
usepackagebooktabs
begindocument
begintable[ht]
centering
begintabular[t]ccccc
toprule
# & textscPrecision & textscRecall & textscF1 &textscMAP \
midrule
0 & 0.0117 & 0.6838 & 0.0230 & 0.0112 \
1 & 0.0099 & 0.7084 & 0.0195 & 0.0109 \
2 & 0.0095 & 0.7096 & 0.0187 & 0.0105 \
3 & 0.0088 & 0.7215 & 0.0174 & 0.0101 \
4 & 0.0085 & 0.7401 & 0.0168 & 0.0096 \
5 & 0.0080 & 0.7467 & 0.0158 & 0.0087 \
6 & 0.0079 & 0.7571 & 0.0156 & 0.0088 \
7 & 0.0073 & 0.7794 & 0.0145 & 0.0087 \
8 & 0.0071 & 0.7902 & 0.0141 & 0.0085 \
9 & 0.0069 & 0.7981 & 0.0137 & 0.0084 \
10 & 0.0065 & 0.7990 & 0.0129 & 0.0078 \
bottomrule
endtabular
endtable
enddocument
tables booktabs
I am trying to make simple table with some numerical data. I used package booktabs and overall the table looks very good, but in my opinion it would be better to have columns equally width according to the widest column. Is it possible to make latex automatically stretch these columns equally ?
Thanks for any help.
Table example: 
Code:
usepackagetikz
usepackagebooktabs
begindocument
begintable[ht]
centering
begintabular[t]ccccc
toprule
# & textscPrecision & textscRecall & textscF1 &textscMAP \
midrule
0 & 0.0117 & 0.6838 & 0.0230 & 0.0112 \
1 & 0.0099 & 0.7084 & 0.0195 & 0.0109 \
2 & 0.0095 & 0.7096 & 0.0187 & 0.0105 \
3 & 0.0088 & 0.7215 & 0.0174 & 0.0101 \
4 & 0.0085 & 0.7401 & 0.0168 & 0.0096 \
5 & 0.0080 & 0.7467 & 0.0158 & 0.0087 \
6 & 0.0079 & 0.7571 & 0.0156 & 0.0088 \
7 & 0.0073 & 0.7794 & 0.0145 & 0.0087 \
8 & 0.0071 & 0.7902 & 0.0141 & 0.0085 \
9 & 0.0069 & 0.7981 & 0.0137 & 0.0084 \
10 & 0.0065 & 0.7990 & 0.0129 & 0.0078 \
bottomrule
endtabular
endtable
enddocument
tables booktabs
tables booktabs
asked Apr 26 at 12:30
awarusawarus
384
384
Welcome... begintabular[t]@extracolsepfillccccc@extracolsepfill may helps you ...
– MadyYuvi
Apr 26 at 12:36
Thank you very much for fast answer, I'll try it.
– awarus
Apr 26 at 12:41
add a comment |
Welcome... begintabular[t]@extracolsepfillccccc@extracolsepfill may helps you ...
– MadyYuvi
Apr 26 at 12:36
Thank you very much for fast answer, I'll try it.
– awarus
Apr 26 at 12:41
Welcome... begintabular[t]@extracolsepfillccccc@extracolsepfill may helps you ...
– MadyYuvi
Apr 26 at 12:36
Welcome... begintabular[t]@extracolsepfillccccc@extracolsepfill may helps you ...
– MadyYuvi
Apr 26 at 12:36
Thank you very much for fast answer, I'll try it.
– awarus
Apr 26 at 12:41
Thank you very much for fast answer, I'll try it.
– awarus
Apr 26 at 12:41
add a comment |
1 Answer
1
active
oldest
votes
With the help of the array and the calc package you can achieve the following:

documentclassarticle
usepackagearray
usepackagecalc
usepackagebooktabs
begindocument
begintable[ht]
centering
begintabular[t]c*4wcwidthoftextscPrecision
toprule
# & textscPrecision & textscRecall & textscF1 &textscMAP \
midrule
0 & 0.0117 & 0.6838 & 0.0230 & 0.0112 \
1 & 0.0099 & 0.7084 & 0.0195 & 0.0109 \
2 & 0.0095 & 0.7096 & 0.0187 & 0.0105 \
3 & 0.0088 & 0.7215 & 0.0174 & 0.0101 \
4 & 0.0085 & 0.7401 & 0.0168 & 0.0096 \
5 & 0.0080 & 0.7467 & 0.0158 & 0.0087 \
6 & 0.0079 & 0.7571 & 0.0156 & 0.0088 \
7 & 0.0073 & 0.7794 & 0.0145 & 0.0087 \
8 & 0.0071 & 0.7902 & 0.0141 & 0.0085 \
9 & 0.0069 & 0.7981 & 0.0137 & 0.0084 \
10 & 0.0065 & 0.7990 & 0.0129 & 0.0078 \
bottomrule
endtabular
endtable
enddocument
Thank you very much for great solution.
– awarus
Apr 26 at 13:00
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
);
);
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%2f487734%2fequally-distributed-table-columns%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
With the help of the array and the calc package you can achieve the following:

documentclassarticle
usepackagearray
usepackagecalc
usepackagebooktabs
begindocument
begintable[ht]
centering
begintabular[t]c*4wcwidthoftextscPrecision
toprule
# & textscPrecision & textscRecall & textscF1 &textscMAP \
midrule
0 & 0.0117 & 0.6838 & 0.0230 & 0.0112 \
1 & 0.0099 & 0.7084 & 0.0195 & 0.0109 \
2 & 0.0095 & 0.7096 & 0.0187 & 0.0105 \
3 & 0.0088 & 0.7215 & 0.0174 & 0.0101 \
4 & 0.0085 & 0.7401 & 0.0168 & 0.0096 \
5 & 0.0080 & 0.7467 & 0.0158 & 0.0087 \
6 & 0.0079 & 0.7571 & 0.0156 & 0.0088 \
7 & 0.0073 & 0.7794 & 0.0145 & 0.0087 \
8 & 0.0071 & 0.7902 & 0.0141 & 0.0085 \
9 & 0.0069 & 0.7981 & 0.0137 & 0.0084 \
10 & 0.0065 & 0.7990 & 0.0129 & 0.0078 \
bottomrule
endtabular
endtable
enddocument
Thank you very much for great solution.
– awarus
Apr 26 at 13:00
add a comment |
With the help of the array and the calc package you can achieve the following:

documentclassarticle
usepackagearray
usepackagecalc
usepackagebooktabs
begindocument
begintable[ht]
centering
begintabular[t]c*4wcwidthoftextscPrecision
toprule
# & textscPrecision & textscRecall & textscF1 &textscMAP \
midrule
0 & 0.0117 & 0.6838 & 0.0230 & 0.0112 \
1 & 0.0099 & 0.7084 & 0.0195 & 0.0109 \
2 & 0.0095 & 0.7096 & 0.0187 & 0.0105 \
3 & 0.0088 & 0.7215 & 0.0174 & 0.0101 \
4 & 0.0085 & 0.7401 & 0.0168 & 0.0096 \
5 & 0.0080 & 0.7467 & 0.0158 & 0.0087 \
6 & 0.0079 & 0.7571 & 0.0156 & 0.0088 \
7 & 0.0073 & 0.7794 & 0.0145 & 0.0087 \
8 & 0.0071 & 0.7902 & 0.0141 & 0.0085 \
9 & 0.0069 & 0.7981 & 0.0137 & 0.0084 \
10 & 0.0065 & 0.7990 & 0.0129 & 0.0078 \
bottomrule
endtabular
endtable
enddocument
Thank you very much for great solution.
– awarus
Apr 26 at 13:00
add a comment |
With the help of the array and the calc package you can achieve the following:

documentclassarticle
usepackagearray
usepackagecalc
usepackagebooktabs
begindocument
begintable[ht]
centering
begintabular[t]c*4wcwidthoftextscPrecision
toprule
# & textscPrecision & textscRecall & textscF1 &textscMAP \
midrule
0 & 0.0117 & 0.6838 & 0.0230 & 0.0112 \
1 & 0.0099 & 0.7084 & 0.0195 & 0.0109 \
2 & 0.0095 & 0.7096 & 0.0187 & 0.0105 \
3 & 0.0088 & 0.7215 & 0.0174 & 0.0101 \
4 & 0.0085 & 0.7401 & 0.0168 & 0.0096 \
5 & 0.0080 & 0.7467 & 0.0158 & 0.0087 \
6 & 0.0079 & 0.7571 & 0.0156 & 0.0088 \
7 & 0.0073 & 0.7794 & 0.0145 & 0.0087 \
8 & 0.0071 & 0.7902 & 0.0141 & 0.0085 \
9 & 0.0069 & 0.7981 & 0.0137 & 0.0084 \
10 & 0.0065 & 0.7990 & 0.0129 & 0.0078 \
bottomrule
endtabular
endtable
enddocument
With the help of the array and the calc package you can achieve the following:

documentclassarticle
usepackagearray
usepackagecalc
usepackagebooktabs
begindocument
begintable[ht]
centering
begintabular[t]c*4wcwidthoftextscPrecision
toprule
# & textscPrecision & textscRecall & textscF1 &textscMAP \
midrule
0 & 0.0117 & 0.6838 & 0.0230 & 0.0112 \
1 & 0.0099 & 0.7084 & 0.0195 & 0.0109 \
2 & 0.0095 & 0.7096 & 0.0187 & 0.0105 \
3 & 0.0088 & 0.7215 & 0.0174 & 0.0101 \
4 & 0.0085 & 0.7401 & 0.0168 & 0.0096 \
5 & 0.0080 & 0.7467 & 0.0158 & 0.0087 \
6 & 0.0079 & 0.7571 & 0.0156 & 0.0088 \
7 & 0.0073 & 0.7794 & 0.0145 & 0.0087 \
8 & 0.0071 & 0.7902 & 0.0141 & 0.0085 \
9 & 0.0069 & 0.7981 & 0.0137 & 0.0084 \
10 & 0.0065 & 0.7990 & 0.0129 & 0.0078 \
bottomrule
endtabular
endtable
enddocument
answered Apr 26 at 12:51
leandriisleandriis
12.5k1833
12.5k1833
Thank you very much for great solution.
– awarus
Apr 26 at 13:00
add a comment |
Thank you very much for great solution.
– awarus
Apr 26 at 13:00
Thank you very much for great solution.
– awarus
Apr 26 at 13:00
Thank you very much for great solution.
– awarus
Apr 26 at 13:00
add a comment |
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%2f487734%2fequally-distributed-table-columns%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
Welcome... begintabular[t]@extracolsepfillccccc@extracolsepfill may helps you ...
– MadyYuvi
Apr 26 at 12:36
Thank you very much for fast answer, I'll try it.
– awarus
Apr 26 at 12:41