I changed my longtable to use tabu and now I am getting lots of errors. It turned out tabu does not like Verbatim inside the table, but according to documenations, tabu* is supposed to do that, but I can't get it to work.




  \begin{tabu*}{p{3\textwidth}}% star version supposed to work


Error is

lualatex foo3.tex
This is LuaTeX, Version beta- (TeX Live 2015) (rev 5863) 
 restricted \write18 enabled.
Runaway argument?
! File ended while scanning use of \FancyVerbGetLine.
<inserted text> 
l.12       \end{tabu*}


According to the document It should work, but I might have to do something more, but I am following what it says on page 7, may be someone with more Latex skills could understand this more. In Particular, I do not understand what this means

It is possible to insert Verbatim material with some \csname control
sequences \endcsname inside a tabu and inside X columns.

Here is page 7 below.

Mathematica graphics

Related question

Macro \verb inside tabu environment

  • I get a very different error with lualatex: ”Missing number“ (chokes at p). The error is the same with TL 2015. No error with pdflatex both with 2015 and 2016. Apparently, tabu and LuaTeX don't go along. – egreg Jun 14 '16 at 21:12

It works for me (texlive 2016) with pdflatex or with lualatex if I add


as first line

  • And it works without it if article is used. – egreg Jun 14 '16 at 22:37
  • @egreg yes scrbook doesn't work without luatex85 compatibility layer currently, that is needed even if no other packages are used with that class. – David Carlisle Jun 14 '16 at 22:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.