midrule splits vertical lines in tableDoes 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
Arrow those variables!
Is it possible to create light that imparts a greater proportion of its energy as momentum rather than heat?
Is it legal for company to use my work email to pretend I still work there?
How can I fix/modify my tub/shower combo so the water comes out of the showerhead?
AES: Why is it a good practice to use only the first 16bytes of a hash for encryption?
A reference to a well-known characterization of scattered compact spaces
Is there a hemisphere-neutral way of specifying a season?
How can I make my BBEG immortal short of making them a Lich or Vampire?
Today is the Center
Why are electrically insulating heatsinks so rare? Is it just cost?
Is the Joker left-handed?
Took a trip to a parallel universe, need help deciphering
Stopping power of mountain vs road bike
What to put in ESTA if staying in US for a few days before going on to Canada
SSH "lag" in LAN on some machines, mixed distros
What is the word for reserving something for yourself before others do?
Can I ask the recruiters in my resume to put the reason why I am rejected?
Theorems that impeded progress
In Romance of the Three Kingdoms why do people still use bamboo sticks when paper had already been invented?
CEO ridiculed me with gay jokes and grabbed me and wouldn't let go - now getting pushed out of company
Brothers & sisters
Why was the shrinking from 8″ made only to 5.25″ and not smaller (4″ or less)?
How do conventional missiles fly?
Why is the 'in' operator throwing an error with a string literal instead of logging false?
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
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:
Is it possible to join all the vertical lines?
Here is the code:
begintable[h]
begincentering
scalebox.8
small
begintabular c
hline
bf HD Level & & & & \
midrule[2pt]
multirow2*1 & it Rep-tile: & $1,2$ & $1,3$ & $2,3$ \
cmidrule2-5
& it Encoding: & 1 & 2 & 3 \
midrule[2pt]
multirow2*2 & it Rep-tile: & $2$ & $3$ & \
cmidrule2-5
& it Encoding: & 1 & 2 & \
hline
endtabular
captionsmallbf Bla bla
labeltab:SMuTexEncoding
endcentering
endtable
Many thanks.
tables rules booktabs
|
show 8 more comments
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:
Is it possible to join all the vertical lines?
Here is the code:
begintable[h]
begincentering
scalebox.8
small
begintabular c
hline
bf HD Level & & & & \
midrule[2pt]
multirow2*1 & it Rep-tile: & $1,2$ & $1,3$ & $2,3$ \
cmidrule2-5
& it Encoding: & 1 & 2 & 3 \
midrule[2pt]
multirow2*2 & it Rep-tile: & $2$ & $3$ & \
cmidrule2-5
& it Encoding: & 1 & 2 & \
hline
endtabular
captionsmallbf Bla bla
labeltab:SMuTexEncoding
endcentering
endtable
Many thanks.
tables rules booktabs
4
That's the nature of the beast... when usingbooktabs
, 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 cmidrule2-5 function...
– pdini
Oct 16 '14 at 16:49
2
You may disagree, of course, but then you can't usebooktabs
. I invite you to look at my realization of your table in this picture. I would probably remove thecmidrule2-5
commands too. The superheavy rules are out of the question.
– egreg
Oct 16 '14 at 16:55
2
You don't have to usebooktabs
. Basic LaTeX providescline
. Please note, thatit
is deprecated for about 20 years now.
– Johannes_B
Oct 16 '14 at 17:16
2
Just use a standardcline
if you are using vertical rules. Alsoscalebox.8small
makes a box with just the argumentsmall
which is odd??
– David Carlisle
Oct 16 '14 at 17:36
|
show 8 more comments
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:
Is it possible to join all the vertical lines?
Here is the code:
begintable[h]
begincentering
scalebox.8
small
begintabular c
hline
bf HD Level & & & & \
midrule[2pt]
multirow2*1 & it Rep-tile: & $1,2$ & $1,3$ & $2,3$ \
cmidrule2-5
& it Encoding: & 1 & 2 & 3 \
midrule[2pt]
multirow2*2 & it Rep-tile: & $2$ & $3$ & \
cmidrule2-5
& it Encoding: & 1 & 2 & \
hline
endtabular
captionsmallbf Bla bla
labeltab:SMuTexEncoding
endcentering
endtable
Many thanks.
tables rules booktabs
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:
Is it possible to join all the vertical lines?
Here is the code:
begintable[h]
begincentering
scalebox.8
small
begintabular c
hline
bf HD Level & & & & \
midrule[2pt]
multirow2*1 & it Rep-tile: & $1,2$ & $1,3$ & $2,3$ \
cmidrule2-5
& it Encoding: & 1 & 2 & 3 \
midrule[2pt]
multirow2*2 & it Rep-tile: & $2$ & $3$ & \
cmidrule2-5
& it Encoding: & 1 & 2 & \
hline
endtabular
captionsmallbf Bla bla
labeltab:SMuTexEncoding
endcentering
endtable
Many thanks.
tables rules booktabs
tables rules booktabs
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 usingbooktabs
, 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 cmidrule2-5 function...
– pdini
Oct 16 '14 at 16:49
2
You may disagree, of course, but then you can't usebooktabs
. I invite you to look at my realization of your table in this picture. I would probably remove thecmidrule2-5
commands too. The superheavy rules are out of the question.
– egreg
Oct 16 '14 at 16:55
2
You don't have to usebooktabs
. Basic LaTeX providescline
. Please note, thatit
is deprecated for about 20 years now.
– Johannes_B
Oct 16 '14 at 17:16
2
Just use a standardcline
if you are using vertical rules. Alsoscalebox.8small
makes a box with just the argumentsmall
which is odd??
– David Carlisle
Oct 16 '14 at 17:36
|
show 8 more comments
4
That's the nature of the beast... when usingbooktabs
, 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 cmidrule2-5 function...
– pdini
Oct 16 '14 at 16:49
2
You may disagree, of course, but then you can't usebooktabs
. I invite you to look at my realization of your table in this picture. I would probably remove thecmidrule2-5
commands too. The superheavy rules are out of the question.
– egreg
Oct 16 '14 at 16:55
2
You don't have to usebooktabs
. Basic LaTeX providescline
. Please note, thatit
is deprecated for about 20 years now.
– Johannes_B
Oct 16 '14 at 17:16
2
Just use a standardcline
if you are using vertical rules. Alsoscalebox.8small
makes a box with just the argumentsmall
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 cmidrule2-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 cmidrule2-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 cmidrule2-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 cmidrule2-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.8small
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.8small
makes a box with just the argument small
which is odd??– David Carlisle
Oct 16 '14 at 17:36
|
show 8 more comments
3 Answers
3
active
oldest
votes
You can have thick hline
s with the makecell
package and its Xhlinewidth
and Xclinecol1-col2width
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
documentclassarticle
usepackagemakecell
usepackagemultirow
usepackagehhline
usepackagecellspace
setlengthcellspacetoplimit5pt
setlengthcellspacebottomlimit5pt
usepackagemathtools
DeclarePairedDelimiterXset[1]nonscript,#1nonscript,
begindocument
begintable[!htb]
centering
small
begintabular
hline
bfseries HD Level & & & & \
Xhline2pt
multirow2*1 & Rep-tile: & $set1,2$ & $set1,3$ & $set2,3$ \
cline2-5
& Encoding: & 1 & 2 & 3 \
Xhline2pt
multirow2*2 & Rep-tile: & $set2$ & $set3$ & \
cline2-5
& Encoding: & 1 & 2 & \
hline
endtabular
captionsmallbf Bla bla
labeltab:SMuTexEncoding
endtable
enddocument
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:
begintable[!htb]
centering
smallarrayrulecolorred
begintabular
hline
bfseries HD Level & & & & \
Xhline2pt
multirow2*1 & Rep-tile: & $set1,2$ & $set1,3$ & $set2,3$ \
cline2-5
& Encoding: & 1 & 2 & 3 \
Xhline2pt
multirow2*2 & Rep-tile: & $set2$ & $set3$ & \
cline2-5
& Encoding: & 1 & 2 & \
hhline>arrayrulewidth = 0ptdoublerulesep = 2pt doublerulesepcolorred=====
endtabular
captionsmallbf Bla bla
labeltab:SMuTexEncoding
endtable
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 usinghhline
. 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 ofXh/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
add a comment |
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
andbf
: 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 packagescaption
andfloat
.) - 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 macrosmall
, which doesn't output anything. Use eitherscalebox
orsmall
(or rather none of them).
documentclassarticle
usepackagearray
newcolumntypeC>rule[-1.5ex]0pt4.5exc
makeatletter
defHline% a thicker hline
noalignifnum0=`fihrule @height 1pt futurelet
reserved@a@xhline
makeatother
usepackagebooktabs
newcommandMidrulemidrule[heavyrulewidth]
begindocument
begintable
centering
begintabular c
Hline
bfseries HD Level &&&&\
hline
1 & itshape Rep-tile: & $1,2$ & $1,3$ & $2,3$ \
cline2-5
& itshape Encoding: & 1 & 2 & 3 \
Hline
2 & itshape Rep-tile: & $2$ & $3$ & \
cline2-5
& itshape Encoding: & 1 & 2 & \
Hline
endtabular
captionBla bla
labeltab:SMuTexEncoding
endtable
begintable
centering
begintabular c >itshapel c c c toprule
bfseries HD Level\Midrule
1 & Rep-tile: & $1,2$ & $1,3$ & $2,3$ \cmidrule2-5
& Encoding: & 1 & 2 & 3 \Midrule
2 & Rep-tile: & $2$ & $3$ & \cmidrule2-5
& Encoding: & 1 & 2 & \bottomrule
endtabular
captionBla bla
labeltab:SMuTexEncoding
endtable
enddocument
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
add a comment |
use clinei-j instead of hline
New contributor
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
You can have thick hline
s with the makecell
package and its Xhlinewidth
and Xclinecol1-col2width
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
documentclassarticle
usepackagemakecell
usepackagemultirow
usepackagehhline
usepackagecellspace
setlengthcellspacetoplimit5pt
setlengthcellspacebottomlimit5pt
usepackagemathtools
DeclarePairedDelimiterXset[1]nonscript,#1nonscript,
begindocument
begintable[!htb]
centering
small
begintabular
hline
bfseries HD Level & & & & \
Xhline2pt
multirow2*1 & Rep-tile: & $set1,2$ & $set1,3$ & $set2,3$ \
cline2-5
& Encoding: & 1 & 2 & 3 \
Xhline2pt
multirow2*2 & Rep-tile: & $set2$ & $set3$ & \
cline2-5
& Encoding: & 1 & 2 & \
hline
endtabular
captionsmallbf Bla bla
labeltab:SMuTexEncoding
endtable
enddocument
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:
begintable[!htb]
centering
smallarrayrulecolorred
begintabular
hline
bfseries HD Level & & & & \
Xhline2pt
multirow2*1 & Rep-tile: & $set1,2$ & $set1,3$ & $set2,3$ \
cline2-5
& Encoding: & 1 & 2 & 3 \
Xhline2pt
multirow2*2 & Rep-tile: & $set2$ & $set3$ & \
cline2-5
& Encoding: & 1 & 2 & \
hhline>arrayrulewidth = 0ptdoublerulesep = 2pt doublerulesepcolorred=====
endtabular
captionsmallbf Bla bla
labeltab:SMuTexEncoding
endtable
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 usinghhline
. 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 ofXh/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
add a comment |
You can have thick hline
s with the makecell
package and its Xhlinewidth
and Xclinecol1-col2width
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
documentclassarticle
usepackagemakecell
usepackagemultirow
usepackagehhline
usepackagecellspace
setlengthcellspacetoplimit5pt
setlengthcellspacebottomlimit5pt
usepackagemathtools
DeclarePairedDelimiterXset[1]nonscript,#1nonscript,
begindocument
begintable[!htb]
centering
small
begintabular
hline
bfseries HD Level & & & & \
Xhline2pt
multirow2*1 & Rep-tile: & $set1,2$ & $set1,3$ & $set2,3$ \
cline2-5
& Encoding: & 1 & 2 & 3 \
Xhline2pt
multirow2*2 & Rep-tile: & $set2$ & $set3$ & \
cline2-5
& Encoding: & 1 & 2 & \
hline
endtabular
captionsmallbf Bla bla
labeltab:SMuTexEncoding
endtable
enddocument
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:
begintable[!htb]
centering
smallarrayrulecolorred
begintabular
hline
bfseries HD Level & & & & \
Xhline2pt
multirow2*1 & Rep-tile: & $set1,2$ & $set1,3$ & $set2,3$ \
cline2-5
& Encoding: & 1 & 2 & 3 \
Xhline2pt
multirow2*2 & Rep-tile: & $set2$ & $set3$ & \
cline2-5
& Encoding: & 1 & 2 & \
hhline>arrayrulewidth = 0ptdoublerulesep = 2pt doublerulesepcolorred=====
endtabular
captionsmallbf Bla bla
labeltab:SMuTexEncoding
endtable
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 usinghhline
. 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 ofXh/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
add a comment |
You can have thick hline
s with the makecell
package and its Xhlinewidth
and Xclinecol1-col2width
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
documentclassarticle
usepackagemakecell
usepackagemultirow
usepackagehhline
usepackagecellspace
setlengthcellspacetoplimit5pt
setlengthcellspacebottomlimit5pt
usepackagemathtools
DeclarePairedDelimiterXset[1]nonscript,#1nonscript,
begindocument
begintable[!htb]
centering
small
begintabular
hline
bfseries HD Level & & & & \
Xhline2pt
multirow2*1 & Rep-tile: & $set1,2$ & $set1,3$ & $set2,3$ \
cline2-5
& Encoding: & 1 & 2 & 3 \
Xhline2pt
multirow2*2 & Rep-tile: & $set2$ & $set3$ & \
cline2-5
& Encoding: & 1 & 2 & \
hline
endtabular
captionsmallbf Bla bla
labeltab:SMuTexEncoding
endtable
enddocument
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:
begintable[!htb]
centering
smallarrayrulecolorred
begintabular
hline
bfseries HD Level & & & & \
Xhline2pt
multirow2*1 & Rep-tile: & $set1,2$ & $set1,3$ & $set2,3$ \
cline2-5
& Encoding: & 1 & 2 & 3 \
Xhline2pt
multirow2*2 & Rep-tile: & $set2$ & $set3$ & \
cline2-5
& Encoding: & 1 & 2 & \
hhline>arrayrulewidth = 0ptdoublerulesep = 2pt doublerulesepcolorred=====
endtabular
captionsmallbf Bla bla
labeltab:SMuTexEncoding
endtable
You can have thick hline
s with the makecell
package and its Xhlinewidth
and Xclinecol1-col2width
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
documentclassarticle
usepackagemakecell
usepackagemultirow
usepackagehhline
usepackagecellspace
setlengthcellspacetoplimit5pt
setlengthcellspacebottomlimit5pt
usepackagemathtools
DeclarePairedDelimiterXset[1]nonscript,#1nonscript,
begindocument
begintable[!htb]
centering
small
begintabular
hline
bfseries HD Level & & & & \
Xhline2pt
multirow2*1 & Rep-tile: & $set1,2$ & $set1,3$ & $set2,3$ \
cline2-5
& Encoding: & 1 & 2 & 3 \
Xhline2pt
multirow2*2 & Rep-tile: & $set2$ & $set3$ & \
cline2-5
& Encoding: & 1 & 2 & \
hline
endtabular
captionsmallbf Bla bla
labeltab:SMuTexEncoding
endtable
enddocument
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:
begintable[!htb]
centering
smallarrayrulecolorred
begintabular
hline
bfseries HD Level & & & & \
Xhline2pt
multirow2*1 & Rep-tile: & $set1,2$ & $set1,3$ & $set2,3$ \
cline2-5
& Encoding: & 1 & 2 & 3 \
Xhline2pt
multirow2*2 & Rep-tile: & $set2$ & $set3$ & \
cline2-5
& Encoding: & 1 & 2 & \
hhline>arrayrulewidth = 0ptdoublerulesep = 2pt doublerulesepcolorred=====
endtabular
captionsmallbf Bla bla
labeltab:SMuTexEncoding
endtable
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 usinghhline
. 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 ofXh/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
add a comment |
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 usinghhline
. 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 ofXh/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
add a comment |
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
andbf
: 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 packagescaption
andfloat
.) - 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 macrosmall
, which doesn't output anything. Use eitherscalebox
orsmall
(or rather none of them).
documentclassarticle
usepackagearray
newcolumntypeC>rule[-1.5ex]0pt4.5exc
makeatletter
defHline% a thicker hline
noalignifnum0=`fihrule @height 1pt futurelet
reserved@a@xhline
makeatother
usepackagebooktabs
newcommandMidrulemidrule[heavyrulewidth]
begindocument
begintable
centering
begintabular c
Hline
bfseries HD Level &&&&\
hline
1 & itshape Rep-tile: & $1,2$ & $1,3$ & $2,3$ \
cline2-5
& itshape Encoding: & 1 & 2 & 3 \
Hline
2 & itshape Rep-tile: & $2$ & $3$ & \
cline2-5
& itshape Encoding: & 1 & 2 & \
Hline
endtabular
captionBla bla
labeltab:SMuTexEncoding
endtable
begintable
centering
begintabular c >itshapel c c c toprule
bfseries HD Level\Midrule
1 & Rep-tile: & $1,2$ & $1,3$ & $2,3$ \cmidrule2-5
& Encoding: & 1 & 2 & 3 \Midrule
2 & Rep-tile: & $2$ & $3$ & \cmidrule2-5
& Encoding: & 1 & 2 & \bottomrule
endtabular
captionBla bla
labeltab:SMuTexEncoding
endtable
enddocument
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
add a comment |
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
andbf
: 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 packagescaption
andfloat
.) - 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 macrosmall
, which doesn't output anything. Use eitherscalebox
orsmall
(or rather none of them).
documentclassarticle
usepackagearray
newcolumntypeC>rule[-1.5ex]0pt4.5exc
makeatletter
defHline% a thicker hline
noalignifnum0=`fihrule @height 1pt futurelet
reserved@a@xhline
makeatother
usepackagebooktabs
newcommandMidrulemidrule[heavyrulewidth]
begindocument
begintable
centering
begintabular c
Hline
bfseries HD Level &&&&\
hline
1 & itshape Rep-tile: & $1,2$ & $1,3$ & $2,3$ \
cline2-5
& itshape Encoding: & 1 & 2 & 3 \
Hline
2 & itshape Rep-tile: & $2$ & $3$ & \
cline2-5
& itshape Encoding: & 1 & 2 & \
Hline
endtabular
captionBla bla
labeltab:SMuTexEncoding
endtable
begintable
centering
begintabular c >itshapel c c c toprule
bfseries HD Level\Midrule
1 & Rep-tile: & $1,2$ & $1,3$ & $2,3$ \cmidrule2-5
& Encoding: & 1 & 2 & 3 \Midrule
2 & Rep-tile: & $2$ & $3$ & \cmidrule2-5
& Encoding: & 1 & 2 & \bottomrule
endtabular
captionBla bla
labeltab:SMuTexEncoding
endtable
enddocument
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
add a comment |
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
andbf
: 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 packagescaption
andfloat
.) - 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 macrosmall
, which doesn't output anything. Use eitherscalebox
orsmall
(or rather none of them).
documentclassarticle
usepackagearray
newcolumntypeC>rule[-1.5ex]0pt4.5exc
makeatletter
defHline% a thicker hline
noalignifnum0=`fihrule @height 1pt futurelet
reserved@a@xhline
makeatother
usepackagebooktabs
newcommandMidrulemidrule[heavyrulewidth]
begindocument
begintable
centering
begintabular c
Hline
bfseries HD Level &&&&\
hline
1 & itshape Rep-tile: & $1,2$ & $1,3$ & $2,3$ \
cline2-5
& itshape Encoding: & 1 & 2 & 3 \
Hline
2 & itshape Rep-tile: & $2$ & $3$ & \
cline2-5
& itshape Encoding: & 1 & 2 & \
Hline
endtabular
captionBla bla
labeltab:SMuTexEncoding
endtable
begintable
centering
begintabular c >itshapel c c c toprule
bfseries HD Level\Midrule
1 & Rep-tile: & $1,2$ & $1,3$ & $2,3$ \cmidrule2-5
& Encoding: & 1 & 2 & 3 \Midrule
2 & Rep-tile: & $2$ & $3$ & \cmidrule2-5
& Encoding: & 1 & 2 & \bottomrule
endtabular
captionBla bla
labeltab:SMuTexEncoding
endtable
enddocument
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
andbf
: 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 packagescaption
andfloat
.) - 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 macrosmall
, which doesn't output anything. Use eitherscalebox
orsmall
(or rather none of them).
documentclassarticle
usepackagearray
newcolumntypeC>rule[-1.5ex]0pt4.5exc
makeatletter
defHline% a thicker hline
noalignifnum0=`fihrule @height 1pt futurelet
reserved@a@xhline
makeatother
usepackagebooktabs
newcommandMidrulemidrule[heavyrulewidth]
begindocument
begintable
centering
begintabular c
Hline
bfseries HD Level &&&&\
hline
1 & itshape Rep-tile: & $1,2$ & $1,3$ & $2,3$ \
cline2-5
& itshape Encoding: & 1 & 2 & 3 \
Hline
2 & itshape Rep-tile: & $2$ & $3$ & \
cline2-5
& itshape Encoding: & 1 & 2 & \
Hline
endtabular
captionBla bla
labeltab:SMuTexEncoding
endtable
begintable
centering
begintabular c >itshapel c c c toprule
bfseries HD Level\Midrule
1 & Rep-tile: & $1,2$ & $1,3$ & $2,3$ \cmidrule2-5
& Encoding: & 1 & 2 & 3 \Midrule
2 & Rep-tile: & $2$ & $3$ & \cmidrule2-5
& Encoding: & 1 & 2 & \bottomrule
endtabular
captionBla bla
labeltab:SMuTexEncoding
endtable
enddocument
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
add a comment |
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
add a comment |
use clinei-j instead of hline
New contributor
add a comment |
use clinei-j instead of hline
New contributor
add a comment |
use clinei-j instead of hline
New contributor
use clinei-j instead of hline
New contributor
New contributor
answered 7 mins ago
Dubacharla GyaneshwarDubacharla Gyaneshwar
1
1
New contributor
New contributor
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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 cmidrule2-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 thecmidrule2-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 providescline
. Please note, thatit
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. Alsoscalebox.8small
makes a box with just the argumentsmall
which is odd??– David Carlisle
Oct 16 '14 at 17:36