17

I'm using longtable package to create tables, that take more than one page. But be default longtable is centered. How to left-align a longtable?

30

The documentation says that one can use the optional argument

\begin{longtable}[l]{...}

for getting left alignment for a single longtable. Use

\setlength{\LTleft}{0pt}

if you want left alignment for all longtable environments.

|improve this answer|||||
  • How do I left align the caption as well? As the caption is left at the center while the table has shifted to the left – Angus Tay Feb 25 at 9:16

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.