我该如何修复由内联数学公式引起的这个过满警告?当我使用\sloppy
相关段落时,反而出现了未满警告。我在下面包含了一个 MWE。如果有帮助,我会使用 lualatex。
\documentclass{report}
\begin{document}
Firstly, the processing time in the Client-side Mobile Application is calculated by
substracting the end time with the start time, such as $ProcessingTime = EndTime - StartTime$
using the help of an API in React Native.
\end{document}
答案1
以下是一些可能性:
只要情况不是太糟,就可以忍受盒子过满或过少的情况。
重新措辞该句子,以便更好地换行。
用显示的数学运算代替内联数学运算。
不相关:正如@Willoughby 在评论中所指出的,最好\mathit
在数学模式中使用表示变量的单词。
\documentclass{report}
\begin{document}
Firstly, the processing time in the Client-side Mobile Application is calculated by substracting the start from the end
time, $\mathit{ProcessingTime} = \mathit{EndTime} - \mathit{StartTime}$, using the help of an API in React
Native.
Firstly, the processing time in the Client-side Mobile Application is calculated by substracting the start from the end
time
\[ \mathit{ProcessingTime} = \mathit{EndTime} - \mathit{StartTime}\]
using the help of an API in React Native.
\end{document}