I am receiving an undefined control sequence for tabularx, I found that adding the Arabic language causes the error, but I don't know how to fix it. My MWE is below:


\newfontfamily\englishfont{Linux Libertine}




I am using XeLaTeX.

  • This is fixed in the next memoir release, ETA yet unknown, but should be out in time for TeXLive 2018
    – daleif
    Mar 6, 2018 at 8:05

1 Answer 1


This is due to a clash between memoir, tabularx, and bidi. memoir contains its own implementation of tabularx which is incompatible with how bidi tries to patch tabularx.

The solution is to start your file with:


Things will then compile correctly.

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.