I got numerous messages like this in even one table. I want to get rid at least some of them.
The style file can be downloaded here: clv3.cls link (from Computational Linguistics). It's the first file in the list on that page. The following is the working environment:
% if your latex compiler failed to compile, uncomment the command below:
%\RequirePackage[2020-02-02]{latexrelease}
%\documentclass{clv3}
%% the fllowing is the suggested change by David
% save the kernel \document and \enddocument
\let\latexdocument\document
\let\latexenddocument\enddocument
%%%
\documentclass{clv3}
% restore the original below \docucumentclass{clv3}
\let\document\latexdocument
\let\enddocument\latexenddocument
% add to the standard hooks
\makeatletter
\AtBeginDocument{%
\if@filesw
\immediate\openout@mainqry=\jobname.qry
\fi
}
\AtEndDocument{%
>\ifx@biography@empty\else{\par\ifbrief\vskip10pt\fi\biofont\noindent@biography\par}\fi
\immediate\closeout@mainqry
%\ifquery
% \process@queries\clearpage
%\else
>\ifodd\c@page\clearpage\thispagestyle{empty}\null\clearpage\else\clearpage\fi
%\fi
%\ifquery\clearpage\else\ifodd\c@page\clearpage\thispagestyle{empty}\null\clearpage\else\clearpage\fi\fi }
\makeatother
% alias numdef to cnumdef
%\NewCommandCopy{\cnumdef}{\numdef}
%\NewCommandCopy{\endcnumdef}{\endnumdef}
\let\numdef\relax \let\endnumdef\relax
%% above is the suggested change by David
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{tabularx}
\usepackage{xltabular}
\usepackage{makecell}
\usepackage{metalogo}
\usepackage{array}
\usepackage{amssymb}
% the following two lines are added by the author to show Chinese characters
%
\usepackage{CJKutf8}
\usepackage{hyperref}
% nicer emptyset
\let\oldemptyset\emptyset
\let\emptyset\varnothing
\usepackage{xcolor}
\definecolor{darkblue}{rgb}{0, 0, 0.5}
\hypersetup{colorlinks=true,citecolor=darkblue, linkcolor=darkblue, urlcolor=darkblue}
\bibliographystyle{compling}
\begin{document}
\begin{table}
\centering
\caption{Magnitude orders of English and Chinese \textit{numunit}s.}
\renewcommand{\arraystretch}{1.6}
\begin{tabular}{p{1.2cm}p{0.4cm}p{1cm}p{1.2cm}p{0.4cm}p{0.8cm}p{0.8cm}p{0.8cm}p{1cm}p{1.6cm}}
\hline
in digit & $10^1$ & $10^2$ & $10^3$ & $10^4$ & $10^6$ & $10^8$ & $10^9$ & $10^{1^2}$ & $10^{1^5}$\
Chinese & 十 &百 &千 &万 &$\emptyset$ & 亿 & $\emptyset$ & $\emptyset$ & $\emptyset$\
English & $\emptyset$ & hundred & thousand& $\emptyset$ & million & $\emptyset$ & billion & trillion & quadrillion\
\hline
\end{tabular}
\label{table:magnitude}
\end{table}
\end{document}
The errors read as follows, for example(see the screeshot for more messages):
Overfull \hbox (3.10524pt too wide) in paragraph at lines 324--324

\usepackage[linguistics]{forest}you should have a single code block from\documentclassto\end{document}and only include packages and definitions you need to show the problem – David Carlisle Jun 25 '23 at 09:11\smallafter\begin{table}is enough – David Carlisle Jun 25 '23 at 09:16\small. It does get rid of a couple of the messages, but more in the same table still persist. I guess as they may not affect too much, I can just ignore them for now. BTW, I am using a standard article class. Thanks anyway~ – JC Y Jun 25 '23 at 09:29articleclass would be\documentclass{article}you are using a non standard and broken clv3 class which is why you need weird fixes\let\document\latexdocument... – David Carlisle Jun 25 '23 at 09:38