\begin{table}
\begin{center}
\begin{singlespacing}
\scalebox{1}[.75]{
\begin{tabular}{||p{2cm} | p{2cm} | p{1.8cm} | p{3cm} | p{2.5cm} | p{1.7cm} | p{1.7cm} ||}%p{1.7cm}||}
\hline
\hline
Project & Aid & Operating range & Method & Authors & Publication year \\
\hline
\hline
& RFID sensor tags & Limited & GIS, MySQL & \cite{Fernandes14} & 2014\\
\hhline{|~|-|-|-|-|-|}
Electronic white cane & Ultrasonic sensor & Limited & Logical map construction & \cite{Bhatlawande14} & 2014 \\
\hhline{|~|-|-|-|-|-|}
&& \(\le\)6mts & Radiometric calculations & \cite{Villanueva12} & 2012 \\
\hline
Mechanical & White cane & Limited & Manual & - & - \\
\hhline{|~|-|-|-|-|-|}
& Guide dog & Virtually unlimited & Human interaction & \cite{dog14} & - \\
\hline
& Kinect, White cane & \multirow{2}{*}{\(\le\)5mts} & Harris \& Stephens corner detector, Neural network & \cite{Nadia15}, \cite{Vitor12} & 2015\\
\hhline{|~|-|-|-|-|-|}
& CMOS camera & - & Coarse description & \cite{Mekhalfi15} & 2015 \\
\hhline{|~|-|-|-|-|-|}
& ToF camera & \(\le\)5mts & Depth estimation & \cite{Praveen13} & 2013\\
\hhline{|~|-|-|-|-|-|}
& Multiple cameras/camera array & - & Visual tracking/Parametric elipsoid representation & \cite{Limprasert13} & 2013 \\
\hhline{|~|-|-|-|-|-|}
Based on camera & & \(\le\)2mts & Canny Edge Detector\cite{Canny86} & \cite{Moreno12} & 2012\\
\hhline{|~|~|-|-|-|-|}
&VGA camera & depends on application & SDK open architecture & \cite{Battaglia12} & 2012\\
\hhline{|~|-|-|-|-|-|}
& Extraocular camera, intraocular retinal prosthesis & - & Intrusive/wireless RF feedback & \cite{Weiland12} & 2012\\
\hhline{|~|-|-|-|-|-|}
& 3D camera & Virtually unlimited & Haptic rendering & \cite{Moustakas07} & 2007\\
\hhline{|~|-|-|-|-|-|}
& Camera & - & Image to sound mapping & \cite{Meijer92} & 1992\\
\hhline{|~|-|-|-|-|-|}
& RGB-D camera & - & 2D traversability map & \cite{Lee} & -\\
\hline
\emph{Microsoft Kinect for Xbox 360} & White cane & \multirow{2}{*}{\(\le\)5mts} & Harris \& Stephens corner detector & \cite{Nadia15}, \cite{Vitor12}& 2015\\
& & & Neural network & &\\
\hhline{|~|-|-|-|-|-|}
& RGB sensor, IR sensor & \(\le\)5mts & sonification, Color-Depth segmentation & \cite{Brock13}, \cite{Jose12} & 2013, 2012 \\
\hline
& Ultrasonic sensor & \(\le\)2mts & Ultrasonic echoes time stretching, Acoustic image processing & \cite{Dickstein15}, \cite{Shoval98} & 2015, 1998 \\
\hhline{|~|-|-|-|-|-|}
Signals & Sonar module and IR motion sensor & \(\le\)10mts & Smart signal processing & \cite{Ando08} & 2008 \\
\hline
Information tracking system & GPS, beacons & Virtually unlimited & XML databases & \cite{Cecilio15} & 2015 \\
\hhline{|~|-|-|-|-|-|}
& Webcam, white cane & Virtually unlimited & GIS & \cite{Serrao12} & 2012 \\ \hline \hline
\end{tabular}}
\end{singlespacing}
\label{tab:one}
\caption{\footnotesize{Table 1. State of art}}
\end{center}
\end{table}
I keep getting the error message "There's no line here to end" When I try to put a label and caption to my table, but it compiles if I take out the last commands like these...
\begin{singlespacing}
\scalebox{1}[.75]{
\begin{tabular}{||p{2cm} | p{2cm} | p{1.8cm} | p{3cm} | p{2.5cm} | p{1.7cm} | p{1.7cm} ||}%p{1.7cm}||}
\hline
\hline
Project & Aid & Operating range & Method & Authors & Publication year \\
\hline
\hline
& RFID sensor tags & Limited & GIS, MySQL & \cite{Fernandes14} & 2014\\
\hhline{|~|-|-|-|-|-|}
Electronic white cane & Ultrasonic sensor & Limited & Logical map construction & \cite{Bhatlawande14} & 2014 \\
\hhline{|~|-|-|-|-|-|}
&& \(\le\)6mts & Radiometric calculations & \cite{Villanueva12} & 2012 \\
\hline
Mechanical & White cane & Limited & Manual & - & - \\
\hhline{|~|-|-|-|-|-|}
& Guide dog & Virtually unlimited & Human interaction & \cite{dog14} & - \\
\hline
& Kinect, White cane & \multirow{2}{*}{\(\le\)5mts} & Harris \& Stephens corner detector, Neural network & \cite{Nadia15}, \cite{Vitor12} & 2015\\
\hhline{|~|-|-|-|-|-|}
& CMOS camera & - & Coarse description & \cite{Mekhalfi15} & 2015 \\
\hhline{|~|-|-|-|-|-|}
& ToF camera & \(\le\)5mts & Depth estimation & \cite{Praveen13} & 2013\\
\hhline{|~|-|-|-|-|-|}
& Multiple cameras/camera array & - & Visual tracking/Parametric elipsoid representation & \cite{Limprasert13} & 2013 \\
\hhline{|~|-|-|-|-|-|}
Based on camera & & \(\le\)2mts & Canny Edge Detector\cite{Canny86} & \cite{Moreno12} & 2012\\
\hhline{|~|~|-|-|-|-|}
&VGA camera & depends on application & SDK open architecture & \cite{Battaglia12} & 2012\\
\hhline{|~|-|-|-|-|-|}
& Extraocular camera, intraocular retinal prosthesis & - & Intrusive/wireless RF feedback & \cite{Weiland12} & 2012\\
\hhline{|~|-|-|-|-|-|}
& 3D camera & Virtually unlimited & Haptic rendering & \cite{Moustakas07} & 2007\\
\hhline{|~|-|-|-|-|-|}
& Camera & - & Image to sound mapping & \cite{Meijer92} & 1992\\
\hhline{|~|-|-|-|-|-|}
& RGB-D camera & - & 2D traversability map & \cite{Lee} & -\\
\hline
\emph{Microsoft Kinect for Xbox 360} & White cane & \multirow{2}{*}{\(\le\)5mts} & Harris \& Stephens corner detector & \cite{Nadia15}, \cite{Vitor12}& 2015\\
& & & Neural network & &\\
\hhline{|~|-|-|-|-|-|}
& RGB sensor, IR sensor & \(\le\)5mts & sonification, Color-Depth segmentation & \cite{Brock13}, \cite{Jose12} & 2013, 2012 \\
\hline
& Ultrasonic sensor & \(\le\)2mts & Ultrasonic echoes time stretching, Acoustic image processing & \cite{Dickstein15}, \cite{Shoval98} & 2015, 1998 \\
\hhline{|~|-|-|-|-|-|}
Signals & Sonar module and IR motion sensor & \(\le\)10mts & Smart signal processing & \cite{Ando08} & 2008 \\
\hline
Information tracking system & GPS, beacons & Virtually unlimited & XML databases & \cite{Cecilio15} & 2015 \\
\hhline{|~|-|-|-|-|-|}
& Webcam, white cane & Virtually unlimited & GIS & \cite{Serrao12} & 2012 \\ \hline \hline
\end{tabular}}
\end{singlespacing}
Can someone please let me know what am I doing wrong or why I can't put any label/caption on that table when my other tables work correctly...
\documentclass
line and other `packages' used.\hspace{0cm}
before\end{…}
's, perhaps this will fool TeX into thinking it has a line though it is empty. Have you tried removing only one of the label and caption to see what is actually causing the problem or if there are two problems related to each of those two?\\
outside a table between paragraphs, where there is "no line to end" but you need to show an example (small, but complete from\documentclass
to\end{document}
that demonstrates the error.\scalebox{1}[.75]{
is really bad!!! you are adding an unwanted space at the beginning (as no5
after the{
and then applying different scale factors to the horizontal and vertical so distorting all the text! Your readers will not thank you for that:-)