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













2















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:
Example table
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









share|improve this question






















  • 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















2















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:
Example table
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









share|improve this question






















  • 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













2












2








2








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:
Example table
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









share|improve this question














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:
Example table
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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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

















  • 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










1 Answer
1






active

oldest

votes


















6














With the help of the array and the calc package you can achieve the following:



enter image description here



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





share|improve this answer























  • Thank you very much for great solution.

    – awarus
    Apr 26 at 13:00











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









6














With the help of the array and the calc package you can achieve the following:



enter image description here



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





share|improve this answer























  • Thank you very much for great solution.

    – awarus
    Apr 26 at 13:00















6














With the help of the array and the calc package you can achieve the following:



enter image description here



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





share|improve this answer























  • Thank you very much for great solution.

    – awarus
    Apr 26 at 13:00













6












6








6







With the help of the array and the calc package you can achieve the following:



enter image description here



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





share|improve this answer













With the help of the array and the calc package you can achieve the following:



enter image description here



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






share|improve this answer












share|improve this answer



share|improve this answer










answered Apr 26 at 12:51









leandriisleandriis

12.5k1833




12.5k1833












  • 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





Thank you very much for great solution.

– awarus
Apr 26 at 13:00

















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%2f487734%2fequally-distributed-table-columns%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 write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos