0

Besides having issues with forced nopagebreaks, a cline does not seem to work on a regular pagebreak. Only hline seems to work. How can I get clines to work on Longtables?

\documentclass{article}
\usepackage{longtable}
\usepackage{multirow}
\usepackage{hhline}

\begin{document}
\vspace*{170mm}
\begin{longtable}{|c|c|}
\hline %same result

Mkay & Okay \\ \cline{1-2}
Mkay & Okay \\ \cline{1-2}
Mkay & Okay \\ \cline{1-2}
Mkay & here \\ \cline{1-2}%\hhline{--}
Hmm & Okay \\ \cline{1-2}
\end{longtable}
\end{document}
  • 1
    The second example here should work: tex.stackexchange.com/a/44800/2388. Use then \ltcline{--} instead of \cline. – Ulrike Fischer Oct 21 '17 at 9:14
  • Thank you so much, you do not even know how much I love you. If I can do anything in return, please let me know :) – Dosy Oct 23 '17 at 9:48
  • You should better thank @DavidCarlisle ;-). He wrote the patch, I only found it. – Ulrike Fischer Oct 23 '17 at 9:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.