summaryrefslogtreecommitdiff
path: root/info/examples/ltt/underbr.sty
blob: 7e451f6b8b96628979881c9835f402e43aadbdf8 (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}}