I'm using Python Sphinx to generate my manuals which contains a variety of different tables. In some case I need to adjust a table, so that it doesn't show the frame any longer. Python Sphinx outputs are tabulary environments from the package tabulary.

So I tried by omitting the | in the environment:


Still there are lines at the top, at the bottom and eventually in between. What I'm missing here?

  • 1
    Welcome to TeX.SX!! Rather than posting code fragments it is better to give a full minimal working example. A MWE should start with a \documentclass command, have a minimal preamble and then \begin{document}...\end{document}. The code should compile and be as small as possible to demonstrate your problem. It is really difficult to help you without more information. This said, you probably just need to remove some \hline commands from the table. – Andrew Dec 7 '17 at 10:24
  • Hello, thanks for this advice. It is a bit hard for me to give a full minimal example, as we are talking about a generated TeX file, rather than a TeX file, that I wrote on my own. Still I'll try to revise my question. – Aleph0 Dec 7 '17 at 11:11
  • It's a bit hard to answer without knowing what you are doing:) Just cut one of the generated files down to a MWE that contains a small tabular environment exhibiting the problem. – Andrew Dec 7 '17 at 11:14
  • You were right. It is really the \hline, that I have to remove. The problem is not so much a TeX problem as I thought beforehand. I have to configure Sphinx I a way, such that either the generation of \hline is suppressed or I need to redefine \hline so such it will not draw a line any longer. – Aleph0 Dec 7 '17 at 11:19
  • If you are happy to disable \hline throughout your document then, for the latter, just add \let\hline\relax to your preamble. You can automate this using the --latex-preamble=... option to rst2latex.py – Andrew Dec 7 '17 at 12:09

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.