[Tex/LaTex] Force table’s width (pandoc / default.latex)

pandoctables

Pandoc is working great at the moment, but I've got a problem for large tables. Most of the time the tables get rendered outside of the page. I know it has something to do with p|cm=8 or something, but I really have NO clue where to put it ;p.

My default.latex contains if(tables):

$if(tables)$
\usepackage{longtable}
$endif$

Any chance to get some advice? 🙂

Thnx in advance.

Best Answer

Your question is really too vague to answer but if you go

\begin{longtable}{p{3cm}p{4cm}}
  aaaa & bbb\\
   ....

You will get a two column table, with the first column text being 3cm wide and the second column text being 4cm wide (with some default padding around the columns).

Related Question