There are plenty of questions here which covers this problem, out of which none solves my problem. I don’t know why even going thorough many websites, documentations.
I am working on this table in one of my papers and can’t seem to make it the way it should be. The text should be above and below the table, not in between the table. The table should have supposed to be along 1-column (whole page) without affecting the rest of the text. It doesn’t even work with table* environment.
MWE:
\documentclass[conference]{IEEEtran}
\usepackage{longtable}
\usepackage[margin=1in]{geometry}
\usepackage{graphicx}
\usepackage[shortlabels]{enumitem}
\usepackage{tabularx}
\usepackage{array}
\usepackage{lipsum}
\begin{document}
\small
\setlength\LTleft{0pt}
\setlength\LTright{0pt}
\lipsum[1]
\begin{table}[h!]
\centering
\caption{Comparison of some unique works in IoT Transportation}
\begin{tabularx}{\textwidth}{p{2cm}p{1cm}p{3cm}p{1cm}p{3cm}p{4cm}}
\hline
\textbf{Author}
& \textbf{Year }
& \textbf{Mainly focusing problem/area}
& \textbf{Layers}
& \textbf{Main points}
& \textbf{Shortcomings} \\
\hline
Al-Ali [21]
&2021
&Architecture for ‘short-range’ travel
&4
&Designing and linking with Software application
&Subject-specific \\
\hline
Minal Patel [26]
&2021
&Dashboard for Smart Cities
&4
&Focusing on data flow and control
& N/A \\
\hline
Sruthy Anand [24]
&2021
&Generalized structure
&4
&N/A
&Requires to be redesigned according to necessity \\
\hline
BP Raj [20]
&2020
&Everyday traffic
&3
&Route optimization to reduce pollution
&Not practically scalable \\
\hline
Muhmmad Derawi [28]
&2020
&Focuses on V2I communications
&N/A
&Integration based on COMLIGHT, IQRF \& Telenor
&Prone to situations enabling more accidents \\
\hline
Nagarjuna G R [22]
&2020
&Designed specifically for fire brigades \& ambulances
& 6
&Practically hardware demonstrated
&Applicable to rather simple traffic junctions \\
\hline
Yi-Yun Chu [23]
&2020
&Smart parking
&N/A
&Different hardware for different parking applications
&Not practically implemented \\
\hline
Jin-ho Park [27]
&2019
&Scalability and flexibility in cognitive computing in smart city applications
&5
&DL incorporated to facilitate “unstructured” data
&Unsecured sensor nodes \\
\hline
Umar Ali [19]
&2019
&Enhanced control and flow of data
&4
&N/A
&Not very much flexible \\
\hline
Hamed Rahimi [25]
&2018
&Incorporating 11 technologies to solve multiple problems
&8
&Num of layers selected according to technologies
&Too complex to practically implement and manage\\
\hline
Nallapaneni [1]
&2017
&Survey on use of IoTs in Transportation
& N/A
&Monitoring vehicles using sensor nodes
& N/A \\
\hline
S. H. Sutar [3]
&2016
&Dynamic route assignment to buses
& N/A
&Management of fuel consumption
& N/A \\
\hline
D. Kyriazis [2]
&2013
&Using Street lights as IoTs
&3
&Energy conservation
&Theoretical level implementation required \\
\hline
\end{tabularx}
\end{table}
\lipsum[1]
\lipsum[1]
\lipsum[1]
\lipsum[1]
\end{document}
I am looking for a format something like i.e. spread across whole page without disrupting the text:
Also, can somebody also recommend some changes in the table that would make the table look better than the current one? I’ve also been trying to change it, but couldn’t get somewhere. For instance, shrinking the ‘Year’ column (to make it compact and readable), aligning the text horizontally and vertically in every cell, just like Word does; or any other change.
Thanks.





table*instead oftable? – leandriis Mar 13 '22 at 17:06tabularxenvironment without anyXtype column?tabularxcan only work properly if there is at least oneXtype column. – leandriis Mar 13 '22 at 17:08table*sends the whole table to the next page, which i dont need 2) using X adds extra white space in each column to spread it across which kind of turns out awkward. – afaq Mar 13 '22 at 17:14table*environment. Also for " using table* sends the whole table to the next page", try moving the table up in the code after finishing the whole document. – Imran Mar 13 '22 at 17:23table*doesn't do the job. table goes on next page irrespective of placement in the code. it appears that something is not working the way it should – afaq Mar 13 '22 at 17:39