Amith Kotian
Amith Kotian

Reputation: 436

Overfull \hbox (1.38991pt too wide) in paragraph at lines, Latex warning even though PDF is getting generated

This below latex code has warning saying Overfull \hbox (1.38991pt too wide) in paragraph at lines; pdf is getting generated without any issue, I am trying to find out where exactly I am making a mistake to see that warning.

Latex code1:

\begin{document}
\setbeamertemplate{caption}[numbered]
\begin{frame}
\titlepage
\end{frame}

Latex code2:

%\section{Literature Review}%
\begin{frame}{OBJECTIVE}
\begin{table}[h!]
    \centering
   
    \begin{tabular}{ p{3cm}|p{7cm}}
     \hline
     \vspace{1pt}
    Title & “CompaRob:The shopping cart assistance robot"  \textit{’ Int. J. Distrib. Sensor Netw., vol. 12,no. 2, Feb. 2016, Art. no. 4781280.} \\
     \hline
     \vspace{6mm}
     Methodology & 
     \begin{itemize}
         \item Radio and ultrasound signals
         \item Provide freedom of movements for elderly people
     \end{itemize}\\
     \hline
     \vspace{1pt}
    Demerit & 
    \begin{itemize}
        \item  Not able to show how to find a product
       
    \end{itemize}\\
     \hline
    \end{tabular}
    \end{table}
\end{frame} 

 

Upvotes: 2

Views: 40806

Answers (1)

There is not enough space to fit 10 cm worth of columns and the default padding before and after the columns. Either remove the padding by using @{}p{2.9cm}|p{7cm}@{} or make the columns a bit smaller:

\documentclass{beamer}

\begin{document}
\setbeamertemplate{caption}[numbered]
\begin{frame}
\titlepage
\end{frame}


%\section{Literature Review}%
\begin{frame}{OBJECTIVE}
\begin{table}[h!]
    \centering
   
    \begin{tabular}{ p{2.9cm}|p{7cm}}
     \hline
     \vspace{1pt}
    Title & “CompaRob:The shopping cart assistance robot"  \textit{’ Int. J. Distrib. Sensor Netw., vol. 12,no. 2, Feb. 2016, Art. no. 4781280.} \\
     \hline
     \vspace{6mm}
     Methodology & 
     \begin{itemize}
         \item Radio and ultrasound signals
         \item Provide freedom of movements for elderly people
     \end{itemize}\\
     \hline
     \vspace{1pt}
    Demerit & 
    \begin{itemize}
        \item  Not able to show how to find a product
       
    \end{itemize}\\
     \hline
    \end{tabular}
    \end{table}
\end{frame}

 


\end{document}

Upvotes: 3

Related Questions