Skip to content
Discussion options

You must be logged in to vote

I agree with mcanouil on the search. According to the thread ("Pandoc converting HTML tables to PDF results in non-wrapped tables"), "LaTeX requires explicit specification of column widths if you want the cells to wrap".

So, when you state the column widths using a colgroup before <thead>, the table is limited to the text width:

  <colgroup>
    <col width="28%">
    <col width="12%">
    <col width="12%">
    <col width="12%">
    <col width="12%">
    <col width="12%">
    <col width="12%">
  </colgroup>

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Steinthal
Comment options

Answer selected by Ppantaleo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
tables Issues with Tables including the gt integration latex LaTeX engines related libraries and technologies
3 participants