summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/underbr.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-tipps-und-tricks/underbr.sty')
-rw-r--r--Master/texmf-dist/doc/latex/latex-tipps-und-tricks/underbr.sty13
1 files changed, 13 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/underbr.sty b/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/underbr.sty
new file mode 100644
index 00000000000..dd2fc555634
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/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}}