Weird corners with clineCan't get table border lines to meet in the cornerstabular* with rubber spacing and clineTable with rounded corners?Table with rounded cornerscline Not Working with Customized Column PaddingTable Border Line with cline bleaches outWeird vertical lines with tableCline doesn´t work properlySpace between cline in tableTabular with rounded corners made with tikzpicture with overlay is not properly positioned inside table environment

Changing JPEG to RAW to use on Lightroom?

Is it legal for source code containing undefined behavior to crash the compiler?

1mth baby boy keeps peeing through diapers, sometimes diper seems practically unused

How to read Microware OS-9 RBF Filesystem under Windows / Linux?

Which old Technic set included large yellow motor?

How to sort a dictionary of lists and get the corresponding keys?

What is the name of this plot that has rows with two connected dots?

74S vs 74LS ICs

Weird corners with cline

Router on a stick not connecting 2 different VLANs

Why does a sticker slowly peel off, but if it is pulled quickly it tears?

LINQ for generating all possible permutations

How many lines of code does the original TeX contain?

How were medieval castles built in swamps or marshes without draining them?

Cooking Scrambled Eggs

Why is a statement like 1 + n *= 3 allowed in Ruby?

What happened to the HDEV ISS Experiment? Is it over?

Count the number of paths to n

When using a variable to set the path, I get "No such file or directory", but works fine otherwise

Is first Ubuntu user root?

Is the internet in Madagascar faster than in UK?

Number of academics in various EU countries

What is the best way to solve this 6x6 sudoku?

rationalizing sieges in a modern/near-future setting



Weird corners with cline


Can't get table border lines to meet in the cornerstabular* with rubber spacing and clineTable with rounded corners?Table with rounded cornerscline Not Working with Customized Column PaddingTable Border Line with cline bleaches outWeird vertical lines with tableCline doesn´t work properlySpace between cline in tableTabular with rounded corners made with tikzpicture with overlay is not properly positioned inside table environment






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








5















The intersection of horizontal clines and vertical lines in tables look weird. Here is a MWE:



documentclass[11pt,oneside]article
%usepackagearray

begindocument

begintable
centering
begintabularc
cline2-3
a&b&c&d\
cline2-3
endtabular
endtable

enddocument


Here is the output:



enter image description here



As you can see, there are small gaps at the intersections of the horizontal and the vertical lines at the two corners at the bottom. Interestingly, the two corners at the top are fine.



Now if the array package is loaded (simply uncomment in the code above), then I get:



enter image description here



The weird gap is gone at the lower right corner but it still persists at the lower left corner.



I did a considerable amount of research into this (see, e.g., this post) but did not find any definitive solution. Any suggestions would be greatly appreciated.



(I am aware of the existence of hhline but I read in another post that it might be prone to similar intersection issues, so I’d prefer a solution without it.)










share|improve this question









New contributor



triple_sec is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • If it only partially works loading array, maybe this is due to tthe oneside option the ‘article’? ;o)

    – Bernard
    8 hours ago











  • @Bernard Nice catch! Alas, the output is the same upon taking out oneside.

    – triple_sec
    8 hours ago











  • I just found funny that a one-side defect happened with the oneside option…

    – Bernard
    8 hours ago











  • @Bernard It would make sense, but it would also be a surprise if TeX were that predictable... :-)

    – triple_sec
    5 hours ago


















5















The intersection of horizontal clines and vertical lines in tables look weird. Here is a MWE:



documentclass[11pt,oneside]article
%usepackagearray

begindocument

begintable
centering
begintabularc
cline2-3
a&b&c&d\
cline2-3
endtabular
endtable

enddocument


Here is the output:



enter image description here



As you can see, there are small gaps at the intersections of the horizontal and the vertical lines at the two corners at the bottom. Interestingly, the two corners at the top are fine.



Now if the array package is loaded (simply uncomment in the code above), then I get:



enter image description here



The weird gap is gone at the lower right corner but it still persists at the lower left corner.



I did a considerable amount of research into this (see, e.g., this post) but did not find any definitive solution. Any suggestions would be greatly appreciated.



(I am aware of the existence of hhline but I read in another post that it might be prone to similar intersection issues, so I’d prefer a solution without it.)










share|improve this question









New contributor



triple_sec is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • If it only partially works loading array, maybe this is due to tthe oneside option the ‘article’? ;o)

    – Bernard
    8 hours ago











  • @Bernard Nice catch! Alas, the output is the same upon taking out oneside.

    – triple_sec
    8 hours ago











  • I just found funny that a one-side defect happened with the oneside option…

    – Bernard
    8 hours ago











  • @Bernard It would make sense, but it would also be a surprise if TeX were that predictable... :-)

    – triple_sec
    5 hours ago














5












5








5








The intersection of horizontal clines and vertical lines in tables look weird. Here is a MWE:



documentclass[11pt,oneside]article
%usepackagearray

begindocument

begintable
centering
begintabularc
cline2-3
a&b&c&d\
cline2-3
endtabular
endtable

enddocument


Here is the output:



enter image description here



As you can see, there are small gaps at the intersections of the horizontal and the vertical lines at the two corners at the bottom. Interestingly, the two corners at the top are fine.



Now if the array package is loaded (simply uncomment in the code above), then I get:



enter image description here



The weird gap is gone at the lower right corner but it still persists at the lower left corner.



I did a considerable amount of research into this (see, e.g., this post) but did not find any definitive solution. Any suggestions would be greatly appreciated.



(I am aware of the existence of hhline but I read in another post that it might be prone to similar intersection issues, so I’d prefer a solution without it.)










share|improve this question









New contributor



triple_sec is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











The intersection of horizontal clines and vertical lines in tables look weird. Here is a MWE:



documentclass[11pt,oneside]article
%usepackagearray

begindocument

begintable
centering
begintabularc
cline2-3
a&b&c&d\
cline2-3
endtabular
endtable

enddocument


Here is the output:



enter image description here



As you can see, there are small gaps at the intersections of the horizontal and the vertical lines at the two corners at the bottom. Interestingly, the two corners at the top are fine.



Now if the array package is loaded (simply uncomment in the code above), then I get:



enter image description here



The weird gap is gone at the lower right corner but it still persists at the lower left corner.



I did a considerable amount of research into this (see, e.g., this post) but did not find any definitive solution. Any suggestions would be greatly appreciated.



(I am aware of the existence of hhline but I read in another post that it might be prone to similar intersection issues, so I’d prefer a solution without it.)







tables






share|improve this question









New contributor



triple_sec is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










share|improve this question









New contributor



triple_sec is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








share|improve this question




share|improve this question








edited 5 hours ago







triple_sec













New contributor



triple_sec is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








asked 9 hours ago









triple_sectriple_sec

1263 bronze badges




1263 bronze badges




New contributor



triple_sec is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




New contributor




triple_sec is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

















  • If it only partially works loading array, maybe this is due to tthe oneside option the ‘article’? ;o)

    – Bernard
    8 hours ago











  • @Bernard Nice catch! Alas, the output is the same upon taking out oneside.

    – triple_sec
    8 hours ago











  • I just found funny that a one-side defect happened with the oneside option…

    – Bernard
    8 hours ago











  • @Bernard It would make sense, but it would also be a surprise if TeX were that predictable... :-)

    – triple_sec
    5 hours ago


















  • If it only partially works loading array, maybe this is due to tthe oneside option the ‘article’? ;o)

    – Bernard
    8 hours ago











  • @Bernard Nice catch! Alas, the output is the same upon taking out oneside.

    – triple_sec
    8 hours ago











  • I just found funny that a one-side defect happened with the oneside option…

    – Bernard
    8 hours ago











  • @Bernard It would make sense, but it would also be a surprise if TeX were that predictable... :-)

    – triple_sec
    5 hours ago

















If it only partially works loading array, maybe this is due to tthe oneside option the ‘article’? ;o)

– Bernard
8 hours ago





If it only partially works loading array, maybe this is due to tthe oneside option the ‘article’? ;o)

– Bernard
8 hours ago













@Bernard Nice catch! Alas, the output is the same upon taking out oneside.

– triple_sec
8 hours ago





@Bernard Nice catch! Alas, the output is the same upon taking out oneside.

– triple_sec
8 hours ago













I just found funny that a one-side defect happened with the oneside option…

– Bernard
8 hours ago





I just found funny that a one-side defect happened with the oneside option…

– Bernard
8 hours ago













@Bernard It would make sense, but it would also be a surprise if TeX were that predictable... :-)

– triple_sec
5 hours ago






@Bernard It would make sense, but it would also be a surprise if TeX were that predictable... :-)

– triple_sec
5 hours ago











2 Answers
2






active

oldest

votes


















6















You get precise control with hhline:



documentclassarticle
usepackagehhline

begindocument

begintabularc
hhline~
a&b&c&d\
hhline~
endtabular

enddocument


enter image description here




  • ~ means no rule for the cell,


  • | means an intersection with a vertical rule,


  • - means a rule for the cell.





share|improve this answer
































    6















    Don't know why it happens, but here's a fix...diminish the \ by arrayrulewidth (EDITED to reflect arrayrulewidth rather than fboxrule, hat tip: David Carlisle).



    documentclass[11pt,oneside]article
    %usepackagearray

    begindocument

    begintable
    centering
    begintabularc
    cline2-3
    a&b&c&d\[-arrayrulewidth]
    cline2-3
    endtabular
    endtable

    enddocument


    enter image description here



    If one is concerned that this approach shrinks the height of the cell by -arrayrulewidth, then just compensate by adding an extra arrayrulewidth to the depth of the line before the shrunken \. Compare the original box on the left with the revised on the right.



    documentclass[11pt,oneside]article
    %usepackagearray
    newcommandmystrutrule[dimexpr-dpstrutbox-arrayrulewidth]0pt%
    dimexprbaselineskip+arrayrulewidth
    begindocument

    begintable
    centering
    begintabularc
    cline2-3
    a&b&c&d\
    cline2-3
    endtabular%
    %
    begintabularc
    cline2-3
    a&b&c&dmystrut\[-arrayrulewidth]
    cline2-3
    endtabular
    endtable

    enddocument


    enter image description here






    share|improve this answer



























    • This is clever, thank you! Doesn’t it shrink the height of cells, though? (I know it’s a PITA and I probably shouldn’t do this, but I like to control cell heights as much as TeX lets me.)

      – triple_sec
      9 hours ago












    • @triple_sec Please see my edit.

      – Steven B. Segletes
      9 hours ago






    • 2





      Fboxrule Is used for fbox not tables atrayrulewifth

      – David Carlisle
      7 hours ago













    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
    );



    );






    triple_sec is a new contributor. Be nice, and check out our Code of Conduct.









    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f505789%2fweird-corners-with-cline%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    6















    You get precise control with hhline:



    documentclassarticle
    usepackagehhline

    begindocument

    begintabularc
    hhline~
    a&b&c&d\
    hhline~
    endtabular

    enddocument


    enter image description here




    • ~ means no rule for the cell,


    • | means an intersection with a vertical rule,


    • - means a rule for the cell.





    share|improve this answer





























      6















      You get precise control with hhline:



      documentclassarticle
      usepackagehhline

      begindocument

      begintabularc
      hhline~
      a&b&c&d\
      hhline~
      endtabular

      enddocument


      enter image description here




      • ~ means no rule for the cell,


      • | means an intersection with a vertical rule,


      • - means a rule for the cell.





      share|improve this answer



























        6














        6










        6









        You get precise control with hhline:



        documentclassarticle
        usepackagehhline

        begindocument

        begintabularc
        hhline~
        a&b&c&d\
        hhline~
        endtabular

        enddocument


        enter image description here




        • ~ means no rule for the cell,


        • | means an intersection with a vertical rule,


        • - means a rule for the cell.





        share|improve this answer













        You get precise control with hhline:



        documentclassarticle
        usepackagehhline

        begindocument

        begintabularc
        hhline~
        a&b&c&d\
        hhline~
        endtabular

        enddocument


        enter image description here




        • ~ means no rule for the cell,


        • | means an intersection with a vertical rule,


        • - means a rule for the cell.






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 9 hours ago









        egregegreg

        764k90 gold badges1997 silver badges3345 bronze badges




        764k90 gold badges1997 silver badges3345 bronze badges


























            6















            Don't know why it happens, but here's a fix...diminish the \ by arrayrulewidth (EDITED to reflect arrayrulewidth rather than fboxrule, hat tip: David Carlisle).



            documentclass[11pt,oneside]article
            %usepackagearray

            begindocument

            begintable
            centering
            begintabularc
            cline2-3
            a&b&c&d\[-arrayrulewidth]
            cline2-3
            endtabular
            endtable

            enddocument


            enter image description here



            If one is concerned that this approach shrinks the height of the cell by -arrayrulewidth, then just compensate by adding an extra arrayrulewidth to the depth of the line before the shrunken \. Compare the original box on the left with the revised on the right.



            documentclass[11pt,oneside]article
            %usepackagearray
            newcommandmystrutrule[dimexpr-dpstrutbox-arrayrulewidth]0pt%
            dimexprbaselineskip+arrayrulewidth
            begindocument

            begintable
            centering
            begintabularc
            cline2-3
            a&b&c&d\
            cline2-3
            endtabular%
            %
            begintabularc
            cline2-3
            a&b&c&dmystrut\[-arrayrulewidth]
            cline2-3
            endtabular
            endtable

            enddocument


            enter image description here






            share|improve this answer



























            • This is clever, thank you! Doesn’t it shrink the height of cells, though? (I know it’s a PITA and I probably shouldn’t do this, but I like to control cell heights as much as TeX lets me.)

              – triple_sec
              9 hours ago












            • @triple_sec Please see my edit.

              – Steven B. Segletes
              9 hours ago






            • 2





              Fboxrule Is used for fbox not tables atrayrulewifth

              – David Carlisle
              7 hours ago















            6















            Don't know why it happens, but here's a fix...diminish the \ by arrayrulewidth (EDITED to reflect arrayrulewidth rather than fboxrule, hat tip: David Carlisle).



            documentclass[11pt,oneside]article
            %usepackagearray

            begindocument

            begintable
            centering
            begintabularc
            cline2-3
            a&b&c&d\[-arrayrulewidth]
            cline2-3
            endtabular
            endtable

            enddocument


            enter image description here



            If one is concerned that this approach shrinks the height of the cell by -arrayrulewidth, then just compensate by adding an extra arrayrulewidth to the depth of the line before the shrunken \. Compare the original box on the left with the revised on the right.



            documentclass[11pt,oneside]article
            %usepackagearray
            newcommandmystrutrule[dimexpr-dpstrutbox-arrayrulewidth]0pt%
            dimexprbaselineskip+arrayrulewidth
            begindocument

            begintable
            centering
            begintabularc
            cline2-3
            a&b&c&d\
            cline2-3
            endtabular%
            %
            begintabularc
            cline2-3
            a&b&c&dmystrut\[-arrayrulewidth]
            cline2-3
            endtabular
            endtable

            enddocument


            enter image description here






            share|improve this answer



























            • This is clever, thank you! Doesn’t it shrink the height of cells, though? (I know it’s a PITA and I probably shouldn’t do this, but I like to control cell heights as much as TeX lets me.)

              – triple_sec
              9 hours ago












            • @triple_sec Please see my edit.

              – Steven B. Segletes
              9 hours ago






            • 2





              Fboxrule Is used for fbox not tables atrayrulewifth

              – David Carlisle
              7 hours ago













            6














            6










            6









            Don't know why it happens, but here's a fix...diminish the \ by arrayrulewidth (EDITED to reflect arrayrulewidth rather than fboxrule, hat tip: David Carlisle).



            documentclass[11pt,oneside]article
            %usepackagearray

            begindocument

            begintable
            centering
            begintabularc
            cline2-3
            a&b&c&d\[-arrayrulewidth]
            cline2-3
            endtabular
            endtable

            enddocument


            enter image description here



            If one is concerned that this approach shrinks the height of the cell by -arrayrulewidth, then just compensate by adding an extra arrayrulewidth to the depth of the line before the shrunken \. Compare the original box on the left with the revised on the right.



            documentclass[11pt,oneside]article
            %usepackagearray
            newcommandmystrutrule[dimexpr-dpstrutbox-arrayrulewidth]0pt%
            dimexprbaselineskip+arrayrulewidth
            begindocument

            begintable
            centering
            begintabularc
            cline2-3
            a&b&c&d\
            cline2-3
            endtabular%
            %
            begintabularc
            cline2-3
            a&b&c&dmystrut\[-arrayrulewidth]
            cline2-3
            endtabular
            endtable

            enddocument


            enter image description here






            share|improve this answer















            Don't know why it happens, but here's a fix...diminish the \ by arrayrulewidth (EDITED to reflect arrayrulewidth rather than fboxrule, hat tip: David Carlisle).



            documentclass[11pt,oneside]article
            %usepackagearray

            begindocument

            begintable
            centering
            begintabularc
            cline2-3
            a&b&c&d\[-arrayrulewidth]
            cline2-3
            endtabular
            endtable

            enddocument


            enter image description here



            If one is concerned that this approach shrinks the height of the cell by -arrayrulewidth, then just compensate by adding an extra arrayrulewidth to the depth of the line before the shrunken \. Compare the original box on the left with the revised on the right.



            documentclass[11pt,oneside]article
            %usepackagearray
            newcommandmystrutrule[dimexpr-dpstrutbox-arrayrulewidth]0pt%
            dimexprbaselineskip+arrayrulewidth
            begindocument

            begintable
            centering
            begintabularc
            cline2-3
            a&b&c&d\
            cline2-3
            endtabular%
            %
            begintabularc
            cline2-3
            a&b&c&dmystrut\[-arrayrulewidth]
            cline2-3
            endtabular
            endtable

            enddocument


            enter image description here







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited 7 hours ago

























            answered 9 hours ago









            Steven B. SegletesSteven B. Segletes

            169k9 gold badges214 silver badges441 bronze badges




            169k9 gold badges214 silver badges441 bronze badges















            • This is clever, thank you! Doesn’t it shrink the height of cells, though? (I know it’s a PITA and I probably shouldn’t do this, but I like to control cell heights as much as TeX lets me.)

              – triple_sec
              9 hours ago












            • @triple_sec Please see my edit.

              – Steven B. Segletes
              9 hours ago






            • 2





              Fboxrule Is used for fbox not tables atrayrulewifth

              – David Carlisle
              7 hours ago

















            • This is clever, thank you! Doesn’t it shrink the height of cells, though? (I know it’s a PITA and I probably shouldn’t do this, but I like to control cell heights as much as TeX lets me.)

              – triple_sec
              9 hours ago












            • @triple_sec Please see my edit.

              – Steven B. Segletes
              9 hours ago






            • 2





              Fboxrule Is used for fbox not tables atrayrulewifth

              – David Carlisle
              7 hours ago
















            This is clever, thank you! Doesn’t it shrink the height of cells, though? (I know it’s a PITA and I probably shouldn’t do this, but I like to control cell heights as much as TeX lets me.)

            – triple_sec
            9 hours ago






            This is clever, thank you! Doesn’t it shrink the height of cells, though? (I know it’s a PITA and I probably shouldn’t do this, but I like to control cell heights as much as TeX lets me.)

            – triple_sec
            9 hours ago














            @triple_sec Please see my edit.

            – Steven B. Segletes
            9 hours ago





            @triple_sec Please see my edit.

            – Steven B. Segletes
            9 hours ago




            2




            2





            Fboxrule Is used for fbox not tables atrayrulewifth

            – David Carlisle
            7 hours ago





            Fboxrule Is used for fbox not tables atrayrulewifth

            – David Carlisle
            7 hours ago










            triple_sec is a new contributor. Be nice, and check out our Code of Conduct.









            draft saved

            draft discarded


















            triple_sec is a new contributor. Be nice, and check out our Code of Conduct.












            triple_sec is a new contributor. Be nice, and check out our Code of Conduct.











            triple_sec is a new contributor. Be nice, and check out our Code of Conduct.














            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%2f505789%2fweird-corners-with-cline%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

            Sahara Skak | Bilen | Luke uk diar | NawigatsjuunCommonskategorii: SaharaWikivoyage raisfeerer: Sahara26° N, 13° O

            The fall designs the understood secretary. Looking glass Science Shock Discovery Hot Everybody Loves Raymond Smile 곳 서비스 성실하다 Defas Kaloolon Definition: To combine or impregnate with sulphur or any of its compounds as to sulphurize caoutchouc in vulcanizing Flame colored Reason Useful Thin Help 갖다 유명하다 낙엽 장례식 Country Iron Definition: A fencer a gladiator one who exhibits his skill in the use of the sword Definition: The American black throated bunting Spiza Americana Nostalgic Needy Method to my madness 시키다 평가되다 전부 소설가 우아하다 Argument Tin Feeling Representative Gym Music Gaur Chicken 일쑤 코치 편 학생증 The harbor values the sugar. Vasagle Yammoe Enstatite Definition: Capable of being limited Road Neighborly Five Refer Built Kangaroo 비비다 Degree Release Bargain Horse 하루 형님 유교 석 동부 괴롭히다 경제력

            19. јануар Садржај Догађаји Рођења Смрти Празници и дани сећања Види још Референце Мени за навигацијуу