![如何修复这些警告 Overfull \hbox (202.24913pt too wide)?](https://linux22.com/image/385851/%E5%A6%82%E4%BD%95%E4%BF%AE%E5%A4%8D%E8%BF%99%E4%BA%9B%E8%AD%A6%E5%91%8A%20Overfull%20%5Chbox%20(202.24913pt%20too%20wide)%EF%BC%9F.png)
我在文件中多次看到这个警告:段落 7-8 行的 \hbox 过满(202.24913pt 太宽)下面是一个例子
\documentclass[tikz,border=3.14mm]{standalone}
\usetikzlibrary{positioning,calc,arrows.meta}
\begin{document}
\begin{enumerate}
\item The distributor sends a transaction to the blockchain containing
($\sigma_{agg} ||
PK_{V_{1}},\ldots,PK_{V_{m}}||C^{M_\theta}_{PK_{V_1}},\ldots,
C^{M_\theta}_{PK_{V_m}}|| k_{1},\ldots, k_{m})$ where $m$ is the number
of vehicles that received the update.
\end{enumerate}
\end{document}
答案1
假设您使用article
和而不是,则有两种可能的解决方案standalone
。第一种将数学表达式写为非编号方程,第二种在数学中插入手动中断。
我更喜欢第一个。
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{positioning,calc,arrows.meta}
\begin{document}
\begin{enumerate}
\item The distributor sends a transaction to the blockchain containing
\[ (\sigma_{agg} ||
PK_{V_{1}},\ldots,PK_{V_{m}}||C^{M_\theta}_{PK_{V_1}},\ldots,
C^{M_\theta}_{PK_{V_m}}|| k_{1},\ldots, k_{m}) \] where $m$ is the number
of vehicles that received the update.
\item The distributor sends a transaction to the blockchain containing
$(\sigma_{agg} ||$ $PK_{V_{1}},\ldots,PK_{V_{m}}||C^{M_\theta}_{PK_{V_1}},\ldots,
C^{M_\theta}_{PK_{V_m}}|| k_{1},\ldots, k_{m})$ where $m$ is the number
of vehicles that received the update.
\end{enumerate}
\end{document}