summaryrefslogtreecommitdiff
path: root/info/examples/ltt/underbr.sty
diff options
context:
space:
mode:
Diffstat (limited to 'info/examples/ltt/underbr.sty')
-rw-r--r--info/examples/ltt/underbr.sty13
1 files changed, 13 insertions, 0 deletions
diff --git a/info/examples/ltt/underbr.sty b/info/examples/ltt/underbr.sty
new file mode 100644
index 0000000000..7e451f6b8b
--- /dev/null
+++ b/info/examples/ltt/underbr.sty
@@ -0,0 +1,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}}