1 \documentclass{article}
2 \usepackage[T1]{fontenc}
3 \usepackage[latin9]{inputenc}
4 \PassOptionsToPackage{natbib=true}{biblatex}
12 \usepackage[english]{babel}
13 \usepackage[style=authoryear]{biblatex}
15 The first table is configured as longtable first, the selected variable
16 length in second column and set the table width 14cm.
18 \begin{xltabular}[c]{14cm}{|c|>{\centering\arraybackslash}X|c|>{\centering\arraybackslash}X|}
21 \multicolumn{4}{|c|}{xltabular}\tabularnewline
26 & stretching this column. expecting a line break & & \tabularnewline
28 Left & & Right1 & \tabularnewline
30 & & & and this\tabularnewline
40 The next table is a normal table, variable length of forth column
41 and width 14cm table with, enclosing paragraph is not indented.
44 \begin{tabularx}{14cm}{|c|c|c|>{\raggedright\arraybackslash}X|c|}
46 \multicolumn{5}{|c|}{tabularx}\tabularnewline
49 & & & stretching this column only, expecting a line break, which comes later.
50 The table width seems to be wrong & \tabularnewline
52 Left1 & Left2 & & & Right1\tabularnewline
54 & & Left3long & & \tabularnewline