diff options
author | Karl Berry <karl@freefriends.org> | 2010-10-12 00:13:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-10-12 00:13:11 +0000 |
commit | 324e3ca487267e4d60094b29bda9e562fa489803 (patch) | |
tree | dbd69d6b00ea2a4e15e9635522b20b6cb9aeae7b /Master/texmf-dist/doc/latex/math-e/04-11-3.ltx | |
parent | 308e7e96ccb036e76b8e07e4e980394f50977580 (diff) |
new doc package math-e (11oct10)
git-svn-id: svn://tug.org/texlive/trunk@20062 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/math-e/04-11-3.ltx')
-rw-r--r-- | Master/texmf-dist/doc/latex/math-e/04-11-3.ltx | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/math-e/04-11-3.ltx b/Master/texmf-dist/doc/latex/math-e/04-11-3.ltx new file mode 100644 index 00000000000..98345d67d4e --- /dev/null +++ b/Master/texmf-dist/doc/latex/math-e/04-11-3.ltx @@ -0,0 +1,50 @@ +%% +%% An UIT Edition example +%% +%% Example 04-11-3 on page 60. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{exaarticle} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\makeatletter +\def\underbracket{% + \@ifnextchar[{\@underbracket}{\@underbracket[\@bracketheight]}} +\def\@underbracket[#1]{% + \@ifnextchar[{\@under@bracket[#1]}{\@under@bracket[#1][0.4em]}} +\def\@under@bracket[#1][#2]#3{%\message {Underbracket: #1,#2,#3} + \mathop{\vtop{\m@th\ialign{##\crcr $\hfil \displaystyle {#3}\hfil $% + \crcr\noalign{\kern 3\p@ \nointerlineskip }\upbracketfill {#1}{#2} + \crcr\noalign{\kern 3\p@ }}}}\limits} +\def\upbracketfill#1#2{$\m@th \setbox \z@ \hbox {$\braceld$} + \edef\@bracketheight{\the\ht\z@}\bracketend{#1}{#2} + \leaders \vrule \@height #1 \@depth \z@ \hfill + \leaders \vrule \@height #1 \@depth \z@ \hfill \bracketend{#1}{#2}$} +\def\bracketend#1#2{\vrule height #2 width #1\relax} %$ +\makeatother +\AtBeginDocument{\setlength\parindent{0pt}} +\StartShownPreambleCommands + +\StopShownPreambleCommands +\begin{document} +\setlength\arraycolsep{0pt} +$\begin{array}{@{}ccccc@{}} +\textrm{hate \LaTeX\ } + & \underbracket[0.5pt]{1\rightarrow2\rightarrow3\rightarrow4} + & \underbracket[0.75pt][0.75em]{\rightarrow5\rightarrow6\rightarrow7} + & \underbracket[1pt][1em]{\rightarrow8\rightarrow9\rightarrow10} + & \textrm{~love \LaTeX}\\ + & \textrm{little} & \textrm{medium} & \textrm{lots} +\end{array}$ +\end{document} |