Thanks for your reply. 

Yes I am typesetting this in landscape. However, in any page orientation, the minipages only occupy 0.75 \columnwidth.

In my typesetted result, the table has roughly 20 cm width on a a4 landscape page (which has 30cm of width). 

Concerning the current 0.97^n factor: In my case 0.97^9 = 0.76, so that's where my problem comes from.
Shouldn't it be possible to calculate the required spacing of the tabular/longtable explicitly? I remember variables like \tabcolsep.
The n columns have (n-1) inner separations, so it should be more accurate to compute <complete-width> - (n-1)<space-one-seaparation-needs>, and distribute this over all columns.
John MacFarlane schrieb am Mittwoch, 28. Oktober 2020 um 18:19:01 UTC+1:

We apply a (0.97)^n "scale factor" to make room for space between
columns, where n = the number of columns.

Looks like this gives bad results when n is large. So this
formula needs to be tweaked. Suggestions welcome. I don't
actually remember why we (I?) chose to make the scale factor
depend on the number of columns in this way, but it may have
been by experimenting...I assume I tried a constant factor
first and it didn't work.

I just tried your document (using pandoc -s)
and with the default latex template the table actually overflows
the textwidth. I assume you're using very wide margins or a very
small font?

Even with 1 inch margins and 10pt font, the table takes up
nearly the whole textwidth and the contents are too wide for
the cells. Only in landscape mode can I make it fit --
and then it actually looks pretty good, except for one
overlapping cell.

Relevant code is around l.854 of the LaTeX writer.

"'Oliver Demetz' via pandoc-discuss"
<pandoc-...@googlegroups.com> writes:

> Hi,
>
> I am converting HTML tables to latex. Problems arise if the table is large
> and has many columns.
> This table's cols add up to 99%,
> ```
> <table class="table table-bordered table-sm small" style="width: 100%;">
> <colgroup>
> <col width="14%">
> <col width="6%">
> <col width="6%">
> <col width="20%">
> <col width="11%">
> <col width="13%">
> <col width="7%">
> <col width="7%">
> <col width="15%">
> </colgroup>
> <thead>
> <tr>
> <th>Risiko (Beschreibung)</th>
> <th>Eintritts­wahr­schein­lichkeit</th>
> <th>Netto-Schadens­höhe</th>
> <th>Durchzuführende Gegenmaßnahmen</th>
> <th>Frühwarn­indikator</th>
> <th>Schwellwert</th>
> <th>Beob­achtungs­intervall</th>
> <th>Risiko­verantwort­licher</th>
> <th>Anmerkungen</th>
> </tr>
> </thead>
> <tbody>
> <tr>
> <td>(Einzel)-Kundenausfall<br>(bla bla blabla dasdf)</td>
> <td>mittel</td>
> <td>&lt; 1 T€</td>
> <td>a) Beauftragung eines Inkassounternehmens zur Beitreibung der
> Forderung<br>b) Rücküberführung der Forderung auf den Mandanten
> (Arztpraxis) wenn vertraglich vereinbart</td>
> <td>OP-Liste</td>
> <td>laut Kundenstamm</td>
> <td>monatlich</td>
> <td>Automatisch durch Software<br>Report an GF</td>
> <td>siehe Handbuch Kapitel Adressausfallrisiko</td>
> </tr>
> </table>
> ```
> but the resulting minipages only have 75% \columnwidth. I know that there
> is other spacing for the grid necessary, but especially now with 8 columns
> any space is important.
>
> What can I do here to get full width tables.
>
> Thank you all in advance!
>
> https://pandoc.org/try/?text=%3Ctable+class%3D%22table+table-bordered+table-sm+small%22+style%3D%22width%3A+100%25%3B%22%3E%0A++%3Ccolgroup%3E++++++++%0A++++%3Ccol+width%3D%2214%25%22%3E%0A++++%3Ccol+width%3D%226%25%22%3E++++++++++++%0A++++%3Ccol+width%3D%226%25%22%3E++++++++++++++%0A++++%3Ccol+width%3D%2220%25%22%3E++++++++++++++++%0A++++%3Ccol+width%3D%2211%25%22%3E++++++++++++++++++%0A++++%3Ccol+width%3D%2213%25%22%3E++++++++++++++++++++%0A++++%3Ccol+width%3D%227%25%22%3E++++++++++++++++++++++%0A++++%3Ccol+width%3D%227%25%22%3E++++++++++++++++++++++++%0A++++%3Ccol+width%3D%2215%25%22%3E++++++++++++++++++++++++%0A++++%3C%2Fcolgroup%3E++++%0A++++%3Cthead%3E+++%0A++++%3Ctr%3E%0A++++++++%3Cth%3ERisiko+(Beschreibung)%3C%2Fth%3E%0A++++++++%3Cth%3EEintritts%C2%ADwahr%C2%ADschein%C2%ADlichkeit%3C%2Fth%3E%0A++++++++%3Cth%3ENetto-Schadens%C2%ADh%C3%B6he%3C%2Fth%3E%0A++++++++%3Cth%3EDurchzuf%C3%BChrende+Gegenma%C3%9Fnahmen%3C%2Fth%3E%0A++++++++%3Cth%3EFr%C3%BChwarn%C2%ADindikator%3C%2Fth%3E%0A++++++++%3Cth%3ESchwellwert%3C%2Fth%3E%0A++++++++%3Cth%3EBeob%C2%ADachtungs%C2%ADintervall%3C%2Fth%3E%0A++++++++%3Cth%3ERisiko%C2%ADverantwort%C2%ADlicher%3C%2Fth%3E%0A++++++++%3Cth%3EAnmerkungen%3C%2Fth%3E%0A++++%3C%2Ftr%3E%0A++++%3C%2Fthead%3E%0A++++%3Ctbody%3E%0A++++%3Ctr%3E%0A++++++++%3Ctd%3E(Einzel)-Kundenausfall%3Cbr%3E(bla+bla+blabla+dasdf)%3C%2Ftd%3E%0A++++++++%3Ctd%3Emittel%3C%2Ftd%3E%0A++++++++%3Ctd%3E%26lt%3B+1+T%E2%82%AC%3C%2Ftd%3E%0A++++++++%3Ctd%3Ea)+Beauftragung+eines+Inkassounternehmens+zur+Beitreibung+der+Forderung%3Cbr%3Eb)+R%C3%BCck%C3%BCberf%C3%BChrung+der+Forderung+auf+den+Mandanten+(Arztpraxis)+wenn+vertraglich+vereinbart%3C%2Ftd%3E%0A++++++++%3Ctd%3EOP-Liste%3C%2Ftd%3E%0A++++++++%3Ctd%3Elaut+Kundenstamm%3C%2Ftd%3E%0A++++++++%3Ctd%3Emonatlich%3C%2Ftd%3E%0A++++++++%3Ctd%3EAutomatisch+durch+Software%3Cbr%3EReport+an+GF%3C%2Ftd%3E%0A++++++++%3Ctd%3Esiehe+Handbuch+Kapitel+Adressausfallrisiko%3C%2Ftd%3E%0A++++%3C%2Ftr%3E%0A%3C%2Ftable%3E&from=html&to=latex&standalone=0
>
> This table
> <table class="table table-bordered table-sm small" style="width: 100%;">
> <colgroup>
> <col width="14%"> <col width="6%"> <col width="6%">
> <col width="20%"> <col width="11%">
> <col width="13%"> <col width="7%">
> <col width="7%"> <col width="15%">
> </colgroup> <thead> <tr>
> <th>Risiko (Beschreibung)</th>
> <th>Eintritts­wahr­schein­lichkeit</th>
> <th>Netto-Schadens­höhe</th>
> <th>Durchzuführende Gegenmaßnahmen</th>
> <th>Frühwarn­indikator</th>
> <th>Schwellwert</th>
> <th>Beob­achtungs­intervall</th>
> <th>Risiko­verantwort­licher</th>
> <th>Anmerkungen</th>
> </tr>
> </thead>
> <tbody>
> <tr>
> <td>(Einzel)-Forderungsausfall<br>(Patient begleicht die Rechnung
> nicht)</td>
> <td>mittel</td>
> <td>&lt; 1 T€</td>
> <td>a) Beauftragung eines Inkassounternehmens zur Beitreibung der
> Forderung<br>b) Rücküberführung der Forderung auf den Mandanten
> (Arztpraxis) wenn vertraglich vereinbart </td>
> <td>OP-Liste</td>
> <td>laut Kundenstamm</td>
> <td>monatlich</td>
> <td>Automatisch durch Software<br>Report an GF</td>
> <td>siehe Handbuch <a
> href="http://10.3.6.9:802/report/render/5bc3db60-5c7d-47b7-9cd1-83bc3b93fd5d#adressenausfallrisiko"
> target="_blank">Kapitel Adressausfallrisiko</a></td>
> </tr>
>
> --
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discus...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/848a5b18-0f4a-482e-ba35-d3af80f2a2aan%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/cecc57bd-2768-4124-962e-bb5f835cfd95n%40googlegroups.com.