Graphics, Figures & Tables ⇒ Use longtable with functionality of tabularx?
Use longtable with functionality of tabularx?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Use longtable with functionality of tabularx?
Best regards and welcome to the board
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Use longtable with functionality of tabularx?
I had a table the width of the text with three columns, the first two were snapped to the largest content, and the last extended to the right margin, essentially making the last column a filler. This package condensed the last column and centered the table.
Code: Select all
\usepackage{ltablex}
...
\textbf{Revision History}\\
\begin{tabularx}{\textwidth}{ | l | l | X|}
\hline
Revision&Revision Date&Description\\
\hline
R00&13 April 2009&Initial Release\\
\hline
\end{tabularx}
[Edit] Figured it out.
Add the command \keepXColumns just before the \begin{tabularx} declaration.