summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/underbr.sty
blob: dd2fc555634124763d0779101f5e66ec2514b218 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
%  UNDERBR.STY
\RequirePackage{calc}

\newcommand{\underbracket}[1]
{\mathop{\vtop{\m@th\ialign{##\crcr
  $\hfil\displaystyle{#1}\hfil$\crcr
  \noalign{\kern3\p@\nointerlineskip}%
  \upbracketfill\crcr\noalign{\kern3\p@}}}}\limits}

\newcommand{\upbracketfill}
{\rule{0.8pt}{1ex}%
 \leaders\vrule height0.8pt \hfill%
 \rule{0.8pt}{1ex}}