如何修复这些警告 Overfull \hbox (202.24913pt too wide)?

如何修复这些警告 Overfull \hbox (202.24913pt too wide)?

我在文件中多次看到这个警告:段落 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}

在此处输入图片描述

相关内容