Continuous vertical line using booktabs in tabularx table?Which tabular packages do which tasks and which packages conflict?Vertical table lines are discontinuous with booktabsVertical alignment using multirow and booktabsVertical table lines are discontinuous with booktabsTable without using booktabsvertical alignment using tabularx / arraystretchFormatting table using booktabsBooktabs table with multirows: alternative to vertical rules?Vertical line not shown in a booktabs style table.Discontinuous vertical dash lines in tabularx, booktabs environmentBroken vertical line in tabularxTable with vertical aligned header text [tabularx]

How does "Te vas a cansar" mean "You're going to get tired"?

What is my malfunctioning AI harvesting from humans?

Not going forward with internship interview process

What costs less energy? Roll or Yaw?

What gave Harry Potter the idea of writing in Tom Riddle's diary?

What does Apple mean by "This may decrease battery life"?

In a topological space if there exists a loop that cannot be contracted to a point does there exist a simple loop that cannot be contracted also?

Why does Intel's Haswell chip allow FP multiplication to be twice as fast as addition?

Identification of vintage sloping window

The cat ate your input again!

Multirow in tabularx?

How are you supposed to know the strumming pattern for a song from the "chord sheet music"?

Can a fight scene, component-wise, be too complex and complicated?

What game uses dice with sides powers of 2?

What happen to those who died but not from the snap?

AsyncDictionary - Can you break thread safety?

Are differences between uniformly distributed numbers uniformly distributed?

How to change a file name containing ":" in timing info

Dropdowns & Chevrons for Right to Left languages

Bitcoin successfully deducted on sender wallet but did not reach receiver wallet

Continuous vertical line using booktabs in tabularx table?

Extremely casual way to make requests to very close friends

Blocking people from taking pictures of me with smartphone

In SQL Server, why does backward scan of clustered index cannot use parallelism?



Continuous vertical line using booktabs in tabularx table?


Which tabular packages do which tasks and which packages conflict?Vertical table lines are discontinuous with booktabsVertical alignment using multirow and booktabsVertical table lines are discontinuous with booktabsTable without using booktabsvertical alignment using tabularx / arraystretchFormatting table using booktabsBooktabs table with multirows: alternative to vertical rules?Vertical line not shown in a booktabs style table.Discontinuous vertical dash lines in tabularx, booktabs environmentBroken vertical line in tabularxTable with vertical aligned header text [tabularx]






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















How can we draw a continuous vertical line using booktabs in table?
What is the simplest method to maximise the width of a table?
There are lots of methods, very confusing.



documentclassarticle
usepackagemakecell % for bold in table using small
renewcommandtheadfontsmall % for bold in table using small
usepackagetabularx, ragged2e
usepackagebooktabs

begindocument

begintable[!ht]
centering
begintabularxtextwidthl>raggedrightarraybackslashccc
toprule
& multicolumn3ctextbfPaired Differences1 & multicolumn3ctextbfPaired Differences2\
cmidrule2-7
& small textbfStatistic
& theadsmall textbfdf
& theadsmall textbfSig.
& small textbfStatistic
& theadsmall textbfdf
& theadsmall textbfSig. \
midrule
Difference & 44.20 & 14.36 & 4.54 & .957 & 10 & .746\
bottomrule
endtabularx
captionTesting Testing Testing%
labeltab:test1234%

endtable

enddocument


enter image description here










share|improve this question





















  • 1





    A tabularx environment requires at least one X column to make sense. This answers you second question. As to the first, booktabs is not adapted to vertical rules. For which reason do you ue it?

    – Bernard
    8 hours ago






  • 3





    To quote from the booktabs manual: "You will not go far wrong if you remember two simple guidelines at all times: 1. Never, ever use vertical rules. [...]" Therefore, I'd recommend to either stick to this rule, or, if you prefer vertical lines, use hline instead of teh booktabs horizontal lines.

    – leandriis
    8 hours ago











  • Please also note, that oyu can remove small from a thead commands, as you already used renewcommandtheadfontsmall´ to automatically make all text in thead` commands small. You can go even further and remove all the textbf inside of thead commands, if you use renewcommandtheadfontsmallbfseries

    – leandriis
    8 hours ago











  • Regarding "the simplest method to maximise the width of a table" where would you like the extra white space to be? Between column 1 and 2, or 4 and 5 or equally distributed between all columns? Are there entries in the first column that are wider than the shown one? Why would wou even want your table to be wieder than it currently is?

    – leandriis
    8 hours ago






  • 1





    Regarding the vertical lines, you might also want to have a loom at Vertical table lines are discontinuous with booktabs

    – leandriis
    7 hours ago

















2















How can we draw a continuous vertical line using booktabs in table?
What is the simplest method to maximise the width of a table?
There are lots of methods, very confusing.



documentclassarticle
usepackagemakecell % for bold in table using small
renewcommandtheadfontsmall % for bold in table using small
usepackagetabularx, ragged2e
usepackagebooktabs

begindocument

begintable[!ht]
centering
begintabularxtextwidthl>raggedrightarraybackslashccc
toprule
& multicolumn3ctextbfPaired Differences1 & multicolumn3ctextbfPaired Differences2\
cmidrule2-7
& small textbfStatistic
& theadsmall textbfdf
& theadsmall textbfSig.
& small textbfStatistic
& theadsmall textbfdf
& theadsmall textbfSig. \
midrule
Difference & 44.20 & 14.36 & 4.54 & .957 & 10 & .746\
bottomrule
endtabularx
captionTesting Testing Testing%
labeltab:test1234%

endtable

enddocument


enter image description here










share|improve this question





















  • 1





    A tabularx environment requires at least one X column to make sense. This answers you second question. As to the first, booktabs is not adapted to vertical rules. For which reason do you ue it?

    – Bernard
    8 hours ago






  • 3





    To quote from the booktabs manual: "You will not go far wrong if you remember two simple guidelines at all times: 1. Never, ever use vertical rules. [...]" Therefore, I'd recommend to either stick to this rule, or, if you prefer vertical lines, use hline instead of teh booktabs horizontal lines.

    – leandriis
    8 hours ago











  • Please also note, that oyu can remove small from a thead commands, as you already used renewcommandtheadfontsmall´ to automatically make all text in thead` commands small. You can go even further and remove all the textbf inside of thead commands, if you use renewcommandtheadfontsmallbfseries

    – leandriis
    8 hours ago











  • Regarding "the simplest method to maximise the width of a table" where would you like the extra white space to be? Between column 1 and 2, or 4 and 5 or equally distributed between all columns? Are there entries in the first column that are wider than the shown one? Why would wou even want your table to be wieder than it currently is?

    – leandriis
    8 hours ago






  • 1





    Regarding the vertical lines, you might also want to have a loom at Vertical table lines are discontinuous with booktabs

    – leandriis
    7 hours ago













2












2








2








How can we draw a continuous vertical line using booktabs in table?
What is the simplest method to maximise the width of a table?
There are lots of methods, very confusing.



documentclassarticle
usepackagemakecell % for bold in table using small
renewcommandtheadfontsmall % for bold in table using small
usepackagetabularx, ragged2e
usepackagebooktabs

begindocument

begintable[!ht]
centering
begintabularxtextwidthl>raggedrightarraybackslashccc
toprule
& multicolumn3ctextbfPaired Differences1 & multicolumn3ctextbfPaired Differences2\
cmidrule2-7
& small textbfStatistic
& theadsmall textbfdf
& theadsmall textbfSig.
& small textbfStatistic
& theadsmall textbfdf
& theadsmall textbfSig. \
midrule
Difference & 44.20 & 14.36 & 4.54 & .957 & 10 & .746\
bottomrule
endtabularx
captionTesting Testing Testing%
labeltab:test1234%

endtable

enddocument


enter image description here










share|improve this question
















How can we draw a continuous vertical line using booktabs in table?
What is the simplest method to maximise the width of a table?
There are lots of methods, very confusing.



documentclassarticle
usepackagemakecell % for bold in table using small
renewcommandtheadfontsmall % for bold in table using small
usepackagetabularx, ragged2e
usepackagebooktabs

begindocument

begintable[!ht]
centering
begintabularxtextwidthl>raggedrightarraybackslashccc
toprule
& multicolumn3ctextbfPaired Differences1 & multicolumn3ctextbfPaired Differences2\
cmidrule2-7
& small textbfStatistic
& theadsmall textbfdf
& theadsmall textbfSig.
& small textbfStatistic
& theadsmall textbfdf
& theadsmall textbfSig. \
midrule
Difference & 44.20 & 14.36 & 4.54 & .957 & 10 & .746\
bottomrule
endtabularx
captionTesting Testing Testing%
labeltab:test1234%

endtable

enddocument


enter image description here







tables vertical-alignment tabularx booktabs






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 8 hours ago









leandriis

17.8k1 gold badge11 silver badges37 bronze badges




17.8k1 gold badge11 silver badges37 bronze badges










asked 8 hours ago









aanaan

1566 bronze badges




1566 bronze badges










  • 1





    A tabularx environment requires at least one X column to make sense. This answers you second question. As to the first, booktabs is not adapted to vertical rules. For which reason do you ue it?

    – Bernard
    8 hours ago






  • 3





    To quote from the booktabs manual: "You will not go far wrong if you remember two simple guidelines at all times: 1. Never, ever use vertical rules. [...]" Therefore, I'd recommend to either stick to this rule, or, if you prefer vertical lines, use hline instead of teh booktabs horizontal lines.

    – leandriis
    8 hours ago











  • Please also note, that oyu can remove small from a thead commands, as you already used renewcommandtheadfontsmall´ to automatically make all text in thead` commands small. You can go even further and remove all the textbf inside of thead commands, if you use renewcommandtheadfontsmallbfseries

    – leandriis
    8 hours ago











  • Regarding "the simplest method to maximise the width of a table" where would you like the extra white space to be? Between column 1 and 2, or 4 and 5 or equally distributed between all columns? Are there entries in the first column that are wider than the shown one? Why would wou even want your table to be wieder than it currently is?

    – leandriis
    8 hours ago






  • 1





    Regarding the vertical lines, you might also want to have a loom at Vertical table lines are discontinuous with booktabs

    – leandriis
    7 hours ago












  • 1





    A tabularx environment requires at least one X column to make sense. This answers you second question. As to the first, booktabs is not adapted to vertical rules. For which reason do you ue it?

    – Bernard
    8 hours ago






  • 3





    To quote from the booktabs manual: "You will not go far wrong if you remember two simple guidelines at all times: 1. Never, ever use vertical rules. [...]" Therefore, I'd recommend to either stick to this rule, or, if you prefer vertical lines, use hline instead of teh booktabs horizontal lines.

    – leandriis
    8 hours ago











  • Please also note, that oyu can remove small from a thead commands, as you already used renewcommandtheadfontsmall´ to automatically make all text in thead` commands small. You can go even further and remove all the textbf inside of thead commands, if you use renewcommandtheadfontsmallbfseries

    – leandriis
    8 hours ago











  • Regarding "the simplest method to maximise the width of a table" where would you like the extra white space to be? Between column 1 and 2, or 4 and 5 or equally distributed between all columns? Are there entries in the first column that are wider than the shown one? Why would wou even want your table to be wieder than it currently is?

    – leandriis
    8 hours ago






  • 1





    Regarding the vertical lines, you might also want to have a loom at Vertical table lines are discontinuous with booktabs

    – leandriis
    7 hours ago







1




1





A tabularx environment requires at least one X column to make sense. This answers you second question. As to the first, booktabs is not adapted to vertical rules. For which reason do you ue it?

– Bernard
8 hours ago





A tabularx environment requires at least one X column to make sense. This answers you second question. As to the first, booktabs is not adapted to vertical rules. For which reason do you ue it?

– Bernard
8 hours ago




3




3





To quote from the booktabs manual: "You will not go far wrong if you remember two simple guidelines at all times: 1. Never, ever use vertical rules. [...]" Therefore, I'd recommend to either stick to this rule, or, if you prefer vertical lines, use hline instead of teh booktabs horizontal lines.

– leandriis
8 hours ago





To quote from the booktabs manual: "You will not go far wrong if you remember two simple guidelines at all times: 1. Never, ever use vertical rules. [...]" Therefore, I'd recommend to either stick to this rule, or, if you prefer vertical lines, use hline instead of teh booktabs horizontal lines.

– leandriis
8 hours ago













Please also note, that oyu can remove small from a thead commands, as you already used renewcommandtheadfontsmall´ to automatically make all text in thead` commands small. You can go even further and remove all the textbf inside of thead commands, if you use renewcommandtheadfontsmallbfseries

– leandriis
8 hours ago





Please also note, that oyu can remove small from a thead commands, as you already used renewcommandtheadfontsmall´ to automatically make all text in thead` commands small. You can go even further and remove all the textbf inside of thead commands, if you use renewcommandtheadfontsmallbfseries

– leandriis
8 hours ago













Regarding "the simplest method to maximise the width of a table" where would you like the extra white space to be? Between column 1 and 2, or 4 and 5 or equally distributed between all columns? Are there entries in the first column that are wider than the shown one? Why would wou even want your table to be wieder than it currently is?

– leandriis
8 hours ago





Regarding "the simplest method to maximise the width of a table" where would you like the extra white space to be? Between column 1 and 2, or 4 and 5 or equally distributed between all columns? Are there entries in the first column that are wider than the shown one? Why would wou even want your table to be wieder than it currently is?

– leandriis
8 hours ago




1




1





Regarding the vertical lines, you might also want to have a loom at Vertical table lines are discontinuous with booktabs

– leandriis
7 hours ago





Regarding the vertical lines, you might also want to have a loom at Vertical table lines are discontinuous with booktabs

– leandriis
7 hours ago










3 Answers
3






active

oldest

votes


















2














Here is my suggestion. I have used tabular* in combination with @extracolsepfill to make the table as wide as the textwidth and to evenly distribute the excess white space between the columns. I have also removed the vertical line and replaced the single cmidrule by two adjacent ones with a small white space inbetween. In order to clean up the code, I have also removed the repeated occurences ot small and textbf and instead added bfseries to thedfont:



enter image description here



documentclassarticle
usepackagemakecell % for bold in table using small
renewcommandtheadfontsmallbfseries % for bold in table using small
usepackagetabularx, ragged2e
usepackagebooktabs

begindocument

begintable[!ht]
begintabular*textwidth@extracolsepfilllcccccc
toprule
& multicolumn3ctextbfPaired Differences1 & multicolumn3ctextbfPaired Differences2\
cmidrule(r)2-4 cmidrule(l)5-7
& theadStatistic
& theaddf
& theadSig.
& theadStatistic
& theaddf
& theadSig. \
midrule
Difference & 44.20 & 14.36 & 4.54 & .957 & 10 & .746\
bottomrule
endtabular*
captionTesting Testing Testing%
labeltab:test1234%

endtable

enddocument





share|improve this answer
































    3














    I would rather replace the vertical line with a supplementary empty column to have a clear separation between the two group of columns. Another possibility, aesthetically, might be to delete the vertical padding of horizontal rules, and replace it with the makegapedcells command from makecell, which adds a vertical space at the top and bottom of all cells. As a demonstration, I replaced the vertical line with thick, light grey vrule, which I find more pleasing to the eye than the default thin, black, vertical rule.



    documentclassarticle
    usepackagemakecell % for bold in table using small
    renewcommandtheadfontsmallbfseries % for bold in table using small
    usepackagetabularx, ragged2e
    usepackagebooktabs
    usepackage[table, svgnames]xcolor

    begindocument

    begintable[!ht]
    centering
    begintabularxtextwidthX>raggedrightarraybackslashccccccc
    toprule
    & multicolumn3ctextbfPaired Differences1 & & multicolumn3ctextbfPaired Differences2\
    cmidrule(lr)2-4 cmidrule(lr)6-8
    & theadStatistic
    & theaddf
    & thead Sig.
    & & theadStatistic
    & theaddf
    & theadSig. \
    midrule
    Difference & 44.20 & 14.36 & 4.54 & & .957 & 10 & .746\
    bottomrule
    endtabularx
    captionTesting Testing Testing%
    labeltab:test1234%

    endtable

    begintable[!ht]
    centering
    setlengthaboverulesep0pt
    setlengthbelowrulesep0pt
    setcellgapes3ptmakegapedcells
    begintabularxtextwidthX>raggedrightarraybackslashccc!colorGainsboro!50!Lavendervline width 0.75emccc
    toprule
    & multicolumn3c!colorGainsboro!50!Lavendervline width 0.75emtextbfPaired Differences1 & multicolumn3ctextbfPaired Differences2\noalignvskip -0.033em
    cmidrule(lr1.33em)2-4 cmidrule(lr)5-7
    & theadStatistic
    & theaddf
    & theadSig.
    & theadStatistic
    & theaddf
    & theadSig. \
    noalignvskip-0.05em
    cmidrule[0.05em](r0.9em)1-4cmidrule[0.05em](l0.15em)5-7
    Difference & 44.20 & 14.36 & 4.54 & .957 & 10 & .746\
    bottomrule
    endtabularx
    captionTesting Testing Testing%
    labeltab:test1234%

    endtable

    enddocument


    enter image description here






    share|improve this answer


































      3














      With combination of S and X columns type, without vertical lines, with rounded numbers ... :



      documentclassarticle
      usepackagebooktabs, tabularx
      usepackagexparse
      NewExpandableDocumentCommandmcxO1m
      multicolumn#1>Centeringsmallbfserieshsize=#1hsizeX#2
      usepackageragged2e
      usepackagesiunitx

      begindocument
      begintable[ht]
      centering
      setlengthtabcolsep0pt
      sisetupround-integer-to-decimal,
      round-mode=places,
      table-format=2.2
      begintabularxlinewidthl *6S
      toprule
      & mcx[3]Paired Differences 1
      & mcx[3]Paired Differences 2 \
      cmidrule(r)2-4cmidrule(l)5-7
      & mcxStatistic & mcxdf & mcxSig.
      & mcxStatistic & mcxdf & mcxSig. \
      midrule
      Difference
      & 44.20 & 14.36 & 4.54 & 0.957 & 10 & 0.746 \
      bottomrule
      endtabularx
      captionTesting Testing Testing
      labeltab:test1234
      endtable
      enddocument


      enter image description here






      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',
        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%2f503806%2fcontinuous-vertical-line-using-booktabs-in-tabularx-table%23new-answer', 'question_page');

        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        2














        Here is my suggestion. I have used tabular* in combination with @extracolsepfill to make the table as wide as the textwidth and to evenly distribute the excess white space between the columns. I have also removed the vertical line and replaced the single cmidrule by two adjacent ones with a small white space inbetween. In order to clean up the code, I have also removed the repeated occurences ot small and textbf and instead added bfseries to thedfont:



        enter image description here



        documentclassarticle
        usepackagemakecell % for bold in table using small
        renewcommandtheadfontsmallbfseries % for bold in table using small
        usepackagetabularx, ragged2e
        usepackagebooktabs

        begindocument

        begintable[!ht]
        begintabular*textwidth@extracolsepfilllcccccc
        toprule
        & multicolumn3ctextbfPaired Differences1 & multicolumn3ctextbfPaired Differences2\
        cmidrule(r)2-4 cmidrule(l)5-7
        & theadStatistic
        & theaddf
        & theadSig.
        & theadStatistic
        & theaddf
        & theadSig. \
        midrule
        Difference & 44.20 & 14.36 & 4.54 & .957 & 10 & .746\
        bottomrule
        endtabular*
        captionTesting Testing Testing%
        labeltab:test1234%

        endtable

        enddocument





        share|improve this answer





























          2














          Here is my suggestion. I have used tabular* in combination with @extracolsepfill to make the table as wide as the textwidth and to evenly distribute the excess white space between the columns. I have also removed the vertical line and replaced the single cmidrule by two adjacent ones with a small white space inbetween. In order to clean up the code, I have also removed the repeated occurences ot small and textbf and instead added bfseries to thedfont:



          enter image description here



          documentclassarticle
          usepackagemakecell % for bold in table using small
          renewcommandtheadfontsmallbfseries % for bold in table using small
          usepackagetabularx, ragged2e
          usepackagebooktabs

          begindocument

          begintable[!ht]
          begintabular*textwidth@extracolsepfilllcccccc
          toprule
          & multicolumn3ctextbfPaired Differences1 & multicolumn3ctextbfPaired Differences2\
          cmidrule(r)2-4 cmidrule(l)5-7
          & theadStatistic
          & theaddf
          & theadSig.
          & theadStatistic
          & theaddf
          & theadSig. \
          midrule
          Difference & 44.20 & 14.36 & 4.54 & .957 & 10 & .746\
          bottomrule
          endtabular*
          captionTesting Testing Testing%
          labeltab:test1234%

          endtable

          enddocument





          share|improve this answer



























            2












            2








            2







            Here is my suggestion. I have used tabular* in combination with @extracolsepfill to make the table as wide as the textwidth and to evenly distribute the excess white space between the columns. I have also removed the vertical line and replaced the single cmidrule by two adjacent ones with a small white space inbetween. In order to clean up the code, I have also removed the repeated occurences ot small and textbf and instead added bfseries to thedfont:



            enter image description here



            documentclassarticle
            usepackagemakecell % for bold in table using small
            renewcommandtheadfontsmallbfseries % for bold in table using small
            usepackagetabularx, ragged2e
            usepackagebooktabs

            begindocument

            begintable[!ht]
            begintabular*textwidth@extracolsepfilllcccccc
            toprule
            & multicolumn3ctextbfPaired Differences1 & multicolumn3ctextbfPaired Differences2\
            cmidrule(r)2-4 cmidrule(l)5-7
            & theadStatistic
            & theaddf
            & theadSig.
            & theadStatistic
            & theaddf
            & theadSig. \
            midrule
            Difference & 44.20 & 14.36 & 4.54 & .957 & 10 & .746\
            bottomrule
            endtabular*
            captionTesting Testing Testing%
            labeltab:test1234%

            endtable

            enddocument





            share|improve this answer













            Here is my suggestion. I have used tabular* in combination with @extracolsepfill to make the table as wide as the textwidth and to evenly distribute the excess white space between the columns. I have also removed the vertical line and replaced the single cmidrule by two adjacent ones with a small white space inbetween. In order to clean up the code, I have also removed the repeated occurences ot small and textbf and instead added bfseries to thedfont:



            enter image description here



            documentclassarticle
            usepackagemakecell % for bold in table using small
            renewcommandtheadfontsmallbfseries % for bold in table using small
            usepackagetabularx, ragged2e
            usepackagebooktabs

            begindocument

            begintable[!ht]
            begintabular*textwidth@extracolsepfilllcccccc
            toprule
            & multicolumn3ctextbfPaired Differences1 & multicolumn3ctextbfPaired Differences2\
            cmidrule(r)2-4 cmidrule(l)5-7
            & theadStatistic
            & theaddf
            & theadSig.
            & theadStatistic
            & theaddf
            & theadSig. \
            midrule
            Difference & 44.20 & 14.36 & 4.54 & .957 & 10 & .746\
            bottomrule
            endtabular*
            captionTesting Testing Testing%
            labeltab:test1234%

            endtable

            enddocument






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 6 hours ago









            leandriisleandriis

            17.8k1 gold badge11 silver badges37 bronze badges




            17.8k1 gold badge11 silver badges37 bronze badges


























                3














                I would rather replace the vertical line with a supplementary empty column to have a clear separation between the two group of columns. Another possibility, aesthetically, might be to delete the vertical padding of horizontal rules, and replace it with the makegapedcells command from makecell, which adds a vertical space at the top and bottom of all cells. As a demonstration, I replaced the vertical line with thick, light grey vrule, which I find more pleasing to the eye than the default thin, black, vertical rule.



                documentclassarticle
                usepackagemakecell % for bold in table using small
                renewcommandtheadfontsmallbfseries % for bold in table using small
                usepackagetabularx, ragged2e
                usepackagebooktabs
                usepackage[table, svgnames]xcolor

                begindocument

                begintable[!ht]
                centering
                begintabularxtextwidthX>raggedrightarraybackslashccccccc
                toprule
                & multicolumn3ctextbfPaired Differences1 & & multicolumn3ctextbfPaired Differences2\
                cmidrule(lr)2-4 cmidrule(lr)6-8
                & theadStatistic
                & theaddf
                & thead Sig.
                & & theadStatistic
                & theaddf
                & theadSig. \
                midrule
                Difference & 44.20 & 14.36 & 4.54 & & .957 & 10 & .746\
                bottomrule
                endtabularx
                captionTesting Testing Testing%
                labeltab:test1234%

                endtable

                begintable[!ht]
                centering
                setlengthaboverulesep0pt
                setlengthbelowrulesep0pt
                setcellgapes3ptmakegapedcells
                begintabularxtextwidthX>raggedrightarraybackslashccc!colorGainsboro!50!Lavendervline width 0.75emccc
                toprule
                & multicolumn3c!colorGainsboro!50!Lavendervline width 0.75emtextbfPaired Differences1 & multicolumn3ctextbfPaired Differences2\noalignvskip -0.033em
                cmidrule(lr1.33em)2-4 cmidrule(lr)5-7
                & theadStatistic
                & theaddf
                & theadSig.
                & theadStatistic
                & theaddf
                & theadSig. \
                noalignvskip-0.05em
                cmidrule[0.05em](r0.9em)1-4cmidrule[0.05em](l0.15em)5-7
                Difference & 44.20 & 14.36 & 4.54 & .957 & 10 & .746\
                bottomrule
                endtabularx
                captionTesting Testing Testing%
                labeltab:test1234%

                endtable

                enddocument


                enter image description here






                share|improve this answer































                  3














                  I would rather replace the vertical line with a supplementary empty column to have a clear separation between the two group of columns. Another possibility, aesthetically, might be to delete the vertical padding of horizontal rules, and replace it with the makegapedcells command from makecell, which adds a vertical space at the top and bottom of all cells. As a demonstration, I replaced the vertical line with thick, light grey vrule, which I find more pleasing to the eye than the default thin, black, vertical rule.



                  documentclassarticle
                  usepackagemakecell % for bold in table using small
                  renewcommandtheadfontsmallbfseries % for bold in table using small
                  usepackagetabularx, ragged2e
                  usepackagebooktabs
                  usepackage[table, svgnames]xcolor

                  begindocument

                  begintable[!ht]
                  centering
                  begintabularxtextwidthX>raggedrightarraybackslashccccccc
                  toprule
                  & multicolumn3ctextbfPaired Differences1 & & multicolumn3ctextbfPaired Differences2\
                  cmidrule(lr)2-4 cmidrule(lr)6-8
                  & theadStatistic
                  & theaddf
                  & thead Sig.
                  & & theadStatistic
                  & theaddf
                  & theadSig. \
                  midrule
                  Difference & 44.20 & 14.36 & 4.54 & & .957 & 10 & .746\
                  bottomrule
                  endtabularx
                  captionTesting Testing Testing%
                  labeltab:test1234%

                  endtable

                  begintable[!ht]
                  centering
                  setlengthaboverulesep0pt
                  setlengthbelowrulesep0pt
                  setcellgapes3ptmakegapedcells
                  begintabularxtextwidthX>raggedrightarraybackslashccc!colorGainsboro!50!Lavendervline width 0.75emccc
                  toprule
                  & multicolumn3c!colorGainsboro!50!Lavendervline width 0.75emtextbfPaired Differences1 & multicolumn3ctextbfPaired Differences2\noalignvskip -0.033em
                  cmidrule(lr1.33em)2-4 cmidrule(lr)5-7
                  & theadStatistic
                  & theaddf
                  & theadSig.
                  & theadStatistic
                  & theaddf
                  & theadSig. \
                  noalignvskip-0.05em
                  cmidrule[0.05em](r0.9em)1-4cmidrule[0.05em](l0.15em)5-7
                  Difference & 44.20 & 14.36 & 4.54 & .957 & 10 & .746\
                  bottomrule
                  endtabularx
                  captionTesting Testing Testing%
                  labeltab:test1234%

                  endtable

                  enddocument


                  enter image description here






                  share|improve this answer





























                    3












                    3








                    3







                    I would rather replace the vertical line with a supplementary empty column to have a clear separation between the two group of columns. Another possibility, aesthetically, might be to delete the vertical padding of horizontal rules, and replace it with the makegapedcells command from makecell, which adds a vertical space at the top and bottom of all cells. As a demonstration, I replaced the vertical line with thick, light grey vrule, which I find more pleasing to the eye than the default thin, black, vertical rule.



                    documentclassarticle
                    usepackagemakecell % for bold in table using small
                    renewcommandtheadfontsmallbfseries % for bold in table using small
                    usepackagetabularx, ragged2e
                    usepackagebooktabs
                    usepackage[table, svgnames]xcolor

                    begindocument

                    begintable[!ht]
                    centering
                    begintabularxtextwidthX>raggedrightarraybackslashccccccc
                    toprule
                    & multicolumn3ctextbfPaired Differences1 & & multicolumn3ctextbfPaired Differences2\
                    cmidrule(lr)2-4 cmidrule(lr)6-8
                    & theadStatistic
                    & theaddf
                    & thead Sig.
                    & & theadStatistic
                    & theaddf
                    & theadSig. \
                    midrule
                    Difference & 44.20 & 14.36 & 4.54 & & .957 & 10 & .746\
                    bottomrule
                    endtabularx
                    captionTesting Testing Testing%
                    labeltab:test1234%

                    endtable

                    begintable[!ht]
                    centering
                    setlengthaboverulesep0pt
                    setlengthbelowrulesep0pt
                    setcellgapes3ptmakegapedcells
                    begintabularxtextwidthX>raggedrightarraybackslashccc!colorGainsboro!50!Lavendervline width 0.75emccc
                    toprule
                    & multicolumn3c!colorGainsboro!50!Lavendervline width 0.75emtextbfPaired Differences1 & multicolumn3ctextbfPaired Differences2\noalignvskip -0.033em
                    cmidrule(lr1.33em)2-4 cmidrule(lr)5-7
                    & theadStatistic
                    & theaddf
                    & theadSig.
                    & theadStatistic
                    & theaddf
                    & theadSig. \
                    noalignvskip-0.05em
                    cmidrule[0.05em](r0.9em)1-4cmidrule[0.05em](l0.15em)5-7
                    Difference & 44.20 & 14.36 & 4.54 & .957 & 10 & .746\
                    bottomrule
                    endtabularx
                    captionTesting Testing Testing%
                    labeltab:test1234%

                    endtable

                    enddocument


                    enter image description here






                    share|improve this answer















                    I would rather replace the vertical line with a supplementary empty column to have a clear separation between the two group of columns. Another possibility, aesthetically, might be to delete the vertical padding of horizontal rules, and replace it with the makegapedcells command from makecell, which adds a vertical space at the top and bottom of all cells. As a demonstration, I replaced the vertical line with thick, light grey vrule, which I find more pleasing to the eye than the default thin, black, vertical rule.



                    documentclassarticle
                    usepackagemakecell % for bold in table using small
                    renewcommandtheadfontsmallbfseries % for bold in table using small
                    usepackagetabularx, ragged2e
                    usepackagebooktabs
                    usepackage[table, svgnames]xcolor

                    begindocument

                    begintable[!ht]
                    centering
                    begintabularxtextwidthX>raggedrightarraybackslashccccccc
                    toprule
                    & multicolumn3ctextbfPaired Differences1 & & multicolumn3ctextbfPaired Differences2\
                    cmidrule(lr)2-4 cmidrule(lr)6-8
                    & theadStatistic
                    & theaddf
                    & thead Sig.
                    & & theadStatistic
                    & theaddf
                    & theadSig. \
                    midrule
                    Difference & 44.20 & 14.36 & 4.54 & & .957 & 10 & .746\
                    bottomrule
                    endtabularx
                    captionTesting Testing Testing%
                    labeltab:test1234%

                    endtable

                    begintable[!ht]
                    centering
                    setlengthaboverulesep0pt
                    setlengthbelowrulesep0pt
                    setcellgapes3ptmakegapedcells
                    begintabularxtextwidthX>raggedrightarraybackslashccc!colorGainsboro!50!Lavendervline width 0.75emccc
                    toprule
                    & multicolumn3c!colorGainsboro!50!Lavendervline width 0.75emtextbfPaired Differences1 & multicolumn3ctextbfPaired Differences2\noalignvskip -0.033em
                    cmidrule(lr1.33em)2-4 cmidrule(lr)5-7
                    & theadStatistic
                    & theaddf
                    & theadSig.
                    & theadStatistic
                    & theaddf
                    & theadSig. \
                    noalignvskip-0.05em
                    cmidrule[0.05em](r0.9em)1-4cmidrule[0.05em](l0.15em)5-7
                    Difference & 44.20 & 14.36 & 4.54 & .957 & 10 & .746\
                    bottomrule
                    endtabularx
                    captionTesting Testing Testing%
                    labeltab:test1234%

                    endtable

                    enddocument


                    enter image description here







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited 6 hours ago

























                    answered 7 hours ago









                    BernardBernard

                    187k7 gold badges84 silver badges221 bronze badges




                    187k7 gold badges84 silver badges221 bronze badges
























                        3














                        With combination of S and X columns type, without vertical lines, with rounded numbers ... :



                        documentclassarticle
                        usepackagebooktabs, tabularx
                        usepackagexparse
                        NewExpandableDocumentCommandmcxO1m
                        multicolumn#1>Centeringsmallbfserieshsize=#1hsizeX#2
                        usepackageragged2e
                        usepackagesiunitx

                        begindocument
                        begintable[ht]
                        centering
                        setlengthtabcolsep0pt
                        sisetupround-integer-to-decimal,
                        round-mode=places,
                        table-format=2.2
                        begintabularxlinewidthl *6S
                        toprule
                        & mcx[3]Paired Differences 1
                        & mcx[3]Paired Differences 2 \
                        cmidrule(r)2-4cmidrule(l)5-7
                        & mcxStatistic & mcxdf & mcxSig.
                        & mcxStatistic & mcxdf & mcxSig. \
                        midrule
                        Difference
                        & 44.20 & 14.36 & 4.54 & 0.957 & 10 & 0.746 \
                        bottomrule
                        endtabularx
                        captionTesting Testing Testing
                        labeltab:test1234
                        endtable
                        enddocument


                        enter image description here






                        share|improve this answer































                          3














                          With combination of S and X columns type, without vertical lines, with rounded numbers ... :



                          documentclassarticle
                          usepackagebooktabs, tabularx
                          usepackagexparse
                          NewExpandableDocumentCommandmcxO1m
                          multicolumn#1>Centeringsmallbfserieshsize=#1hsizeX#2
                          usepackageragged2e
                          usepackagesiunitx

                          begindocument
                          begintable[ht]
                          centering
                          setlengthtabcolsep0pt
                          sisetupround-integer-to-decimal,
                          round-mode=places,
                          table-format=2.2
                          begintabularxlinewidthl *6S
                          toprule
                          & mcx[3]Paired Differences 1
                          & mcx[3]Paired Differences 2 \
                          cmidrule(r)2-4cmidrule(l)5-7
                          & mcxStatistic & mcxdf & mcxSig.
                          & mcxStatistic & mcxdf & mcxSig. \
                          midrule
                          Difference
                          & 44.20 & 14.36 & 4.54 & 0.957 & 10 & 0.746 \
                          bottomrule
                          endtabularx
                          captionTesting Testing Testing
                          labeltab:test1234
                          endtable
                          enddocument


                          enter image description here






                          share|improve this answer





























                            3












                            3








                            3







                            With combination of S and X columns type, without vertical lines, with rounded numbers ... :



                            documentclassarticle
                            usepackagebooktabs, tabularx
                            usepackagexparse
                            NewExpandableDocumentCommandmcxO1m
                            multicolumn#1>Centeringsmallbfserieshsize=#1hsizeX#2
                            usepackageragged2e
                            usepackagesiunitx

                            begindocument
                            begintable[ht]
                            centering
                            setlengthtabcolsep0pt
                            sisetupround-integer-to-decimal,
                            round-mode=places,
                            table-format=2.2
                            begintabularxlinewidthl *6S
                            toprule
                            & mcx[3]Paired Differences 1
                            & mcx[3]Paired Differences 2 \
                            cmidrule(r)2-4cmidrule(l)5-7
                            & mcxStatistic & mcxdf & mcxSig.
                            & mcxStatistic & mcxdf & mcxSig. \
                            midrule
                            Difference
                            & 44.20 & 14.36 & 4.54 & 0.957 & 10 & 0.746 \
                            bottomrule
                            endtabularx
                            captionTesting Testing Testing
                            labeltab:test1234
                            endtable
                            enddocument


                            enter image description here






                            share|improve this answer















                            With combination of S and X columns type, without vertical lines, with rounded numbers ... :



                            documentclassarticle
                            usepackagebooktabs, tabularx
                            usepackagexparse
                            NewExpandableDocumentCommandmcxO1m
                            multicolumn#1>Centeringsmallbfserieshsize=#1hsizeX#2
                            usepackageragged2e
                            usepackagesiunitx

                            begindocument
                            begintable[ht]
                            centering
                            setlengthtabcolsep0pt
                            sisetupround-integer-to-decimal,
                            round-mode=places,
                            table-format=2.2
                            begintabularxlinewidthl *6S
                            toprule
                            & mcx[3]Paired Differences 1
                            & mcx[3]Paired Differences 2 \
                            cmidrule(r)2-4cmidrule(l)5-7
                            & mcxStatistic & mcxdf & mcxSig.
                            & mcxStatistic & mcxdf & mcxSig. \
                            midrule
                            Difference
                            & 44.20 & 14.36 & 4.54 & 0.957 & 10 & 0.746 \
                            bottomrule
                            endtabularx
                            captionTesting Testing Testing
                            labeltab:test1234
                            endtable
                            enddocument


                            enter image description here







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited 6 hours ago

























                            answered 6 hours ago









                            ZarkoZarko

                            143k8 gold badges79 silver badges192 bronze badges




                            143k8 gold badges79 silver badges192 bronze badges






























                                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%2f503806%2fcontinuous-vertical-line-using-booktabs-in-tabularx-table%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

                                Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

                                Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

                                199年 目錄 大件事 到箇年出世嗰人 到箇年死嗰人 節慶、風俗習慣 導覽選單