1

I have created a table in which I have to put this box, any idea how to get this box exactly shown in the image.

  • 2
    Could you please add an MWE? – user156344 Mar 12 at 14:58
  • 1
    amssymb has $\ulcorner, \urcorner, \llcorner$ and $\lrcorner$. You could also use a graphics package. – John Kormylo Mar 12 at 15:14
2

It's very easy with a tcolorbox.

Next time you ask, please add a minimal working example (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}

enter image description here

  • @John Kormylo , $\ulcorner$ have solved the problem. However, pacakge tcolorbox is fantastic, provides more flexibility. – Praveen25488 Mar 13 at 13:12
  • @Praveen25488 To reply to John, you have to comment under your question. Once you know tcolorbox, you'll never leave it! – CarLaTeX Mar 13 at 13:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.