解决表格中 hbox 过满和不足的问题:给定模板中没有 interwordspace、interwordstretch 和 emergencystretch

解决表格中 hbox 过满和不足的问题:给定模板中没有 interwordspace、interwordstretch 和 emergencystretch

我收到“underfull 和 overfull hbox 错误”。我发现一个解决方案使用以下内容:

水平盒子过满和不足

\begin{document}
interwordspace: \the\fontdimen2\font \\

interwordstretch: \the\fontdimen3\font \\

emergencystretch: \the\emergencystretch\par
\blindtext

\newpage
\begin{sloppypar}
interwordspace: \the\fontdimen2\font \\

interwordstretch: \the\fontdimen3\font \\

emergencystretch: \the\emergencystretch\par
\blindtext
\end{sloppypar}

我没有上述标签{interwordspace、interwordstretch:和 emergencystretch 以及 begin {slopper},请指导我。

我的完整 Latex 代码是:

  \documentclass[manuscript,screen]{acmart}
\usepackage{listings}
\input{solidity-highlighting.tex}
\usepackage[colorinlistoftodos]{todonotes}
%% \BibTeX command to typeset BibTeX logo in the docs
\AtBeginDocument{%
  \providecommand\BibTeX{{%
    \normalfont B\kern-0.5em{\scshape i\kern-0.25em b}\kern-0.8em\TeX}}}


\setcopyright{acmcopyright}
\copyrightyear{2020}
\acmYear{2020}
\acmDOI{10.1145/1122445.1122456}


\begin{document}


\title{Testing}

\maketitle

\section{Introduction}
First Example Table Problem
\begin{table}[]
    \caption{Contribution table, the section-wise achievement of significant work.}
    \label{tab:contributiontable}
    \centering
    \begin{tabular}{p{2.5cm}p{1.5cm}p{10cm}}
    \hline
    \multicolumn{1}{c}{\bf Survey Section} &
      \multicolumn{1}{c}{\bf Context} &
      \multicolumn{1}{c}{\bf The Focus of Research Papers} \\ 
      \hline
      
 \hline
 
(Section 2) 222222222222222 -- 22222222222222222222222 222222222 [23] \\

Future 41414141414141414141414141414141414141441414 41414141414: 41414141414141414141414141414141[16] \\

4344343434343434343434343434343434343434343434343434343434 343: [21] \\

      \hline 
    \end{tabular}
  \vspace{-0.1in}   
\end{table}
  \end{document}

另附图片: 输出图像以及错误消息

相关内容