Hi John MacFarlane, In the below thread you mention > Note that in LaTeX tables widths must be specified; LaTeX doesn't calculate optimum column widths the way HTML does. In that case would you care to explain how table widths are specified by pandoc when converting from markdown to LaTeX? Everything I've read on tables seems to suggest that pandoc attempts to compute the width itself. Is there any way to specify that or control it more explicitly? Regards, Amine On Wednesday, May 26, 2021 at 5:01:52 PM UTC+2 John MacFarlane wrote: > > See the pandoc manual under pipe tables: > > If a pipe table contains a row whose Markdown content is wider > than the column width (see --columns), then the table will take > up the full text width and the cell contents will wrap, with the > relative cell widths determined by the number of dashes in the > line separating the table header from the table body. (For > example ---|- would make the first column 3/4 and the second > column 1/4 of the full text width.) > > Your table has > > |:---|:---| > > which says to make the columns equal-width. Try > > |:-|:-----| > > for example, to make the right-hand column 5 x the > width of the left-hand column. > > Note that in LaTeX tables widths must be specified; > LaTeX doesn't calculate optimum column widths the way > HTML does. > > > rwijtvliet writes: > > > Dear all, > > > > I posted this question elsewhere < > https://github.com/jgm/pandoc/issues/7317> > > but was asked to ask again here, so here I am. > > > > This table > > > > > > | Profit-at-risk (gas) | | > > |:---|:---| > > |For modelling | $\Delta rmp_{par gas} = \underbrace{-qu_0 \cdot \Delta > > pu_L - (\Delta qo_L + \Delta qo_S) \cdot (pu_0 + \Delta pu_L - po_0) - > qu_L > > \cdot \Delta pu_S}_{\text{indirect}} \ \underbrace{- \Delta qo_S \cdot > > \Delta pu_S}_{\text{direct}}$ | > > | (idealised) | $\Delta rmp_{par gas} = \underbrace{- \Delta qo_S \cdot > > (pu_L - po_0)}_{\text{indirect}} \ \underbrace{-\Delta qo_S \cdot \Delta > > pu_S}_{\text{direct}}$ | > > > > > > is rendered to pdf like this: > > [image: 119658665-b5553c80-be2d-11eb-957a-ce4333d04f24.png] > > > > That can't be right. Is there something I did wrong, i.e. let me know if > > there is anything I can do to help in finding the bug. > > > > Here are my versions: > > > > pandoc.exe 2.13 > > Compiled with pandoc-types 1.22, texmath 0.12.2, skylighting 0.10.5, > > citeproc 0.3.0.9, ipynb 0.1.0.1 > > > > Many thanks and Best regards > > > > -- > > 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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/37b73eb8-97e8-4abb-84d3-76d6b0fffbb8n%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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/20a1f4d9-5ac6-45f8-a0e0-90f57de08fd7n%40googlegroups.com.