如何在乳胶中获取盒子的角落?

如何在乳胶中获取盒子的角落?

我已经创建了一个表格,我必须把这个框放在里面,有什么想法可以让这个框准确地显示在图像中吗?

答案1

使用 就非常容易了tcolorbox

下次询问时,请添加最小工作示例(MWE)

\documentclass{book}
\usepackage[most]{tcolorbox}
\newtcolorbox{mybox}[1][]{%
  enhanced,
  opacityback=0, 
  frame hidden,% from https://tex.stackexchange.com/a/247509/101651
  % from https://tex.stackexchange.com/a/431760/101651:
  overlay unbroken and first ={%
    \draw[thick] ([xshift=10pt]frame.north west) -| ([yshift=-10pt]frame.north west);
    \draw[thick] ([xshift=10pt]frame.south west) -| ([yshift=10pt]frame.south west);
    \draw[thick] ([xshift=-10pt]frame.north east) -| ([yshift=-10pt]frame.north east);
    \draw[thick] ([xshift=-10pt]frame.south east) -| ([yshift=10pt]frame.south east);
  }
}
\begin{document}
\begin{mybox}
   Something:

   \dotfill

   \dotfill

   \dotfill

   \dotfill
\end{mybox}
\begin{mybox}
   Something else:

   \dotfill
\end{mybox}
\end{document}

在此处输入图片描述

相关内容