I found a much better solution for my problem with the table cell alignment in this issue:
https://github.com/sphinx-doc/sphinx/issues/4196#issuecomment-340720569 I added this to my custom Latex style file: ``` % Example ".. tabularcolumns:: |\Yl{0.1}|\Yr{0.9}|" \newcolumntype{\Yl}[1]{>{\raggedright\arraybackslash}\Y{#1}} \newcolumntype{\Yr}[1]{>{\raggedleft\arraybackslash}\Y{#1}} \newcolumntype{\Yj}[1]{>{\centering\arraybackslash}\Y{#1}} ``` It works very nice. Maybe it should be added to the documentation: https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-tabularcolumns -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sphinx-users. To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/68e6b2c7-85de-42b6-a021-21c742ead963%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
