From: Guenter M. <mi...@us...> - 2021-04-18 10:44:26
|
On 2021-04-17, seb...@ch... wrote: > Le 16/04/2021 à 18:19, Alan G. Isaac a écrit : >> With rst2beamer, I'm getting table widths that are far too narrow. This is a known problem: reST-documents line length is assumed to be 80 characters. The tablewidth is set relative to this value. If someone produces documents with line length of 132 this will lead to suboptimal results. -- https://docutils.sourceforge.io/docs/user/latex.html#tables You may use the :width: or :widths: options of the `table directive`__ to manually set the table column widths. With the table-style_ option, you can also set document-wide defaults. With ``--table-style: colwidths-auto``, LaTeX determines table column width by their content. Warning colwidths-auto is only suited for tables with simple cell content. LaTeX puts the content of auto-sized columns on one line (merging paragraphs) and may fail with complex content. __ https://docutils.sourceforge.io/docs/ref/rst/directives.html#table __ https://docutils.sourceforge.io/docs/user/config.html#table-style-latex-writers >> It looks like this is coming from the latex writer (specifically, >> get_colspecs). It appears to produce only about half of >> the \textwidth as the table width. >> Unfortunately I am in the middle of a project and cannot explore >> this further at the moment, but my workaround has been to set >> the width on the table to far above 100%. Perhaps this report >> while inadequate will be of some use. May be there is more at stake here, especially as beamer may have different default. You may consider to ask back once you have the time to generate minimal examples ... Günter |