I want to use longtable (because the table contains more than one page), but I got so many error:
Underfull \hbox (badness 2005) in paragraph at lines 22--23
\TU/lmr/m/n/10 menampilkan nilai \TU/lmr/m/it/10 vari-
Overfull \hbox (56.43303pt too wide) in alignment at lines 8--27
[] [] [] [] []
I have made my table smaller but nothing works. I also tried to add @{} but no luck. I tried this solution. The black overfull bar is gone, but the error still exists. Is this because latex need to force my table content to breakline ? Is this OK to have all those warning ?
This is my MWE
\documentclass{report}
\usepackage{longtable} % add table
\overfullrule=2cm % show overfull
\begin{document}
\begin{longtable}[c]{|p{1cm}|p{4cm}|p{4cm}|p{2cm}|p{1cm}|}
\hline
\textbf{No.\newline Jalur} & \textbf{Prosedur Uji} &
\textbf{\emph{Expected Result}}
& \textbf{\emph{Result}} & \textbf{Status} \\\hline
%
1 & Menjalankan \emph{ssh\_out\_stream} dengan \emph{exit\_status\_ready()} bernilai
\emph{true} & \emph{ssh\_out\_stream} akan berhenti berjalan & \emph{As expected} & Valid \\\hline
%
2 & Menjalankan \emph{ssh\_out\_stream} dengan \emph{variable} \emph{length} bernilai
lebih kecil dari 0 & \emph{ssh\_out\_stream} tidak akan menampilkan nilai \emph{variable} \emph{length}
& \emph{As expected} & Valid \\\hline
%
3 & Menjalankan \emph{ssh\_out\_stream} dengan \emph{variable} \emph{length} bernilai
lebih besar dari 0 & \emph{ssh\_out\_stream} akan menampilkan nilai \emph{variable} \emph{length}
& \emph{As expected} & Valid \\\hline
%
\caption{Pengujian \emph{unit} \emph{ssh\_out\_stream}}
\label{jalur:ssh_out_stream}
\end{longtable}
\end{document}
Thank you in advance


Any way thanks lot for this solution
– azzamsa Oct 22 '18 at 03:48ragged2eenable this on the smart way. full or overfull will not cause thatlongtablewill overriding text area. – Zarko Oct 22 '18 at 04:03