midrule splits vertical lines in tableDoes it matter if I use textit or it, bfseries or bf, etcSplitting a...

SSH "lag" in LAN on some machines, mixed distros

Why "Having chlorophyll without photosynthesis is actually very dangerous" and "like living with a bomb"?

What's the difference between 'rename' and 'mv'?

1960's book about a plague that kills all white people

How to prevent "they're falling in love" trope

Facing a paradox: Earnshaw's theorem in one dimension

AES: Why is it a good practice to use only the first 16bytes of a hash for encryption?

Arrow those variables!

Should I tell management that I intend to leave due to bad software development practices?

Does a druid starting with a bow start with no arrows?

Why do bosons tend to occupy the same state?

A reference to a well-known characterization of scattered compact spaces

Why was the shrinking from 8″ made only to 5.25″ and not smaller (4″ or less)?

How to model explosives?

What exploit are these user agents trying to use?

What mechanic is there to disable a threat instead of killing it?

Forgetting the musical notes while performing in concert

How can I make my BBEG immortal short of making them a Lich or Vampire?

Is it possible to create light that imparts a greater proportion of its energy as momentum rather than heat?

Did Shadowfax go to Valinor?

Anagram holiday

Why doesn't H₄O²⁺ exist?

Why are electrically insulating heatsinks so rare? Is it just cost?

Is the Joker left-handed?



midrule splits vertical lines in table


Does it matter if I use textit or it, bfseries or bf, etcSplitting a wide table or a longtable into two blocksCreating a special table with different row lengths in latexVertical table lines are discontinuous with booktabsProblems with toprule and midrule in a tableUse of midrule in booktabs tableAdd midrule Every 5 Lines AutomaticallyVertical text in table with no vertical linestabu package - gaps in vertical linesToo long vertical lines in table when declarations must remain on distinct linesRemove midrule in tablemidrule and toprule in table too longVertical lines in table













4















I realise that the booktabs package does not want me to use vertical lines in my tables. However, I like vertical lines in my tables. Therefore, I am hoping there is a workaround to a problem that booktabs clearly does not think should even be an issue.



Here is my table:



Table with borken up vertical lines



Is it possible to join all the vertical lines?



Here is the code:



begin{table}[h]
begin{centering}
scalebox{.8}
small
{begin{tabular}{| c | l | c c c |}
hline
{bf HD Level} & & & & \
midrule[2pt]
multirow{2}*{1} & {it Rep-tile}: & ${1,2}$ & ${1,3}$ & ${2,3}$ \
cmidrule{2-5}
& {it Encoding}: & 1 & 2 & 3 \
midrule[2pt]
multirow{2}*{2} & {it Rep-tile}: & ${2}$ & ${3}$ & \
cmidrule{2-5}
& {it Encoding}: & 1 & 2 & \
hline
end{tabular}}
caption{smallbf Bla bla}
label{tab:SMuTexEncoding}
end{centering}
end{table}


Many thanks.










share|improve this question




















  • 4





    That's the nature of the beast... when using booktabs, you need to consider reading the documentation as well. It states: "You will not go far wrong if you remember two simple guidelines at all times: 1. Never, ever use vertical rules. 2. Never use double rules."

    – Werner
    Oct 16 '14 at 16:48






  • 1





    I did @Werner (and implied as much at the beginning of my question)! But what if I happen to disagree? Perhaps there is another package you can suggest? I need the cmidrule{2-5} function...

    – pdini
    Oct 16 '14 at 16:49








  • 2





    You may disagree, of course, but then you can't use booktabs. I invite you to look at my realization of your table in this picture. I would probably remove the cmidrule{2-5} commands too. The superheavy rules are out of the question.

    – egreg
    Oct 16 '14 at 16:55








  • 2





    You don't have to use booktabs. Basic LaTeX provides cline. Please note, that it is deprecated for about 20 years now.

    – Johannes_B
    Oct 16 '14 at 17:16






  • 2





    Just use a standard cline if you are using vertical rules. Also scalebox{.8}small makes a box with just the argument small which is odd??

    – David Carlisle
    Oct 16 '14 at 17:36
















4















I realise that the booktabs package does not want me to use vertical lines in my tables. However, I like vertical lines in my tables. Therefore, I am hoping there is a workaround to a problem that booktabs clearly does not think should even be an issue.



Here is my table:



Table with borken up vertical lines



Is it possible to join all the vertical lines?



Here is the code:



begin{table}[h]
begin{centering}
scalebox{.8}
small
{begin{tabular}{| c | l | c c c |}
hline
{bf HD Level} & & & & \
midrule[2pt]
multirow{2}*{1} & {it Rep-tile}: & ${1,2}$ & ${1,3}$ & ${2,3}$ \
cmidrule{2-5}
& {it Encoding}: & 1 & 2 & 3 \
midrule[2pt]
multirow{2}*{2} & {it Rep-tile}: & ${2}$ & ${3}$ & \
cmidrule{2-5}
& {it Encoding}: & 1 & 2 & \
hline
end{tabular}}
caption{smallbf Bla bla}
label{tab:SMuTexEncoding}
end{centering}
end{table}


Many thanks.










share|improve this question




















  • 4





    That's the nature of the beast... when using booktabs, you need to consider reading the documentation as well. It states: "You will not go far wrong if you remember two simple guidelines at all times: 1. Never, ever use vertical rules. 2. Never use double rules."

    – Werner
    Oct 16 '14 at 16:48






  • 1





    I did @Werner (and implied as much at the beginning of my question)! But what if I happen to disagree? Perhaps there is another package you can suggest? I need the cmidrule{2-5} function...

    – pdini
    Oct 16 '14 at 16:49








  • 2





    You may disagree, of course, but then you can't use booktabs. I invite you to look at my realization of your table in this picture. I would probably remove the cmidrule{2-5} commands too. The superheavy rules are out of the question.

    – egreg
    Oct 16 '14 at 16:55








  • 2





    You don't have to use booktabs. Basic LaTeX provides cline. Please note, that it is deprecated for about 20 years now.

    – Johannes_B
    Oct 16 '14 at 17:16






  • 2





    Just use a standard cline if you are using vertical rules. Also scalebox{.8}small makes a box with just the argument small which is odd??

    – David Carlisle
    Oct 16 '14 at 17:36














4












4








4


1






I realise that the booktabs package does not want me to use vertical lines in my tables. However, I like vertical lines in my tables. Therefore, I am hoping there is a workaround to a problem that booktabs clearly does not think should even be an issue.



Here is my table:



Table with borken up vertical lines



Is it possible to join all the vertical lines?



Here is the code:



begin{table}[h]
begin{centering}
scalebox{.8}
small
{begin{tabular}{| c | l | c c c |}
hline
{bf HD Level} & & & & \
midrule[2pt]
multirow{2}*{1} & {it Rep-tile}: & ${1,2}$ & ${1,3}$ & ${2,3}$ \
cmidrule{2-5}
& {it Encoding}: & 1 & 2 & 3 \
midrule[2pt]
multirow{2}*{2} & {it Rep-tile}: & ${2}$ & ${3}$ & \
cmidrule{2-5}
& {it Encoding}: & 1 & 2 & \
hline
end{tabular}}
caption{smallbf Bla bla}
label{tab:SMuTexEncoding}
end{centering}
end{table}


Many thanks.










share|improve this question
















I realise that the booktabs package does not want me to use vertical lines in my tables. However, I like vertical lines in my tables. Therefore, I am hoping there is a workaround to a problem that booktabs clearly does not think should even be an issue.



Here is my table:



Table with borken up vertical lines



Is it possible to join all the vertical lines?



Here is the code:



begin{table}[h]
begin{centering}
scalebox{.8}
small
{begin{tabular}{| c | l | c c c |}
hline
{bf HD Level} & & & & \
midrule[2pt]
multirow{2}*{1} & {it Rep-tile}: & ${1,2}$ & ${1,3}$ & ${2,3}$ \
cmidrule{2-5}
& {it Encoding}: & 1 & 2 & 3 \
midrule[2pt]
multirow{2}*{2} & {it Rep-tile}: & ${2}$ & ${3}$ & \
cmidrule{2-5}
& {it Encoding}: & 1 & 2 & \
hline
end{tabular}}
caption{smallbf Bla bla}
label{tab:SMuTexEncoding}
end{centering}
end{table}


Many thanks.







tables rules booktabs






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 16 '14 at 17:10









lockstep

193k53593723




193k53593723










asked Oct 16 '14 at 16:46









pdinipdini

2316




2316








  • 4





    That's the nature of the beast... when using booktabs, you need to consider reading the documentation as well. It states: "You will not go far wrong if you remember two simple guidelines at all times: 1. Never, ever use vertical rules. 2. Never use double rules."

    – Werner
    Oct 16 '14 at 16:48






  • 1





    I did @Werner (and implied as much at the beginning of my question)! But what if I happen to disagree? Perhaps there is another package you can suggest? I need the cmidrule{2-5} function...

    – pdini
    Oct 16 '14 at 16:49








  • 2





    You may disagree, of course, but then you can't use booktabs. I invite you to look at my realization of your table in this picture. I would probably remove the cmidrule{2-5} commands too. The superheavy rules are out of the question.

    – egreg
    Oct 16 '14 at 16:55








  • 2





    You don't have to use booktabs. Basic LaTeX provides cline. Please note, that it is deprecated for about 20 years now.

    – Johannes_B
    Oct 16 '14 at 17:16






  • 2





    Just use a standard cline if you are using vertical rules. Also scalebox{.8}small makes a box with just the argument small which is odd??

    – David Carlisle
    Oct 16 '14 at 17:36














  • 4





    That's the nature of the beast... when using booktabs, you need to consider reading the documentation as well. It states: "You will not go far wrong if you remember two simple guidelines at all times: 1. Never, ever use vertical rules. 2. Never use double rules."

    – Werner
    Oct 16 '14 at 16:48






  • 1





    I did @Werner (and implied as much at the beginning of my question)! But what if I happen to disagree? Perhaps there is another package you can suggest? I need the cmidrule{2-5} function...

    – pdini
    Oct 16 '14 at 16:49








  • 2





    You may disagree, of course, but then you can't use booktabs. I invite you to look at my realization of your table in this picture. I would probably remove the cmidrule{2-5} commands too. The superheavy rules are out of the question.

    – egreg
    Oct 16 '14 at 16:55








  • 2





    You don't have to use booktabs. Basic LaTeX provides cline. Please note, that it is deprecated for about 20 years now.

    – Johannes_B
    Oct 16 '14 at 17:16






  • 2





    Just use a standard cline if you are using vertical rules. Also scalebox{.8}small makes a box with just the argument small which is odd??

    – David Carlisle
    Oct 16 '14 at 17:36








4




4





That's the nature of the beast... when using booktabs, you need to consider reading the documentation as well. It states: "You will not go far wrong if you remember two simple guidelines at all times: 1. Never, ever use vertical rules. 2. Never use double rules."

– Werner
Oct 16 '14 at 16:48





That's the nature of the beast... when using booktabs, you need to consider reading the documentation as well. It states: "You will not go far wrong if you remember two simple guidelines at all times: 1. Never, ever use vertical rules. 2. Never use double rules."

– Werner
Oct 16 '14 at 16:48




1




1





I did @Werner (and implied as much at the beginning of my question)! But what if I happen to disagree? Perhaps there is another package you can suggest? I need the cmidrule{2-5} function...

– pdini
Oct 16 '14 at 16:49







I did @Werner (and implied as much at the beginning of my question)! But what if I happen to disagree? Perhaps there is another package you can suggest? I need the cmidrule{2-5} function...

– pdini
Oct 16 '14 at 16:49






2




2





You may disagree, of course, but then you can't use booktabs. I invite you to look at my realization of your table in this picture. I would probably remove the cmidrule{2-5} commands too. The superheavy rules are out of the question.

– egreg
Oct 16 '14 at 16:55







You may disagree, of course, but then you can't use booktabs. I invite you to look at my realization of your table in this picture. I would probably remove the cmidrule{2-5} commands too. The superheavy rules are out of the question.

– egreg
Oct 16 '14 at 16:55






2




2





You don't have to use booktabs. Basic LaTeX provides cline. Please note, that it is deprecated for about 20 years now.

– Johannes_B
Oct 16 '14 at 17:16





You don't have to use booktabs. Basic LaTeX provides cline. Please note, that it is deprecated for about 20 years now.

– Johannes_B
Oct 16 '14 at 17:16




2




2





Just use a standard cline if you are using vertical rules. Also scalebox{.8}small makes a box with just the argument small which is odd??

– David Carlisle
Oct 16 '14 at 17:36





Just use a standard cline if you are using vertical rules. Also scalebox{.8}small makes a box with just the argument small which is odd??

– David Carlisle
Oct 16 '14 at 17:36










3 Answers
3






active

oldest

votes


















4














You can have thick hlines with the makecell package and its Xhline{width} and Xcline{col1-col2}{width} commands. You can replace the vertical spacing added by booktabs around horizontal rules (that's responsible for non joining vertical rules) with the cellspace package; it lets you define minimal vertical spacingabove and below cells of a given column, prefixing its specifier with the letter S.



I also took the opportunity to define a set command, based on an example in the documentation of the mathtools package, that produces better horizontal spacing and variable-sized braces



documentclass{article}
usepackage{makecell}
usepackage{multirow}
usepackage{hhline}
usepackage{cellspace}
setlengthcellspacetoplimit{5pt}
setlengthcellspacebottomlimit{5pt}
usepackage{mathtools}
DeclarePairedDelimiterXset[1]{}{nonscript,#1nonscript,}

begin{document}

begin{table}[!htb]
centering
small
begin{tabular}{| Sc | >{itshape}l | Sc c c |}
hline
{bfseries HD Level} & & & & \
Xhline{2pt}
multirow{2}{*}{1} & Rep-tile: & $set{1,2}$ & $set{1,3}$ & $set{2,3}$ \
cline{2-5}
& Encoding: & 1 & 2 & 3 \
Xhline{2pt}
multirow{2}{*}{2} & Rep-tile: & $set{2}$ & $set{3}$ & \
cline{2-5}
& Encoding: & 1 & 2 & \
hline
end{tabular}
caption{smallbf Bla bla}
label{tab:SMuTexEncoding}
end{table}

end{document}


enter image description here



If you want to have coloured rules, it's more complelex: the arrayrulecolor command (from the colortbl package) doesn't work. A workaround consistsin using the hhline package, setting arrayrulewidth to 0pt and colouring the interrule space of a double rule. Demo:



begin{table}[!htb]
centering
smallarrayrulecolor{red}
begin{tabular}{| Sc | >{itshape}l | Sc c c |}
hline
{bfseries HD Level} & & & & \
Xhline{2pt}
multirow{2}{*}{1} & Rep-tile: & $set{1,2}$ & $set{1,3}$ & $set{2,3}$ \
cline{2-5}
& Encoding: & 1 & 2 & 3 \
Xhline{2pt}
multirow{2}{*}{2} & Rep-tile: & $set{2}$ & $set{3}$ & \
cline{2-5}
& Encoding: & 1 & 2 & \
hhline{>{arrayrulewidth = 0ptdoublerulesep = 2pt doublerulesepcolor{red}}=====}
end{tabular}
caption{smallbf Bla bla}
label{tab:SMuTexEncoding}
end{table}


enter image description here






share|improve this answer


























  • Very nice, that's what I was looking for. Thank you.

    – pdini
    Oct 16 '14 at 21:44











  • @pdini: Just in case, note it doesn't work for coloured rules. A workaround consists in using hhline. You can take a look at my updated answer.

    – Bernard
    Oct 16 '14 at 22:08











  • Needed to say, I would reject both these tables as a copy editor. But I know, it's not the question here. :(

    – yo'
    Oct 17 '14 at 7:45











  • @tohecz. I agree with. The second one is only to illustrate the problem of Xh/cline with colour. However, I've some special cases where a table required vertical and horizontal lines — I mean they were meaningful.

    – Bernard
    Oct 17 '14 at 8:12











  • Thanks @Bernard, that looks very nice too. Good to know I can create coloured tables.

    – pdini
    Oct 17 '14 at 9:32



















4














I would never do what I did in the first table, but it is your choice, not mine. I just offer a much nicer alternative. However, please:




  • Do not use it and bf: Does it matter if I use textit or it, bfseries or bf, etc

  • Do not manually modify the size of the table nor the style of the caption, it's not semantic. What if you later decide that the captions should not be bold, but you've already add bfseries to 50 captions? Are you going to remove them by hand? Well, you'll have to. Or you use packages that modify the styles globally. (Both things can be found on this website, however, simply look into the documentation of packages caption and float.)

  • Do not specify [h] float placement alone, you can expect bad things happening.


  • centering is not an environment, it is a command: centering.

  • Your scalebox has no effect whatsoever since the thing you scale is the macro small, which doesn't output anything. Use either scalebox or small (or rather none of them).




documentclass{article}

usepackage{array}
newcolumntype{C}{>{rule[-1.5ex]{0pt}{4.5ex}}c}

makeatletter
defHline{% a thicker hline
noalign{ifnum0=`}fihrule @height 1pt futurelet
reserved@a@xhline}
makeatother

usepackage{booktabs}
newcommandMidrule{midrule[heavyrulewidth]}

begin{document}

begin{table}
centering
begin{tabular}{| c | l @{qquad} | c c C |}
Hline
bfseries HD Level &&&&\
hline
1 & itshape Rep-tile: & ${1,2}$ & ${1,3}$ & ${2,3}$ \
cline{2-5}
& itshape Encoding: & 1 & 2 & 3 \
Hline
2 & itshape Rep-tile: & ${2}$ & ${3}$ & \
cline{2-5}
& itshape Encoding: & 1 & 2 & \
Hline
end{tabular}
caption{Bla bla}
label{tab:SMuTexEncoding}
end{table}


begin{table}
centering
begin{tabular}{ c >{itshape}l c c c }toprule
bfseries HD Level\Midrule
1 & Rep-tile: & ${1,2}$ & ${1,3}$ & ${2,3}$ \cmidrule{2-5}
& Encoding: & 1 & 2 & 3 \Midrule
2 & Rep-tile: & ${2}$ & ${3}$ & \cmidrule{2-5}
& Encoding: & 1 & 2 & \bottomrule
end{tabular}
caption{Bla bla}
label{tab:SMuTexEncoding}
end{table}

end{document}





share|improve this answer


























  • Thanks very much @tohecz. I guess you can probably date me from my coding 'style': i started using TeX in 1986, and never quite got used to LaTeX! I will keep in mind the other points you made, although I don't quite understand them (what's so bad about bf? etc). I was able to do a table without vertical lines too, and using the multirow function, and I have to admit I am getting used to the look. It's nicer than the one you kindly put together for me and have very clearly disowned :)

    – pdini
    Oct 16 '14 at 19:40













  • @pdini see Does it matter if I use textit or it, bfseries or bf, etc

    – yo'
    Oct 17 '14 at 7:43













  • I see! Interesting. I had in fact wondered why it was not possible to get bold italicised text. I'll start using the proper commands then. Thanks @tohecz

    – pdini
    Oct 17 '14 at 9:30



















0














use cline{i-j} instead of hline





share








New contributor




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





















    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%2f207495%2fmidrule-splits-vertical-lines-in-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









    4














    You can have thick hlines with the makecell package and its Xhline{width} and Xcline{col1-col2}{width} commands. You can replace the vertical spacing added by booktabs around horizontal rules (that's responsible for non joining vertical rules) with the cellspace package; it lets you define minimal vertical spacingabove and below cells of a given column, prefixing its specifier with the letter S.



    I also took the opportunity to define a set command, based on an example in the documentation of the mathtools package, that produces better horizontal spacing and variable-sized braces



    documentclass{article}
    usepackage{makecell}
    usepackage{multirow}
    usepackage{hhline}
    usepackage{cellspace}
    setlengthcellspacetoplimit{5pt}
    setlengthcellspacebottomlimit{5pt}
    usepackage{mathtools}
    DeclarePairedDelimiterXset[1]{}{nonscript,#1nonscript,}

    begin{document}

    begin{table}[!htb]
    centering
    small
    begin{tabular}{| Sc | >{itshape}l | Sc c c |}
    hline
    {bfseries HD Level} & & & & \
    Xhline{2pt}
    multirow{2}{*}{1} & Rep-tile: & $set{1,2}$ & $set{1,3}$ & $set{2,3}$ \
    cline{2-5}
    & Encoding: & 1 & 2 & 3 \
    Xhline{2pt}
    multirow{2}{*}{2} & Rep-tile: & $set{2}$ & $set{3}$ & \
    cline{2-5}
    & Encoding: & 1 & 2 & \
    hline
    end{tabular}
    caption{smallbf Bla bla}
    label{tab:SMuTexEncoding}
    end{table}

    end{document}


    enter image description here



    If you want to have coloured rules, it's more complelex: the arrayrulecolor command (from the colortbl package) doesn't work. A workaround consistsin using the hhline package, setting arrayrulewidth to 0pt and colouring the interrule space of a double rule. Demo:



    begin{table}[!htb]
    centering
    smallarrayrulecolor{red}
    begin{tabular}{| Sc | >{itshape}l | Sc c c |}
    hline
    {bfseries HD Level} & & & & \
    Xhline{2pt}
    multirow{2}{*}{1} & Rep-tile: & $set{1,2}$ & $set{1,3}$ & $set{2,3}$ \
    cline{2-5}
    & Encoding: & 1 & 2 & 3 \
    Xhline{2pt}
    multirow{2}{*}{2} & Rep-tile: & $set{2}$ & $set{3}$ & \
    cline{2-5}
    & Encoding: & 1 & 2 & \
    hhline{>{arrayrulewidth = 0ptdoublerulesep = 2pt doublerulesepcolor{red}}=====}
    end{tabular}
    caption{smallbf Bla bla}
    label{tab:SMuTexEncoding}
    end{table}


    enter image description here






    share|improve this answer


























    • Very nice, that's what I was looking for. Thank you.

      – pdini
      Oct 16 '14 at 21:44











    • @pdini: Just in case, note it doesn't work for coloured rules. A workaround consists in using hhline. You can take a look at my updated answer.

      – Bernard
      Oct 16 '14 at 22:08











    • Needed to say, I would reject both these tables as a copy editor. But I know, it's not the question here. :(

      – yo'
      Oct 17 '14 at 7:45











    • @tohecz. I agree with. The second one is only to illustrate the problem of Xh/cline with colour. However, I've some special cases where a table required vertical and horizontal lines — I mean they were meaningful.

      – Bernard
      Oct 17 '14 at 8:12











    • Thanks @Bernard, that looks very nice too. Good to know I can create coloured tables.

      – pdini
      Oct 17 '14 at 9:32
















    4














    You can have thick hlines with the makecell package and its Xhline{width} and Xcline{col1-col2}{width} commands. You can replace the vertical spacing added by booktabs around horizontal rules (that's responsible for non joining vertical rules) with the cellspace package; it lets you define minimal vertical spacingabove and below cells of a given column, prefixing its specifier with the letter S.



    I also took the opportunity to define a set command, based on an example in the documentation of the mathtools package, that produces better horizontal spacing and variable-sized braces



    documentclass{article}
    usepackage{makecell}
    usepackage{multirow}
    usepackage{hhline}
    usepackage{cellspace}
    setlengthcellspacetoplimit{5pt}
    setlengthcellspacebottomlimit{5pt}
    usepackage{mathtools}
    DeclarePairedDelimiterXset[1]{}{nonscript,#1nonscript,}

    begin{document}

    begin{table}[!htb]
    centering
    small
    begin{tabular}{| Sc | >{itshape}l | Sc c c |}
    hline
    {bfseries HD Level} & & & & \
    Xhline{2pt}
    multirow{2}{*}{1} & Rep-tile: & $set{1,2}$ & $set{1,3}$ & $set{2,3}$ \
    cline{2-5}
    & Encoding: & 1 & 2 & 3 \
    Xhline{2pt}
    multirow{2}{*}{2} & Rep-tile: & $set{2}$ & $set{3}$ & \
    cline{2-5}
    & Encoding: & 1 & 2 & \
    hline
    end{tabular}
    caption{smallbf Bla bla}
    label{tab:SMuTexEncoding}
    end{table}

    end{document}


    enter image description here



    If you want to have coloured rules, it's more complelex: the arrayrulecolor command (from the colortbl package) doesn't work. A workaround consistsin using the hhline package, setting arrayrulewidth to 0pt and colouring the interrule space of a double rule. Demo:



    begin{table}[!htb]
    centering
    smallarrayrulecolor{red}
    begin{tabular}{| Sc | >{itshape}l | Sc c c |}
    hline
    {bfseries HD Level} & & & & \
    Xhline{2pt}
    multirow{2}{*}{1} & Rep-tile: & $set{1,2}$ & $set{1,3}$ & $set{2,3}$ \
    cline{2-5}
    & Encoding: & 1 & 2 & 3 \
    Xhline{2pt}
    multirow{2}{*}{2} & Rep-tile: & $set{2}$ & $set{3}$ & \
    cline{2-5}
    & Encoding: & 1 & 2 & \
    hhline{>{arrayrulewidth = 0ptdoublerulesep = 2pt doublerulesepcolor{red}}=====}
    end{tabular}
    caption{smallbf Bla bla}
    label{tab:SMuTexEncoding}
    end{table}


    enter image description here






    share|improve this answer


























    • Very nice, that's what I was looking for. Thank you.

      – pdini
      Oct 16 '14 at 21:44











    • @pdini: Just in case, note it doesn't work for coloured rules. A workaround consists in using hhline. You can take a look at my updated answer.

      – Bernard
      Oct 16 '14 at 22:08











    • Needed to say, I would reject both these tables as a copy editor. But I know, it's not the question here. :(

      – yo'
      Oct 17 '14 at 7:45











    • @tohecz. I agree with. The second one is only to illustrate the problem of Xh/cline with colour. However, I've some special cases where a table required vertical and horizontal lines — I mean they were meaningful.

      – Bernard
      Oct 17 '14 at 8:12











    • Thanks @Bernard, that looks very nice too. Good to know I can create coloured tables.

      – pdini
      Oct 17 '14 at 9:32














    4












    4








    4







    You can have thick hlines with the makecell package and its Xhline{width} and Xcline{col1-col2}{width} commands. You can replace the vertical spacing added by booktabs around horizontal rules (that's responsible for non joining vertical rules) with the cellspace package; it lets you define minimal vertical spacingabove and below cells of a given column, prefixing its specifier with the letter S.



    I also took the opportunity to define a set command, based on an example in the documentation of the mathtools package, that produces better horizontal spacing and variable-sized braces



    documentclass{article}
    usepackage{makecell}
    usepackage{multirow}
    usepackage{hhline}
    usepackage{cellspace}
    setlengthcellspacetoplimit{5pt}
    setlengthcellspacebottomlimit{5pt}
    usepackage{mathtools}
    DeclarePairedDelimiterXset[1]{}{nonscript,#1nonscript,}

    begin{document}

    begin{table}[!htb]
    centering
    small
    begin{tabular}{| Sc | >{itshape}l | Sc c c |}
    hline
    {bfseries HD Level} & & & & \
    Xhline{2pt}
    multirow{2}{*}{1} & Rep-tile: & $set{1,2}$ & $set{1,3}$ & $set{2,3}$ \
    cline{2-5}
    & Encoding: & 1 & 2 & 3 \
    Xhline{2pt}
    multirow{2}{*}{2} & Rep-tile: & $set{2}$ & $set{3}$ & \
    cline{2-5}
    & Encoding: & 1 & 2 & \
    hline
    end{tabular}
    caption{smallbf Bla bla}
    label{tab:SMuTexEncoding}
    end{table}

    end{document}


    enter image description here



    If you want to have coloured rules, it's more complelex: the arrayrulecolor command (from the colortbl package) doesn't work. A workaround consistsin using the hhline package, setting arrayrulewidth to 0pt and colouring the interrule space of a double rule. Demo:



    begin{table}[!htb]
    centering
    smallarrayrulecolor{red}
    begin{tabular}{| Sc | >{itshape}l | Sc c c |}
    hline
    {bfseries HD Level} & & & & \
    Xhline{2pt}
    multirow{2}{*}{1} & Rep-tile: & $set{1,2}$ & $set{1,3}$ & $set{2,3}$ \
    cline{2-5}
    & Encoding: & 1 & 2 & 3 \
    Xhline{2pt}
    multirow{2}{*}{2} & Rep-tile: & $set{2}$ & $set{3}$ & \
    cline{2-5}
    & Encoding: & 1 & 2 & \
    hhline{>{arrayrulewidth = 0ptdoublerulesep = 2pt doublerulesepcolor{red}}=====}
    end{tabular}
    caption{smallbf Bla bla}
    label{tab:SMuTexEncoding}
    end{table}


    enter image description here






    share|improve this answer















    You can have thick hlines with the makecell package and its Xhline{width} and Xcline{col1-col2}{width} commands. You can replace the vertical spacing added by booktabs around horizontal rules (that's responsible for non joining vertical rules) with the cellspace package; it lets you define minimal vertical spacingabove and below cells of a given column, prefixing its specifier with the letter S.



    I also took the opportunity to define a set command, based on an example in the documentation of the mathtools package, that produces better horizontal spacing and variable-sized braces



    documentclass{article}
    usepackage{makecell}
    usepackage{multirow}
    usepackage{hhline}
    usepackage{cellspace}
    setlengthcellspacetoplimit{5pt}
    setlengthcellspacebottomlimit{5pt}
    usepackage{mathtools}
    DeclarePairedDelimiterXset[1]{}{nonscript,#1nonscript,}

    begin{document}

    begin{table}[!htb]
    centering
    small
    begin{tabular}{| Sc | >{itshape}l | Sc c c |}
    hline
    {bfseries HD Level} & & & & \
    Xhline{2pt}
    multirow{2}{*}{1} & Rep-tile: & $set{1,2}$ & $set{1,3}$ & $set{2,3}$ \
    cline{2-5}
    & Encoding: & 1 & 2 & 3 \
    Xhline{2pt}
    multirow{2}{*}{2} & Rep-tile: & $set{2}$ & $set{3}$ & \
    cline{2-5}
    & Encoding: & 1 & 2 & \
    hline
    end{tabular}
    caption{smallbf Bla bla}
    label{tab:SMuTexEncoding}
    end{table}

    end{document}


    enter image description here



    If you want to have coloured rules, it's more complelex: the arrayrulecolor command (from the colortbl package) doesn't work. A workaround consistsin using the hhline package, setting arrayrulewidth to 0pt and colouring the interrule space of a double rule. Demo:



    begin{table}[!htb]
    centering
    smallarrayrulecolor{red}
    begin{tabular}{| Sc | >{itshape}l | Sc c c |}
    hline
    {bfseries HD Level} & & & & \
    Xhline{2pt}
    multirow{2}{*}{1} & Rep-tile: & $set{1,2}$ & $set{1,3}$ & $set{2,3}$ \
    cline{2-5}
    & Encoding: & 1 & 2 & 3 \
    Xhline{2pt}
    multirow{2}{*}{2} & Rep-tile: & $set{2}$ & $set{3}$ & \
    cline{2-5}
    & Encoding: & 1 & 2 & \
    hhline{>{arrayrulewidth = 0ptdoublerulesep = 2pt doublerulesepcolor{red}}=====}
    end{tabular}
    caption{smallbf Bla bla}
    label{tab:SMuTexEncoding}
    end{table}


    enter image description here







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Oct 16 '14 at 22:05

























    answered Oct 16 '14 at 21:36









    BernardBernard

    175k776207




    175k776207













    • Very nice, that's what I was looking for. Thank you.

      – pdini
      Oct 16 '14 at 21:44











    • @pdini: Just in case, note it doesn't work for coloured rules. A workaround consists in using hhline. You can take a look at my updated answer.

      – Bernard
      Oct 16 '14 at 22:08











    • Needed to say, I would reject both these tables as a copy editor. But I know, it's not the question here. :(

      – yo'
      Oct 17 '14 at 7:45











    • @tohecz. I agree with. The second one is only to illustrate the problem of Xh/cline with colour. However, I've some special cases where a table required vertical and horizontal lines — I mean they were meaningful.

      – Bernard
      Oct 17 '14 at 8:12











    • Thanks @Bernard, that looks very nice too. Good to know I can create coloured tables.

      – pdini
      Oct 17 '14 at 9:32



















    • Very nice, that's what I was looking for. Thank you.

      – pdini
      Oct 16 '14 at 21:44











    • @pdini: Just in case, note it doesn't work for coloured rules. A workaround consists in using hhline. You can take a look at my updated answer.

      – Bernard
      Oct 16 '14 at 22:08











    • Needed to say, I would reject both these tables as a copy editor. But I know, it's not the question here. :(

      – yo'
      Oct 17 '14 at 7:45











    • @tohecz. I agree with. The second one is only to illustrate the problem of Xh/cline with colour. However, I've some special cases where a table required vertical and horizontal lines — I mean they were meaningful.

      – Bernard
      Oct 17 '14 at 8:12











    • Thanks @Bernard, that looks very nice too. Good to know I can create coloured tables.

      – pdini
      Oct 17 '14 at 9:32

















    Very nice, that's what I was looking for. Thank you.

    – pdini
    Oct 16 '14 at 21:44





    Very nice, that's what I was looking for. Thank you.

    – pdini
    Oct 16 '14 at 21:44













    @pdini: Just in case, note it doesn't work for coloured rules. A workaround consists in using hhline. You can take a look at my updated answer.

    – Bernard
    Oct 16 '14 at 22:08





    @pdini: Just in case, note it doesn't work for coloured rules. A workaround consists in using hhline. You can take a look at my updated answer.

    – Bernard
    Oct 16 '14 at 22:08













    Needed to say, I would reject both these tables as a copy editor. But I know, it's not the question here. :(

    – yo'
    Oct 17 '14 at 7:45





    Needed to say, I would reject both these tables as a copy editor. But I know, it's not the question here. :(

    – yo'
    Oct 17 '14 at 7:45













    @tohecz. I agree with. The second one is only to illustrate the problem of Xh/cline with colour. However, I've some special cases where a table required vertical and horizontal lines — I mean they were meaningful.

    – Bernard
    Oct 17 '14 at 8:12





    @tohecz. I agree with. The second one is only to illustrate the problem of Xh/cline with colour. However, I've some special cases where a table required vertical and horizontal lines — I mean they were meaningful.

    – Bernard
    Oct 17 '14 at 8:12













    Thanks @Bernard, that looks very nice too. Good to know I can create coloured tables.

    – pdini
    Oct 17 '14 at 9:32





    Thanks @Bernard, that looks very nice too. Good to know I can create coloured tables.

    – pdini
    Oct 17 '14 at 9:32











    4














    I would never do what I did in the first table, but it is your choice, not mine. I just offer a much nicer alternative. However, please:




    • Do not use it and bf: Does it matter if I use textit or it, bfseries or bf, etc

    • Do not manually modify the size of the table nor the style of the caption, it's not semantic. What if you later decide that the captions should not be bold, but you've already add bfseries to 50 captions? Are you going to remove them by hand? Well, you'll have to. Or you use packages that modify the styles globally. (Both things can be found on this website, however, simply look into the documentation of packages caption and float.)

    • Do not specify [h] float placement alone, you can expect bad things happening.


    • centering is not an environment, it is a command: centering.

    • Your scalebox has no effect whatsoever since the thing you scale is the macro small, which doesn't output anything. Use either scalebox or small (or rather none of them).




    documentclass{article}

    usepackage{array}
    newcolumntype{C}{>{rule[-1.5ex]{0pt}{4.5ex}}c}

    makeatletter
    defHline{% a thicker hline
    noalign{ifnum0=`}fihrule @height 1pt futurelet
    reserved@a@xhline}
    makeatother

    usepackage{booktabs}
    newcommandMidrule{midrule[heavyrulewidth]}

    begin{document}

    begin{table}
    centering
    begin{tabular}{| c | l @{qquad} | c c C |}
    Hline
    bfseries HD Level &&&&\
    hline
    1 & itshape Rep-tile: & ${1,2}$ & ${1,3}$ & ${2,3}$ \
    cline{2-5}
    & itshape Encoding: & 1 & 2 & 3 \
    Hline
    2 & itshape Rep-tile: & ${2}$ & ${3}$ & \
    cline{2-5}
    & itshape Encoding: & 1 & 2 & \
    Hline
    end{tabular}
    caption{Bla bla}
    label{tab:SMuTexEncoding}
    end{table}


    begin{table}
    centering
    begin{tabular}{ c >{itshape}l c c c }toprule
    bfseries HD Level\Midrule
    1 & Rep-tile: & ${1,2}$ & ${1,3}$ & ${2,3}$ \cmidrule{2-5}
    & Encoding: & 1 & 2 & 3 \Midrule
    2 & Rep-tile: & ${2}$ & ${3}$ & \cmidrule{2-5}
    & Encoding: & 1 & 2 & \bottomrule
    end{tabular}
    caption{Bla bla}
    label{tab:SMuTexEncoding}
    end{table}

    end{document}





    share|improve this answer


























    • Thanks very much @tohecz. I guess you can probably date me from my coding 'style': i started using TeX in 1986, and never quite got used to LaTeX! I will keep in mind the other points you made, although I don't quite understand them (what's so bad about bf? etc). I was able to do a table without vertical lines too, and using the multirow function, and I have to admit I am getting used to the look. It's nicer than the one you kindly put together for me and have very clearly disowned :)

      – pdini
      Oct 16 '14 at 19:40













    • @pdini see Does it matter if I use textit or it, bfseries or bf, etc

      – yo'
      Oct 17 '14 at 7:43













    • I see! Interesting. I had in fact wondered why it was not possible to get bold italicised text. I'll start using the proper commands then. Thanks @tohecz

      – pdini
      Oct 17 '14 at 9:30
















    4














    I would never do what I did in the first table, but it is your choice, not mine. I just offer a much nicer alternative. However, please:




    • Do not use it and bf: Does it matter if I use textit or it, bfseries or bf, etc

    • Do not manually modify the size of the table nor the style of the caption, it's not semantic. What if you later decide that the captions should not be bold, but you've already add bfseries to 50 captions? Are you going to remove them by hand? Well, you'll have to. Or you use packages that modify the styles globally. (Both things can be found on this website, however, simply look into the documentation of packages caption and float.)

    • Do not specify [h] float placement alone, you can expect bad things happening.


    • centering is not an environment, it is a command: centering.

    • Your scalebox has no effect whatsoever since the thing you scale is the macro small, which doesn't output anything. Use either scalebox or small (or rather none of them).




    documentclass{article}

    usepackage{array}
    newcolumntype{C}{>{rule[-1.5ex]{0pt}{4.5ex}}c}

    makeatletter
    defHline{% a thicker hline
    noalign{ifnum0=`}fihrule @height 1pt futurelet
    reserved@a@xhline}
    makeatother

    usepackage{booktabs}
    newcommandMidrule{midrule[heavyrulewidth]}

    begin{document}

    begin{table}
    centering
    begin{tabular}{| c | l @{qquad} | c c C |}
    Hline
    bfseries HD Level &&&&\
    hline
    1 & itshape Rep-tile: & ${1,2}$ & ${1,3}$ & ${2,3}$ \
    cline{2-5}
    & itshape Encoding: & 1 & 2 & 3 \
    Hline
    2 & itshape Rep-tile: & ${2}$ & ${3}$ & \
    cline{2-5}
    & itshape Encoding: & 1 & 2 & \
    Hline
    end{tabular}
    caption{Bla bla}
    label{tab:SMuTexEncoding}
    end{table}


    begin{table}
    centering
    begin{tabular}{ c >{itshape}l c c c }toprule
    bfseries HD Level\Midrule
    1 & Rep-tile: & ${1,2}$ & ${1,3}$ & ${2,3}$ \cmidrule{2-5}
    & Encoding: & 1 & 2 & 3 \Midrule
    2 & Rep-tile: & ${2}$ & ${3}$ & \cmidrule{2-5}
    & Encoding: & 1 & 2 & \bottomrule
    end{tabular}
    caption{Bla bla}
    label{tab:SMuTexEncoding}
    end{table}

    end{document}





    share|improve this answer


























    • Thanks very much @tohecz. I guess you can probably date me from my coding 'style': i started using TeX in 1986, and never quite got used to LaTeX! I will keep in mind the other points you made, although I don't quite understand them (what's so bad about bf? etc). I was able to do a table without vertical lines too, and using the multirow function, and I have to admit I am getting used to the look. It's nicer than the one you kindly put together for me and have very clearly disowned :)

      – pdini
      Oct 16 '14 at 19:40













    • @pdini see Does it matter if I use textit or it, bfseries or bf, etc

      – yo'
      Oct 17 '14 at 7:43













    • I see! Interesting. I had in fact wondered why it was not possible to get bold italicised text. I'll start using the proper commands then. Thanks @tohecz

      – pdini
      Oct 17 '14 at 9:30














    4












    4








    4







    I would never do what I did in the first table, but it is your choice, not mine. I just offer a much nicer alternative. However, please:




    • Do not use it and bf: Does it matter if I use textit or it, bfseries or bf, etc

    • Do not manually modify the size of the table nor the style of the caption, it's not semantic. What if you later decide that the captions should not be bold, but you've already add bfseries to 50 captions? Are you going to remove them by hand? Well, you'll have to. Or you use packages that modify the styles globally. (Both things can be found on this website, however, simply look into the documentation of packages caption and float.)

    • Do not specify [h] float placement alone, you can expect bad things happening.


    • centering is not an environment, it is a command: centering.

    • Your scalebox has no effect whatsoever since the thing you scale is the macro small, which doesn't output anything. Use either scalebox or small (or rather none of them).




    documentclass{article}

    usepackage{array}
    newcolumntype{C}{>{rule[-1.5ex]{0pt}{4.5ex}}c}

    makeatletter
    defHline{% a thicker hline
    noalign{ifnum0=`}fihrule @height 1pt futurelet
    reserved@a@xhline}
    makeatother

    usepackage{booktabs}
    newcommandMidrule{midrule[heavyrulewidth]}

    begin{document}

    begin{table}
    centering
    begin{tabular}{| c | l @{qquad} | c c C |}
    Hline
    bfseries HD Level &&&&\
    hline
    1 & itshape Rep-tile: & ${1,2}$ & ${1,3}$ & ${2,3}$ \
    cline{2-5}
    & itshape Encoding: & 1 & 2 & 3 \
    Hline
    2 & itshape Rep-tile: & ${2}$ & ${3}$ & \
    cline{2-5}
    & itshape Encoding: & 1 & 2 & \
    Hline
    end{tabular}
    caption{Bla bla}
    label{tab:SMuTexEncoding}
    end{table}


    begin{table}
    centering
    begin{tabular}{ c >{itshape}l c c c }toprule
    bfseries HD Level\Midrule
    1 & Rep-tile: & ${1,2}$ & ${1,3}$ & ${2,3}$ \cmidrule{2-5}
    & Encoding: & 1 & 2 & 3 \Midrule
    2 & Rep-tile: & ${2}$ & ${3}$ & \cmidrule{2-5}
    & Encoding: & 1 & 2 & \bottomrule
    end{tabular}
    caption{Bla bla}
    label{tab:SMuTexEncoding}
    end{table}

    end{document}





    share|improve this answer















    I would never do what I did in the first table, but it is your choice, not mine. I just offer a much nicer alternative. However, please:




    • Do not use it and bf: Does it matter if I use textit or it, bfseries or bf, etc

    • Do not manually modify the size of the table nor the style of the caption, it's not semantic. What if you later decide that the captions should not be bold, but you've already add bfseries to 50 captions? Are you going to remove them by hand? Well, you'll have to. Or you use packages that modify the styles globally. (Both things can be found on this website, however, simply look into the documentation of packages caption and float.)

    • Do not specify [h] float placement alone, you can expect bad things happening.


    • centering is not an environment, it is a command: centering.

    • Your scalebox has no effect whatsoever since the thing you scale is the macro small, which doesn't output anything. Use either scalebox or small (or rather none of them).




    documentclass{article}

    usepackage{array}
    newcolumntype{C}{>{rule[-1.5ex]{0pt}{4.5ex}}c}

    makeatletter
    defHline{% a thicker hline
    noalign{ifnum0=`}fihrule @height 1pt futurelet
    reserved@a@xhline}
    makeatother

    usepackage{booktabs}
    newcommandMidrule{midrule[heavyrulewidth]}

    begin{document}

    begin{table}
    centering
    begin{tabular}{| c | l @{qquad} | c c C |}
    Hline
    bfseries HD Level &&&&\
    hline
    1 & itshape Rep-tile: & ${1,2}$ & ${1,3}$ & ${2,3}$ \
    cline{2-5}
    & itshape Encoding: & 1 & 2 & 3 \
    Hline
    2 & itshape Rep-tile: & ${2}$ & ${3}$ & \
    cline{2-5}
    & itshape Encoding: & 1 & 2 & \
    Hline
    end{tabular}
    caption{Bla bla}
    label{tab:SMuTexEncoding}
    end{table}


    begin{table}
    centering
    begin{tabular}{ c >{itshape}l c c c }toprule
    bfseries HD Level\Midrule
    1 & Rep-tile: & ${1,2}$ & ${1,3}$ & ${2,3}$ \cmidrule{2-5}
    & Encoding: & 1 & 2 & 3 \Midrule
    2 & Rep-tile: & ${2}$ & ${3}$ & \cmidrule{2-5}
    & Encoding: & 1 & 2 & \bottomrule
    end{tabular}
    caption{Bla bla}
    label{tab:SMuTexEncoding}
    end{table}

    end{document}






    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Apr 13 '17 at 12:35









    Community

    1




    1










    answered Oct 16 '14 at 17:36









    yo'yo'

    39.7k8124233




    39.7k8124233













    • Thanks very much @tohecz. I guess you can probably date me from my coding 'style': i started using TeX in 1986, and never quite got used to LaTeX! I will keep in mind the other points you made, although I don't quite understand them (what's so bad about bf? etc). I was able to do a table without vertical lines too, and using the multirow function, and I have to admit I am getting used to the look. It's nicer than the one you kindly put together for me and have very clearly disowned :)

      – pdini
      Oct 16 '14 at 19:40













    • @pdini see Does it matter if I use textit or it, bfseries or bf, etc

      – yo'
      Oct 17 '14 at 7:43













    • I see! Interesting. I had in fact wondered why it was not possible to get bold italicised text. I'll start using the proper commands then. Thanks @tohecz

      – pdini
      Oct 17 '14 at 9:30



















    • Thanks very much @tohecz. I guess you can probably date me from my coding 'style': i started using TeX in 1986, and never quite got used to LaTeX! I will keep in mind the other points you made, although I don't quite understand them (what's so bad about bf? etc). I was able to do a table without vertical lines too, and using the multirow function, and I have to admit I am getting used to the look. It's nicer than the one you kindly put together for me and have very clearly disowned :)

      – pdini
      Oct 16 '14 at 19:40













    • @pdini see Does it matter if I use textit or it, bfseries or bf, etc

      – yo'
      Oct 17 '14 at 7:43













    • I see! Interesting. I had in fact wondered why it was not possible to get bold italicised text. I'll start using the proper commands then. Thanks @tohecz

      – pdini
      Oct 17 '14 at 9:30

















    Thanks very much @tohecz. I guess you can probably date me from my coding 'style': i started using TeX in 1986, and never quite got used to LaTeX! I will keep in mind the other points you made, although I don't quite understand them (what's so bad about bf? etc). I was able to do a table without vertical lines too, and using the multirow function, and I have to admit I am getting used to the look. It's nicer than the one you kindly put together for me and have very clearly disowned :)

    – pdini
    Oct 16 '14 at 19:40







    Thanks very much @tohecz. I guess you can probably date me from my coding 'style': i started using TeX in 1986, and never quite got used to LaTeX! I will keep in mind the other points you made, although I don't quite understand them (what's so bad about bf? etc). I was able to do a table without vertical lines too, and using the multirow function, and I have to admit I am getting used to the look. It's nicer than the one you kindly put together for me and have very clearly disowned :)

    – pdini
    Oct 16 '14 at 19:40















    @pdini see Does it matter if I use textit or it, bfseries or bf, etc

    – yo'
    Oct 17 '14 at 7:43







    @pdini see Does it matter if I use textit or it, bfseries or bf, etc

    – yo'
    Oct 17 '14 at 7:43















    I see! Interesting. I had in fact wondered why it was not possible to get bold italicised text. I'll start using the proper commands then. Thanks @tohecz

    – pdini
    Oct 17 '14 at 9:30





    I see! Interesting. I had in fact wondered why it was not possible to get bold italicised text. I'll start using the proper commands then. Thanks @tohecz

    – pdini
    Oct 17 '14 at 9:30











    0














    use cline{i-j} instead of hline





    share








    New contributor




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

























      0














      use cline{i-j} instead of hline





      share








      New contributor




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























        0












        0








        0







        use cline{i-j} instead of hline





        share








        New contributor




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










        use cline{i-j} instead of hline






        share








        New contributor




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








        share


        share






        New contributor




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









        answered 1 min ago









        Dubacharla GyaneshwarDubacharla Gyaneshwar

        1




        1




        New contributor




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





        New contributor





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






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






























            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%2f207495%2fmidrule-splits-vertical-lines-in-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

            Can't compile dgruyter and caption packagesLaTeX templates/packages for writing a patent specificationLatex...

            Schneeberg (Smreczany) Bibliografia | Menu...

            Hans Bellmer Spis treści Życiorys | Upamiętnienie | Przypisy | Bibliografia | Linki zewnętrzne |...