Longtable with repeating headers and horizontal rules











up vote
0
down vote

favorite












I am trying to make a longtable, that has repeating headers. Also, each row has rules. In the second page, however, the rule repeats twice.It looks unpolished. How do I fix this?



MWE



documentclass[11pt, a4paper, oneside]{memoir}
usepackage{longtable}
usepackage{booktabs}
usepackage{array}
usepackage{arydshln}
setlengthdashlinedash{0.2pt}
setlengthdashlinegap{1.5pt}
setlengtharrayrulewidth{0.3pt}

begin{document}
begin{longtable}{l}
toprule
Title \
midrule
endfirsthead
toprule
Title \
midrule
endhead
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ bottomrule

end{longtable}
end{document}


enter image description here



enter image description here



The Economist too uses rules



Economist










share|improve this question
























  • This is a known feature of longtable and has nothing to do with array, booktabs or memoir, so I deleted the tags
    – Christian Hupfer
    Aug 20 '17 at 8:27












  • You should also ask yourself what exactly you're trying to achieve with all those hddashline directives. The longtable will look a lot cleaner (or, to use your phrase, more polished) if all, or at least most, of these directives are simply omitted. Your readers will thank you.
    – Mico
    Aug 20 '17 at 8:33












  • Mico, The confusion comes from the MWE. My actual data is several columns wide. I have added a screen-shot. Do you still suggest that omitting rules will improve readability?
    – AK16
    Aug 20 '17 at 8:38












  • see answer for long table in tex.stackexchange.com/questions/387308/…
    – Zarko
    Aug 20 '17 at 8:46










  • @AK16 - Are you familiar with the Latin proverb, "Quod licet Iovis, non licet bovis"? Speaking for myself here, I doubt the table from The Economist magazine would be less legible had all dashed lines been omitted. :-)
    – Mico
    Aug 20 '17 at 8:55















up vote
0
down vote

favorite












I am trying to make a longtable, that has repeating headers. Also, each row has rules. In the second page, however, the rule repeats twice.It looks unpolished. How do I fix this?



MWE



documentclass[11pt, a4paper, oneside]{memoir}
usepackage{longtable}
usepackage{booktabs}
usepackage{array}
usepackage{arydshln}
setlengthdashlinedash{0.2pt}
setlengthdashlinegap{1.5pt}
setlengtharrayrulewidth{0.3pt}

begin{document}
begin{longtable}{l}
toprule
Title \
midrule
endfirsthead
toprule
Title \
midrule
endhead
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ bottomrule

end{longtable}
end{document}


enter image description here



enter image description here



The Economist too uses rules



Economist










share|improve this question
























  • This is a known feature of longtable and has nothing to do with array, booktabs or memoir, so I deleted the tags
    – Christian Hupfer
    Aug 20 '17 at 8:27












  • You should also ask yourself what exactly you're trying to achieve with all those hddashline directives. The longtable will look a lot cleaner (or, to use your phrase, more polished) if all, or at least most, of these directives are simply omitted. Your readers will thank you.
    – Mico
    Aug 20 '17 at 8:33












  • Mico, The confusion comes from the MWE. My actual data is several columns wide. I have added a screen-shot. Do you still suggest that omitting rules will improve readability?
    – AK16
    Aug 20 '17 at 8:38












  • see answer for long table in tex.stackexchange.com/questions/387308/…
    – Zarko
    Aug 20 '17 at 8:46










  • @AK16 - Are you familiar with the Latin proverb, "Quod licet Iovis, non licet bovis"? Speaking for myself here, I doubt the table from The Economist magazine would be less legible had all dashed lines been omitted. :-)
    – Mico
    Aug 20 '17 at 8:55













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am trying to make a longtable, that has repeating headers. Also, each row has rules. In the second page, however, the rule repeats twice.It looks unpolished. How do I fix this?



MWE



documentclass[11pt, a4paper, oneside]{memoir}
usepackage{longtable}
usepackage{booktabs}
usepackage{array}
usepackage{arydshln}
setlengthdashlinedash{0.2pt}
setlengthdashlinegap{1.5pt}
setlengtharrayrulewidth{0.3pt}

begin{document}
begin{longtable}{l}
toprule
Title \
midrule
endfirsthead
toprule
Title \
midrule
endhead
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ bottomrule

end{longtable}
end{document}


enter image description here



enter image description here



The Economist too uses rules



Economist










share|improve this question















I am trying to make a longtable, that has repeating headers. Also, each row has rules. In the second page, however, the rule repeats twice.It looks unpolished. How do I fix this?



MWE



documentclass[11pt, a4paper, oneside]{memoir}
usepackage{longtable}
usepackage{booktabs}
usepackage{array}
usepackage{arydshln}
setlengthdashlinedash{0.2pt}
setlengthdashlinegap{1.5pt}
setlengtharrayrulewidth{0.3pt}

begin{document}
begin{longtable}{l}
toprule
Title \
midrule
endfirsthead
toprule
Title \
midrule
endhead
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ bottomrule

end{longtable}
end{document}


enter image description here



enter image description here



The Economist too uses rules



Economist







tables longtable






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 20 '17 at 8:47

























asked Aug 20 '17 at 8:23









AK16

8828




8828












  • This is a known feature of longtable and has nothing to do with array, booktabs or memoir, so I deleted the tags
    – Christian Hupfer
    Aug 20 '17 at 8:27












  • You should also ask yourself what exactly you're trying to achieve with all those hddashline directives. The longtable will look a lot cleaner (or, to use your phrase, more polished) if all, or at least most, of these directives are simply omitted. Your readers will thank you.
    – Mico
    Aug 20 '17 at 8:33












  • Mico, The confusion comes from the MWE. My actual data is several columns wide. I have added a screen-shot. Do you still suggest that omitting rules will improve readability?
    – AK16
    Aug 20 '17 at 8:38












  • see answer for long table in tex.stackexchange.com/questions/387308/…
    – Zarko
    Aug 20 '17 at 8:46










  • @AK16 - Are you familiar with the Latin proverb, "Quod licet Iovis, non licet bovis"? Speaking for myself here, I doubt the table from The Economist magazine would be less legible had all dashed lines been omitted. :-)
    – Mico
    Aug 20 '17 at 8:55


















  • This is a known feature of longtable and has nothing to do with array, booktabs or memoir, so I deleted the tags
    – Christian Hupfer
    Aug 20 '17 at 8:27












  • You should also ask yourself what exactly you're trying to achieve with all those hddashline directives. The longtable will look a lot cleaner (or, to use your phrase, more polished) if all, or at least most, of these directives are simply omitted. Your readers will thank you.
    – Mico
    Aug 20 '17 at 8:33












  • Mico, The confusion comes from the MWE. My actual data is several columns wide. I have added a screen-shot. Do you still suggest that omitting rules will improve readability?
    – AK16
    Aug 20 '17 at 8:38












  • see answer for long table in tex.stackexchange.com/questions/387308/…
    – Zarko
    Aug 20 '17 at 8:46










  • @AK16 - Are you familiar with the Latin proverb, "Quod licet Iovis, non licet bovis"? Speaking for myself here, I doubt the table from The Economist magazine would be less legible had all dashed lines been omitted. :-)
    – Mico
    Aug 20 '17 at 8:55
















This is a known feature of longtable and has nothing to do with array, booktabs or memoir, so I deleted the tags
– Christian Hupfer
Aug 20 '17 at 8:27






This is a known feature of longtable and has nothing to do with array, booktabs or memoir, so I deleted the tags
– Christian Hupfer
Aug 20 '17 at 8:27














You should also ask yourself what exactly you're trying to achieve with all those hddashline directives. The longtable will look a lot cleaner (or, to use your phrase, more polished) if all, or at least most, of these directives are simply omitted. Your readers will thank you.
– Mico
Aug 20 '17 at 8:33






You should also ask yourself what exactly you're trying to achieve with all those hddashline directives. The longtable will look a lot cleaner (or, to use your phrase, more polished) if all, or at least most, of these directives are simply omitted. Your readers will thank you.
– Mico
Aug 20 '17 at 8:33














Mico, The confusion comes from the MWE. My actual data is several columns wide. I have added a screen-shot. Do you still suggest that omitting rules will improve readability?
– AK16
Aug 20 '17 at 8:38






Mico, The confusion comes from the MWE. My actual data is several columns wide. I have added a screen-shot. Do you still suggest that omitting rules will improve readability?
– AK16
Aug 20 '17 at 8:38














see answer for long table in tex.stackexchange.com/questions/387308/…
– Zarko
Aug 20 '17 at 8:46




see answer for long table in tex.stackexchange.com/questions/387308/…
– Zarko
Aug 20 '17 at 8:46












@AK16 - Are you familiar with the Latin proverb, "Quod licet Iovis, non licet bovis"? Speaking for myself here, I doubt the table from The Economist magazine would be less legible had all dashed lines been omitted. :-)
– Mico
Aug 20 '17 at 8:55




@AK16 - Are you familiar with the Latin proverb, "Quod licet Iovis, non licet bovis"? Speaking for myself here, I doubt the table from The Economist magazine would be less legible had all dashed lines been omitted. :-)
– Mico
Aug 20 '17 at 8:55










1 Answer
1






active

oldest

votes

















up vote
0
down vote













I kinda stumbled on a solution. It may have drawbacks but it works for me.



Adding these 2 lines removed the problem



setlength{aboverulesep}{0pt}
setlength{belowrulesep}{0pt}


The MWE now becomes



documentclass[11pt, a4paper, oneside]{memoir}
usepackage{longtable}
usepackage{booktabs}
usepackage{array}
usepackage{arydshln}
setlengthdashlinedash{0.2pt}
setlengthdashlinegap{1.5pt}
setlengtharrayrulewidth{0.3pt}
setlength{aboverulesep}{0pt}
setlength{belowrulesep}{0pt}

begin{document}
begin{longtable}{l}
toprule
Title \
midrule
endfirsthead
toprule
Title \
midrule
endhead
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ bottomrule

end{longtable}
end{document}


Page 2 output is shown:



Output






share|improve this answer

















  • 1




    at me it works fine without setlength{aboverulesep}{0pt} setlength{belowrulesep}{0pt}. probably you have installed outdated packages. upgrade it! and not forget, that longtable need to be compiled at least twice that it gain final format.
    – Zarko
    Jan 17 at 15:26













Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: 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%2f387321%2flongtable-with-repeating-headers-and-horizontal-rules%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













I kinda stumbled on a solution. It may have drawbacks but it works for me.



Adding these 2 lines removed the problem



setlength{aboverulesep}{0pt}
setlength{belowrulesep}{0pt}


The MWE now becomes



documentclass[11pt, a4paper, oneside]{memoir}
usepackage{longtable}
usepackage{booktabs}
usepackage{array}
usepackage{arydshln}
setlengthdashlinedash{0.2pt}
setlengthdashlinegap{1.5pt}
setlengtharrayrulewidth{0.3pt}
setlength{aboverulesep}{0pt}
setlength{belowrulesep}{0pt}

begin{document}
begin{longtable}{l}
toprule
Title \
midrule
endfirsthead
toprule
Title \
midrule
endhead
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ bottomrule

end{longtable}
end{document}


Page 2 output is shown:



Output






share|improve this answer

















  • 1




    at me it works fine without setlength{aboverulesep}{0pt} setlength{belowrulesep}{0pt}. probably you have installed outdated packages. upgrade it! and not forget, that longtable need to be compiled at least twice that it gain final format.
    – Zarko
    Jan 17 at 15:26

















up vote
0
down vote













I kinda stumbled on a solution. It may have drawbacks but it works for me.



Adding these 2 lines removed the problem



setlength{aboverulesep}{0pt}
setlength{belowrulesep}{0pt}


The MWE now becomes



documentclass[11pt, a4paper, oneside]{memoir}
usepackage{longtable}
usepackage{booktabs}
usepackage{array}
usepackage{arydshln}
setlengthdashlinedash{0.2pt}
setlengthdashlinegap{1.5pt}
setlengtharrayrulewidth{0.3pt}
setlength{aboverulesep}{0pt}
setlength{belowrulesep}{0pt}

begin{document}
begin{longtable}{l}
toprule
Title \
midrule
endfirsthead
toprule
Title \
midrule
endhead
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ bottomrule

end{longtable}
end{document}


Page 2 output is shown:



Output






share|improve this answer

















  • 1




    at me it works fine without setlength{aboverulesep}{0pt} setlength{belowrulesep}{0pt}. probably you have installed outdated packages. upgrade it! and not forget, that longtable need to be compiled at least twice that it gain final format.
    – Zarko
    Jan 17 at 15:26















up vote
0
down vote










up vote
0
down vote









I kinda stumbled on a solution. It may have drawbacks but it works for me.



Adding these 2 lines removed the problem



setlength{aboverulesep}{0pt}
setlength{belowrulesep}{0pt}


The MWE now becomes



documentclass[11pt, a4paper, oneside]{memoir}
usepackage{longtable}
usepackage{booktabs}
usepackage{array}
usepackage{arydshln}
setlengthdashlinedash{0.2pt}
setlengthdashlinegap{1.5pt}
setlengtharrayrulewidth{0.3pt}
setlength{aboverulesep}{0pt}
setlength{belowrulesep}{0pt}

begin{document}
begin{longtable}{l}
toprule
Title \
midrule
endfirsthead
toprule
Title \
midrule
endhead
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ bottomrule

end{longtable}
end{document}


Page 2 output is shown:



Output






share|improve this answer












I kinda stumbled on a solution. It may have drawbacks but it works for me.



Adding these 2 lines removed the problem



setlength{aboverulesep}{0pt}
setlength{belowrulesep}{0pt}


The MWE now becomes



documentclass[11pt, a4paper, oneside]{memoir}
usepackage{longtable}
usepackage{booktabs}
usepackage{array}
usepackage{arydshln}
setlengthdashlinedash{0.2pt}
setlengthdashlinegap{1.5pt}
setlengtharrayrulewidth{0.3pt}
setlength{aboverulesep}{0pt}
setlength{belowrulesep}{0pt}

begin{document}
begin{longtable}{l}
toprule
Title \
midrule
endfirsthead
toprule
Title \
midrule
endhead
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ hdashline
D \ hdashline
A \ hdashline
B \ hdashline
C \ bottomrule

end{longtable}
end{document}


Page 2 output is shown:



Output







share|improve this answer












share|improve this answer



share|improve this answer










answered Aug 20 '17 at 12:22









AK16

8828




8828








  • 1




    at me it works fine without setlength{aboverulesep}{0pt} setlength{belowrulesep}{0pt}. probably you have installed outdated packages. upgrade it! and not forget, that longtable need to be compiled at least twice that it gain final format.
    – Zarko
    Jan 17 at 15:26
















  • 1




    at me it works fine without setlength{aboverulesep}{0pt} setlength{belowrulesep}{0pt}. probably you have installed outdated packages. upgrade it! and not forget, that longtable need to be compiled at least twice that it gain final format.
    – Zarko
    Jan 17 at 15:26










1




1




at me it works fine without setlength{aboverulesep}{0pt} setlength{belowrulesep}{0pt}. probably you have installed outdated packages. upgrade it! and not forget, that longtable need to be compiled at least twice that it gain final format.
– Zarko
Jan 17 at 15:26






at me it works fine without setlength{aboverulesep}{0pt} setlength{belowrulesep}{0pt}. probably you have installed outdated packages. upgrade it! and not forget, that longtable need to be compiled at least twice that it gain final format.
– Zarko
Jan 17 at 15:26




















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f387321%2flongtable-with-repeating-headers-and-horizontal-rules%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

mysqli_query(): Empty query in /home/lucindabrummitt/public_html/blog/wp-includes/wp-db.php on line 1924

How to change which sound is reproduced for terminal bell?

Can I use Tabulator js library in my java Spring + Thymeleaf project?