\output 处于活动状态时,\hbox 超满(宽度过大 1.90002pt)

\output 处于活动状态时,\hbox 超满(宽度过大 1.90002pt)

我收到以下两条消息:

Overfull \hbox (1.90002pt too wide) has occurred while \output is active

Underfull \hbox (badness 5203) in paragraph at lines 9--12

我不知道第一条消息来自哪里,但第二条消息是由引用引起的!

\documentclass[5p,preprint]{elsarticle}

\journal{Energy}
\setcitestyle{square}
\usepackage{times}
\usepackage{xurl}
\usepackage{hyperref}
\usepackage{graphicx}
\usepackage{subfig}
\usepackage{amsmath}
\usepackage[RPvoltages]{circuitikz}
\usetikzlibrary{patterns}
\usepackage{array,booktabs}
\usepackage{tikz}
\usepackage{float}
\hypersetup{pdfauthor=whatever}

\begin{document}

 
\begin{frontmatter}
%% Title, authors and addresses
 \title{Latex }
 
 \author[aa,ab]{Author A}
 \ead{[email protected]}
 
 \author[ab]{Author2 B}
 \ead{[email protected]}
 
 \author[ab]{Author3 C\corref{cor}}
 \ead{[email protected]} 
 \cortext[cor]{Corresponding author}

 \address[aa]{Department of Latex Engineering, University of Latex}
 \address[ab]{Department of Latex2 Engineering, University of Latex2}

 
\begin{abstract}
 Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex    
\end{abstract}

\end{frontmatter}

\section{Introduction}
Latex Latex Latex  Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex Latex \cite{xu2010hydraulic}


\biboptions{sort&compress}
\bibliographystyle{elsarticle-num}
\bibliography{citation.bib}

\end{document}

\endinput

我的引文

@inproceedings{xu2010hydraulic,
  title={Hydraulic transmission electromagnetic energy-regenerative active suspension and its working principle},
  author={Xu, Lin and Guo, Xuexun},
  booktitle={2010 2nd International Workshop on Intelligent Systems and Applications},
  pages={1--5},
  year={2010},
  organization={IEEE}
}

你能帮我清除这些消息吗

答案1

框消息不足是因为 LaTeX 无法为参考书目消息的第一行找到合适的换行符,而这又是因为 TeX 通常不会对复合词中的单词进行连字符连接。您有两种选择:

  • 忽略警告。这不是什么大问题,尤其是对于窄列。如果看到警告真的让你感到困扰,请将其添加\hbadness=6000到文档中(在序言中使其影响所有内容,在之前\bibliography使其仅影响引用)。
  • 在标题中添加显式连字符,例如energy-regen\-erative。由您或您的编辑决定是额外的空格更糟糕还是带连字符的复合词的连字符更糟糕。

overfull \hbox消息由页脚生成(添加\overfullrule=1pt到文档前言中,让 TeX 向您显示它超出边界的位置)。再深入挖掘一下,您没有做错什么,它似乎是elsarticle文档类中的一个错误。添加\hfuzz=2pt到文档前言将关闭警告消息。您可以报告该错误(根据自述文件,第 697 行需要在to%后面加上一个。}[email protected]

相关内容