Table - bold and normal lines (centering)

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












How can I solve this graphical problem please?



documentclass[12pt,a4paper]article
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackage[czech]babel
usepackagemulticol
usepackageenumitem
usepackagetabularx
usepackagecaption
usepackagemultirow
usepackagearray
newcolumntype?!vrule width 1.5pt
usepackage[table]xcolor
usepackagetabularx, makecell
usepackagecaption
usepackagecellspace
usepackageetoolbox
pretotabularshorthandoff-


begindocument


begintable[h!]footnotesize
captionZářič $^137$Cs - přirozené pozadí
centering
begintabular?c
Xhline4arrayrulewidth

multicolumn1?c?cellcolorgray!25$PEAK$ [keV] & multicolumn1c?centering cellcolorgray!25$E_tab$ [keV] & multicolumn1c?centering Zdroj cellcolorgray!25 & multicolumn1c?centering cellcolorgray!25$FWHM$ [keV] & multicolumn1m1.2cm?centering $NET$ cellcolorgray!25 & multicolumn1m1.2cm?$GROSS$ cellcolorgray!25\

Xhline4arrayrulewidth
&&&&&\[-10pt]
609,35& 609,31& multirow4*$^214$Bi & 1,38& 539& 4675\
cline1-2 cline4-6
&&&&&\[-10pt]
1120,29& 1120,29& & 1,95& 558& 1530\
cline1-2 cline4-6
&&&&&\[-10pt]
1764,57& 1764,49& & 2,08& 451& 574\
cline1-2 cline4-6
&&&&&\[-10pt]
2204,36& 2204,21& & 1,86& 141& 188\
hline
&&&&&\[-10pt]
1460,81& 1460,75& $^40$K& 1,73& 422& 738\
hline
&&&&&\[-10pt]
74,71& multirow2*rtg& multirow2*$^214$Pb& 1,15& 2321& 34035\
cline1-1 cline4-6
&&&&&\[-10pt]
84,54& & & 1,22& 891& 16412\

Xhline4arrayrulewidth
endtabular

labelCs
endtable
enddocument


enter image description here










share|improve this question



















  • 1




    centering does nothing in l c or r columns, but you have not said what the problem is with your table. You have marked the join of the thick and thin lines in blue, but have not said how you want them changed, they do not look nice but it is hard to make them look better if you want to change the line widths (I would not do that) Unrelated but do not use math italic for words, $GROSS$ should be $mathrmGROSS$ (or simply GROSS)
    – David Carlisle
    1 hour ago











  • I would like to vertical thin lines go from the midle of vertical bold lines. $GROSS$ is wrong even if it is a name of quantity?
    – Elisabeth
    1 hour ago






  • 1




    the math italic font is designed to make adjacent letters not look like a word but like a product of variables, it should never be used for any multi-letter identifiers, you can use mathit or mathrm to get fonts designed for words in mathematics. Note $mathitGROSS$ is not the same as $GROSS$
    – David Carlisle
    1 hour ago










  • Thank you for this improvement.
    – Elisabeth
    58 mins ago














up vote
1
down vote

favorite












How can I solve this graphical problem please?



documentclass[12pt,a4paper]article
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackage[czech]babel
usepackagemulticol
usepackageenumitem
usepackagetabularx
usepackagecaption
usepackagemultirow
usepackagearray
newcolumntype?!vrule width 1.5pt
usepackage[table]xcolor
usepackagetabularx, makecell
usepackagecaption
usepackagecellspace
usepackageetoolbox
pretotabularshorthandoff-


begindocument


begintable[h!]footnotesize
captionZářič $^137$Cs - přirozené pozadí
centering
begintabular?c
Xhline4arrayrulewidth

multicolumn1?c?cellcolorgray!25$PEAK$ [keV] & multicolumn1c?centering cellcolorgray!25$E_tab$ [keV] & multicolumn1c?centering Zdroj cellcolorgray!25 & multicolumn1c?centering cellcolorgray!25$FWHM$ [keV] & multicolumn1m1.2cm?centering $NET$ cellcolorgray!25 & multicolumn1m1.2cm?$GROSS$ cellcolorgray!25\

Xhline4arrayrulewidth
&&&&&\[-10pt]
609,35& 609,31& multirow4*$^214$Bi & 1,38& 539& 4675\
cline1-2 cline4-6
&&&&&\[-10pt]
1120,29& 1120,29& & 1,95& 558& 1530\
cline1-2 cline4-6
&&&&&\[-10pt]
1764,57& 1764,49& & 2,08& 451& 574\
cline1-2 cline4-6
&&&&&\[-10pt]
2204,36& 2204,21& & 1,86& 141& 188\
hline
&&&&&\[-10pt]
1460,81& 1460,75& $^40$K& 1,73& 422& 738\
hline
&&&&&\[-10pt]
74,71& multirow2*rtg& multirow2*$^214$Pb& 1,15& 2321& 34035\
cline1-1 cline4-6
&&&&&\[-10pt]
84,54& & & 1,22& 891& 16412\

Xhline4arrayrulewidth
endtabular

labelCs
endtable
enddocument


enter image description here










share|improve this question



















  • 1




    centering does nothing in l c or r columns, but you have not said what the problem is with your table. You have marked the join of the thick and thin lines in blue, but have not said how you want them changed, they do not look nice but it is hard to make them look better if you want to change the line widths (I would not do that) Unrelated but do not use math italic for words, $GROSS$ should be $mathrmGROSS$ (or simply GROSS)
    – David Carlisle
    1 hour ago











  • I would like to vertical thin lines go from the midle of vertical bold lines. $GROSS$ is wrong even if it is a name of quantity?
    – Elisabeth
    1 hour ago






  • 1




    the math italic font is designed to make adjacent letters not look like a word but like a product of variables, it should never be used for any multi-letter identifiers, you can use mathit or mathrm to get fonts designed for words in mathematics. Note $mathitGROSS$ is not the same as $GROSS$
    – David Carlisle
    1 hour ago










  • Thank you for this improvement.
    – Elisabeth
    58 mins ago












up vote
1
down vote

favorite









up vote
1
down vote

favorite











How can I solve this graphical problem please?



documentclass[12pt,a4paper]article
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackage[czech]babel
usepackagemulticol
usepackageenumitem
usepackagetabularx
usepackagecaption
usepackagemultirow
usepackagearray
newcolumntype?!vrule width 1.5pt
usepackage[table]xcolor
usepackagetabularx, makecell
usepackagecaption
usepackagecellspace
usepackageetoolbox
pretotabularshorthandoff-


begindocument


begintable[h!]footnotesize
captionZářič $^137$Cs - přirozené pozadí
centering
begintabular?c
Xhline4arrayrulewidth

multicolumn1?c?cellcolorgray!25$PEAK$ [keV] & multicolumn1c?centering cellcolorgray!25$E_tab$ [keV] & multicolumn1c?centering Zdroj cellcolorgray!25 & multicolumn1c?centering cellcolorgray!25$FWHM$ [keV] & multicolumn1m1.2cm?centering $NET$ cellcolorgray!25 & multicolumn1m1.2cm?$GROSS$ cellcolorgray!25\

Xhline4arrayrulewidth
&&&&&\[-10pt]
609,35& 609,31& multirow4*$^214$Bi & 1,38& 539& 4675\
cline1-2 cline4-6
&&&&&\[-10pt]
1120,29& 1120,29& & 1,95& 558& 1530\
cline1-2 cline4-6
&&&&&\[-10pt]
1764,57& 1764,49& & 2,08& 451& 574\
cline1-2 cline4-6
&&&&&\[-10pt]
2204,36& 2204,21& & 1,86& 141& 188\
hline
&&&&&\[-10pt]
1460,81& 1460,75& $^40$K& 1,73& 422& 738\
hline
&&&&&\[-10pt]
74,71& multirow2*rtg& multirow2*$^214$Pb& 1,15& 2321& 34035\
cline1-1 cline4-6
&&&&&\[-10pt]
84,54& & & 1,22& 891& 16412\

Xhline4arrayrulewidth
endtabular

labelCs
endtable
enddocument


enter image description here










share|improve this question















How can I solve this graphical problem please?



documentclass[12pt,a4paper]article
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackage[czech]babel
usepackagemulticol
usepackageenumitem
usepackagetabularx
usepackagecaption
usepackagemultirow
usepackagearray
newcolumntype?!vrule width 1.5pt
usepackage[table]xcolor
usepackagetabularx, makecell
usepackagecaption
usepackagecellspace
usepackageetoolbox
pretotabularshorthandoff-


begindocument


begintable[h!]footnotesize
captionZářič $^137$Cs - přirozené pozadí
centering
begintabular?c
Xhline4arrayrulewidth

multicolumn1?c?cellcolorgray!25$PEAK$ [keV] & multicolumn1c?centering cellcolorgray!25$E_tab$ [keV] & multicolumn1c?centering Zdroj cellcolorgray!25 & multicolumn1c?centering cellcolorgray!25$FWHM$ [keV] & multicolumn1m1.2cm?centering $NET$ cellcolorgray!25 & multicolumn1m1.2cm?$GROSS$ cellcolorgray!25\

Xhline4arrayrulewidth
&&&&&\[-10pt]
609,35& 609,31& multirow4*$^214$Bi & 1,38& 539& 4675\
cline1-2 cline4-6
&&&&&\[-10pt]
1120,29& 1120,29& & 1,95& 558& 1530\
cline1-2 cline4-6
&&&&&\[-10pt]
1764,57& 1764,49& & 2,08& 451& 574\
cline1-2 cline4-6
&&&&&\[-10pt]
2204,36& 2204,21& & 1,86& 141& 188\
hline
&&&&&\[-10pt]
1460,81& 1460,75& $^40$K& 1,73& 422& 738\
hline
&&&&&\[-10pt]
74,71& multirow2*rtg& multirow2*$^214$Pb& 1,15& 2321& 34035\
cline1-1 cline4-6
&&&&&\[-10pt]
84,54& & & 1,22& 891& 16412\

Xhline4arrayrulewidth
endtabular

labelCs
endtable
enddocument


enter image description here







tables






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 20 mins ago









Bernard

159k765192




159k765192










asked 1 hour ago









Elisabeth

195




195







  • 1




    centering does nothing in l c or r columns, but you have not said what the problem is with your table. You have marked the join of the thick and thin lines in blue, but have not said how you want them changed, they do not look nice but it is hard to make them look better if you want to change the line widths (I would not do that) Unrelated but do not use math italic for words, $GROSS$ should be $mathrmGROSS$ (or simply GROSS)
    – David Carlisle
    1 hour ago











  • I would like to vertical thin lines go from the midle of vertical bold lines. $GROSS$ is wrong even if it is a name of quantity?
    – Elisabeth
    1 hour ago






  • 1




    the math italic font is designed to make adjacent letters not look like a word but like a product of variables, it should never be used for any multi-letter identifiers, you can use mathit or mathrm to get fonts designed for words in mathematics. Note $mathitGROSS$ is not the same as $GROSS$
    – David Carlisle
    1 hour ago










  • Thank you for this improvement.
    – Elisabeth
    58 mins ago












  • 1




    centering does nothing in l c or r columns, but you have not said what the problem is with your table. You have marked the join of the thick and thin lines in blue, but have not said how you want them changed, they do not look nice but it is hard to make them look better if you want to change the line widths (I would not do that) Unrelated but do not use math italic for words, $GROSS$ should be $mathrmGROSS$ (or simply GROSS)
    – David Carlisle
    1 hour ago











  • I would like to vertical thin lines go from the midle of vertical bold lines. $GROSS$ is wrong even if it is a name of quantity?
    – Elisabeth
    1 hour ago






  • 1




    the math italic font is designed to make adjacent letters not look like a word but like a product of variables, it should never be used for any multi-letter identifiers, you can use mathit or mathrm to get fonts designed for words in mathematics. Note $mathitGROSS$ is not the same as $GROSS$
    – David Carlisle
    1 hour ago










  • Thank you for this improvement.
    – Elisabeth
    58 mins ago







1




1




centering does nothing in l c or r columns, but you have not said what the problem is with your table. You have marked the join of the thick and thin lines in blue, but have not said how you want them changed, they do not look nice but it is hard to make them look better if you want to change the line widths (I would not do that) Unrelated but do not use math italic for words, $GROSS$ should be $mathrmGROSS$ (or simply GROSS)
– David Carlisle
1 hour ago





centering does nothing in l c or r columns, but you have not said what the problem is with your table. You have marked the join of the thick and thin lines in blue, but have not said how you want them changed, they do not look nice but it is hard to make them look better if you want to change the line widths (I would not do that) Unrelated but do not use math italic for words, $GROSS$ should be $mathrmGROSS$ (or simply GROSS)
– David Carlisle
1 hour ago













I would like to vertical thin lines go from the midle of vertical bold lines. $GROSS$ is wrong even if it is a name of quantity?
– Elisabeth
1 hour ago




I would like to vertical thin lines go from the midle of vertical bold lines. $GROSS$ is wrong even if it is a name of quantity?
– Elisabeth
1 hour ago




1




1




the math italic font is designed to make adjacent letters not look like a word but like a product of variables, it should never be used for any multi-letter identifiers, you can use mathit or mathrm to get fonts designed for words in mathematics. Note $mathitGROSS$ is not the same as $GROSS$
– David Carlisle
1 hour ago




the math italic font is designed to make adjacent letters not look like a word but like a product of variables, it should never be used for any multi-letter identifiers, you can use mathit or mathrm to get fonts designed for words in mathematics. Note $mathitGROSS$ is not the same as $GROSS$
– David Carlisle
1 hour ago












Thank you for this improvement.
– Elisabeth
58 mins ago




Thank you for this improvement.
– Elisabeth
58 mins ago










3 Answers
3






active

oldest

votes

















up vote
2
down vote



accepted










  • indicated graphical problem can not be solved.

  • use thick lines as you like to have to may not appear as nice table design. better is not used thick vertical lines

off-topic



  • it is sufficient to load each package only once

  • instead use cellcolor in each cell in row is simpler use ˙rowcolor`

  • vertical spacing of your cell is strange. why you not exploit loaded cellspace?

  • why you not use mchem package for writing chemical elements?




documentclass[12pt,a4paper]article
usepackage[table]xcolor
usepackagearray, cellspace, makecell, multirow, tabularx
newcolumntype?!vrule width 1.5pt
setlengthcellspacetoplimit4pt
setlengthcellspacebottomlimit4pt
newcommandmc[1]multicolumn1Sc?#1
usepackagecaption
usepackageetoolbox
%pretotabularshorthandoff-

begindocument
begintable[ht!]
footnotesize
captionZářič $^137$Cs - přirozené pozadí
labelCs
centering
begintabular?Sc? *4Scc?
Xhline4arrayrulewidth
rowcolorgray!25
multicolumn1?c?$PEAK$ [keV]
& mc$E_tab$ [keV]
& mcZdroj
& mc$FWHM$ [keV]
& mc$NET$
& mc$GROSS$\
Xhline4arrayrulewidth
% &&&&&\[-10pt]
609,35 & 609,31& multirow5.2*$^214$Bi & 1,38& 539& 4675\
cline1-2 cline4-6
%&&&&&\[-10pt]
1120,29& 1120,29& & 1,95& 558& 1530\
cline1-2 cline4-6
%&&&&&\[-10pt]
1764,57& 1764,49& & 2,08& 451& 574\
cline1-2 cline4-6
%&&&&&\[-10pt]
2204,36& 2204,21& & 1,86& 141& 188\
hline
%&&&&&\[-10pt]
1460,81& 1460,75& $^40$K& 1,73& 422& 738\
hline
%&&&&&\[-10pt]
74,71 & multirow2*rtg & multirow2.4*$^214$Pb& 1,15& 2321& 34035\
cline1-1 cline4-6
%&&&&&\[-10pt]
84,54& & & 1,22& 891& 16412\
Xhline4arrayrulewidth
endtabular
endtable
enddocument


enter image description here






share|improve this answer




















  • Very useful comments! (+1). However, the graphical problem can be solved, see my answer using boldline.
    – Bernard
    18 mins ago

















up vote
1
down vote













documentclass[12pt,a4paper]article
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackage[czech]babel
usepackagemulticol
usepackageenumitem
usepackagetabularx
usepackagecaption
usepackagemultirow
usepackagearray
newcolumntype?!vrule width 1.5pt
usepackage[table]xcolor
usepackagetabularx, makecell
usepackagecaption
usepackagecellspace
usepackageetoolbox
pretotabularshorthandoff-


begindocument


begintable[h!]footnotesize
captionZářič $^137$Cs - přirozené pozadí
centering
doublerulesepcolorblack
begintabularc
Xhline4arrayrulewidth

multicolumn1cellcolorgray!25$PEAK$ [keV] & multicolumn1centering cellcolorgray!25$E_tab$ [keV] & multicolumn1centering Zdroj cellcolorgray!25 & multicolumn1centering cellcolorgray!25$FWHM$ [keV] & multicolumn1m1.2cmcentering $NET$ cellcolorgray!25 & multicolumn1m1.2cm?$GROSS$ cellcolorgray!25\

Xhline4arrayrulewidth
&&&&&\[-10pt]
609,35& 609,31& multirow4*$^214$Bi & 1,38& 539& 4675\
cline1-2 cline4-6
&&&&&\[-10pt]
1120,29& 1120,29& & 1,95& 558& 1530\
cline1-2 cline4-6
&&&&&\[-10pt]
1764,57& 1764,49& & 2,08& 451& 574\
cline1-2 cline4-6
&&&&&\[-10pt]
2204,36& 2204,21& & 1,86& 141& 188\
hline
&&&&&\[-10pt]
1460,81& 1460,75& $^40$K& 1,73& 422& 738\
hline
&&&&&\[-10pt]
74,71& multirow2*rtg& multirow2*$^214$Pb& 1,15& 2321& 34035\
cline1-1 cline4-6
&&&&&\[-10pt]
84,54& & & 1,22& 891& 16412\

Xhline4arrayrulewidth
endtabular

labelCs
endtable
enddocument





share|improve this answer






















  • Thank you, but it is possible to make vertical lines in the first row bold?
    – Elisabeth
    1 hour ago










  • Or... does it look better?
    – Elisabeth
    57 mins ago










  • There is a bold line now, try it and see how you like it.
    – user168676
    52 mins ago










  • Thank you very much
    – Elisabeth
    47 mins ago










  • If you'd like a thiner line it is possible.
    – user168676
    42 mins ago

















up vote
1
down vote













I propose this variant, with the boldline package (so needless to define a new column type): a vertical line specified in the table preamble with Vx produces a line of width x times arrayrulewidth. I simplified the code for colouring column heads with the rowcolor command, and removed the unnecessary centering directives in columns of type c. Finally, I removed every double package loading.



documentclass[12pt,a4paper]article
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackage[czech]babel
usepackageamsmath
usepackagemulticol
usepackageenumitem
usepackagemultirow
usepackagearray
usepackage[table]xcolor
usepackagetabularx, makecell, boldline
usepackagecaption
usepackagecellspace
usepackageetoolbox
pretotabularshorthandoff-

begindocument

begintable[h!]footnotesize
captionZářič $^137$Cs - přirozené pozadí
centering
begintabularcV4
Xhline4arrayrulewidth
rowcolorgray!25
multicolumn1V4cV2.5textitPEAK [keV] & multicolumn1V1.5cV2.5centering $E_texttab$ [keV] & multicolumn1V1.5cV2.5centering Zdroj & multicolumn1V1.5cV2.5textitFWHM [keV] & multicolumn1V1.5m1.2cmV2.5centering textitNET & multicolumn1V1.5m1.2cmV4textitGROSS\

Xhline4arrayrulewidth
&&&&&\[-10pt]
609,35& 609,31& multirow4*$^214$Bi & 1,38& 539& 4675\
cline1-2 cline4-6
&&&&&\[-10pt]
1120,29& 1120,29& & 1,95& 558& 1530\
cline1-2 cline4-6
&&&&&\[-10pt]
1764,57& 1764,49& & 2,08& 451& 574\
cline1-2 cline4-6
&&&&&\[-10pt]
2204,36& 2204,21& & 1,86& 141& 188\
hline
&&&&&\[-10pt]
1460,81& 1460,75& $^40$K& 1,73& 422& 738\
hline
&&&&&\[-10pt]
74,71& multirow2*rtg& multirow2*$^214$Pb& 1,15& 2321& 34035\
cline1-1 cline4-6
&&&&&\[-10pt]
84,54& & & 1,22& 891& 16412\
Xhline4arrayrulewidth
endtabular
labelCs
endtable


enter image description here
enddocument






share|improve this answer




















    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',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    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%2f457026%2ftable-bold-and-normal-lines-centering%23new-answer', 'question_page');

    );

    Post as a guest






























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    2
    down vote



    accepted










    • indicated graphical problem can not be solved.

    • use thick lines as you like to have to may not appear as nice table design. better is not used thick vertical lines

    off-topic



    • it is sufficient to load each package only once

    • instead use cellcolor in each cell in row is simpler use ˙rowcolor`

    • vertical spacing of your cell is strange. why you not exploit loaded cellspace?

    • why you not use mchem package for writing chemical elements?




    documentclass[12pt,a4paper]article
    usepackage[table]xcolor
    usepackagearray, cellspace, makecell, multirow, tabularx
    newcolumntype?!vrule width 1.5pt
    setlengthcellspacetoplimit4pt
    setlengthcellspacebottomlimit4pt
    newcommandmc[1]multicolumn1Sc?#1
    usepackagecaption
    usepackageetoolbox
    %pretotabularshorthandoff-

    begindocument
    begintable[ht!]
    footnotesize
    captionZářič $^137$Cs - přirozené pozadí
    labelCs
    centering
    begintabular?Sc? *4Scc?
    Xhline4arrayrulewidth
    rowcolorgray!25
    multicolumn1?c?$PEAK$ [keV]
    & mc$E_tab$ [keV]
    & mcZdroj
    & mc$FWHM$ [keV]
    & mc$NET$
    & mc$GROSS$\
    Xhline4arrayrulewidth
    % &&&&&\[-10pt]
    609,35 & 609,31& multirow5.2*$^214$Bi & 1,38& 539& 4675\
    cline1-2 cline4-6
    %&&&&&\[-10pt]
    1120,29& 1120,29& & 1,95& 558& 1530\
    cline1-2 cline4-6
    %&&&&&\[-10pt]
    1764,57& 1764,49& & 2,08& 451& 574\
    cline1-2 cline4-6
    %&&&&&\[-10pt]
    2204,36& 2204,21& & 1,86& 141& 188\
    hline
    %&&&&&\[-10pt]
    1460,81& 1460,75& $^40$K& 1,73& 422& 738\
    hline
    %&&&&&\[-10pt]
    74,71 & multirow2*rtg & multirow2.4*$^214$Pb& 1,15& 2321& 34035\
    cline1-1 cline4-6
    %&&&&&\[-10pt]
    84,54& & & 1,22& 891& 16412\
    Xhline4arrayrulewidth
    endtabular
    endtable
    enddocument


    enter image description here






    share|improve this answer




















    • Very useful comments! (+1). However, the graphical problem can be solved, see my answer using boldline.
      – Bernard
      18 mins ago














    up vote
    2
    down vote



    accepted










    • indicated graphical problem can not be solved.

    • use thick lines as you like to have to may not appear as nice table design. better is not used thick vertical lines

    off-topic



    • it is sufficient to load each package only once

    • instead use cellcolor in each cell in row is simpler use ˙rowcolor`

    • vertical spacing of your cell is strange. why you not exploit loaded cellspace?

    • why you not use mchem package for writing chemical elements?




    documentclass[12pt,a4paper]article
    usepackage[table]xcolor
    usepackagearray, cellspace, makecell, multirow, tabularx
    newcolumntype?!vrule width 1.5pt
    setlengthcellspacetoplimit4pt
    setlengthcellspacebottomlimit4pt
    newcommandmc[1]multicolumn1Sc?#1
    usepackagecaption
    usepackageetoolbox
    %pretotabularshorthandoff-

    begindocument
    begintable[ht!]
    footnotesize
    captionZářič $^137$Cs - přirozené pozadí
    labelCs
    centering
    begintabular?Sc? *4Scc?
    Xhline4arrayrulewidth
    rowcolorgray!25
    multicolumn1?c?$PEAK$ [keV]
    & mc$E_tab$ [keV]
    & mcZdroj
    & mc$FWHM$ [keV]
    & mc$NET$
    & mc$GROSS$\
    Xhline4arrayrulewidth
    % &&&&&\[-10pt]
    609,35 & 609,31& multirow5.2*$^214$Bi & 1,38& 539& 4675\
    cline1-2 cline4-6
    %&&&&&\[-10pt]
    1120,29& 1120,29& & 1,95& 558& 1530\
    cline1-2 cline4-6
    %&&&&&\[-10pt]
    1764,57& 1764,49& & 2,08& 451& 574\
    cline1-2 cline4-6
    %&&&&&\[-10pt]
    2204,36& 2204,21& & 1,86& 141& 188\
    hline
    %&&&&&\[-10pt]
    1460,81& 1460,75& $^40$K& 1,73& 422& 738\
    hline
    %&&&&&\[-10pt]
    74,71 & multirow2*rtg & multirow2.4*$^214$Pb& 1,15& 2321& 34035\
    cline1-1 cline4-6
    %&&&&&\[-10pt]
    84,54& & & 1,22& 891& 16412\
    Xhline4arrayrulewidth
    endtabular
    endtable
    enddocument


    enter image description here






    share|improve this answer




















    • Very useful comments! (+1). However, the graphical problem can be solved, see my answer using boldline.
      – Bernard
      18 mins ago












    up vote
    2
    down vote



    accepted







    up vote
    2
    down vote



    accepted






    • indicated graphical problem can not be solved.

    • use thick lines as you like to have to may not appear as nice table design. better is not used thick vertical lines

    off-topic



    • it is sufficient to load each package only once

    • instead use cellcolor in each cell in row is simpler use ˙rowcolor`

    • vertical spacing of your cell is strange. why you not exploit loaded cellspace?

    • why you not use mchem package for writing chemical elements?




    documentclass[12pt,a4paper]article
    usepackage[table]xcolor
    usepackagearray, cellspace, makecell, multirow, tabularx
    newcolumntype?!vrule width 1.5pt
    setlengthcellspacetoplimit4pt
    setlengthcellspacebottomlimit4pt
    newcommandmc[1]multicolumn1Sc?#1
    usepackagecaption
    usepackageetoolbox
    %pretotabularshorthandoff-

    begindocument
    begintable[ht!]
    footnotesize
    captionZářič $^137$Cs - přirozené pozadí
    labelCs
    centering
    begintabular?Sc? *4Scc?
    Xhline4arrayrulewidth
    rowcolorgray!25
    multicolumn1?c?$PEAK$ [keV]
    & mc$E_tab$ [keV]
    & mcZdroj
    & mc$FWHM$ [keV]
    & mc$NET$
    & mc$GROSS$\
    Xhline4arrayrulewidth
    % &&&&&\[-10pt]
    609,35 & 609,31& multirow5.2*$^214$Bi & 1,38& 539& 4675\
    cline1-2 cline4-6
    %&&&&&\[-10pt]
    1120,29& 1120,29& & 1,95& 558& 1530\
    cline1-2 cline4-6
    %&&&&&\[-10pt]
    1764,57& 1764,49& & 2,08& 451& 574\
    cline1-2 cline4-6
    %&&&&&\[-10pt]
    2204,36& 2204,21& & 1,86& 141& 188\
    hline
    %&&&&&\[-10pt]
    1460,81& 1460,75& $^40$K& 1,73& 422& 738\
    hline
    %&&&&&\[-10pt]
    74,71 & multirow2*rtg & multirow2.4*$^214$Pb& 1,15& 2321& 34035\
    cline1-1 cline4-6
    %&&&&&\[-10pt]
    84,54& & & 1,22& 891& 16412\
    Xhline4arrayrulewidth
    endtabular
    endtable
    enddocument


    enter image description here






    share|improve this answer












    • indicated graphical problem can not be solved.

    • use thick lines as you like to have to may not appear as nice table design. better is not used thick vertical lines

    off-topic



    • it is sufficient to load each package only once

    • instead use cellcolor in each cell in row is simpler use ˙rowcolor`

    • vertical spacing of your cell is strange. why you not exploit loaded cellspace?

    • why you not use mchem package for writing chemical elements?




    documentclass[12pt,a4paper]article
    usepackage[table]xcolor
    usepackagearray, cellspace, makecell, multirow, tabularx
    newcolumntype?!vrule width 1.5pt
    setlengthcellspacetoplimit4pt
    setlengthcellspacebottomlimit4pt
    newcommandmc[1]multicolumn1Sc?#1
    usepackagecaption
    usepackageetoolbox
    %pretotabularshorthandoff-

    begindocument
    begintable[ht!]
    footnotesize
    captionZářič $^137$Cs - přirozené pozadí
    labelCs
    centering
    begintabular?Sc? *4Scc?
    Xhline4arrayrulewidth
    rowcolorgray!25
    multicolumn1?c?$PEAK$ [keV]
    & mc$E_tab$ [keV]
    & mcZdroj
    & mc$FWHM$ [keV]
    & mc$NET$
    & mc$GROSS$\
    Xhline4arrayrulewidth
    % &&&&&\[-10pt]
    609,35 & 609,31& multirow5.2*$^214$Bi & 1,38& 539& 4675\
    cline1-2 cline4-6
    %&&&&&\[-10pt]
    1120,29& 1120,29& & 1,95& 558& 1530\
    cline1-2 cline4-6
    %&&&&&\[-10pt]
    1764,57& 1764,49& & 2,08& 451& 574\
    cline1-2 cline4-6
    %&&&&&\[-10pt]
    2204,36& 2204,21& & 1,86& 141& 188\
    hline
    %&&&&&\[-10pt]
    1460,81& 1460,75& $^40$K& 1,73& 422& 738\
    hline
    %&&&&&\[-10pt]
    74,71 & multirow2*rtg & multirow2.4*$^214$Pb& 1,15& 2321& 34035\
    cline1-1 cline4-6
    %&&&&&\[-10pt]
    84,54& & & 1,22& 891& 16412\
    Xhline4arrayrulewidth
    endtabular
    endtable
    enddocument


    enter image description here







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered 33 mins ago









    Zarko

    115k864153




    115k864153











    • Very useful comments! (+1). However, the graphical problem can be solved, see my answer using boldline.
      – Bernard
      18 mins ago
















    • Very useful comments! (+1). However, the graphical problem can be solved, see my answer using boldline.
      – Bernard
      18 mins ago















    Very useful comments! (+1). However, the graphical problem can be solved, see my answer using boldline.
    – Bernard
    18 mins ago




    Very useful comments! (+1). However, the graphical problem can be solved, see my answer using boldline.
    – Bernard
    18 mins ago










    up vote
    1
    down vote













    documentclass[12pt,a4paper]article
    usepackage[utf8]inputenc
    usepackage[T1]fontenc
    usepackage[czech]babel
    usepackagemulticol
    usepackageenumitem
    usepackagetabularx
    usepackagecaption
    usepackagemultirow
    usepackagearray
    newcolumntype?!vrule width 1.5pt
    usepackage[table]xcolor
    usepackagetabularx, makecell
    usepackagecaption
    usepackagecellspace
    usepackageetoolbox
    pretotabularshorthandoff-


    begindocument


    begintable[h!]footnotesize
    captionZářič $^137$Cs - přirozené pozadí
    centering
    doublerulesepcolorblack
    begintabularc
    Xhline4arrayrulewidth

    multicolumn1cellcolorgray!25$PEAK$ [keV] & multicolumn1centering cellcolorgray!25$E_tab$ [keV] & multicolumn1centering Zdroj cellcolorgray!25 & multicolumn1centering cellcolorgray!25$FWHM$ [keV] & multicolumn1m1.2cmcentering $NET$ cellcolorgray!25 & multicolumn1m1.2cm?$GROSS$ cellcolorgray!25\

    Xhline4arrayrulewidth
    &&&&&\[-10pt]
    609,35& 609,31& multirow4*$^214$Bi & 1,38& 539& 4675\
    cline1-2 cline4-6
    &&&&&\[-10pt]
    1120,29& 1120,29& & 1,95& 558& 1530\
    cline1-2 cline4-6
    &&&&&\[-10pt]
    1764,57& 1764,49& & 2,08& 451& 574\
    cline1-2 cline4-6
    &&&&&\[-10pt]
    2204,36& 2204,21& & 1,86& 141& 188\
    hline
    &&&&&\[-10pt]
    1460,81& 1460,75& $^40$K& 1,73& 422& 738\
    hline
    &&&&&\[-10pt]
    74,71& multirow2*rtg& multirow2*$^214$Pb& 1,15& 2321& 34035\
    cline1-1 cline4-6
    &&&&&\[-10pt]
    84,54& & & 1,22& 891& 16412\

    Xhline4arrayrulewidth
    endtabular

    labelCs
    endtable
    enddocument





    share|improve this answer






















    • Thank you, but it is possible to make vertical lines in the first row bold?
      – Elisabeth
      1 hour ago










    • Or... does it look better?
      – Elisabeth
      57 mins ago










    • There is a bold line now, try it and see how you like it.
      – user168676
      52 mins ago










    • Thank you very much
      – Elisabeth
      47 mins ago










    • If you'd like a thiner line it is possible.
      – user168676
      42 mins ago














    up vote
    1
    down vote













    documentclass[12pt,a4paper]article
    usepackage[utf8]inputenc
    usepackage[T1]fontenc
    usepackage[czech]babel
    usepackagemulticol
    usepackageenumitem
    usepackagetabularx
    usepackagecaption
    usepackagemultirow
    usepackagearray
    newcolumntype?!vrule width 1.5pt
    usepackage[table]xcolor
    usepackagetabularx, makecell
    usepackagecaption
    usepackagecellspace
    usepackageetoolbox
    pretotabularshorthandoff-


    begindocument


    begintable[h!]footnotesize
    captionZářič $^137$Cs - přirozené pozadí
    centering
    doublerulesepcolorblack
    begintabularc
    Xhline4arrayrulewidth

    multicolumn1cellcolorgray!25$PEAK$ [keV] & multicolumn1centering cellcolorgray!25$E_tab$ [keV] & multicolumn1centering Zdroj cellcolorgray!25 & multicolumn1centering cellcolorgray!25$FWHM$ [keV] & multicolumn1m1.2cmcentering $NET$ cellcolorgray!25 & multicolumn1m1.2cm?$GROSS$ cellcolorgray!25\

    Xhline4arrayrulewidth
    &&&&&\[-10pt]
    609,35& 609,31& multirow4*$^214$Bi & 1,38& 539& 4675\
    cline1-2 cline4-6
    &&&&&\[-10pt]
    1120,29& 1120,29& & 1,95& 558& 1530\
    cline1-2 cline4-6
    &&&&&\[-10pt]
    1764,57& 1764,49& & 2,08& 451& 574\
    cline1-2 cline4-6
    &&&&&\[-10pt]
    2204,36& 2204,21& & 1,86& 141& 188\
    hline
    &&&&&\[-10pt]
    1460,81& 1460,75& $^40$K& 1,73& 422& 738\
    hline
    &&&&&\[-10pt]
    74,71& multirow2*rtg& multirow2*$^214$Pb& 1,15& 2321& 34035\
    cline1-1 cline4-6
    &&&&&\[-10pt]
    84,54& & & 1,22& 891& 16412\

    Xhline4arrayrulewidth
    endtabular

    labelCs
    endtable
    enddocument





    share|improve this answer






















    • Thank you, but it is possible to make vertical lines in the first row bold?
      – Elisabeth
      1 hour ago










    • Or... does it look better?
      – Elisabeth
      57 mins ago










    • There is a bold line now, try it and see how you like it.
      – user168676
      52 mins ago










    • Thank you very much
      – Elisabeth
      47 mins ago










    • If you'd like a thiner line it is possible.
      – user168676
      42 mins ago












    up vote
    1
    down vote










    up vote
    1
    down vote









    documentclass[12pt,a4paper]article
    usepackage[utf8]inputenc
    usepackage[T1]fontenc
    usepackage[czech]babel
    usepackagemulticol
    usepackageenumitem
    usepackagetabularx
    usepackagecaption
    usepackagemultirow
    usepackagearray
    newcolumntype?!vrule width 1.5pt
    usepackage[table]xcolor
    usepackagetabularx, makecell
    usepackagecaption
    usepackagecellspace
    usepackageetoolbox
    pretotabularshorthandoff-


    begindocument


    begintable[h!]footnotesize
    captionZářič $^137$Cs - přirozené pozadí
    centering
    doublerulesepcolorblack
    begintabularc
    Xhline4arrayrulewidth

    multicolumn1cellcolorgray!25$PEAK$ [keV] & multicolumn1centering cellcolorgray!25$E_tab$ [keV] & multicolumn1centering Zdroj cellcolorgray!25 & multicolumn1centering cellcolorgray!25$FWHM$ [keV] & multicolumn1m1.2cmcentering $NET$ cellcolorgray!25 & multicolumn1m1.2cm?$GROSS$ cellcolorgray!25\

    Xhline4arrayrulewidth
    &&&&&\[-10pt]
    609,35& 609,31& multirow4*$^214$Bi & 1,38& 539& 4675\
    cline1-2 cline4-6
    &&&&&\[-10pt]
    1120,29& 1120,29& & 1,95& 558& 1530\
    cline1-2 cline4-6
    &&&&&\[-10pt]
    1764,57& 1764,49& & 2,08& 451& 574\
    cline1-2 cline4-6
    &&&&&\[-10pt]
    2204,36& 2204,21& & 1,86& 141& 188\
    hline
    &&&&&\[-10pt]
    1460,81& 1460,75& $^40$K& 1,73& 422& 738\
    hline
    &&&&&\[-10pt]
    74,71& multirow2*rtg& multirow2*$^214$Pb& 1,15& 2321& 34035\
    cline1-1 cline4-6
    &&&&&\[-10pt]
    84,54& & & 1,22& 891& 16412\

    Xhline4arrayrulewidth
    endtabular

    labelCs
    endtable
    enddocument





    share|improve this answer














    documentclass[12pt,a4paper]article
    usepackage[utf8]inputenc
    usepackage[T1]fontenc
    usepackage[czech]babel
    usepackagemulticol
    usepackageenumitem
    usepackagetabularx
    usepackagecaption
    usepackagemultirow
    usepackagearray
    newcolumntype?!vrule width 1.5pt
    usepackage[table]xcolor
    usepackagetabularx, makecell
    usepackagecaption
    usepackagecellspace
    usepackageetoolbox
    pretotabularshorthandoff-


    begindocument


    begintable[h!]footnotesize
    captionZářič $^137$Cs - přirozené pozadí
    centering
    doublerulesepcolorblack
    begintabularc
    Xhline4arrayrulewidth

    multicolumn1cellcolorgray!25$PEAK$ [keV] & multicolumn1centering cellcolorgray!25$E_tab$ [keV] & multicolumn1centering Zdroj cellcolorgray!25 & multicolumn1centering cellcolorgray!25$FWHM$ [keV] & multicolumn1m1.2cmcentering $NET$ cellcolorgray!25 & multicolumn1m1.2cm?$GROSS$ cellcolorgray!25\

    Xhline4arrayrulewidth
    &&&&&\[-10pt]
    609,35& 609,31& multirow4*$^214$Bi & 1,38& 539& 4675\
    cline1-2 cline4-6
    &&&&&\[-10pt]
    1120,29& 1120,29& & 1,95& 558& 1530\
    cline1-2 cline4-6
    &&&&&\[-10pt]
    1764,57& 1764,49& & 2,08& 451& 574\
    cline1-2 cline4-6
    &&&&&\[-10pt]
    2204,36& 2204,21& & 1,86& 141& 188\
    hline
    &&&&&\[-10pt]
    1460,81& 1460,75& $^40$K& 1,73& 422& 738\
    hline
    &&&&&\[-10pt]
    74,71& multirow2*rtg& multirow2*$^214$Pb& 1,15& 2321& 34035\
    cline1-1 cline4-6
    &&&&&\[-10pt]
    84,54& & & 1,22& 891& 16412\

    Xhline4arrayrulewidth
    endtabular

    labelCs
    endtable
    enddocument






    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited 53 mins ago

























    answered 1 hour ago









    user168676

    1814




    1814











    • Thank you, but it is possible to make vertical lines in the first row bold?
      – Elisabeth
      1 hour ago










    • Or... does it look better?
      – Elisabeth
      57 mins ago










    • There is a bold line now, try it and see how you like it.
      – user168676
      52 mins ago










    • Thank you very much
      – Elisabeth
      47 mins ago










    • If you'd like a thiner line it is possible.
      – user168676
      42 mins ago
















    • Thank you, but it is possible to make vertical lines in the first row bold?
      – Elisabeth
      1 hour ago










    • Or... does it look better?
      – Elisabeth
      57 mins ago










    • There is a bold line now, try it and see how you like it.
      – user168676
      52 mins ago










    • Thank you very much
      – Elisabeth
      47 mins ago










    • If you'd like a thiner line it is possible.
      – user168676
      42 mins ago















    Thank you, but it is possible to make vertical lines in the first row bold?
    – Elisabeth
    1 hour ago




    Thank you, but it is possible to make vertical lines in the first row bold?
    – Elisabeth
    1 hour ago












    Or... does it look better?
    – Elisabeth
    57 mins ago




    Or... does it look better?
    – Elisabeth
    57 mins ago












    There is a bold line now, try it and see how you like it.
    – user168676
    52 mins ago




    There is a bold line now, try it and see how you like it.
    – user168676
    52 mins ago












    Thank you very much
    – Elisabeth
    47 mins ago




    Thank you very much
    – Elisabeth
    47 mins ago












    If you'd like a thiner line it is possible.
    – user168676
    42 mins ago




    If you'd like a thiner line it is possible.
    – user168676
    42 mins ago










    up vote
    1
    down vote













    I propose this variant, with the boldline package (so needless to define a new column type): a vertical line specified in the table preamble with Vx produces a line of width x times arrayrulewidth. I simplified the code for colouring column heads with the rowcolor command, and removed the unnecessary centering directives in columns of type c. Finally, I removed every double package loading.



    documentclass[12pt,a4paper]article
    usepackage[utf8]inputenc
    usepackage[T1]fontenc
    usepackage[czech]babel
    usepackageamsmath
    usepackagemulticol
    usepackageenumitem
    usepackagemultirow
    usepackagearray
    usepackage[table]xcolor
    usepackagetabularx, makecell, boldline
    usepackagecaption
    usepackagecellspace
    usepackageetoolbox
    pretotabularshorthandoff-

    begindocument

    begintable[h!]footnotesize
    captionZářič $^137$Cs - přirozené pozadí
    centering
    begintabularcV4
    Xhline4arrayrulewidth
    rowcolorgray!25
    multicolumn1V4cV2.5textitPEAK [keV] & multicolumn1V1.5cV2.5centering $E_texttab$ [keV] & multicolumn1V1.5cV2.5centering Zdroj & multicolumn1V1.5cV2.5textitFWHM [keV] & multicolumn1V1.5m1.2cmV2.5centering textitNET & multicolumn1V1.5m1.2cmV4textitGROSS\

    Xhline4arrayrulewidth
    &&&&&\[-10pt]
    609,35& 609,31& multirow4*$^214$Bi & 1,38& 539& 4675\
    cline1-2 cline4-6
    &&&&&\[-10pt]
    1120,29& 1120,29& & 1,95& 558& 1530\
    cline1-2 cline4-6
    &&&&&\[-10pt]
    1764,57& 1764,49& & 2,08& 451& 574\
    cline1-2 cline4-6
    &&&&&\[-10pt]
    2204,36& 2204,21& & 1,86& 141& 188\
    hline
    &&&&&\[-10pt]
    1460,81& 1460,75& $^40$K& 1,73& 422& 738\
    hline
    &&&&&\[-10pt]
    74,71& multirow2*rtg& multirow2*$^214$Pb& 1,15& 2321& 34035\
    cline1-1 cline4-6
    &&&&&\[-10pt]
    84,54& & & 1,22& 891& 16412\
    Xhline4arrayrulewidth
    endtabular
    labelCs
    endtable


    enter image description here
    enddocument






    share|improve this answer
























      up vote
      1
      down vote













      I propose this variant, with the boldline package (so needless to define a new column type): a vertical line specified in the table preamble with Vx produces a line of width x times arrayrulewidth. I simplified the code for colouring column heads with the rowcolor command, and removed the unnecessary centering directives in columns of type c. Finally, I removed every double package loading.



      documentclass[12pt,a4paper]article
      usepackage[utf8]inputenc
      usepackage[T1]fontenc
      usepackage[czech]babel
      usepackageamsmath
      usepackagemulticol
      usepackageenumitem
      usepackagemultirow
      usepackagearray
      usepackage[table]xcolor
      usepackagetabularx, makecell, boldline
      usepackagecaption
      usepackagecellspace
      usepackageetoolbox
      pretotabularshorthandoff-

      begindocument

      begintable[h!]footnotesize
      captionZářič $^137$Cs - přirozené pozadí
      centering
      begintabularcV4
      Xhline4arrayrulewidth
      rowcolorgray!25
      multicolumn1V4cV2.5textitPEAK [keV] & multicolumn1V1.5cV2.5centering $E_texttab$ [keV] & multicolumn1V1.5cV2.5centering Zdroj & multicolumn1V1.5cV2.5textitFWHM [keV] & multicolumn1V1.5m1.2cmV2.5centering textitNET & multicolumn1V1.5m1.2cmV4textitGROSS\

      Xhline4arrayrulewidth
      &&&&&\[-10pt]
      609,35& 609,31& multirow4*$^214$Bi & 1,38& 539& 4675\
      cline1-2 cline4-6
      &&&&&\[-10pt]
      1120,29& 1120,29& & 1,95& 558& 1530\
      cline1-2 cline4-6
      &&&&&\[-10pt]
      1764,57& 1764,49& & 2,08& 451& 574\
      cline1-2 cline4-6
      &&&&&\[-10pt]
      2204,36& 2204,21& & 1,86& 141& 188\
      hline
      &&&&&\[-10pt]
      1460,81& 1460,75& $^40$K& 1,73& 422& 738\
      hline
      &&&&&\[-10pt]
      74,71& multirow2*rtg& multirow2*$^214$Pb& 1,15& 2321& 34035\
      cline1-1 cline4-6
      &&&&&\[-10pt]
      84,54& & & 1,22& 891& 16412\
      Xhline4arrayrulewidth
      endtabular
      labelCs
      endtable


      enter image description here
      enddocument






      share|improve this answer






















        up vote
        1
        down vote










        up vote
        1
        down vote









        I propose this variant, with the boldline package (so needless to define a new column type): a vertical line specified in the table preamble with Vx produces a line of width x times arrayrulewidth. I simplified the code for colouring column heads with the rowcolor command, and removed the unnecessary centering directives in columns of type c. Finally, I removed every double package loading.



        documentclass[12pt,a4paper]article
        usepackage[utf8]inputenc
        usepackage[T1]fontenc
        usepackage[czech]babel
        usepackageamsmath
        usepackagemulticol
        usepackageenumitem
        usepackagemultirow
        usepackagearray
        usepackage[table]xcolor
        usepackagetabularx, makecell, boldline
        usepackagecaption
        usepackagecellspace
        usepackageetoolbox
        pretotabularshorthandoff-

        begindocument

        begintable[h!]footnotesize
        captionZářič $^137$Cs - přirozené pozadí
        centering
        begintabularcV4
        Xhline4arrayrulewidth
        rowcolorgray!25
        multicolumn1V4cV2.5textitPEAK [keV] & multicolumn1V1.5cV2.5centering $E_texttab$ [keV] & multicolumn1V1.5cV2.5centering Zdroj & multicolumn1V1.5cV2.5textitFWHM [keV] & multicolumn1V1.5m1.2cmV2.5centering textitNET & multicolumn1V1.5m1.2cmV4textitGROSS\

        Xhline4arrayrulewidth
        &&&&&\[-10pt]
        609,35& 609,31& multirow4*$^214$Bi & 1,38& 539& 4675\
        cline1-2 cline4-6
        &&&&&\[-10pt]
        1120,29& 1120,29& & 1,95& 558& 1530\
        cline1-2 cline4-6
        &&&&&\[-10pt]
        1764,57& 1764,49& & 2,08& 451& 574\
        cline1-2 cline4-6
        &&&&&\[-10pt]
        2204,36& 2204,21& & 1,86& 141& 188\
        hline
        &&&&&\[-10pt]
        1460,81& 1460,75& $^40$K& 1,73& 422& 738\
        hline
        &&&&&\[-10pt]
        74,71& multirow2*rtg& multirow2*$^214$Pb& 1,15& 2321& 34035\
        cline1-1 cline4-6
        &&&&&\[-10pt]
        84,54& & & 1,22& 891& 16412\
        Xhline4arrayrulewidth
        endtabular
        labelCs
        endtable


        enter image description here
        enddocument






        share|improve this answer












        I propose this variant, with the boldline package (so needless to define a new column type): a vertical line specified in the table preamble with Vx produces a line of width x times arrayrulewidth. I simplified the code for colouring column heads with the rowcolor command, and removed the unnecessary centering directives in columns of type c. Finally, I removed every double package loading.



        documentclass[12pt,a4paper]article
        usepackage[utf8]inputenc
        usepackage[T1]fontenc
        usepackage[czech]babel
        usepackageamsmath
        usepackagemulticol
        usepackageenumitem
        usepackagemultirow
        usepackagearray
        usepackage[table]xcolor
        usepackagetabularx, makecell, boldline
        usepackagecaption
        usepackagecellspace
        usepackageetoolbox
        pretotabularshorthandoff-

        begindocument

        begintable[h!]footnotesize
        captionZářič $^137$Cs - přirozené pozadí
        centering
        begintabularcV4
        Xhline4arrayrulewidth
        rowcolorgray!25
        multicolumn1V4cV2.5textitPEAK [keV] & multicolumn1V1.5cV2.5centering $E_texttab$ [keV] & multicolumn1V1.5cV2.5centering Zdroj & multicolumn1V1.5cV2.5textitFWHM [keV] & multicolumn1V1.5m1.2cmV2.5centering textitNET & multicolumn1V1.5m1.2cmV4textitGROSS\

        Xhline4arrayrulewidth
        &&&&&\[-10pt]
        609,35& 609,31& multirow4*$^214$Bi & 1,38& 539& 4675\
        cline1-2 cline4-6
        &&&&&\[-10pt]
        1120,29& 1120,29& & 1,95& 558& 1530\
        cline1-2 cline4-6
        &&&&&\[-10pt]
        1764,57& 1764,49& & 2,08& 451& 574\
        cline1-2 cline4-6
        &&&&&\[-10pt]
        2204,36& 2204,21& & 1,86& 141& 188\
        hline
        &&&&&\[-10pt]
        1460,81& 1460,75& $^40$K& 1,73& 422& 738\
        hline
        &&&&&\[-10pt]
        74,71& multirow2*rtg& multirow2*$^214$Pb& 1,15& 2321& 34035\
        cline1-1 cline4-6
        &&&&&\[-10pt]
        84,54& & & 1,22& 891& 16412\
        Xhline4arrayrulewidth
        endtabular
        labelCs
        endtable


        enter image description here
        enddocument







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 20 mins ago









        Bernard

        159k765192




        159k765192



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f457026%2ftable-bold-and-normal-lines-centering%23new-answer', 'question_page');

            );

            Post as a guest













































































            Comments

            Popular posts from this blog

            White Anglo-Saxon Protestant

            BuddyTV

            Conflict (narrative)