![使用 Siunitx 时出现水平盒未满警告](https://linux22.com/image/455249/%E4%BD%BF%E7%94%A8%20Siunitx%20%E6%97%B6%E5%87%BA%E7%8E%B0%E6%B0%B4%E5%B9%B3%E7%9B%92%E6%9C%AA%E6%BB%A1%E8%AD%A6%E5%91%8A.png)
使用 Siunitx 包文本时,我收到水平盒未满警告(它将文本拉伸得太厉害,不符合我的喜好)。有没有办法限制我的文档的拉伸程度?我理想情况下希望它自动换行,而不是将文本拉伸太多。
梅威瑟:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{tcolorbox}
\usepackage{siunitx}
\usepackage{parskip}
\begin{document}
\section{Introduction}
%% Underfull hbox with tcolorbox
\begin{tcolorbox}
abcdefghijkl: Siroenen gallem tem oacamstyrade strqmelde iseaa \SI{2.25}{\mA}
some more text
\end{tcolorbox}
abcdefghijkl: Siroenen gallem tem oacamstyrade strqmelde iseaa \SI{2.25}{\mA}
some more text
%% Overfull hbox
abcdefghijkl: Siroenen gallem tem oaweweweeewwstyrade strqmelde iseaa \SI{2.25}{\mA}
\begin{tcolorbox}
abcdefghijkl: Siroenen gallem tem oacamstyrade strqmelde iseaa \\ \SI{2.25}{\mA}
some more text
\end{tcolorbox}
\end{document}