zestedesavoir / zmarkdown

Live demo: https://zestedesavoir.github.io/zmarkdown/
MIT License
226 stars 52 forks source link

rebber : array colum width #434

Closed Karnaj closed 3 years ago

Karnaj commented 3 years ago

Rebber convert md arrays into LaTeX array that should take all the width of the page. For that, the width of each colum is \linewidth / <nbcolumn> (with a little modification in case of \multicolumn). But it is not correct because LaTeX adds extra spaces around the column separator. To take it into account, we should use this formula instead.

\dimexpr(\linewidth) / <nb_column> - 2\tabcolsep