TransWikia.com

Itemize within tabularx ==> missing item

TeX - LaTeX Asked on January 20, 2021

I don’t understand why LuaLatex complains about missing items. I tried the following code. Using the mentioned packages enumitem and etoolbox didn’t help.

documentclass[a4paper,11pt]{article}
usepackage[shorthands=off,bidi=basic,english, ngerman]{babel}
usepackage{enumerate} 
usepackage{ltablex} % for tables with long lines & long tables (over >1 page)
usepackage{enumitem}
usepackage{etoolbox}

begin{document}
 begin{tabularx}{textwidth}{ X }
  begin{itemize}
    item 33
    item my first item
  end{itemize}
 end{tabularx}
end{document}

I tried to condense my sample until this error appears. Help would be appreciated to figure out what is wrong.

One Answer

This is a mis-feature in the ltablex package that it converts X columns to l so not allowing display items like lists.

Use

usepackage{ltablex} % for tables with long lines & long tables (over >1 page)
keepXColumns

To stop it doing that.

Correct answer by David Carlisle on January 20, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP