如何用乳膠得到盒子的角?

如何用乳膠得到盒子的角?

我創建了一個表格,必須在其中放置此框,不知道如何使此框準確顯示在圖像中。

答案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}

在此輸入影像描述

相關內容