Le 16/04/2021 à 18:19, Alan G. Isaac a écrit :
> With rst2beamer, I'm getting table widths that are far too narrow.
> 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.
>
Hi Isaac,
The column width is evaluated with the number of letters in each column :
This means that the two following tables will be rendered with different
width :
>
> ====== =======
> |Col1| |Col2|
> ------ -------
> v1 v2
> ====== =======
>
> .. |Col1| replace:: First column with title
> .. |Col2| replace:: 2nd column with title
>
> ======================= =====================
> First column with title 2nd column with title
> ----------------------- ---------------------
> v1 v2
> ======================= =====================
Sébastien
|