I'm in the Latex tabular environment. I want to align the text in a multicolumn to the left, but it does not work. It is always alignt to the right.
Here is my code:
\begin{tabular}{|p{2cm}|p{2cm}|p{2cm}|p{2cm}|p{2cm}|}\hline
\textbf{number of lanes:} & \multicolumn{2}{l|}\textbf{8 (20 m width)} & \multicolumn{2}{l|} \textbf{10 (25 m width)}\\
& distance & free space loss & distance & free space loss \\\hline
\textbf{lane length 25 m} & 16.008 m & 10 dB & 17.678 m & 30 dB\\\hline
\textbf{lane length 50 m} & 26.926 m & 20 dB & 27.951 m & 40 dB\\\hline
\end{tabular}
and the output is always:
Waht I'm doing wrong?
I'm on Kubuntu 20.10 with Kile kile 2.9.93
OS: Kubuntu 20.10 KDE-Plasma-Version: 5.19.5 KDE-Frameworks-Version: 5.74.0 Qt-Version: 5.14.2 Kernel-Version: 5.8.0-63-generic Architecture: 64-bit Prozessors: 4 × Intel® Core™ i5-3320M CPU @ 2.60GHz RAM: 7,6 GiB GPU: Mesa DRI Intel® HD Graphics 4000
(If you ask, it's for a vital parameters telemetry radio system for swimmers)
\multicolumn{cols}{pos}{text}
correctly? It looks like your text ist not in bracktes.